Skip to main content
May 8, 2010
Question

How to use a variable made inside a movie clip from outside

  • May 8, 2010
  • 2 replies
  • 317 views

I have been searching for ages and just cant find out how to do this!

i have set a boolean variable inside a movieclip and would like something to change outside the movieclip, using an if statement, depending on whether the variable is true or false, but cant find out how to do it anywhere!

this may be a nob question but any help will be greatly appreciated

This topic has been closed for replies.

2 replies

Ned Murphy
Legend
May 8, 2010

Your movieclip will need to have an instance name assigned to it (via the Properties panel).  Then you should be able to use that name to target the variable...

mcName.boolVar = etc....

May 8, 2010

*noob