Hi!
I have to dynamically send a flashvars value from <object>/<embed>
, for example "<object name="flashvars" value="test=myxml.xml">
to my swf file.
And in my AS, I have this:
var xmlPath:String = _level0.test;
doc.load(xmlPath);
So, this way I want to read several xml files (at least it's my intention!). But nothing of what I do works...
I also tried
doc.load(_root.test)
but it didnt work too.
If I do:
doc.load("someXML.xml")
It works just fine!!
I'm trying to solve this for many many hours and still didn't find any solution!!
Thanks in advance!!!