HTML/CSS Service

Showcase

0 comments0 views
1 Star2 Stars

Flex Component Kit

Category: Flex Examples, flex tutorials    |    484 views    |    Add a Comment

Flex Component Kit Alpha for Flex 2.0.1

The Flex Component Kit for Flash CS3 allows you to create interactive, animated content in Flash, and use it in Flex as a Flex component. This is an Alpha version that was built for Flex 2.0.1. The final version will be included as part of the Flex 3 SDK. You can watch the presentation at http://adobedev.adobe.acrobat.com/p75214263/ to learn more about the component kit. It includes the steps required to prepare your Flash content for Flex, and examples of various interaction possibilities…. Read more…

Share/Save/Bookmark

 

Adobe Flex 4 SDK

Category: Flex Examples    |    603 views    |    1 Comment

Welcome to the Adobe Flex® 4 SDK beta release on Adobe Labs (previously code named Gumbo). This release marks an expanded role for the Flex framework, now supporting both developers creating Flex applications and designers using Adobe® Flash® Catalyst™ to create interaction design.

You can build great Flex applications using only the Flex 4 SDK and an editor of your choice, or you can use the beta version of Adobe Flash Builder™ 4 (previously named Flex Builder) which includes everything in the Flex 4 SDK within it. This beta release aligns with the public beta releases of both Flash Builder and Flash Catalyst.

There are 3 main themes for this release:

  • Design in Mind: providing a framework for continuous collaboration between designer and developer
  • Developer Productivity: improving compiler performance and adding productivity enhancements to language features
  • Framework Evolution: taking advantage of new Flash Player capabilities and adding features required by common use-cases Read more…

    Share/Save/Bookmark

    • No Related Post

     

Flex Ajax Bridge

Category: Flex Examples    |    2,495 views    |    1 Comment

The Flex Ajax Bridge (FABridge) is a small code library that you can insert into an Flex application, a Flex component, or an empty SWF file to expose it to scripting in the browser.

Rather than having to define new, simplified APIs to expose a graph of ActionScript objects to JavaScript, with FABridge you can make your ActionScript classes available to JavaScript without any additional coding. After you insert the library, essentially anything you can do with ActionScript, you can do with JavaScript.

Adobe Flash Player has the native ability, through the External API (the ExternalInterface class), to call JavaScript from ActionScript, and vice versa. But ExternalInterface has some limitations:

  • The ExternalInterface class requires you, the developer, to write a library of extra code in both ActionScript and JavaScript, to expose the functionality of your Flex application to JavaScript, and vice versa.
  • The ExternalInterface class also limits what you can pass across the gap - primitive types, arrays, and simple objects are legal, but user-defined classes, with associated properties and methods, are off-limits.
  • The ExternalInterface class lets you define an interface so your JavaScript can call your ActionScript. FABridge lets you write JavaScript instead of ActionScript.

When to use the Flex Ajax Bridge

The FABridge library is useful in the following situations:

  • You want to use a rich Flex component in an Ajax application but do not want to write a lot of Flex code. If you wrap the component in a FABridge-enabled stub application, you can script it entirely from JavaScript, including using JavaScript generated remotely by the server.
  • You have only one or two people on your team who know Flex. The FABridge library lets everyone on your team use the work produced by one or two Flex specialists.
  • You are building an integrated rich Internet application (RIA) with Flex and Ajax portions.Although you could build the integration yourself using ExternalInterface, you might find it faster to start with the FABridge.

Requirements for using the Ajax Bridge

To use the FABridge library and samples, you must have the following: