(1) How do i create a button that can play/stop background sound?
(2) I tried attempting FOLLOWmouse animation, with the ACtion>startDrag. But the problem is that i want to put this into HTML instead of creating the whole page with Flash. How do i go about doing that?
To stop a background sound, you can simply use the stopAllSounds(); function in ActionScript. Add that underneath an onPress event, and that will stop any sounds that are playing.
The follow mouse effect will only work within the boundaries of your Flash animation, I’m afraid.
If you can make the animation into a GIF, you can use some simple javascript to make it follow the mouse around on an html page. Granted, only the simplest of flash animations can be made into an animated GIF. If there are movie clips in it, or a/s they wont work correctly. If it’s just some tweens it should export as a GIF pretty easily.
If you can do that, write back. I’ll look for the javascript mousfollow code.