advertisement
Premier Club Log In/Registration
  Include Code  Search Tips
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   SKILLBUILDING  |   TIP BANK  |   SOURCEBANK  |   FORUMS  |   NEWSLETTERS
Browse DevX
Partners & Affiliates
advertisement
advertisement
 
Extending Flash MX 2004 Series: An Introduction to the JSAPI
With the 2004 edition of Flash MX, developers have the option to build any kind of custom extension that they like, including commercial third-party extensions. Find out how to exploit the 'Extensibility Layer' in Flash using a new but simple scripting language called JSFL.  

s with the release of any new version of a software product, Macromedia Flash MX 2004 introduces a host of features. The most significant of these is what Macromedia calls the 'Extensibility Layer'—a general term for a set of features that makes it possible for Flash developers to create and implement their own new features directly in the Flash Authoring Environment. Various third parties have already exploited the extensibility layer and are commercially distributing their own extensions to the IDE. For example the makers of SWiSH, the ever-popular text effect tool, are now selling a Flash Extension called SWiSHpowerFX that allows Flash designers to select a text field on the stage and apply to it various SWiSH text effects

The Extensibility Layer makes it possible to write macros that will automate common tasks, write tools that manipulate objects on the stage, create panels that contain graphical user interfaces, write timeline effects that animate objects on the stage and much more.

Introducing JSFL
To take advantage of these new possibilities, you need to be familiar with a new scripting language, JSFL (for JavaScript Flash), that lets you talk to the Flash MX 2004 IDE and tell it what to do.

For those of you that have seen snippets of JSFL floating around, you may have noticed a striking familiarity between that and ActionScript or JavaScript. Well spotted! The good news is that Macromedia based JSFL on the Netscape JavaScript API (JSAPI), which means that neither ActionScript coders nor those who have dabbled with JavaScript will have to learn a whole new programming language. The syntax is exactly the same, dot syntax, and ActionScript will still work with the same data types; Objects, Arrays, Strings, Numbers, and Functions.

As this article series is aimed towards Flash developers, I will write with the assumption that most, if not all of you have good knowledge of ActionScript.

Part 1: Understanding the JSFL DOM
The key to learning to write your own Flash extensions is to understand the Flash DOM and thus the first article in this series will explain the DOM in detail.

Part 2: From ActionScript to JSFL: Using Classes and Scripts
If you're experienced with ActionScript—or even JavaScript—JSFL won't be a stretch. There's just a few idiosyncrasies you need to know about. Find out how to write and execute your own JSFL scripts.

Part 3: New Tools: Using History and Flash Panels for Faster Development
The History Panel is one of the best learning tools for Flash—if you know how to take advantage of the information it stores. Learn the History panel as well as how to make your own Flash panels.

Part 4: Solving UI Problems with XUL
Learn the basics of XUL—an XML-based standard for defining user interfaces.

   
Guy Watson (or FlashGuru as he is also known) has been an active, well recognized figure in the Flash community for four years, supporting the community with tutorials, source files, forum moderation, and running his own Flash resource Web site, FlashGuru's MX 101. Guy was one of two developers who created the ever popular, award winning zoom interface for Relevare and now works for the leading entertainment company Endemol UK, the creative force behind reality television, producing programs such as Big Brother and The Salon. Guy now spends most of his time developing Flash games and applications for high profile clients such as Channel 5 Television, Ladbrookes, and UK Style.
DevX is a division of Jupitermedia Corporation
© Copyright 2007 Jupitermedia Corporation. All Rights Reserved. Legal Notices
advertisement
Advertising Info  |   Member Services  |   Permissions  |   Contact Us  |   Help  |   Feedback  |   Site Map  |   Network Map  |   About


JupiterOnlineMedia

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers

Solutions
Whitepapers and eBooks
IBM Whitepaper: Innovative Collaboration to Advance Your Business
Internet.com eBook: Real Life Rails
Avaya Article: Call Control XML - Powerful, Standards-Based Call Control
Internet.com eBook: The Pros and Cons of Outsourcing
Go Parallel Article: Scalable Parallelism with Intel(R) Threading Building Blocks
Internet.com eBook: Best Practices for Developing a Web Site
IBM CXO Whitepaper: The 2008 Global CEO Study "The Enterprise of the Future"
Avaya Article: Call Control XML in Action - A CCXML Auto Attendant
Go Parallel Article: James Reinders on the Intel Parallel Studio Beta Program
IBM CXO Whitepaper: Unlocking the DNA of the Adaptable Workforce--The Global Human Capital Study 2008
Adobe Acrobat Connect Pro: Web Conferencing and eLearning Whitepapers
Go Parallel Article: Getting Started with TBB on Windows
HP eBook: Storage Networking , Part 1
MORE WHITEPAPERS, EBOOKS, AND ARTICLES
Webcasts
Go Parallel Video: Intel(R) Threading Building Blocks: A New Method for Threading in C++
HP Video: Is Your Data Center Ready for a Real World Disaster?
Microsoft Partner Portal Video: Microsoft Gold Certified Partners Build Successful Practices
HP On Demand Webcast: Virtualization in Action
Go Parallel Video: Performance and Threading Tools for Game Developers
Rackspace Hosting Center: Customer Videos
Intel vPro Developer Virtual Bootcamp
HP Disaster-Proof Solutions eSeminar
HP On Demand Webcast: Discover the Benefits of Virtualization
MORE WEBCASTS, PODCASTS, AND VIDEOS
Downloads and eKits
Microsoft Download: Silverlight 2 Software Development Kit Beta 2
30-Day Trial: SPAMfighter Exchange Module
Red Gate Download: SQL Toolbelt
Iron Speed Designer Application Generator
Microsoft Download: Silverlight 2 Beta 2 Runtime
MORE DOWNLOADS, EKITS, AND FREE TRIALS
Tutorials and Demos
IBM IT Innovation Article: Green Servers Provide a Competitive Advantage
Microsoft Article: Expression Web 2 for PHP Developers--Simplify Your PHP Applications
Featured Algorithm: Intel Threading Building Blocks - parallel_reduce
MORE TUTORIALS, DEMOS AND STEP-BY-STEP GUIDES