Re: [flexcoders] Re: DYNAMIC actionscript child layout.

2009-02-17 Thread Nathaniel Skiba
Percent width and height are based on the percent of their parent container's size. Thus, with your example, you'd want: var graphLayout:Canvas = new Canvas(); graphLayout.percentWidth=50; graphLayout.percentHeight=50; testlayout.addChild(graphLayout); You

Re: [flexcoders] Flex compile error

2009-02-18 Thread Nathaniel Skiba
I can't say for certain without seeing your code, but it looks like you're using the class data somewhere without importing it. ~Nate

Re: [flexcoders] Why cant I use mouseOver() in Image class, but using mx:Image tag, I can?

2009-02-19 Thread Nathaniel Skiba
toolTipCreate is an event, so when using AS, you have to use the addEventListener function. The following should help: img.addEventListener(ToolTipEvent.TOOL_TIP_CREATE, myHandlerFunction); Just remember that you have to import ToolTipEvent, and myHandlerFunction has to be a function that takes

Re: [flexcoders] Re: Why cant I use mouseOver() in Image class, but using mx:Image tag, I can?

2009-02-20 Thread Nathaniel Skiba
Ah, so that's what you were wanting to do. AFAIK, the tool tip for the class can't be substituted. What you should probably do instead is to turn off the tooltips, use the mouse over (or roll over) event, and when you detect mouse over, use the PopUpManager to show your custom component. ~Nate

Re: [flexcoders] ITEmRenderer in Actionscript

2009-02-20 Thread Nathaniel Skiba
var dgc:DataGridColumn=new DataGridColumn(); dgc.itemRenderer = new ClassFactory(CheckBox); ~ Nate kotha poornima wrote: Hi All, Any idea how the following code using Action script.. Code: mx:DataGridColumn headerText=Online dataField=online mx:itemRenderer mx:Component

Re: [flexcoders] Urgent Prob - cant debug after upgrading to new player

2009-03-10 Thread Nathaniel Skiba
Did you upgrade to the debug version or the regular version? If you upgraded to the regular version, then you can fix the problem by downloading one of the debugger versions from http://www.adobe.com/support/flashplayer/downloads.html. reflexactions wrote: I upgraded to the new flash player

Re: [flexcoders] Post on the flex coders message board

2009-04-16 Thread Nathaniel Skiba
Okay, but the djinni will only answer three. Lucas Adams wrote: Please let me post questions. Thanks