Featured FLA
» Author: Bugra Ozden
» Title: Skatalog v9 - product catalog
» Description: Create your product catalog easly and publish on your website or Create your image gallery, documents list, portfolio. Fully XML Driven
» More by Bugra Ozden
Featured Site
» Posted in the Flash Kit Links section
» Title: Creative DW Image Show PRO
» Description: Creative DW Image Show PRO is a Dreamweaver extension which enables the user to create multimedia presentations. It combines the features of the popular Creative DW Image Show with the ability to add professional text effects to slides (similar to After Effects). The product is very customizable: the user can choose the duration of the transition effects, the slide motion start and end position, zoom and panning type for both images and texts.
The final variable in the data file should be some arbitrary name set to a known value. This allows Flash to determine if it has recieved the entire data file. For short files and fast connections, this isn't an issue, but if the whole file isn't loaded by the time Flash attempts to assemble the menu, it will hang the movie. I've provided an explaination of what each variable means to clear up any issues:
menu_count
This variable tells flash how many menu items there are. This number could be determined dynamicly by Flash, but it's a heck of a lot easier and more reliable to just type the number in yourself when you're done assembling the menu.
menu_text_x (where "x" is the menu entry number)
This variable is what the text of the link will be. In this example, the names are Home, Stories, Drawings, and Contact Me. I have ignored entry 4, since it's text will not appear and is unimportant.
menu_link_x
This variable is used to make the buttons active. It can be whatever you want, from URLs to frame numbers. In this case, the example movie will assume that these are frame numbers, but you can change the linking script in the movie to handle whatever you please.
menu_state_x
This allows for each item in the menu to take on one of multiple states. In this example, entry 4 has been set to state 2, which translates into a divider line in the Flash movie. You could define many states in the flash movie to handle as many situations as you need.
menu_loaded
This variable is always equal to one, and simply lets Flash know that all the variables have been loaded, and that it can proceed with building the menu.