Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. jFernandes

    Is xlink possible in flash?

    Oops, messed up my post. I meant to say thank you. Did not realize 'asfunction from AS2 has been replaced by simply 'event'. All I needed is the link: <a href="event:1"> and the following actionscript: var linkText:TextField = TXT; var linkNum:Number = Number(event.text)...
  2. jFernandes

    Is xlink possible in flash?

    var linkText:TextField = TXT; var linkNum:Number = Number(event.text); linkText.addEventListener(TextEvent.LINK, linkEvent); function linkEvent(event:TextEvent):void { if (linkNum == 1) { TXT= xml.NODE; } else if (linkNum == 2) TXT= xml.NODE; } }
  3. jFernandes

    Is xlink possible in flash?

    That definitely helps a lot, still learning. I'm actually using AS3 so I found this code: var linkText:TextField = new TextField(); linkText.htmlText = 'Link: <a href="event:Link Clicked">Click</a>'; addChild(linkText); linkText.addEventListener(TextEvent.LINK, linkEvent); function...
  4. jFernandes

    Is xlink possible in flash?

    I'm importing an XML document into flash and interpreting each XML node as HTML and loading it into a movieclip. I was not aware that my client wanted to create links within this text that would link to the same movieclip that the text is already loaded into. I thought perhaps this could be...
  5. jFernandes

    Advent Style Calendar

    Ok, thanks for nothing. Your contribution is going to be a really useful thread on a Google search. For anyone interested I ended up setting up a different frame for each date. var dayWeek:Date = new Date(); var ournow:Number=dayWeek.getDay(); ournow+=1; week.gotoAndStop(ournow) var...
  6. jFernandes

    Advent Style Calendar

    I am using the following code to highlight the correct day of the week by having 7 different frames with each day of the week highlighted in a movie clip called "week": var my_date:Date = new Date(); var ournow:Number=my_date.getDay(); ournow+=1; week.gotoAndStop(ournow) I'd like to do the...

Part and Inventory Search

Back
Top