Hi wal tor, thanks for the response.
This is a great start for me, but the part that i'm really having a hard time understanding is how to take the data that is being traced and actually apply that to load the image and make the button. I have the text box working, and the actual snippet of code that pulls that text in is this -
function loaded(e:Event):void
{
calendar.text = navData.information.*[0].t
since my empty movieclip has an instance name of "image_holder", I think the code for loading the image and applying the clickthrough url should look something like this -
image_holder = "image: "+informationElement.image
image_holder = "url: "+informationElement.click
Do you see where I am going wrong? I feel like the hard part is already been taken care of, it's the easy part that I'm struggling with!!
Thanks for your help.
Main Topics
Browse All Topics





by: wal_toorPosted on 2009-06-09 at 22:52:14ID: 24588294
Hellow twfortune,
loper/flas hcs3/ using _xml_as3_p g1.htm
I have used your code and made this little example. More information about xml and AS3: http://www.kirupa.com/deve
I have changed your xml data so it contains two pieces of information. In the AS flash loops through the xml file and traces the childnodes of these pieces of information. Instead of the traces you can use these variables to load images and make the button.
Hope this works for you
Select allOpen in new window