ok i've modified the stuff you put on pastebin and i think its working. (( i'm learning OOP at the mo so i'm a little shaky on some stuff )) . i've rewritten as little as possible of your test class (which i renamed Test2), just the mouseover and mousedown actions and changed the nsprite to a movieclip, as i don't have a URLClip class. i've also written a navigateToURL as i don't have Navigate class either. but you shouldn't need to add any extra ".html" with that function now.. http://pastebin.org/112001 . now to change the color of the button, you could redraw the child sprite which has the color, or change the textformat of some text, or maybe use colortransform, or create multiple versions of the same thing (like three rectangles each with a different color) and toggle their visibility, or use a tween engine to change something's color. hope i've helped, david
> Date: Sat, 13 Mar 2010 13:49:58 -0400 > Subject: Re: [Flashcoders] Passing Call To Child > From: [email protected] > To: [email protected] > > On Sat, Mar 13, 2010 at 10:22 AM, Paul Andrews <[email protected]> wrote: > > > On 12/03/2010 19:48, Anthony Pace wrote: > > > >> agreed, cause: > >> MouseEvent.ROLL_OVER, MouseEvent.ROLL_OUT, and mouseChildren set to false > >> makes it so both target and currentTarget return the object the listener > >> was > >> applied to. > >> > > > > Unfortunately the OP has a rollover handler but not in response to a > > ROLL_OVER event.. > > > > Changing it does nothing. I probably should have eliminated those > removeEventListeners entirely. They do nothing at all. > Susan > _______________________________________________ > Flashcoders mailing list > [email protected] > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders _________________________________________________________________ Do you have a story that started on Hotmail? Tell us now http://clk.atdmt.com/UKM/go/195013117/direct/01/_______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

