-
[F8] Call MC Function
How do you call a mc function from the root level? I am currently trying it this way and it's not working.
mc_instance_name.function_name();
Thanks
~SC
-
you have to put "_root" or something like that before that line of code. Pretty sure. Here's an example: _root.productWindow_mc.loadMovie("hot/hot_items_shakeshine.swf");
-
Actually, what i mean is I have written my own function on the first frame of a movieclip and I want to call that function from the first frame of the main movie.
-
It's possible that you're trying to call the function before Flash thinks it exists. Your code looks right, try experimenting with calling it on say, frame 3 of the root instead and see if it works.
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
|