FORUMS: list search recent posts

Target nested movie from button

COW Forums : Adobe Flash

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Tiaka
Target nested movie from button
on Nov 29, 2007 at 3:51:24 am

Help pleasee
I have movie clips nested and with in the nested clip is a button and I am trying to set the visible to false on a movie clip in a different nest.

the code I am using is:
on (release) {
this._parent._parent._parent.rab.rabbit.rabbits._visible = false;

}
This dosent work. Could someone please help me with the above code.


If i put the button on the main time line and use this code it works
on (release) {
this.rab.rabbit.rabbits._visible = false;

}
Missing out the code "_parent._parent._parent"
It works but I don't want the button on the main timeline I want it with the movie.

Any ideas?
Thanks
Gregory


Return to posts index

Doccie
Re: Target nested movie from button
on Dec 3, 2007 at 1:42:30 am

have you tried _root.rab.rabbit.rabbits._visible = false; ?

Kind regards,
Pieter


Return to posts index

Doccie
Re: Target nested movie from button
on Dec 3, 2007 at 1:42:31 am

have you tried _root.rab.rabbit.rabbits._visible = false; ?

Kind regards,
Pieter


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 CreativeCOW.net All Rights Reserved
[TOP]