Flex User

March 19, 2008

Applying Dynamic Properties for controls

Filed under: Flex — Tags: , , , — nsdevaraj @ 11:35 am

Instead of using AS3 dynamic Class for assigning dynamic properties to the DisplayObject, the below line is best alternative:

DisplayObject['property']= value

Using this i am working on mxml parser, planning for swf generator from AIR

March 18, 2008

eval in AS3

Filed under: Flex — Tags: , , , — nsdevaraj @ 7:55 am

To do this, you need to include the keyword “dynamic” as part of your class declaration, e.g., public dynamic class Foo. Then to make the call, just say:

var functionName:String = “foo” + bar;
if (this.hasOwnProperty(functionName))
this[functionName]();
reference

March 13, 2008

SWF Loader (Flash CS3)

Filed under: Flex — Tags: , , , , , — nsdevaraj @ 9:54 am

click here to see the code for loading anykind of swf files inside swf generated using Flash CS3, with Seamless effort. This example AS loads ‘1.swf’ to ‘8.swf’. For which u can control with buttons prev_btn, next_btn to navigate among them. swfLoader_mc is the movieclip used to load them. preloader_mc with loadbar_mc and myText(txt) shows the loading.

PNR Status (Indian Railway)

Filed under: Flex — Tags: , , , , , , — nsdevaraj @ 9:13 am

click here to install an Application to check the passenger status for Indian Railway Ticket.

March 7, 2008

Googler

Filed under: Flex — Tags: , , , — nsdevaraj @ 8:44 am

click here to install AIR Application to google ( created using HTML and AIR )

March 6, 2008

SMTP Quick Emailer - AIR

Filed under: Flex — Tags: , , , , — nsdevaraj @ 12:04 pm

click here to install AIR package using socket to send email using SMTP connection, you can send quick email to any email ID you need, For Source files check this link

  

March 5, 2008

Adobe Share AIR

Filed under: Flex — Tags: , , , , , , — nsdevaraj @ 1:27 pm

Click here to use the Adobe Share AIR package for latest AIR version (1.0), using Adobe Share API

February 22, 2008

Flickr Photos Search

Filed under: Flex — Tags: , , , , , — nsdevaraj @ 4:49 am

Click here to check Flickr Photos Search, that loads my marriage photos by default :)

February 7, 2008

using root keyword in Flex (AS3 migration)

Filed under: Flex — Tags: , , , , , — nsdevaraj @ 9:27 am

var root_mc:Object = parent.parent.parent.parent.parent.parent.parent.parent
root_mc.functionNAME()

 use the parent as per the level of components used, then u can refer the root_mc to control the objects or to call the functions of the root level elements.

February 1, 2008

Favourite AS3 removeChild code

Filed under: Flex — Tags: , , — nsdevaraj @ 12:29 pm

if(MC) if(MC.parent ) MC.parent.removeChild(MC);

« Newer PostsOlder Posts »

Blog at WordPress.com.