Here’s something that I always do when writing any sort of Flex Application. I’ll write a batch file that would allow me to quickly double click it and copy all of the files on the bin-release folder to the production server. This normally save me a lot of time as I don’t have to manually [...]
Entries Tagged as 'Flex'
Batch File to Copy Flex Release Build to Production Server
February 4th, 2010 · No Comments · Flex
Tags:batch file
Embeding Collada files on Flex
August 20th, 2009 · No Comments · Flex
Here’s how to embed collada files into your Flex.
1
2
3
4
5
6
7
[Embed(source="collada.dae", mimeType="application/octet-stream")]
private var Model3D:Class;
var byteArray:ByteArray = new Model3D();
var collada:DAE = new DAE();
collada.load(byteArray, material);
scene.addChild(collada);
Tags:actionscript·embed collada·Flex·mimetype
Restart A Flex Web Application
May 14th, 2009 · No Comments · Flex
Here’s a quick way of restarting your Flex Application without reinitializing everything through a function
navigateToURL(new URLRequest(Application.application.url), ‘_self’);
Tags:
Creating Hand Cursor for Flex Component
April 6th, 2009 · No Comments · Flex
In order to change the mouse cursor to a hand cursor when a mouse over a particular component in Flex Component you will need to set useHandCursor = true , however if you set this to true you will not be able to get the hand cursor unless you set another two properties on the [...]
Tags:actionscript·Flex·hand cursor·mouse cursor

MouseEvent.DOUBLE_CLICK Not Firing
March 6th, 2009 · No Comments · Flash, Flex
Recently I was working on a project that I was using MouseEvent.DOUBLE_CLICK and the darn thing wasn’t firing no matter how many times that I’ve clicked on it. After awhile I remember that most Flex component actually have a doubleClickEnable property . Guess what was the result of the trace when I did
1
trace(image.doubleClickEnabled) // this [...]
Tags:double click·MouseEvent.DOUBLE_CLICK
Flex Warning: Unable to bind to property ‘XXX’ on class ‘XXX’
February 4th, 2009 · No Comments · Flex
While working on a new project using Flex and Webservices, I got this annoying message when I’m trying to use dataprovider and custom ItemRenderer
warning: unable to bind to property ‘xxx’ on class ‘xxx’ (class is not an IEventDispatcher)
warning: unable to bind to property ‘xxx’ on class ‘xxx’ (class is not an IEventDispatcher)
This is happening because [...]
Tags:
Tour de FLEX
November 21st, 2008 · No Comments · Flex
Here’s a really cool Flex learning tool called Tour de Flex. Tour de Flex is a desktop application for exploring Flex capabilities and resources, including the core Flex components, Adobe AIR and data integration, as well as a variety of third-party components, effects, skins, and more.
It’s a really great application as it provides alot of [...]
Tags:adobe·Flex·flex components·tour de flex·tour de flex plugin
Flash 10 File Reference
November 1st, 2008 · No Comments · Flex
Prior to Flash Player 10 , if you need to write or read a file to a user system , you would need to bounce it off a server and then load it back to the user system before you can even access the file. This is no longer true in Flash Player 10 . [...]
Tags:fileReference·flash player 10·Flex
Using Flex 4 sdk codename ‘Gumbo’ in Flex Builder 3
October 18th, 2008 · No Comments · Flex
If you haven’t heard about the next version of Flex , code name Gumbo is now in development. According to Adobe’s Open Source site , the next version of Flex has 3 primary themes :
Design in Mind: provide a framework meant for continuous collaboration between designer and developer.
Developer Productivity: improve compiler performance and add productivity [...]
Tags:Flex·Flex 4·Flex 4 SDK·Flex Builder 3·Gumbo

Width and Height for Dynamic Image in Flex
July 16th, 2008 · No Comments · Flash, Flex
Recently I was working on a Flex project and realize upon having my project on the live server , I couldn’t retrieve the height and width property of my loaded image by doing below
var img:Image = new Image();
img.source = "image.jpg"
trace(img.height);
trace(img.width);
The trace statement above will just show 0 for both width and height. Of course after [...]
Tags:dynamic image·Flex·Height·Image·Width
