BetaDesigns( Blog ) Flex and Component Development

29Aug/112

Liquid-Photo Version 3.1.33 Submitted to AppWorld

We have just submitted version 3.1.33 to the Blackberry AppWorld. This release addresses several issues that some of our users were experiencing and includes the following.

*Fixed Bugs
** Image scanning now performed in the background so that users with large numbers of photos can still use the application without having to wait for all images to be found.
** Increased small button hit areas to make them easier to select.

Please update if you have been having any issues.

Kind Regards
The Liquid-photo team.

28Aug/110

Liquid-Photo Version 3.1.32 Submitted to AppWorld

We have just submitted version 3.1.32 to the Blackberry AppWorld. This release addresses several issues that some of our users were experiencing and includes the following.

*Fixed Bugs
** Invalid images caused the application to crash this has now been fixed and the liquid-photo will now continue to load as well as alert the user about which images are corrupt.

Please update if you have been having any issues.

Kind Regards
The Liquid-photo team.

18Mar/091

Unable to Catch IOErrorEvent’s when Loading a ByteArray into an Image

I was trying to load a byteArray into an image control today and would randomly get an Unhandled IOErrorEvent message. Now this shouldn't really happen as the image control uses a default broken image icon to display when there are any loading problems. Well after trying to catch the error unsuccessfully I wanted to know what was going on.
So i went digging and i found in the base class of image, SWFLoader line 1497 the following

12Mar/091

Flex Cookbook Recipe 5.8 Allow Certain items in a list to be selectable, Doesn’t quite work correctly

Ok I needed to disable Heading elements inside a List Component in Flex, and i was being too lazy to work it out for myself so i picked up the Flex cookbook Adobe had been kind enough to send me and yes... It was there. Now the Mouse removal was straight forward and worked like a charm. But the keyboard events were a different story. The code didn't work for several reasons.
1. Key directions were not being assigned.
2. When a disabled item was at either the top or the bottom of the list it would stop you being able to continue down / up the list.
To fix this i added the following code.

24Jun/082

Application Version Control in AS3

I thought that I would just write a quick note on how I know which version of an application I am looking at when it has been published to the web. It's all well and good saying its revision 87 from svn but how do you know? Well a simple way is to add it to the Flashplayers custom context menu. Right click to see the custom menu and to view the source

19Jun/080

*.CSS files are Whitespaces Sensitive

Just a quick note to say that if your stylesheets don't seem to be applied correctly
Styles in a .css file are white space sensitive so if you place text-align: left it works but if you place text-align : left it breaks the css as it thinks that the tags name is text-align : ( inclusive of the final space between the last letter and the : ) !!

19Jun/084

Profiler Problems in Flex!

After reading an example chapter from Training from the Source : Profiling Flex Applications on InsideRIA I thought ooo! I like using the profiler but i didnt know you could do that! So away I went and opend up one of my apps and clicked Profile.... O no whats going on? No Profiler prompt just straight into the application

Socket closed.
Socket closed.
Socket closed.
Flex Profiler No activity 60 seconds after connection.

and then quiet