Thanks for all your help. i put the wineback_btn in the first frame and set
the _visible to false and that works.

yeah, wasn't sure if this problem belonged in flashcoders. will send to
flashnewbies next time. thanks for helping regardless.




On 4/3/07, Merrill, Jason <[EMAIL PROTECTED]> wrote:

I would move this to the Flashnewbies list, but your problem is in the
wine_mc there is no wineback_btn in the first frame, thus Flash can't
find it to assign the onPress.  In fact, I don't see wineback_btn
anywhere in wine_mc  - only in the library.

Jason Merrill
Bank of America
GT&O Learning & Leadership Development
eTools & Multimedia Team




>>-----Original Message-----
>>From: [EMAIL PROTECTED]
>>[mailto:[EMAIL PROTECTED] On Behalf
>>Of Thomas Collins
>>Sent: Tuesday, April 03, 2007 2:35 PM
>>To: [email protected]
>>Subject: [Flashcoders] simple code- should work but is not.
>>
>>Hi all,
>>
>>this is my first post on flashcoders. i think this is a
>>simple fix and everything is basic, so i can't figure out why
>>it isn't working.
>>
>>my code on the root timeline in the actions layer (frame 21)
>>is simply:
>>
>>  ** stop();
>>
>>wine_mc.wineback_btn.onPress = function() {
>>   trace("hello");
>>}
>>
>>might anyone know why my "wineback_btn" is not registering
>>the "onPress"?
>>
>>i know for sure that my playhead reaches frame 21 where the code is.
>> instance names are specified.
>>
>>any help would be much appreciated.
>>
>>thanks in advance.
>>
>>i've uploaded the .fla in case you want to take a closer look.
>>
>>http://download.yousendit.com/73F37C700CEE66C5
>>_______________________________________________
>>[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
>>
_______________________________________________
[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

_______________________________________________
[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