Featured Post

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

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

Flashplayer Debug Down Path

Posted by activetofocus | Posted in Flash Resources | Posted on 03-10-2009

0

http://www.adobe.com/support/flashplayer/downloads.html

APE (Actionscript Physics Engine)

Posted by activetofocus | Posted in Flash Resources | Posted on 02-10-2009

0

APE (Actionscript Physics Engine) is a free AS3 open source 2D physics engine for use in

Flash and Flex, released under the MIT License. APE is written and maintained by Alec Cove.

demos

http://www.cove.org/ape/