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);
[Read more →]
Tags:actionscript·embed collada·Flex·mimetype
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 [...]
[Read more →]
Tags:actionscript·Flex·hand cursor·mouse cursor
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 [...]
[Read more →]
Tags:adobe·Flex·flex components·tour de flex·tour de flex plugin
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 . [...]
[Read more →]
Tags:fileReference·flash player 10·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 [...]
[Read more →]
Tags:Flex·Flex 4·Flex 4 SDK·Flex Builder 3·Gumbo
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 [...]
[Read more →]
Tags:dynamic image·Flex·Height·Image·Width