Hosting Solutions
mobile_logo Table of Contents
seal_frontseal_back

Centering Dynamic Stage Elements

Learn how to auto-center any dynamically loaded elements. This code is mostly used for dynamic flash image galleries that can adjust the large pic window for picture size and center images even if they happen to be different sizes. I have also used this code when loading video files into a movieclip dynamically at runtime.
thumb

Flash Videos

General Programming

Code for Parent and Child MovieclipsCustom Mouse Cursor TutorialRandom Content Display ScriptFull Flash AS3 CSS Website Template EditableMultilayer Parallax Backgrounds TutorialMouse Wheel Zooming InteractivityPlaying Card Deck for GamesSimulated Dice Throw TutorialDress Up Game Tutorial Part 1Random Number Generator CodeDraggable OS Style WindowsCreating Desktop Applications Using Adobe AIRFull Screen Application Toggle Up and DownDrag Within Bounded SpaceSystem Capabilities Class TutorialMovieclip Reflection EffectDetecting User Mouse CoordinatesCentering Dynamic Stage ElementsTrue Fit Elements WebsiteReusable Dynamic Class Code CreationDress Up Game Tutorial Part 2