-
hi
I have got a variable loaded from a cgi script into level0 of an MC. This MC(1) is placed inside an another MC(2) which is inside another MC(3) which is placed on the main movie. I now need to call this variable in a frame action from MC(2). What is the variable called?
In the cgi file it is called "choice".
How do i call it?
Thanks in advance
Ash
[Edited by ashwinv on 07-05-2001 at 05:42 AM]
-
its called _level0/:choice
-
Hi
Thanks for the help but...
It didn't seem to work. I don't know why.
Any other suggestions?
Thanks
Ash
-
Plz copy and paste the code which is not working.
-
Hi
Code:
Begin Tell Target ("../vote/bar1")
Go to and Stop (_level0/:choice1)
End Tell Target
I think it is not working because the variables are loaded to level0 of an MC and not on the main movie. The MC which loads the variables is in an MC (which calls these variables) which is in an MC. And this MC is on the main movie.
Thanks
Ashwin
-
try this...
Code:
Begin Tell Target ("../vote/bar1")
Go to and Stop (eval(_level0/:choice1))
End Tell Target
-
-
OK, you do not need to use eval. Now there are two things you should check. First, that choice is actually present in level0 (try putting a textfield named choice to see its value displayed). Second, Check your tell target path
Begin Tell Target ("../vote/bar1") is correct.
-
Hi
The Tell Target works fine as i checked it by acually putting a frame number and it actually went to that.
When i added the text box the information did not come up.
Is level0 of any MC have one tag or do i have to specify it by telling which level0 it is.
What if instead i loaded it to the target where i require the variable. If that is easier here is the layout again (as it is pretty confusing).
- On Movie X there is MC(A1).
- Inside MC(A1) there is MC (B1)
- Inside MC (B1) there is MC (C1) - MC(C1) contains the loop which should load the variables to the MC(b1).
If I now load the variables to the target MC(b1) from MC(c1)
what is its label???
Really hope we can sort this out!!
Thanks in advance
Ash
[Edited by ashwinv on 07-05-2001 at 11:22 AM]
-
_level0 is always your main timeline. You should check your cgi script, it seems that you are not receiving the variable from your cgi script into your flash movie.
-
Senior Member
I think it's actually like this:
Begin Tell Target ("../vote/bar1")
Go to and Stop (_level0:choice1)
End Tell Target
See the difference, not like yours (_level0/:choice1)
-
Thanks for the Help
Got it to work, by loading it to a target instead of a level.
Thanks Again
Ash
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
|