Blog Archives

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

Frustrating Flex problems solved #2 – addChild

this.addChild(new Sprite()) looks simple enough doesn’t it? especially if you’ve been working solely in Flash AS3. But if you try this line within a Flex component, you’ll receive the error: ‘Type Coercion failed: cannot convert flash.display::Sprite@86cc0e1 to mx.core.IUIComponent.’ This is

Tagged with: , ,
Posted in Flex

Frustrating Flex problems solved #1 – dropEnabled

I set up a drag-drop interaction between two components – from a custom ‘dragMe’ component i set up(extending Canvas) to a Tree component, but couldn’t work out why my Tree wouldn’t allow dragMe to drag over it. Until I started

Tagged with: , ,
Posted in Flex

line width

i was creating a dashed line function which basically drew a short line, then moved on a few pixels. i was trying to display this line with one pixel width. what i discovered was that if the dash was three

Tagged with: ,
Posted in Flash, Flex