A new AS3 framework has been released by Arul @ Luracast. Do check it out at http://code.google.com/p/short/. I’m pretty excited about it because of 2 things. Firstly, it’s the first framework released by someone based in Singapore. Secondly, I share the same frustration as the creator – a simple getURL that used to be so [...]
A case study of a microsite for Battlefield Bad Company 2.
Learn how I used Arduino, Flash, Smart Fox Server, and Influxis (Flash Media Server) to create the site.
Being new to AS3, I didn’t realise that removing a child from the display list does not kill all it’s listeners, sounds, and some other stuff I don’t know…
You can call it the global mute as well. What this line of code does is actually just turning down the entire flash’s volume down to 0. This is great for websites or games alike when a “Sound Off” or “Mute” feature is needed. SoundMixer.soundTransform = new SoundTransform(0);
Stumbled upon this great flasher’s blog recently while trying to research for something I want to do: http://en.nicoptere.net/?p=574 The speed and quality of the fur generator is, I believe, the best out there right now. Awesome stuff. Other generators: http://blog.inspirit.ru/?p=131 http://projects.stroep.nl/fur/
function removeChildrenOf(mc:MovieClip):void{ if(mc_mc.numChildren!=0){ var k:int = mc.numChildren; while( k — ) { mc.removeChildAt( k ); } } }
Back in AS2, when a MovieClip(MC) is underneath another one, as long as the MC that is on top doesn’t have any button actions (eg. onRollOver, onRelease etc), assigning button actions to the MC below will work. Not anymore in AS3. A quick fix is to give the following properties to the MC on top [...]
Recent Comments