Using Compiler Argument -keep-generated-actionscript in Flex Builder Project to view/study These Automatically Generated Classes

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 Continue reading “Using Compiler Argument -keep-generated-actionscript in Flex Builder Project to view/study These Automatically Generated Classes”

How to increase the performance of the Flex application using the new Flash Player cache feature available in new Adobe Flash Player

How to increase the performance of the Flex application using the new Flash Player cache feature available in new Adobe Flash Player. Continue reading “How to increase the performance of the Flex application using the new Flash Player cache feature available in new Adobe Flash Player”

The Fastest Way To Draw Pixels In ActionScript 3

ActionScript 3 can display a dynamically generated bitmap, in which the RGB values of each pixel are computed by code.It can be help us to render 3D scenes, process video and images, and create other effects.In order to draw a dynamically animated bitmap, it may be necessary to write to every pixel in the BitmapData each frame.We can call setPixel once for every pixel or build an appropriatedly sized ByteArray to do it.But which is the fastest?
Continue reading “The Fastest Way To Draw Pixels In ActionScript 3”

How to create a button and assign a value to a text box within it in actionscript?

Can we create an instance of a button from the library dynamically?

If you have already a button Symbol in your Library with the linkageName buttonSymbol just attach the button on Stage and asign values to it via the button’s name.

The full code:

this.attachMovie(“buttonSymbol”, “btn”, 1);
this.btn.txtField.text = “a Text”;

Continue reading “How to create a button and assign a value to a text box within it in actionscript?”

What Is Adobe/Macromedia Flex?

As a web developer you’ve often found yourself wishing there was a way to make web applications that weren’t limited to the heavy restrictions of HTML. You’ve used JavaScript to make your forms a little more intuitive with dynamic/context driven comboboxes, but to do anything more often requires heavy amounts of JavaScript and DHTML. Even if you are a pro at it, it’s extremely time consuming to make workflow interactive and user friendly. More importantly, why would you want to be spending so much time on core UI functionality when you’re getting paid to work on business logic and workflow.

Flex to Flash is like Ajax to Javascript. It’s another interface, tagg-based language, editor and approach meant to make the “Flash” people not think about Flash as a designer tool. It is Macromedia’s way of pushing Flash where the $$ are. Continue reading “What Is Adobe/Macromedia Flex?”