EDIT: i solved it, this does work.. but i just learnt my first flash debug lesson.. make sure you don't miss spell simple words like "load"..
Hi there, I'm really new at this, i started learning from scratch (from youtube lol) so please bare with me!
Ok to start i know how to load XML txt but what i want to do is take part of the file name i'm loading from a variable.. for example..
I have a small login (contained within the swf) for a few users on my site, it doesn't do much it pretty much just displays their name. I want to load a different XML file depending who's logged in.
Let's say..
The Variable that holds the username is "user"
i thought the obvious answer would be something like this..
my_xml.load(user+".xml")
but this doesn't work for me, am i getting this all wrong and it isn't achievable? or is there a different way to do this?
I know i probably deserve a flamming but spare please me! i knew nothing about flash 3 weeks ago.
Thank you, Paulo.




Bookmarks