XML Flash question

Out of context: Reply #5

  • Started
  • Last post
  • 5 Responses
  • fyoucher10

    AS2...

    Redo the XML using this guys class >
    http://blog.greensock.com/xmlpar…

    It'll be a ton easier to do everything you want to do. It's well-documented too.

    For the tweening portion, you could use one of his tweening classes or one of the many others out there like mc_tween or Tweener, or these from the same guy >
    http://blog.greensock.com/catego…

    All well-documented stuff...
    That'll solve your preloader, XML, and fade probs...

    For the hyperlink, make the dynamic text 'htmlText' or set the TextField's html property to true (myTextField.html = true)
    Then in your XML, use CDATA and use a regular anchor like how you do in HTML <a href = "url.com"> textlink </a>
    To go farther, you could style the text with CSS in Flash but you might not need to go that far...

    • One more thing, to target the html text field, you'll need to use the htmlText property instead of the text property.
      myText.htmlText instead of myText.text
      fyoucher1
    • myText.htmlText instead of myText.textfyoucher1

View thread