View Full Version : Can't access properties of nested movieclip unless it is on the first frame.

12-12-2008, 08:06 PM
I've been having trouble trying to set a nested movieclip _visible property in an animation. I've got this:
where movieclip2 is nested in movieclip1.
movieclip1 has several key frames, and movieclip2 is on the second one.
I want movieclip2 not to be visible at the beggining, so I wrote in the first key frame of the main movie:
but it only works if I put movieclip2 on the first frame on movieclip1

can anyone please help me with that?
I certainly don't know why is this, and haven't found infirmation concerning to this specific matter.
Thank you very much in advance.

12-13-2008, 11:19 AM
Well not sure on exactly the issue, but an idea for a workaround is to have the movieClip2 on both frames inside of movieClip1 (not two keyframes though). So just have it start on frame one and follow through. If its invisible, why not? It doesn't matter if it is one all of the frames if you control when it is visible.

12-15-2008, 01:33 PM
Thank you for your ansewr, I'm the same person who posted the question above.
I can't put the nested movieclip in the first frame becuse I'm trying to make a mini escape game, and the main movieclip (movieclip1) is the rooms movieclip, so it has 4 keyframes, each of them a view of the room. Nested movieclip (movieclip2) is an element tha should appear in room 2, for example. So, i have to put the nested movieclip in a keyframe different form the first, furthermore, I have to put several nested movieclips in different keyframes and still ba able to control their visibllity.
Thank you again for your patience and time.
Best regards.