tag:blogger.com,1999:blog-6365126613137680130.post1559397061045123771..comments2023-06-01T05:11:33.747-07:00Comments on Biochimistu's Corner: Random Bubbles made with ActionScript 3.0Sorinhttp://www.blogger.com/profile/09135002905210428963noreply@blogger.comBlogger24125tag:blogger.com,1999:blog-6365126613137680130.post-73981780278066125582009-06-23T05:39:40.399-07:002009-06-23T05:39:40.399-07:00Sorry Heero, I don’t use as2 anymore. Try a search...Sorry Heero, I don’t use as2 anymore. Try a search on Google, you will find for sure something similar.Sorinhttps://www.blogger.com/profile/09135002905210428963noreply@blogger.comtag:blogger.com,1999:blog-6365126613137680130.post-85265948729123510212009-06-22T01:54:08.533-07:002009-06-22T01:54:08.533-07:00Halu guys, I need an animation like this to work o...Halu guys, I need an animation like this to work on ActionScript 2.0. I know that it is good to use ActionScript 3 but I have to work around to this to make it work on ActionScript 2.0.Junryhttps://www.blogger.com/profile/00008862914970496047noreply@blogger.comtag:blogger.com,1999:blog-6365126613137680130.post-12671446462432476902009-06-21T11:41:09.518-07:002009-06-21T11:41:09.518-07:00Hi Heero,
Sure, this can be done in as2.If you are...Hi Heero,<br />Sure, this can be done in as2.If you are a beginner don’t waste time learning as2.Learning as2 and after switching to as3 it won’t help you, it will confuse you.Sorinhttps://www.blogger.com/profile/09135002905210428963noreply@blogger.comtag:blogger.com,1999:blog-6365126613137680130.post-28966665652985701482009-06-19T08:09:03.827-07:002009-06-19T08:09:03.827-07:00Halu guys, this Random Bubbles is made with AS 3.0...Halu guys, this Random Bubbles is made with AS 3.0, I forgot that I use Actionscript 2.0 and I run into problems with Sprite "class or interface Sprite could be loaded".<br />Is there any work-around for this to work on Actionscript 2.0?<br /><br />Thanks for the reply.Junryhttps://www.blogger.com/profile/00008862914970496047noreply@blogger.comtag:blogger.com,1999:blog-6365126613137680130.post-55326532193515545272009-06-19T07:56:05.430-07:002009-06-19T07:56:05.430-07:00Hi Heero,
They are on a movie clip (a sprite actua...Hi Heero,<br />They are on a movie clip (a sprite actually) the holder sprite. You can replace the holder sprite with your movie clip and add the bubbles to it.Sorinhttps://www.blogger.com/profile/09135002905210428963noreply@blogger.comtag:blogger.com,1999:blog-6365126613137680130.post-65047355672847924792009-06-18T06:08:15.434-07:002009-06-18T06:08:15.434-07:00Guys, I have a favor what if I have to put the bub...Guys, I have a favor what if I have to put the bubbles on a certain movie clip? how would I do it? newbie me...Junryhttps://www.blogger.com/profile/00008862914970496047noreply@blogger.comtag:blogger.com,1999:blog-6365126613137680130.post-18192377505731292342008-12-01T11:01:00.000-08:002008-12-01T11:01:00.000-08:00Very nice. Works great!Very nice. Works great!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6365126613137680130.post-16021877737127100202008-10-03T06:04:00.000-07:002008-10-03T06:04:00.000-07:00You too.ThanksYou too.ThanksSorinhttps://www.blogger.com/profile/09135002905210428963noreply@blogger.comtag:blogger.com,1999:blog-6365126613137680130.post-91990883253723235252008-10-02T08:09:00.000-07:002008-10-02T08:09:00.000-07:00Thanks a lot man. Have a nice day.Thanks a lot man. Have a nice day.Falehttps://www.blogger.com/profile/13604113756848260961noreply@blogger.comtag:blogger.com,1999:blog-6365126613137680130.post-89180297845744258772008-10-01T23:29:00.000-07:002008-10-01T23:29:00.000-07:00Hi AlejandroI have checked your links but I don’t ...Hi Alejandro<BR/>I have checked your links but I don’t see any problem, the bubbles are fine. My Firefox version is 3.03.<BR/>I see that you are not using <B>SwfObject</B> to embed the sfw in the html page. You should use it its the most reliable method to embed swfs into html. You can check it here: <A HREF="http://code.google.com/p/swfobject/" REL="nofollow">swfobject</A>Sorinhttps://www.blogger.com/profile/09135002905210428963noreply@blogger.comtag:blogger.com,1999:blog-6365126613137680130.post-25313366968906456222008-10-01T08:46:00.000-07:002008-10-01T08:46:00.000-07:00Hi again. Just wanted to share this with you becau...Hi again. Just wanted to share this with you because is very weird. All the bubbles are now suddenly aligned to the left of the canvas when previewing the html where the swf is embeded. When played alone the swf looks fine. However, I created a new html page and also looks fine, so not sure why is doing this in the original html where worked just fine until today. Important: is happenning only inFalehttps://www.blogger.com/profile/13604113756848260961noreply@blogger.comtag:blogger.com,1999:blog-6365126613137680130.post-74197412694743371472008-08-28T10:31:00.000-07:002008-08-28T10:31:00.000-07:00Hi Alejandro,Make a new layer and drag it above th...Hi Alejandro,<BR/>Make a new layer and drag it above the <B>bg</B> layer and put your elements on the layer you just created.Sorinhttps://www.blogger.com/profile/09135002905210428963noreply@blogger.comtag:blogger.com,1999:blog-6365126613137680130.post-47339890268844603012008-08-28T10:22:00.000-07:002008-08-28T10:22:00.000-07:00Post the error that the Flash IDE throws and not t...Post the error that the Flash IDE throws and not the code.<BR/>Download the source file and take a look there and make sure that you haven’t skipped the 11 step of the tutorial.Sorinhttps://www.blogger.com/profile/09135002905210428963noreply@blogger.comtag:blogger.com,1999:blog-6365126613137680130.post-64845077667189727862008-08-27T12:32:00.000-07:002008-08-27T12:32:00.000-07:00Hi, thanks for the tutorial, worked perfectly for ...Hi, thanks for the tutorial, worked perfectly for me. However I have some elements on the stage and the bubbles should run behind those elements. How can I fix that?<BR/>Thanks a lot, very much<BR/>AlejandroFalehttps://www.blogger.com/profile/13604113756848260961noreply@blogger.comtag:blogger.com,1999:blog-6365126613137680130.post-21926455747206959812008-08-26T23:26:00.000-07:002008-08-26T23:26:00.000-07:00var holder:Sprite = new Sprite(); addChild(holder...var holder:Sprite = new Sprite();<BR/><BR/> addChild(holder);<BR/><BR/> for (var i:int; i<50; i++) {<BR/><BR/> var arrayBubble:Array = new Array();<BR/><BR/> holder.y = 400;<BR/><BR/> arrayBubble[i] = new Bubbles();<BR/><BR/> holder.addChild(arrayBubble[i]);<BR/><BR/> arrayBubble[i].x = Math.random()*stage.stageWidth;<BR/><BR/> arrayBubble[i].scaleX = Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6365126613137680130.post-77082371664061601382008-07-05T09:39:00.000-07:002008-07-05T09:39:00.000-07:00Brilliant - thanks so much! Minimum code with maxi...Brilliant - thanks so much! Minimum code with maximum bang - thank you for posting this! Worked perfect the first time!terrill13https://www.blogger.com/profile/02468618601666326342noreply@blogger.comtag:blogger.com,1999:blog-6365126613137680130.post-72895501861124985052008-07-01T03:01:00.000-07:002008-07-01T03:01:00.000-07:00The script it’s write in ActionScript 3(Flash CS3)...The script it’s write in ActionScript 3(Flash CS3). Are you using ActionScript 3?Sorinhttps://www.blogger.com/profile/09135002905210428963noreply@blogger.comtag:blogger.com,1999:blog-6365126613137680130.post-62148502787459177542008-06-30T09:13:00.000-07:002008-06-30T09:13:00.000-07:00I followed the tutorial but I got an error message...I followed the tutorial but I got an error message on lines 1 and 3.<BR/><BR/>1. The class or interface 'Sprite' could not be loaded.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6365126613137680130.post-38053073957978559332008-02-23T18:34:00.000-08:002008-02-23T18:34:00.000-08:00thank you!!! that fixed it right up... you gotta ...thank you!!! that fixed it right up... you gotta love a typo... excellent tutorial... a great way to get my feet wet...Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6365126613137680130.post-67670938030274868962008-02-21T08:42:00.000-08:002008-02-21T08:42:00.000-08:00Hi man, nice tutorialeverything is working fine......Hi man, nice tutorial<BR/>everything is working fine...<BR/>but instead of having a random effect with bubbles continously generated, I'm just creating waves of 200 bubbles at time.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6365126613137680130.post-51166035242118475852008-02-21T00:36:00.000-08:002008-02-21T00:36:00.000-08:00Hello. I have eating an "s". Change your line from...Hello. <BR/>I have eating an "s". Change your line from:<BR/>arrayBubble[i] = new Bubble() to <B>arrayBubble[i] = new Bubbles()</B>.That should fix the problem. Please tell me if it works.Sorinhttps://www.blogger.com/profile/09135002905210428963noreply@blogger.comtag:blogger.com,1999:blog-6365126613137680130.post-79219949170336786552008-02-21T00:05:00.000-08:002008-02-21T00:05:00.000-08:00thanks for the tutorial. i followed your steps an...thanks for the tutorial. i followed your steps and got an error at line 11 - arrayBubble[i] = new Bubble(); apparently it's calling an undefined method. any ideas where i've went wrong? thanks!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6365126613137680130.post-33988519659664461082008-02-15T06:33:00.000-08:002008-02-15T06:33:00.000-08:00Yes you have right it was a typo, I fixed the miss...Yes you have right it was a typo, I fixed the misspelling.Thanks for notify me.Sorinhttps://www.blogger.com/profile/09135002905210428963noreply@blogger.comtag:blogger.com,1999:blog-6365126613137680130.post-72116742975751889982008-02-15T06:20:00.000-08:002008-02-15T06:20:00.000-08:00Thanks for the tutorial. I think there's a typo in...Thanks for the tutorial. <BR/><BR/>I think there's a typo in line #6. Bubbles is spelled Bubbels.Anonymousnoreply@blogger.com