I am trying to get bubble effect. I have did the maximum with the help of freeactionscript.com.
Now, i want to display the anim for the particular area. I used the following code, but that is not working. How can I do that?
for (var i:uint = 0; i < noOfBubbles; i++) {
var bubble:Bubble = new Bubble();
bubbles.push(bubble);
Layer_mc.mask = bubble;
//i have used ENTER_FRAME handler for animation
}
Why not set up the mask from within your
Bubbleclass, the following is an example of this:Main.as(document class):
Bubble.as:
Here is an image of the flash application running: