>>however you will not be able to execute any script
defined inside the movieclip until a frame has passed.

O.K. so I just wanted a little clarification on this. Say I have a clip that
appears at the last frame of the main timeline and an action there on the
main timeline applying to the clip. Will that action be accessible once the
clip has reached its say 10th frame where the buttons are? Thanks in
advance.

On 4/18/06, Grant Cox <[EMAIL PROTECTED]> wrote:
>
> For your first question - you will not be able to access clip_mc unless
> the playhead is on a frame where that movieclip exists.  You should be
> able to access the mc and all child mcs immediately after going to the
> correct frame, however you will not be able to execute any script
> defined inside the movieclip until a frame has passed.
>
> With your second question, the scoping is not necessarily what you would
> expect.  The scoping of the function is wherever you define it, for
> example having
>
> blah = 1;
> clip_mc.btn1_btn = 2;
>
> clip_mc.btn1_btn.onRelease = function(){
>   trace( this );
>   trace( blah );
> }
>
> will trace
>
> _level0.clip_mc.btn1_btn
> 1
>
> when you click.  Of course, you don't have to worry about the scope of
> _root.variableName, as you are providing the absolute path to the
> variable.
>
> Regards,
> Grant Cox.
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to