[RESOLVED] variable for URLRequest problem
I'm sorry I have not been around, I have been away from flash for a while.
I been building myself a website, and that takes up all my spare time.
I have a URLRequest problem with a new as3 flash project using flash cs5.
monthtobe is a variable and the name of my folder
datetobe is a variable and the name of a xml file within monthtobe folder
The line of code below loads the xml perfectly while in flash cs5 with no errors, but when I try and open the swf by other means like inside a html page or flash player it does not load the xml. anyone have any suggestion or know of a solution?
myXMLLoader.load(new URLRequest ("/"+monthtobe+"/"+datetobe+".xml"));
I figured a way to do what I wanted. I basically added both variables to a single variable named path, and used path within the url request.
Click Here to Expand Forum to Full Width
Poll by Flashkit.com