troubleshooting Question

Getting the value of a variable from one movieclip into another movieclip

Avatar of jrmcintosh
jrmcintosh asked on
Adobe Flash
17 Comments1 Solution262 ViewsLast Modified:
I have a master swf that holds two movieclips called menustage and mostpop. When a button is clicked in mostpop I set a value to a variable called _global.hit. When that button is clicked in mostpop I have it goto a frame in menustage. I want to be able to know what the value of _global.hit from mostpop into menustage. Currently I use this line to try and get it but when I trace it I get undefined. Any help?

trace(this._parent.mostpop._global.hit);

I traced this._parent and got level 0.

Thanks for any help.
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 17 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 17 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros