Category Archives: Flash

Anything related to Flash or ActionScript

How to embed an entire asset SWF and get symbols from it

The problem: You want to embed an entire SWF, full of assets, into a class and retrieve individual symbols from it – but you don’t want to have to embed each asset individually. The solution: SWFAsset – a couple of … Continue reading

Posted in AS3 | Tagged , , , , | 3 Comments

Blue lego block of ambiguity

Blue lego block of ambiguity

At the risk of getting sucked into the Apple vs Adobe shitstorm, my own response to Apple chosing to block Flash content from their mobile devices is to at least tell users why – because Apple left it at the … Continue reading

Posted in Flash, Politics | Tagged , , , | Leave a comment

How to correct 3-D projection on stage resize

The problem: You're using Flash 10's native 3-D API and notice the projection goes a little skewiff when resizing the window. The solution: You need to reset the stage's projection centre on stage resize, like so... PLAIN TEXT Actionscript: var … Continue reading

Posted in 3D, AS3, Flash | Tagged , , , , | Leave a comment

Migrating to Flex SDK 4

In moving to compiling projects with the new Flex SDK 4, in noticed a couple of gotchas to do with the EMBED metatag that I thought I'd better share: Runtime shared libraries If you're like me and want to embed … Continue reading

Posted in AS3, Flash | Tagged , , , , | Leave a comment

FlashSize – simple browser resizing

How to allow SWFs to display at 100% width/height in your browser - but enforce a minimum width and height, in case of a smaller browser window size than you've designed for. Until recently, I'd used other Flash/browser resize managers … Continue reading

Posted in AS3, Flash | Tagged , , , | Leave a comment