-
I have a movie in _level0 with a variable ( val = 1; )
I want to acess that var in another movie loaded in _level1?
I've tried this in _level1 movie:
val =_root.level0.val
With no luck.
Charlie...
-
Hey,
Try using _root.val or _level0.val
_root and _level0 are the same thing. I imagine using _level0 is better since that's how stuff always shows up in the output window.
Psx
-
Just tried with no luck...
I don't know this is what I am doing.
Main movie is loaded and sent val like this.
<PARAM NAME=movie VALUE="temp.swf?val=<?PHP echo $val; ?>">
Now val is seen in temp.swf I can display it.
But I load another movie in temp.swf at _level1
and can't display val at all.
Tried: _level0.val
Charlie...
-
Hmm. when you test the movie, select "List Variables" from the output menu. It should tell you what val is and a complete path to it. If it says something like "_level0.instance35.val=something than it's in a movie clip that you have to give an instance name to. Hope that makes sense!
Psx
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
|