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

Chapter 9. STANDALONE APPLICATION DEVELO... > UNDERSTANDING THE FLASH USER INTERFA...

UNDERSTANDING THE FLASH USER INTERFACE

Fortunately, the TextTool user interface is a much more straightforward than the Java back-end. Flash players have been around for a long time, and my experience has been that the ports from one platform to another are relatively trouble free and surprisingly consistent. Additionally, having access to the advanced functionality of Flash 5 makes life much easier because we can leverage the elegance of true object-oriented programming.

TextTool is a simple application for entering, saving, recalling, and deleting short notes on any device that supports both Java and Flash. The entire interface consists primarily of a main area in which to enter text, three command buttons (Save, Load, and Delete), and three floating prompt boxes that expect input (filenames) from users. If you open the Flash file and look at the main timeline, you will find that the top layer (labeled “control”) contains or includes most of the UI’s ActionScript while the layers below it contain various graphical elements. You will also notice that everything exists on the first frame of the timeline (even all the movieclips use nothing but their first frames); because the application functions solely through ActionScript responding to user input, you can see that Flash 5 is as much a programming environment as it is an animation tool.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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