Better use of Flash MX

In my attempt to gain a better understanding of Flash (in particular programming for Flash applications). I’m hoping someone can “walk me through” better programming practices etc.

I’ve got a “handle” on loading clip instances via AS, now I’d like to understand how to control them once I have them instanced into the Movieclip.

I’ve attached a file, which is a very simple (at this stage) shadow effect which follows a MC. You’ll see it, the file is really straight forward.

I wish however to develop this project a little further i.e. have the shadow shift “up” if the clip is above the centre of the stage and “down” if it is below the centre.

I’m sure my programming practice could do with a lot of fine tuning. So what I’m looking for is someone who can suggest if I have gone the “correct” (I know it’s open to interpretation) about creating the execution of the effect. I’d prefer if the entire project was created with as MUCH code as possible so I get a good understanding i.e.clip instances are loaded from the library.

Phew!! If you’ve made it this far in the thread, the next step is helping me out. Cheers in advance.

:slight_smile: