how do you do rollovers llike

Out of context: Reply #54

  • Started
  • Last post
  • 72 Responses
  • hollowcube0

    well guys, dealing with _alpha *does* eat up system resources quickly, no matter how you go about it (script or timeline).

    however, if you set an _alpha through scripting, it knows what to value to set it at. if -- on the other hand -- you do it with tweening on the stage, it has to calculate all the in-between stages. so, in this case, scripting 'should' be less demanding on system resources.

    but it all depends on what you're doing, and how you do it.

    someone mentioned that having lots of tweenable movie clips on the stage (let's say, 30 for example) would tend to bloat the file size. that's not necessarily true -- if you do it properly.

    no matter how you do the fade in/out, i would recommend using the 'attachMovieClip()' method to pull a single movie clip (or button) out of the library, and place it on stage.

    that way you only make 1. it saves time (future changes) AND it saves on download times.

View thread