FORUMS: list search recent posts

Using XML to define Button URL links in Flash

COW Forums : Adobe Flash

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Robert Jarrell
Using XML to define Button URL links in Flash
on Feb 5, 2009 at 7:25:17 pm

I have two buttons in a flash movie. Each button links to a unique url. I want to use XML to dynamically define the urls for each of the buttons. Setting up in XML is easy. I'm using attributes. Ex showing xml code without <> (because this post wouldn't let me use them):

url_1 link="url path"
url_2 link="url path"

I don't need the actionscript to declare or load XML, just the code that will attach the url links (attributes) to the buttons. I haven't seen a simple example of how to do this in my XML books or online.

I'm using ActionScript 2.0.

Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 All Rights Reserved