[Flashcoders] simple code- should work but is not.

2007-04-03 Thread Thomas Collins
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"); } m

RE: [Flashcoders] simple code- should work but is not.

2007-04-03 Thread Merrill, Jason
amp;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: flashcoders@chattyfig.fig

Re: [Flashcoders] simple code- should work but is not.

2007-04-03 Thread Jon Bradley
On Apr 3, 2007, at 2:34 PM, Thomas Collins wrote: 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 Are you disabling trace during publishing? That's what I'd check fi

Re: [Flashcoders] simple code- should work but is not.

2007-04-03 Thread Joshua Sera
On frame 21, trace("wine back btn:"+wine_mc.wineback_btn); This will tell you 1) If the playhead actually DOES reach frame 21 2) If the button in question is actually where you think it is. Frequently simple problems like this are because you've forgotten to put a symbol where you thought you pu

Re: [Flashcoders] simple code- should work but is not.

2007-04-04 Thread Thomas Collins
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: flashcoders@chatty