Posted by activetofocus | Posted in Flash Technology | Posted on 24-10-2009
0
The OLAPDataGrid control expands on the functionality of the
AdvancedDataGrid control to add support for the display of the
results of OLAP queries. Like all Flex data grid controls, the
OLAPDataGrid control is designed to display data in a two-dimensional
representation of rows and columns.
Posted by activetofocus | Posted in Flash Technology | Posted on 22-10-2009
0
Event is a very useful feature, often used for interactive transmissionof information greatly increased programming flexibility. In the high-level language features will be integrated in this regard;Flex is no exception in almost all controls are integrated into a large number of events, if the Button’s Click events. But the actualapplication of the control events that are not full of their own real needs, especially in their own write custom control, the custom control inside information on how changes in the container where the timely notification must become; this time, the custom event on the to play its role.
Are defined in the Flex in the event there are two situations are
defined in the ActionScript and MXML.
Posted by activetofocus | Posted in Flash Technology | Posted on 19-10-2009
0
Here is the code related technologies.
Posted by activetofocus | Posted in Flash Technology | Posted on 18-10-2009
0
To seprate the color channels:
- G = (0xFC3343 >> 8 ) & 0xFF
To combine them:
- RGB = (0xFC << 16) + (0×33 << 8 ) + 0×43
Posted by activetofocus | Posted in Flash Technology | Posted on 11-10-2009
0
These are some ways to reduce the code or memory, select an author of the network.
1. Avoid the new operator when creating Arrays
var a = [];
NOT:
var a = new Array();
Posted by activetofocus | Posted in Flash Technology | Posted on 07-10-2009
0
navigateToURL () will be used often, it can open a new browser window, the page can also interact with the JS:
Open a new window:
navigateToURL (new URLRequest ( “http://blog.activetofocus.com”, “_blank”);
“_blank”: means the new window, you can also use “_self” to open the window and so on;
Send email:
navigateToURL (new URLRequest ( “mailto: blog@activetofocus.com”);
Interaction with the js:
- Direct the use of js: navigateToURL (new URLRequest ( “javascript: window.close ()”));
- Call js function: navigateToURL (new URLRequest ( “javascript: MyJsFun (par. ..)”));
Posted by aven | Posted in Flash Technology | Posted on 30-09-2009
0
The DataGrid control is a list that can display more than one column of data. It is a formatted table of data that lets you set editable table cells, and is the foundation of many data-driven applications.
Posted by activetofocus | Posted in Flash Technology | Posted on 03-09-2009
0
FLASH access to HTML Lane came to achieve the parameters:
Here are Flash and HTML-value between the two ways: url address parameters and flashVars.
Method 1. HTML code:

Method 2. Flex code:

The above method is the FLEX project:
the time required to use flash in the constructor where you can obtain the parameters of.
- stage.loaderInfo.parameters.lan;
- stage.loaderInfo.parameters.theme;
- stage.loaderInfo.parameters.nickname;
Posted by activetofocus | Posted in Flash Technology | Posted on 28-08-2009
0
Flex in the Canvas is the most commonly used containers, but the canvas is not the use of graphics makes them very comfortable to use. When the container used or set the backgroundColor of this attribute, the object re-use graphics to draw lines or to draw graphics on the will not be displayed because the graphics layer and backgroundColor using the same level, so graphics rendering will be blocked can not be displayed.
I have often posted out of the two solutions:
Method 1:
canvas of backgroundColor is not set, this is the most direct way, but if have to use the background color does not.

Method 2:
You can use the UIComponent to solve this problem, although annoying points, but it is pretty good.
