Blog Archives

stage.mouseLeave and wmode=transparent

noted a strange incompatibility today – the stage.mouseLeave event doesn’t get triggered when you hold a mouse button down, and drag off stage on a flash object which has wmode set to transparent. in fact doing so takes the focus

Tagged with: , ,
Posted in Flash

dynamic text fields part II

just got back from a six week holiday, so was wondering if i’d lost my mind while i was away… steps to recreate weird problem: 1. set up two dynamic text boxes on the stage – one bold and one

Tagged with: ,
Posted in Flash

Frusting Flex problems solved #4 – preventing a DataGrid column from resizing

What a laborious problem this was! I had set up a DataGrid that resized with the browser, and the user could also resize the column widths. However one column contained a button, and needed to not be resizable by the

Tagged with:
Posted in Flex

dynamic text field part I – letter spacing

Just discovered that flash resets the author-time letter spacing of a dynamic textfield when the textfield’s text is set in ActionScript. To maintain the authortime letter spacing settings of the textfield, you need to record the textfield’s textformat, set the

Tagged with: , ,
Posted in Flash

Frustrating Flex problems solved #3 – DataGrid scrolling error

I’m currently working on a project that requires me to be using Flex 2 rather than Flex 3(I’m using an older version of Zinc, and avoiding upgrading if possible as we’ll probably be moving to AIR after this project). But

Tagged with:
Posted in Flex

ObjectCollection

i’d set up a repeater to display data returned from a ColdFusion call – which would either be a Y or N. I wanted to adjust how this appears to YES or NO, and thought a straightforward way of doing

Tagged with: ,
Posted in Flex

An Internal Build Error has occurred…

public var interactionType:String=INTERACT_DRAG=INTERACT_FORM; This line of code just wasted 4 hours of my life. Flex didn’t notice that there was a problem, and it was only in building that a problem arose with the line ‘Classes must not be nested.’

Tagged with:
Posted in Flex

deployment issues

just finishing up an alpha version of a Flex project and discovering a couple of deployment issues that are worth getting down for future – i was getting a persistent ‘Where is the debugger or host application running?’ popup window

Tagged with: , ,
Posted in Flex

Styling Text In Instances Of Components Using TextFormat

this is an extension of a previous entry here. Text in components or TextFields can be formatted in several ways – applying styles manually in the case of TextFields, applying a style using a TextFormat object, StyleSheets for styling html

Tagged with: , , , ,
Posted in Flash

Embedding external assets

Strange, strange. If you’ve embedded a Flash object inside a html page, and the Flash object loads external assets(images, SWFs, audio), the flash object locates the assets relative to the location of the html file and NOT relative to the

Tagged with:
Posted in Flash