4 Attachment(s)
Adding a link in a .xml that's being pulled into flash
This is my first time using XHTML so I'm a little confused. Oh and I'm in Flash CS3 using AS 2.0
I have a 3D carousel that's displaying some web pages. When they're clicked on they come forward and there's a paragraph of text displaying some info (that's pulled from the .xml).
I would like to have a link after the paragraph to the web page that it's displaying that says something like "Launch" or "Click Here to View Site"
So can I add that link into my .xml document?
I've attached my project for reference. Not all of the images are there but there's enough that you can see what I'm talking about. Thanks in advance!
May be this can help you...
I am not sure whether this will be of any help, but you can try this. This is how I use in AS 3.0...
XML Code:-
<icons>
<icon image="icon1.png" url="xyz.html" tooltip="Halloween Haunt" content="Kings Island Halloween Haunt."/>
</icons>
Flash Code:-
(so where you pulling the other stuff, pull the url as shown below)
contentItems[x].@url //contentItems is my variable to pull the content from XML