GhostWire Studios - Flash/Flex UI Components Development And Consulting Services
Quality User Interface Controls For Flash Application DevelopmentAspireUI Components

Archive for September, 2009

Sep 16 2009

uiBox: Implementing Some Common Layouts

Published by sunny under Aspire UI,Flash,Tips

The uiBox is a layout container that automatically organizes its child objects horizontally in a row or vertically in a column based on some pre-defined “layout hints”. In this post, we look at some common simple layouts that you can implement using this component.

Continue Reading »

No responses yet

Sep 10 2009

[AS3] Difference Between Stage Size, Screen Size And SWF Size

Published by sunny under Flash,Flash AS3,Tips

In this post, we look at three different pairs of width and height properties that are commonly misunderstood – “stage.width/stage.height“, “stage.stageWidth/stage.stageHeight” and “loaderInfo.width/loaderInfo.height“.

Continue Reading »

4 responses so far

Sep 07 2009

[AS3] Finding Occurrences Of A Sequence Of Bytes Within A ByteArray

Published by sunny under Flash,Flash AS3,Tips

The following is a simple way to search within a ByteArray for specific patterns of bytes. At the end of this post is a ByteArrayUtils class that contains the indexOf(), indicesOf and lastIndexOf() methods discussed below. If you just want to grab the code and skip all the walk-through, please feel free to jump there.

Continue Reading »

No responses yet

Sep 05 2009

uiImage: “maintainAspectRatio” Property

Published by sunny under Aspire UI,Flash,Tips

This post is a supplement to “uiImage: Resizing While Maintaining Original Aspect Ratio”. In this post, we will look at the maintainAspectRatio property of the uiImage class and see how it affects resizing when it is set to true.

Continue Reading »

One response so far

Sep 04 2009

uiDialog: Displaying Custom Dialog Content

Published by sunny under Aspire UI,Flash,Tips

A modal window is a window that must be dismissed before interaction with the other parts of the application can be resumed. This is usually used to draw attention to a certain task at hand.

The uiDialog class helps to display simple modal windows. There are three types of built-in dialogs you can call up using the show() method of the class.

Continue Reading »

No responses yet

Sep 03 2009

[AS3] Domain Locking SWFs

Published by sunny under Flash,Flash AS3,Tips

By domain locking (or site locking), we are restricting the SWF to be run only from a certain domain, ie the SWF should execute normally only if it has been viewed from a certain domain. If it is loaded from other domains, the SWF should execute in an alternative manner – perhaps not run at all, or run with limited features (as the developer deems appropriate). This is usually done to prevent unauthorized re-distributions of SWF files.

Continue Reading »

8 responses so far