Ian, thanks for the solution you posted.  It should work perfectly for me.

Ian Thomas <[EMAIL PROTECTED]> wrote:  On 11/24/05, Boon Chew  wrote:
>
> Thanks Janis.  The problem with doing it  below is that you cannot change
> _x, _y directly on the mc like you can  with a regular movieclip.
>
>   var b = new myButton();
>   b._x = 200; <-- won't work


Boon,
   You're quite correct - however the solution I posted will work. It lets
you use the class in all cases like a normal MovieClip object.

HTH,
  Ian
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



                
---------------------------------
 Yahoo! Music Unlimited - Access over 1 million songs. Try it free.
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to