funny, mine does . . . your setup looks the same? http://jimbo.us/lab/buttonAs3.fla http://jimbo.us/lab/buttonAs3.swf
*********** REPLY SEPARATOR *********** On 6/27/2007 at 8:39 AM Adam Pasztory wrote: >Didn't work. I posted the FLA in case anyone is bored and feels like >taking >a look: >http://www.pasz.com/xfer/FinalAssets.zip > >On 6/27/07, Jim Berkey <[EMAIL PROTECTED]> wrote: >> >> Hah, yes, it does work, just need to addChild: >> >> my_btn.addEventListener(MouseEvent.CLICK, myFunction); >> my_btn.buttonMode = true; >> function myFunction(event:MouseEvent):void { >> //do something >> } >> addChild(my_btn); >> >> jimbo >_______________________________________________ >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 e _______________________________________________ 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