[Flashcoders] navigate by frame name

2006-04-22 Thread Simon Lord
It's been a while since I've had to do anything based on the timeline  
but I was sure we could do the following:


_parent.viewer.gotoAndStop(dell);

... instead of ...

_parent.viewer.gotoAndStop(2);

The frames keep getting moved or more are added as the layout  
changes.  I thought it was possible to navigate by using the frame  
name/ID.  Yes? No?

___
Flashcoders@chattyfig.figleaf.com
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


Re: [Flashcoders] navigate by frame name

2006-04-22 Thread lincoln

While AS1, you could check out this and port it to AS2:

http://proto.layer51.com/d.aspx?f=810

-l


On Apr 22, 2006, at 8:32 AM, Simon Lord wrote:

Ugh, swapped _parent for _root (or _parent._parent) and it works.   
Sorry for farting in public.




On Apr 22, 2006, at 11:30 AM, Simon Lord wrote:

It's been a while since I've had to do anything based on the  
timeline but I was sure we could do the following:


_parent.viewer.gotoAndStop(dell);

... instead of ...

_parent.viewer.gotoAndStop(2);

The frames keep getting moved or more are added as the layout  
changes.  I thought it was possible to navigate by using the frame  
name/ID.  Yes? No?

___
Flashcoders@chattyfig.figleaf.com
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


___
Flashcoders@chattyfig.figleaf.com
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



___
Flashcoders@chattyfig.figleaf.com
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