How to Connect MySQL By AMFPHP In ActionScript

Tuesday, December 2nd, 2008

In previous article Output PDF Documents Through Call PHP By Using of AMFPHP In Flex , we have introduced how to output PDF by AMFPHP. In fact what AMFPHP could do is not just this. Then following tutorial teach you how to connect MySQL by AMFPHP. It’s very useful for you if you need why [...]

Two Tutorials About Strategy Design Pattern

Wednesday, November 12th, 2008

Design pattern in computer science is introduced from architectural design area. It is the solution of all kinds of problem in software design. The breakthough in software design originated from the articles by Gang of Four(GoF) maybe you are not strange. Strategy is one of GoF. Following is two tutorials about Strategy design pattern which [...]

New Performance of ActionScript Vector in Flash Player 10

Tuesday, October 14th, 2008

As you know the Flash Play 10 will be released in this month. There are many new features and improvement in it for example the 3D, text engines, pixel bender and etc.. Then someone maybe interested in the Vectors. Mr. Michael has written the difference on the vectors by comparing the code between the old [...]

AutoScrollManager: A Class of Scrollbar When Mouse is Moving in a Specified Area and Mouse Button Down

Tuesday, September 30th, 2008

I don’t kown if you have met the problem in flex project of the mouse control. For example like the right-mouse function(@see Replace the Flex’s Default Right Click Menu) and so on. When the list has fixed width and height and the context is too many to display. Then what you need to do? Of [...]

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

Tuesday, May 27th, 2008

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 [...]

GUTTERSHARK–an Actionscript 3 library that pushes some simple conventions on you

Tuesday, May 20th, 2008

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.

The Fastest Way To Draw Pixels In ActionScript 3

Friday, May 9th, 2008

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 [...]

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

Monday, April 21st, 2008

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";

Search Posts