About how to use flash install facebook fan page,please view these steps.
Class reflection throught getDefinitionByName
About Flash AS3 Class reflection ,we can use getDefinitionByName.It's flash.utils below tool class. As the function name is to get the Clash through the Name of the corresponding class objects, meaning that by the name of a class have access to the class object to the class object declared by an instance of the class object.
Note that the function of the parameters of the path + name = class class name.
How to install swf in website
About how to install swf files in your website,here have some method for you to choose.
How to use SharedObject for save,get,delete date
The SharedObject class is used to read and store limited amounts of data on a user's computer or on a server. Shared objects offer real-time data sharing between multiple client SWF files and objects that are persistent on the local computer or remote server. Local shared objects are similar to browser cookies and remote shared objects are similar to real-time data transfer devices.
About how to save,get,delete date,we had do some code for you to understands....
FLEX OLAP(OLAPDataGrid)
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.
source:
....................
Flex in the custom event
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.
In the definition of ActionScript:
[Event(name="myEnableEvent",)]
public class MyComponent extends UIComponent
{
…
FLASH image processing/channel
Question:
- the images R, G, B channel respectively, separated in RGB mode, grayscale mode that.
-
pictures in grayscale mode, said.
Source:
..........................
FLASH image processing / tailoring, dynamic selection
Here is the code related technologies.
//Marquee
package com.moorwind.imageprocesser.utils
{
import com.moorwind.imageprocesser.ui.ScaleButton;
import flash.display.Sprite;
import flash.events.Event;
import flash.events.MouseEvent;
import flash.geom.Rectangle;
import flash.net.URLLoader;
public class SelectRectangle extends URLLoader
{
..................
RGB color channel/seprate and combine
To seprate the color channels:
- R = 0xFC3343 >> 16
- G = (0xFC3343 >> 8 ) & 0xFF
- B = 0xFC3343 & 0xFF
To combine them:
- RGB = (0xFC << 16) + (0×33 << 8 ) + 0×43
FLEX how to reduce the amount of code to reduce memory consumption
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();
2. Arrays are expensive to create, do so conservativel


