Ethic Solutions Free Webmaster Tools
     
Organizing Library using JSFL Flash Tutorials : FlashAdvisor.com
Flashadvisor logo
:: Desktop Shortcut
:: Flash Help
Advices from Experts

 Submit Here! · Link to Us · Newsletter · Tell a Friend ·

      Add Tutorial |

 

Advertise here










 

Google

Search WWW   
FlashAdvisor.com

 Home > Tutorials  > Dynamic Content

Flash Macro > Organizing Library using JSFL

Author: Saumitra Karandikar | Email


Advertisement


Flash Macro > Organizing Library using JSFL

This tutorial assumes that you are fairly clear with the basics of JSFL and the JSAPI provided as a part of Flash MX 2004 release. If not, you may refer to the "Introduction to JSAPI" tutorial in the tutorials section.

In this tutorial we will write a jsfl file, which will convert the library into a well-organized library. Usually the designers/developers tend to ignore Library of the FLA file and end up cluttering it linearly with no folder structure. At a later stage it is difficult and time consuming to arrange the library to make it look better so that finding objects is easier.

The jsfl "command" we intend to create comes handy in this situation. This command creates five folders viz., Audio, Buttons, Graphics, Movie Clips and Miscellaneous . It then picks each item and puts in the corresponding folder. So in a larger project FLA where the number of elements is large, the arranging is quick and in one shot. Also, it does not make changes or move any of the user created folders to avoid confusion.

Ok, lets start. Open any text editor of your choice. If you have Macromedia Flash professional version, you will be able to create the jsfl file using Flash directly (and consequently get help and full access to auto complete dropdowns). I am using Flash MX 2004 Pro to create the jsfl file. The editor here has only the text editor available in this mode. All other panels are disabled. See image below Fig 1.1, depicting the screenshot of the Flash jsfl editor (Notice that only the text editor is enabled in this mode):



Fig 1.1

Download Source File

| 1 | 2 | 3 |

Rate This Tutorial :
We hope the information helped you. If you have any questions or comments, please don't hesitate to post them on the Forums section
Submit your Tutorial at Click Here
  

Home | About Us | Contact Us | Feedback | Advertise with us

Best viewed in 800x600 resolution with Internet Explorer.

Site Developed and Hosted by  ethicsolutions.com
All rights reserved with FlashAdvisor

Flash is a registered trademark of Adobe Systems, Inc.

38 users online