Free ActionScript
Home
AS3 Scripts
AS2 Scripts
Resources
About
Contact
Here is a script that I needed for work: a realistic floating soap bubbles effect in flash.
Inside Bubbles.as you can set the boundaries (min x, min y, max x and max y), the number of bubbles, and the start point/end point of where the bubbles come out from.
Download Fla Sample
Hi! awesome script, thanks for share. Dude i have a problem, i use our script and change some things, but i can’t put the bubbles in the back, i want to puts some text flying around the flash screen but i can’t put the bubbles behind the text, can you help me?
Again thanks for share, nice work
Hi 4ourgs,
Create separate containers for everything, layered in their appropriate highs: background < bubble container < text container Add bubbles to the bubble container, and add text to the text container.
Thanks for this beauty! It works great but as soon as I place stop(); action (nothing else) on the timeline I get the following compiler errors: “…Main.as, Line 1 – 1180: Call to a possibly undefined method addFrameScript.” and “…Layer ‘actions’, Frame 13, Line 1 – 1180: Call to a possibly undefined method stop.” Any idea what is going on? There is no “addFrameScript” anywhere as far as i can see… Thanks, M
Hi there,
The document class (Main.as) extends Sprite. Sprites can’t have code attached to the timeline. Extend MovieClip instead of Sprite.
Many thanks! M
I wonder if there was a way to stop bubbles from appearing in certain frames, a command that would disable Main.as from kicking in depending on the frame…
pradvan November 24, 2011 at 11:49 am Hi magic, Not sure what you’re trying to create … What do you mean by certain frames? PR Log in to Reply
Hi magic,
Not sure what you’re trying to create … What do you mean by certain frames?
this is incredibly. its exactly what i want as part of a banner project for my flash class. but how in the hell do i use it?!
pradvan November 24, 2011 at 11:50 am Hi bardoom, I’m sorry but I cannot offer assistance there. You can try seeking help on AS3 forums. Check out the resources page for some links. Thanks, PR Log in to Reply
Hi bardoom,
I’m sorry but I cannot offer assistance there. You can try seeking help on AS3 forums. Check out the resources page for some links.
Thanks, PR
OMG this is really nice work!
pradvan November 24, 2011 at 11:50 am Thanks Rustam! Log in to Reply
Thanks Rustam!
I want to change the size of the bubbles. In Bubble.as I changed the _container.scaleX = _container.scaleY but didn’t work.How can I do it properly?
You must be logged in to post a comment.
AS3 Effects
AS3 Gadgets
Game Examples AS2 Effects Animated Effects Dynamic Enemy AI Game Engine Game Weapons Images Interface Math Security
Effects Animated
Effects Dynamic
Enemy AI
Game Engine
Game Weapons
Images
Interface
Math
Security
Game Examples AS3 Basics Bitmap Blitting Collision Detection Enemy AI Movement Physics Space Shooter User Interface Weapon System
Basics
Bitmap Blitting
Collision Detection
Movement
Physics
Space Shooter
User Interface
Weapon System
Site Updates
718Hosting.com
Actionscript.org Forums
Flash Game Blogs
Flash Game License
Flashkit Forums
gotoAndLearn
IndieGames.com
Kirupa’s Tutorials
Kongregate Forums
MochiAds Resources
Philip Radvan
Photon Storm
Polygonal
Radvan Media
Tonypa’s Tutorials
Register
Log in
Entries RSS
Comments RSS
WordPress.org