Flash Menu Help

Out of context: Reply #2

  • Started
  • Last post
  • 9 Responses
  • unfittoprint0

    I had a look to your file. Before getting into any specifics regarding your slide function I should advice you the following:

    #1. Don't use 20 different buttons when you can use 1 movie clip acting as a button with different values. Make a component where you can change image/file loading path, color, etc...

    #2 don't use on(press) etc... those events are deprecated, call them directly on an action layer [after naming your instance] like: myButton.onPress(){ doThis(); }

    #3 use the new MovieClip events (instead of the onClip ones) together with my #2 advice you'll have concentrated the code in ONE layer instead of separating it everywhere in the file..

    #4 Trace the f*ck out of your script when you find a problem, see where the codes stop functioning as intended.

    Do this changes and if you still have difficulties post here. Using the new code, we'll make your life easier and your file shorter. good luck.

View thread