Home > Blog > AS3 Pitfalls
Page 1 of 3123>
 
AS3 Pitfalls - SOUND_COMPLETE Event is Not Firing

AS3 Pitfalls – SOUND_COMPLETE Event is Not Firing

PROBLEM: The SOUND_COMPLETE event is not triggered when your sound finishes playing. SOLUTION: There are a few different reasons why this problem may occur, but here’s how it played out in my project: When you’re listening for a SOUND_COMPLETE event, you work with two Classes: Sound and SoundChannel. The event listener goes on the SoundChannel instance: var sound:Sound = [...] Keep Reading

 
 
Tutorial: Understanding Classes in AS3 Part 3

Tutorial: Understanding Classes in AS3 Part 3

In this tutorial, learn how to identify when a chunk of code should be spun off into its own .as Class file. Trial by Flash This series of Understanding Classes tutorials chart my progress through unfamiliar Actionscript 3.0 territory. i am a designer-turned-coder, so everything i understand about code was learned in the School of Hard Knocks [...] Keep Reading

 
 
Saved Game (a Kindisoft secureSWF Review)

Saved Game (a Kindisoft secureSWF Review)

Full Disclosure: This is a paid review. We are receiving a free license of Kindisoft secureSWF in exchange for evaluating the product and posting our opinion. This has not necessarily effected a positive or negative review; while a post can be bought, our favourable opinion comes at a higher price. (That price, [...] Keep Reading

 
 
Tutorial: Understanding Classes in AS3 Part 2

Tutorial: Understanding Classes in AS3 Part 2

In our first thrilling look at Understanding Classes in Actionscript 3.0, we talked about how Classes are structured, and how you can make that leap from stashing all your code in the first frame of your Flash movie like an IT chipmunk, to moving your code to its own Class. I promised that in Part 2, [...] Keep Reading

 
 
AS3 Pitfalls - stop(); Action Ignored on Nested Movieclip

AS3 Pitfalls – stop(); Action Ignored on Nested Movieclip

PROBLEM: You’ve got a movieclip with a stop action on the first frame. When it appears on-screen, it inexplicably starts playing on frame 2, ignoring frame 1 and your stop action entirely. The movieclip in question is probably embedded into a parent clip that you’ve dynamically added to the stage from the library using the “new” keyword [...] Keep Reading

 
Page 1 of 3123>