-
Call function from another movieclip
Structure:
Scene 1 -> movieclip1
-> movieclip2
I have a function in movieclip1 that I want to call from movieclip2...
_parent, this!!!! I dunno.
-
Iron Chef In-Training
Is movieclip2 inside movieclip1?
-
No they are seperate off scene1
-
Iron Chef In-Training
Then it should be either:
code: movieclip2.functionname();
//or
_parent.movieclip2.functionname();
//or
_root.movieclip2.functionname();
Depends on where you call the function from.
-
_root.movieclip2.functionname(); was the one, Thanks.
p.s. as a metalhead you may be interested in my friends little project:
http://www.hmxtreme.com
-
Iron Chef In-Training
YAY! Thanks for the link! Glad I could help, too.
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
|