Entries Tagged 'Flex & Flash' ↓
September 6th, 2008 — Flex & Flash
Have you ever generated graphics with Flex? Flex comes with a lot of powerful graphics tools, but it can get pretty hard to do interesting stuff with it. But you need not worry anymore!
Degrafa is a project dedicated to the development of a Declarative Graphics Framework for Flex.
Their intro paragraph says:
The focus behind the Declarative Graphics Framework (Degrafa) is to bring the graphics classes up a level to provide a common ground between developer and designer within Flex, and enable the graphics classes to become first class citizens within the Flex framework.
In simple language, Degrafa allows you to achieve complex graphics using simple tag based syntax. It’s easy to learn and is very fast. I was amazed to see the samples!

Degrafa Samples
The next time we need some low level graphics work, I am going with Degrafa!
August 20th, 2008 — Flex & Flash
We have been struggling with zooming TextArea in Flex for 2 months now. Tried lots of combination but nothing worked. Can someone help?
Essentially, we scaleX and scaleY the TextArea as the zoom level changes. The component zooms in fine, but the text in it keeps wrapping as we keep zooming. We expect the text to stay as it is and just zoom. Not re-wrap.
Here is the text at 100%. Notice the last words on the lines.

TextArea zoom at 100%
Here is the TextArea at 150% zoom. Notice how the wrapping disrupts.

TextArea zoom at 150%
I have a live example if you want to try this out.
We have tried using zoom effect, adding line breaks at the end of each line before zooming and removing them, trying different fonts, embedding them - everything we could think of! But this looks like a bug! TextArea keeps wrapping the text as we zoom.
What could be a solution?
June 19th, 2008 — Flex & Flash
Working on a project that allows user to change the color of an image using Hue, Saturation and Brightness adjustments from Flex. The same image should then be printed in high resolution from the backend.
The trouble is, when we apply the same HSB variations that Flex used to Photoshop / Gimp / ImageMagick they generate a totally different color output. We want a WYSIWYG color change/printing, so this is not going to work.
The following table shows the output we received!

Not sure what the solution to this is. ImageMagick has come the closest to Flex’s HSB variations, so I am currently trying to figure out something with it.
Any hints?
May 3rd, 2008 — Flex & Flash, Recommended Reading
Note to self:
Coordinate with team to implement Test Driven Development in Flex using AS3FlexUnit. To use the FlexCover tool to test code coverage on our Flex projects.
And use Runtime Shared Libraries to improve performance when we are using multiple Flex SWFs in a single app / on the same page!
April 15th, 2008 — Flex & Flash
Flash can not only play videos, it can also easily go full screen (without the chrome) to run them with hardware acceleration.
We have a project where we display student portfolio videos, and the client has asked to add a full screen provision. I was looking around the net for this, and found some good resources.
So if you want to add a full screen provision to your Flash Video player too, go ahead and check these out:
The task looks much easier now! Just need to work a bit on the skinning of the player!