[mtasc] LoadMovie

Kelvin Luck kelvin at kelvinluck.com
Wed Sep 21 22:11:16 CEST 2005


The loaded picture overwrites the mc and it's event handler. Instead
load the picture into a clip you have created (createEmptyMovieClip)
inside the mc...

On 9/21/05, Karlisson M. Bezerra <karlissonbezerra at yahoo.com.br> wrote:
> Hi, I'm trying to create a movieclip who loads a
> picture, like that:
>
> mc.loadMovie("pic.jpg");
>
> and when I declare an event handler
>
> mc.onPress=function(){
>    //do something
> }
>
> the event doesn't works...but when I switch the
> picture loading function by a drawing with the drawing
> API, the events seems to work... can you help me???



More information about the mtasc mailing list