05.26.08

-keep-generated-actionscript in Flex

Posted in Flex tagged at 10:32 am by Saran

As you know, all MXML files are converted to ActionScript Classes which are later compiled in SWF file. If you want to view / study these automatically generated classes, you can use Compiler Argument -keep-generated-actionscript in Flex Builder Project.

In Flex Builder navigate to Project > Properties > Flex Compiler > Additional compiler arguments and add following configuration: -keep-generated-actionscript

This will create a folder named generated in project source folder which will have all ActionScript classes which Flex Builder automatically generates from MXML ({MXML file name}-generated).

05.20.08

Flash Player 10

Posted in Flash, Flash Player tagged at 10:58 am by Saran

Flash player 10 goes public. The developer gets opportunity to test and provide feedback to Adobe. The following are key features in Flash player 10,

  • 3D Effects
  • Custom Filters and Effects
  • Advanced Text Layout
  • Enhanced Drawing API
  • Visual Performance Improvements

To get more information about this, please visit to  http://labs.adobe.com/technologies/flashplayer10/

To install Flash player 10 visit to http://labs.adobe.com/downloads/flashplayer10.html

05.14.08

Guttershark Actionscript Library

Posted in AS3, Flash, Open Source at 9:50 am by Saran

This one is not Flex API and is targeted towards ActionScript. The main features which I  have found here is handling Cache, NetConnection Manager, CPU speed estimation . And also it provides a way to override their  API. To find more information about this visit http://www.guttershark.net/

05.08.08

Flash Player cache on Flex

Posted in Flex at 11:39 am by Saran

How to increase the performance of the Flex application using the new Flash Player cache feature available in new Adobe Flash Player 9 Update 3 (9,0,115,0)

1. The Flash Player cache is a new feature available in Flash Player 9 Update 3 (9,0,115,0).
2. The cache allows files signed by Adobe to be cached by Flash Player.
3. These files end in the file extension .swz.
4. They can be reused in more than one domain, apart from the domain in which they originated
5. The SWZ file persists in the cache even after the browser is closed, provided that the end user does not change settings in
the Flash Player Settings Manager to reduce their caching ability
6. A SWZ downloaded in IE can also be used in Mozilla Firefox as it requires only one copy of the framework
7. In Flex 3 , the framework library code has been rolled into RSLs (Runtime shared library)
RSL can either be an SWZ or SWF, which can be loaded runtime instead of being statically linked into the application
Because of this, the application’s file size becomes smaller.
8. Once the Flex-signed RSLs are cached on a user’s machine from running one application, they are available for use by all other
applications, regardless of the original domain used to load the application.

05.02.08

FlashDevelop: FlexBuilder-style Error Reporting on Save

Posted in AS3, Flash at 9:42 am by Saran

FlashDevelop has the same exact error reporting that FlexBuilder does.For some reason, this feature is turned off by default in FlashDevelop. In order to turn it on, you need to press F10, or go to Tools > Program Settings. Then, under the AS3Context plugin, under “Common”, the first item is called “Check Syntax On Save”. Set this to True.