Hi guys!

I'm trying to do a button that, when clicked, grows until a stop is
called, I try a code as above:

.flash filename="output.swf" bbox=108x756 background=white version=6 fps=12

   .jpeg c1 "chakra/cha1.jpg" quality=80%

   .sprite c1_mc
       .frame 1
           .put c1 scalex=50% scaley=50%
           .action:
               Stop();
           .end
       .frame 12
           .change c1 scalex=100% scaley=100%
           .action:
               Stop();
           .end
   .end


   .button c1_bt
       .show c1_mc as=idle
       .show c1_mc as=area
       .show c1_mc as=hover
       .show c1_mc as=pressed
       .on_press:
           c1_mc.Play(); ???
           this.c1_mc.Play(); ???
       .end
   .end

   .put c1_bt


.end

Look at the on_press action of the button, how can I refer to the movieclip?
Or if I can't, how I can define an event in a movieclip (a sprite)?

Thanks for any help...

--
Michel Thadeu Sabchuk
Curitiba - Brasil


_______________________________________________
Swftools-common mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/swftools-common

Reply via email to