Tag Archives: source code

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

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

MouseWheelTrap now at GoogleCode

I've put the latest version of my Flash/browser scrolling fixer over on GoogleCode and will be updating it there, as necessary.

Posted in AS3 | Tagged , , , , , | 1 Comment