Code: Select all
m_sprite = this.myMovieClip as Spritet_anjan wrote:Doing that makes the swf unusably slow.
In general don't use MovieClips unless you have to. You can make an animation engine yourself. I think everyone is talking about MovieClips because that's how we are used to doing things. Now we don't need them any more.
I'm recently converting a 6-month AS2 project to AS3. It's almost like PowerPoint, but powered by flash. The point is that I now went from 100+ external swfs to 3. I'm now generating buttons, backgrounds and all kinds of things. Most images are now streamed in as Bitmaps. The total file-size went down to a 25%. I'm just writing this, because I think we need to start thinking in new ways. Getting rid of extensive MovieClips is probably one of the biggest steps.