I just can't see what I'm doing wrong!
I am collecting variables from a dynamic text box, from an ASP script, then I want to display the variable in a root level movie and also in an included movie clip (the movie clip will eventually have various treatments added to it).
Here is my model...
Base(root) movie: "RootMovie"
Movie clip: "MovieClip"
Dynamic text box: "DynaText"
ASP script page: "variables.asp"
Variable from ASP: "varData"
"DynaText" symbol properties set to 'Dynamic' 'Single Line' and variable='varData'
"MovieClip" symbol has one layer with "DynaText" placed on it. No action script in "MovieClip"
In "RootMovie", on a script level in the timeline, I load the variables:
loadVariables ("variables.asp", "", "GET"
;
In a following frame I place an instance of "DynaText"
In the same frame, different level I place an instance of "MovieClip"
I select the "MovieClip" instance on stage and set Instance Name to "MC1"
While "MovieClip" instance is selected I add the Tell Target script:
onClipEvent (load) {
tellTarget ("_root.MC1"
{
varData = varData;
}
}
(I added the 'varData = varData' because I think I need to explicitly pass the variables to "MC1" - ?)
Save and Publish.
When I run "RootMovie.swf" the "DynaText" on the root level appears fine, but the "DynaText" in "MC1" is not appearing. So I know I collecting the variables fine, it's just not getting to the "MovieClip"
Thoroughly confused.
-Robert
I am collecting variables from a dynamic text box, from an ASP script, then I want to display the variable in a root level movie and also in an included movie clip (the movie clip will eventually have various treatments added to it).
Here is my model...
Base(root) movie: "RootMovie"
Movie clip: "MovieClip"
Dynamic text box: "DynaText"
ASP script page: "variables.asp"
Variable from ASP: "varData"
"DynaText" symbol properties set to 'Dynamic' 'Single Line' and variable='varData'
"MovieClip" symbol has one layer with "DynaText" placed on it. No action script in "MovieClip"
In "RootMovie", on a script level in the timeline, I load the variables:
loadVariables ("variables.asp", "", "GET"
In a following frame I place an instance of "DynaText"
In the same frame, different level I place an instance of "MovieClip"
I select the "MovieClip" instance on stage and set Instance Name to "MC1"
While "MovieClip" instance is selected I add the Tell Target script:
onClipEvent (load) {
tellTarget ("_root.MC1"
varData = varData;
}
}
(I added the 'varData = varData' because I think I need to explicitly pass the variables to "MC1" - ?)
Save and Publish.
When I run "RootMovie.swf" the "DynaText" on the root level appears fine, but the "DynaText" in "MC1" is not appearing. So I know I collecting the variables fine, it's just not getting to the "MovieClip"
Thoroughly confused.
-Robert