• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 17. Scripting Interface Elements > Troubleshooting Interface Elements

Troubleshooting Interface Elements

  • Test your interface elements with other items onscreen. Layering of elements can be very important, particularly if you are duplicating movie clips.

  • Create some restrictions on the events to which your interface elements respond. Handlers that work fine when a single instance of a movie clip is onscreen during testing might malfunction when other items are added.

  • Plan ahead. Nothing breaks more quickly than an interface element that has an unpredictable behavior. Think about how all the possible events can affect the element.

  • Use unique but regular patterns (setProgress, setSlider) for custom function names. That way you won't be confused by the code when you come back to it later.

  • Look at the panel you're working in! Are you setting the frame label or are you changing an instance name? It makes a difference!


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint