Home » Development » Flex »

February 4th, 2010

Problems with latest stable Flex 4 nightly build

Problems with latest stable Flex 4 nightly build

I have commercial project in Flex 4. That’s great I always wanted to use Flex 4 for commercial project (otherwise I didn’t have time to work with Flex 4). It was too risky, because Flex 4 is just beta 2, but application depends on custom skinning, so we have decided to implement it in Flex [...]

Posted in Flex
By admin
read more
January 25th, 2010

Loosing children interactivity after setting perspectiveProjection

My current project needs to use new native 3D in Flash Player 10. It seems so easy to use it, just set any 3d property like x,y,z or rotationX, rotationY, rotationZ and all should work perfectly. It seems so. But I have found problem and it seems it’s Flash player bug (I hope someone proves [...]

Posted in Flex
By admin
read more
November 3rd, 2009

Numeric sorting of Flex DataGridColumn

This is quick solution for Flex coders. If you want to sort column in DataGrid, default sorting is sorted by String and not Number. If you have just one numeric column, you can create custom sort function and set sortCompareFunction for given DataGridColumn. If you have more such columns and you dataProvider is ArrayCollection which consists of many object, better solution is override DataGridColumn and implement compareFunction inside this class.

Posted in Flex Tips
By admin
read more
October 14th, 2009

Text Layout Engine: TruncationOptions

Text Layout Engine: TruncationOptions

This is same example as yesterday (Fit text in rectangle with Text Layout Engine), but I’ve added one more switch. You can decide if you want use TruncationOptions or not. Reason why I want to show this to you is that it works differently. I do not know if this is feature or bug, but try to tell me your opinion in comments.

Posted in Flex
By admin
read more
October 13th, 2009

Text Layout Engine: Fit text into rectangle

Text Layout Engine: Fit text into rectangle

This is first example in serie of examples of showcase how to use Text Layout Engine (mainly for Flex 3).

Here is quick description: I need to fit text in rectangle (need it for our Goalscape project). I want to be able to change width, height, font size and text of course.

Posted in Flex, Text Layout Engine
By admin
read more
October 13th, 2009

Text Layout Engine in Flex 3

Text Layout Engine in Flex 3

I’m going to play with Text Layout Engine, which is bundled in Flex 4. But we need to use it in Flex 3 in our Goalscape project. And it’s possible to use Text Layout Engine in Flex 3. All you need to do is download Flex 4 SDK, or Flash Builder and get textLayout.swc from [...]

Posted in Flex, Text Layout Engine
By admin
read more
October 13th, 2009

Unable to export SWC oem

Unable to export SWC oem

I have few times lately this error in Flex Builder and there were at least 2 cases, which cause this error to happen. So maybe it will help you to find your problem.

Some file (in my case .flexLibProperties) has SVN conflicts, so you need to resolve conflicts and merge them to solve this “Unable to [...]

Posted in Flex, Flex Tips
By admin
read more
August 28th, 2009

2 Flex Developer Job positions in Leeds

2 Flex Developer Job positions in Leeds

Hi Flex Developers,

I’ve offer in my inbox for 2 Flex Developers in Leeds. If you are searching for Flex Job, this can be your chance. If you are intersted please write me in comments (fill up your email, it will not be displayed on page) and I will contact you with recruiter.

Posted in Flex
By admin
read more
August 18th, 2009

Problem with XML attributes in AS3.0

Problem with XML attributes in AS3.0

I’ve found today some small problem with setting XML attribute for my current application. I’m generating HTML source code via XML, because both are tags languages and I have found this nice problem. Imagine you have DIV tag with class attribute set like this:

Posted in Flash Tips & Tricks, Flex Tips
By admin
read more
March 17th, 2009

DragManager.doDrag problems

DragManager.doDrag problems

I have found 2 issues with DragManager.doDrag. One of the problem is just on Mac and second one is “not really problem”, but strange behavior between web version and AIR version. I really can’t find answers for this problems, so I’m trying to get answers from you. I hope anyone has workaround for me :)

Posted in AIR, Flex
By Franto
read more
Images is enhanced with WordPress Lightbox JS by Zeo