Topic: basic xml Pages that link to <a href="https://ozoneasylum.com/backlink?for=24531" title="Pages that link to Topic: basic xml" rel="nofollow" >Topic: basic xml\

 
Author Thread
bigyou
Bipolar (III) Inmate

From: Quebec, Canada
Insane since: Sep 2001

IP logged posted posted 12-29-2004 21:59 Edit Quote

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

IP logged posted posted 12-29-2004 22:09 Edit Quote

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

IP logged posted posted 12-29-2004 22:20 Edit Quote

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

IP logged posted posted 12-29-2004 23:07 Edit Quote
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:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu