I am having difficulties passing a variable from one SWF to a
dynamically loaded SWF.
I can get variables to pass into a SWF while using FlashVars
in HTML. But in this case, I need to load the SWF file into another
SWF file instead of directly via an HTML page & FLashVars. So
now I can't figure out how to pass a variable from my main SWF file
another SWF file.
// testA.fla AS code:
myText_txt.text = testVar; // this would display whatever I
pass it when using FlashVars to set testVar in HTML
// testB.fla AS code:
holder_mc.testVar = "Does this show up?"; // it doesn't show
//holder_mc.loadMovie("testA.swf?testVar='some thing i want
to pass'");// doesn't work.
testA is meant to be an abtraction of what it really is - an
SWF quiz file that accepts a single FlashVars parameter -
xmlFile="../xml/myQuizStuff.xml" for example. This being said, I'm
trying to avoid doing any edits to the source FLA of this quiz
Is there a solution that doesn't require changing anything in
testA that you might be able to recommend?