Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

AS3 nested MovieClip question

  • 27-02-2010 9:50pm
    #1
    Registered Users, Registered Users 2 Posts: 1,784 ✭✭✭


    Hey all,

    I have a movieclip on the stage with an instance name of "dino".

    Inside that I have a movieclip called dino_mc with one frame.

    Inside that I have a movieclip called dinoWalk_mc with one frame.

    Inside dinoWalk_mc I have a 107 frame animation of a Dinosaur walking then stopping.

    I have two markers on the dinoWalk_mc timeline. At frame 1 I have a marker called "walking" and at frame 42 I have a marker called "standing".

    So it looks like this;

    dino
    dino_mc
    dinoWalk_mc

    To access the walking cycle, the code should be the code below right?
    dino.dino_mc.dinoWalk_mc.gotoandPlay("standing");
    

    I'm getting the following error though when I do this that isn't all that helpful.
    TypeError: Error #1010: A term is undefined and has no properties.
    	at Flourish_prototypiong_fla::MainTimeline/frame1()
    

    I've googled but the results were all involving classes and things that I'm not too comfortable with. If anyone knows anything I'd really appreciate it lads.

    Thanks


Advertisement