Category Archives: Tutorials

Tweening to a Relative Position using a Variable in TweenMax

This isn’t too complicated, but it’s something I hadn’t come across until a few days ago. If you want to tween an object relatively, but the new value changes and needs to be a variable, just cast it as a string. // Your everyday absolute tween that moves movieclip_mc // to 100 on the x axis, taking [...]
Also posted in Flash | 1 Comment

Easily Test & View Alternative Content while Using SWFObject

SWFObject is great. I’ve been using it to embed Flash content in my pages since the IE / Eolas “click to activate” thing when it was still called FlashObject. But SWFObject is missing a feature. It’s not easy enough to test your non-Flash alternative content. You can bump up the required version number to one that [...]
Also posted in Flash | Leave a comment

Forcing Vertical Scrollbar Gutter to Show to Prevent Page Shift while Using swffit

Update: This fix is no longer necessary. When explaining it to a coworker, we discovered a new version of swffit with a new method called showScrollV() that does the same thing. A common problem with centered web site layouts is what’s been dubbed “page shift.” This happens as users move among pages that are too short [...]
Also posted in Flash | Leave a comment