On Sun, May 24, 2009 at 2:00 AM, Isaac Alves <[email protected]> wrote:
> 1067: Implicit coercion of a value of type Number to an unrelated type
> flash.events:MouseEvent.
>
> How could I call the function clickThumb and make it use "image_num + 1"
> instead of "e.target.name" ?
Do you have the value of image_num already? Why not change the
signature of the clickThumb function so it accepts the number instead
of the event object?
private function clickThumb(image_num:Number):void
{
...
}
Manish
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders