Featured Post

Xml Module Website Template v1

This is a completely modular flash site . It also offers 9 separate modules, you can add to your own projects using. You can to add the free module just through the xml file. It can also be used alone with the site’s framework, as long as you add the site’s content (each module), a Web site is...

Read More

FLEX OLAP(OLAPDataGrid)

Posted by activetofocus | Posted in Flash Technology | Posted on 24-10-2009

Tags: ,

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.

Flex in the custom event

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.

FLASH image processing/channel

Posted by activetofocus | Posted in Flash Technology | Posted on 20-10-2009

0

Question:
  • the images R, G, B channel respectively, separated in RGB mode, grayscale mode that.
  • pictures in grayscale mode, said.

FLASH image processing / tailoring, dynamic selection

Posted by activetofocus | Posted in Flash Technology | Posted on 19-10-2009

Tags: ,

0

Here is the code related technologies.

RGB color channel/seprate and combine

Posted by activetofocus | Posted in Flash Technology | Posted on 18-10-2009

Tags:

0

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

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();

navigateToURL open a new window or EMAIL or with the communication between js

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. ..)”));

Flex DataGrid control

Posted by aven | Posted in Flash Technology | Posted on 30-09-2009

Tags:

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.

Flash, Flex and Html to pass parameters

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:

3

Method 2. Flex code:

4

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;

Canvas graphics (draw line or graphic form does not display issues)

Posted by activetofocus | Posted in Flash Technology | Posted on 28-08-2009

Tags:

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.

1

Method 2:

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

2