Topic: basic xml (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=24531" title="Pages that link to Topic: basic xml (Page 1 of 1)" rel="nofollow" >Topic: basic xml <span class="small">(Page 1 of 1)</span>\

 
bigyou
Bipolar (III) Inmate

From: Quebec, Canada
Insane since: Sep 2001

posted posted 12-29-2004 21:59

lets say i've got this code that is used on a flash menu

code:
<menu>
<item name="Parent2">
<sub name="Parent2Child1" action="No action"></sub>
<sub name="Parent2Child2" action="loadClip"></sub>
</item>
</menu>



how can i add a link on child1 and child2 ???

¨...the people who are crazy enough to think they can change the world, are the ones who do.

(Edited by bigyou on 12-29-2004 22:00)

GRUMBLE
Paranoid (IV) Mad Scientist

From: Omicron Persei 8
Insane since: Oct 2000

posted posted 12-29-2004 22:09

you want the mc in the flash to be a link?

then you gotta fiddle with the getURL command of flash. look it up in the flash help.

if you want the link-url to be read out of the xml, just add an attribute link="..." to the xml and parse it out in the flash.

i do it this way in the navigation at the bottom of my page:
http://www.embege.com/?mode=flash
reads from
http://www.embege.com/navigation.xml

bigyou
Bipolar (III) Inmate

From: Quebec, Canada
Insane since: Sep 2001

posted posted 12-29-2004 22:20

thanks... got it to work...

ouch... my first time with xml.

...the people who are crazy enough to think they can change the world, are the ones who do.

Steve
Maniac (V) Inmate

From: Boston, MA, USA
Insane since: Apr 2000

posted posted 12-29-2004 23:07
quote:
ouch... my first time with xml.


The pain never quite goes away, but XML is so darn useful I keep submitting to the agony again and again.



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Hint: Quote part of a previous post by highlighting it before clicking the “Quote” button.
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu