Re: [flexcoders] Re: DYNAMIC actionscript child layout.
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 could also use constraints, although you have to use a special method for those, and percents seems to be more along the lines of what you're looking for anyway. ~Nate
Re: [flexcoders] Flex compile error
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?
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 one argument which is a ToolTipEvent. ~Nate
Re: [flexcoders] Re: Why cant I use mouseOver() in Image class, but using mx:Image tag, I can?
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
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 mx:CheckBox id=chkBox/ /mx:Component /mx:itemRenderer /mx:DataGridColumn As it is in actionscript I dont want to create seperate component... everything i want to write in single file. something like... ActionScript Code: var dgc:DataGridColumn=new DataGridColumn(); var chkBox:CheckBox=new CheckBox(); Here how to add chkBox to dgc using Itemrenderer??? any idea?? Is its possible??? Can anyone help me... Any suggestions would be appreciated!!! Thanks in Advance, Poornima
Re: [flexcoders] Urgent Prob - cant debug after upgrading to new player
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 earlier today and now I cant debug in FB. I have tried everything including uninstalling the FPlayer using the uninstall tool, reboot, install debug player, run from FB (standalone), IE8 opens with the app but FB says still waiting for the player to connect. I used netstat -a and FB is listening on port 7935, but the app wont connect, even if I try to manually force it by using the context menu it won't connect. I have tried down grading but that doesnt work I cant find anything to get back to debugging and its a problem 'cos I cant work at all. Help! -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
Re: [flexcoders] Post on the flex coders message board
Okay, but the djinni will only answer three. Lucas Adams wrote: Please let me post questions. Thanks