-
How do you load XML using a variable?
For example. Assume all my code is in place and wokring perfectly.
All I want to do is replace
PHP Code:
myNs.load("news.xml");
with
PHP Code:
myNs.load(news);
Then ad the following line to my html page.
PHP Code:
'FlashVars', 'news=news.xml',
Which is pretty much the way I do this when loading an flv or a swf, without any problems
But apparently, there's more to it than that, when trying to load XML, because it doesn't work.
What am I missing?
-
I'm an idiot. Figured it out with some help.
All my code in in a movie clip.
Changing it to _root.news did it.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|