Entries Tagged 'Flex & Flash' ↓

Challenged: Flex HSB variations vs Gimp / Photoshop / ImageMagick

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!

flex- hsb - variance

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?

 

Todo: Test Driven Flex, and Code Coverage

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!

 

Full screen video in 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!

 

Flowing text in Multiple TextAreas

This Logic Builder is particularly for Flex developers. And as it is, I am looking for the best solution to this! So here goes!

Flowing TextArea

The task is to flow a text in multiple text areas automatically. The height and width of each TextArea is fixed. There can be no scroll bars on any TextArea. When the text is overflowing (going out of the TextArea), it should be taken to the next TextArea. The application should show as many TextAreas as needed, to show the text entered.

As shown in the image, you can have a text area to enter the content, and a button. Clicking on the button should generate as many TextAreas as needed and flow the given text in them.

Hints:

 

Optimizing Flex Applications

Was looking around ways to optimize Flex Applications, and found David Coletta’s slides. David is founder of Buzzword - the kickass online word processor built in Flex, and shares some great tips. Here are the slides.