Answered
Replacing TellTarget ()
Back in Flash 5, “The last time I did any action
scripting” I would use the function
“tellTarget(_parent) { myVar1 = 0;}” in a keyframe of a
loaded movie clips timeline called “myMovie” to change
the value of the “myVar1” variable to a value of
“0” in the main timeline.
In AS3 I have figured out how to change the value of the “myVar2” in the loaded “myMovie” using this command & syntax “myMovie1.myVar2 = 1;” from the main timeline but I haven’t figured out how to change the “myVar1” in the main timeline from the loaded movie clip.
Can someone help me understand how to change the value of a variable in the main timeline from a loaded clips timeline?
In AS3 I have figured out how to change the value of the “myVar2” in the loaded “myMovie” using this command & syntax “myMovie1.myVar2 = 1;” from the main timeline but I haven’t figured out how to change the “myVar1” in the main timeline from the loaded movie clip.
Can someone help me understand how to change the value of a variable in the main timeline from a loaded clips timeline?