[kml_flashembed movie=”/wp-content/uploads/manual/2007/introweb.swf” width=”445″ height=”340″ FVERSION=”9″ QUALITY=”high” /]
All set for the Phlash5 gig tonight (see previous post), or at least as ready as we’ll ever be! By the way the venue has changed now to BB Kings – it’s next door to Howl at the Moon, by the way.
I’m not sure who’s responsible for this, but my session is at 9am the next morning. Hmmm. OK! And we’ll be blowing things up in Flash. But maybe, in my post gig haze, we’ll be blowing things up quietly. It’s pretty much the same session at FlashForward, with a couple of Hollywood specific examples.
Source code can be downloaded here : sebleedelisle-as3particles.zip. Don’t forget – it’s an interactive session. Download the source, work along with me, and send your examples over to me at firstname.lastname@example.org.
13 replies on “FITC Hollywood Session – AS3 Particle effects”
Well done. Thanks much!
Hi Seb, I can’t seem to download your as3particles.zip file. 548k downloads but OSX tells me there is a ‘format error’ in the file. Could you reupload?
hey alex, all working fine over her on OSX! do you want to try again and let me know if you still have problems?
I am also having problems expanding the zip file. It’s strange because I have downloaded the file previously with no problem.
ok, re-zipped and re-uploaded. Let me know how you get along!
1061: Call to a possibly undefined method addChild through a reference with static type flash.display:DisplayObject. new fla file
Hey Hakki, which fla are you getting that on?
I´m getting the same as Hakki is…
“1061: Call to a possibly undefined method addChild through a reference with static type flash.display:DisplayObject.”
The fla is “Particles41”.
Ah ok, I’ve got it now. I wasn’t getting the warning as I didn’t have strict mode turned on!
Yeah it’s a little bug I noticed a while ago, but thought I fixed, maybe I didn’t fix it in all the files?
But anyway – it’s an easy fix. The targetclip parameter should be of type DisplayObjectContainer , not DisplayObject.
Hope this helps! I’m currently checking the files and a new version will be uploaded shortly.
OK a new version has been uploaded. The code could do with a tidy up in general, but then these files only ever meant to be quick experiments, so let me know if you have any more problems.
i was wondering if you can provide an example of new particles being created then animated with a mouse event?
i’m fairly new to as3 and i’m still trying to figure out how to get the mouse event to work with your particle code.
i am able to make new particles but they don’t animate.
thanks in advance, great work btw! 🙂
Hey priscilla! I’m not sure exactly what you mean by animate with a mouse event? There is source code that uses the mouse co-ordinates to generate particles, but I’m assuming you mean something else?