PDA

View Full Version : Using variables in flash to include a XML


riquelme
03-16-06, 01:23 PM
Hi,
I'm not very good in flash, and I think this is the section which is the most appropriate, so PLEASE if you know the reply help me out im stuck here while it really doesnt seem that hard

Heres my problem

_root.playlist == undefined ? playlist='xml_file.php' : playlist=_root.playlist;

I have a V1 variable submitted as a FLASHVARIABLE (from embbed value on html) and I 'd like to add it on the xml's name, here's how I did it


_root.playlist == undefined ? playlist='xml_file.php?variable='+V1 : playlist=_root.playlist;

This doesn't seem to work

Anyone could confirm if it goes well , or if something is missing?

Thanks!

Christian
03-16-06, 05:45 PM
Thread moved to appropriate forum...

riquelme
03-17-06, 10:54 PM
lol is this so hard that no one knows D:
please im stuck

UnrealEd
03-30-06, 03:19 PM
what do you mean by: "I 'd like to add it on the xml's name, here's how I did it"?
do you want to enlarge the filename by adding the variable V1, or....
if so, what is the error you get, or what doesn't work exactly?

Greetz,
UnrealEd