RE: [flexcoders] retrieving object property names.

2007-09-02 Thread Alex Harui
...which only works for Object. Other non-dynamic classes cannot be iterated in this way. DescribeType and/or mx.utils.ObjectUtil can help. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ralf Bokelberg Sent: Sunday, September 02, 2007

RE: [flexcoders] Getting two tooltips on same label ?

2007-09-02 Thread Alex Harui
Hard to say without seeing your code. Did you turn on datatips? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of arpan srivastava Sent: Sunday, September 02, 2007 1:51 AM To: Flex Coders Subject: [flexcoders] Getting two tooltips on same

RE: [flexcoders] Re: FlexMouseEvent stop propagation

2007-09-02 Thread Alex Harui
listen for the mouse click? The problem is I don't know where outside the dialog they will click so I don't want to have to listen for the event in every single component if I don't want to. I'll try the stopImmediatePropogation thing tonight. On 9/1/07, Alex Harui [EMAIL PROTECTED] mailto:[EMAIL

RE: [flexcoders] runtime css

2007-09-03 Thread Alex Harui
ttry putting dispatcher as an instance var, not a local var. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of David Chang Sent: Sunday, September 02, 2007 5:55 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] runtime css Hello,

RE: [flexcoders] useCapture(event)

2007-09-03 Thread Alex Harui
Look in our source code for stage.addEventListener, or in the FocusManager. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sherif Abdou Sent: Sunday, September 02, 2007 4:44 PM To: flexcoders@yahoogroups.com Subject: [flexcoders]

RE: [flexcoders] Re: FlexMouseEvent stop propagation

2007-09-03 Thread Alex Harui
: [flexcoders] Re: FlexMouseEvent stop propagation Can I make the outer edges not make a hazed out gray layer? As in, clear? On 9/2/07, Alex Harui [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I would still go modal and close the dialog on mouseDownOutside

RE: [flexcoders] List of checkboxes control - help handling events

2007-09-03 Thread Alex Harui
Do you mean that the .selected property isn't set right? or the data object isn't updated? It should be set by the time the Checkbox (not the List) dispaches CHANGE. If you're referring to the data object, you're responsible for updating it. It is better to work from that than from the

RE: [flexcoders] How to tell when a control is no longer being drawn?

2007-09-03 Thread Alex Harui
The main container in each tab is set to visible=false, so SHOW/HIDE events should work there. They don't work the first time you go to that tab though. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mark Ingram Sent: Monday, September

RE: [flexcoders] swapchildren error: The supplied DisplayObject must be a child of the caller

2007-09-04 Thread Alex Harui
I could be wrong, but I believe that swapChildren is not supported in Flex Container. Neither is re-parenting. I would use PopUpManager to float the draggable image. You can call removeChild to remove from the container before handing to popupmanager. You might also want to build the whole

RE: [flexcoders] DoubleClick together with Mouse_Down and Mouse_Up

2007-09-04 Thread Alex Harui
You might get two MOUSE_UPs, but not continuous. Are you sure you're not redispatching the event? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of flashcrow2000 Sent: Monday, September 03, 2007 4:39 AM To: flexcoders@yahoogroups.com

RE: [flexcoders] Global include file

2007-09-04 Thread Alex Harui
You can make GlobalColors a class and import it instead. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of lhy90936 Sent: Monday, September 03, 2007 3:09 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Global include file Hi,

RE: [flexcoders] Making datagrid column editable via actionscript?

2007-09-04 Thread Alex Harui
dg.columns[i].editable = true; but you have to do it before ITEM_EDIT_BEGINNING and the MOUSE_DOWN that precedes it. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of candysmate Sent: Monday, September 03, 2007 5:16 AM To:

RE: [flexcoders] useCapture(event)

2007-09-04 Thread Alex Harui
; -- Component --- SubComponent--Listen for the capturePhaseTest that was dispatched by the application - Original Message From: Alex Harui [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, September 3, 2007 10:37:28 PM Subject: RE: [flexcoders] useCapture

RE: [flexcoders] Customize part, but not all, of a drag and drop operation?

2007-09-04 Thread Alex Harui
You can customize the dragImage displayed by the DragProxy. You can customize what is in the DragSource From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of David Ham Sent: Tuesday, September 04, 2007 7:50 AM To: flexcoders@yahoogroups.com

RE: [flexcoders] Re: Strange black line on drop-enabled datagrids when using preventDefault?

2007-09-04 Thread Alex Harui
You sure you're calling preventDefault correctly? See if showDropFeedback is being called in the drop target. It shouldn't if you called preventDefault(). From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of darenbell Sent: Tuesday, September

RE: [flexcoders] textbox setfocus method

2007-09-04 Thread Alex Harui
This is a known issue with Browsers. They do not like to give focus to plug ins You can solve this in IE. Someone will jump in with an example. I don't have it handy. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Appan Parige Sent:

RE: [flexcoders] DoubleClick together with Mouse_Down and Mouse_Up

2007-09-04 Thread Alex Harui
PROTECTED] On Behalf Of Paul Hastings Sent: Monday, September 03, 2007 11:30 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] DoubleClick together with Mouse_Down and Mouse_Up Alex Harui wrote: You might get two MOUSE_UPs, but not continuous. Are you sure you're not redispatching

RE: [flexcoders] Re: DoubleClick together with Mouse_Down and Mouse_Up

2007-09-04 Thread Alex Harui
the mouse pointer, so I guess the mouse up isn't caught at all by the thumbnail, but rather by the thumbnail's copy. --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Paul Hastings [EMAIL PROTECTED] wrote: Alex Harui wrote: You might get two MOUSE_UPs, but not continuous

RE: [flexcoders] Customize part, but not all, of a drag and drop operation?

2007-09-04 Thread Alex Harui
In a List drag/drop scenario you would get the DRAG_START event and call doDrag yourself From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of David Ham Sent: Tuesday, September 04, 2007 9:19 AM To: flexcoders@yahoogroups.com Subject: Re:

RE: [flexcoders] TextInput control and long text

2007-09-04 Thread Alex Harui
Did you try: focusOut=myTI.horizontalScrollPosition = 0 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michael Ritchie Sent: Tuesday, September 04, 2007 11:31 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] TextInput control and

RE: [flexcoders] Selecting multiple gridItems in a Grid?

2007-09-04 Thread Alex Harui
The Grid container does not support selection. The DataGrid does, but not in the HTMLTable sense. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of darenbell Sent: Tuesday, September 04, 2007 10:10 AM To: flexcoders@yahoogroups.com

RE: [flexcoders] useCapture(event)

2007-09-04 Thread Alex Harui
); } private function ok(event:Event):void{ trace('here'); nbs! p; } ]] /mx:Script /mx:Canvas - Original Message From: Alex Harui [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, September 4, 2007 2:05:51 PM

RE: [flexcoders] passing reference?

2007-09-04 Thread Alex Harui
I'm not sure I see where arrayStep is defined in parentDocument. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of freska Sent: Monday, September 03, 2007 10:18 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] passing reference? Hi

RE: [flexcoders] Combobox selectable text

2007-09-04 Thread Alex Harui
There's a bug when you change the .enabled property that selectable gets set. Fixed in Moxie. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Giles Roadnight Sent: Tuesday, September 04, 2007 3:37 AM To: flexcoders@yahoogroups.com

RE: [flexcoders] Re: Nested item renderers and scrolling

2007-09-04 Thread Alex Harui
If you have n rows where the heights of the rows add up to more than the height of the List, you should see scrollbars on the List. If a row's height is greater than the list, it shouldn't matter to the scrollbar calc, but you can't see the whole thing due to lack of fractional scrolling.

RE: [flexcoders] useCapture(event)

2007-09-04 Thread Alex Harui
to true. I just want to understand in what kind of scenario would i capture that event. if anyone could just do a quick example that would help me alot. Thanks - Original Message From: Alex Harui [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, September 4

RE: [flexcoders] Adding a button to an accordion header

2007-09-04 Thread Alex Harui
last time I tried it I couldn't get it to work. Ended up adding buttons to the rawChildren and floating them over the headers. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Steve Hueners Sent: Tuesday, September 04, 2007 4:14 PM To:

RE: [flexcoders] Re: TextInput control and long text

2007-09-04 Thread Alex Harui
seems to be match for my issue: http://bugs.adobe.com/jira/browse/SDK-1057 http://bugs.adobe.com/jira/browse/SDK-1057 --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Alex Harui [EMAIL PROTECTED] wrote: Did you try: focusOut=myTI.horizontalScrollPosition = 0

RE: [flexcoders] Tree collapses when dataProvider for tree changes

2007-09-05 Thread Alex Harui
Why does the DP change? That will invalidate the set of open nodes so the tree will draw collapsed. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Baljeet singh Sent: Wednesday, September 05, 2007 7:48 AM To: flexcoders@yahoogroups.com

RE: [flexcoders] Re: RangeError: Error #2006 on Canvas when adding child Image

2007-09-05 Thread Alex Harui
are you re-parenting images? or some other unusual thing? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Todd Sent: Wednesday, September 05, 2007 7:59 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: RangeError: Error #2006 on

RE: [flexcoders] Disable scrolling via mouse wheel

2007-09-05 Thread Alex Harui
I would capture MOUSE_WHEEL and call stopImmediatePropagation. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jayson Sent: Wednesday, September 05, 2007 2:37 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Disable scrolling via

RE: [flexcoders] please help itemrenderer accessing

2007-09-05 Thread Alex Harui
ItemRenderers are tricky because they are recycled. Even resizing the internal image might cause a re-renderer and change which renderer is displaying the image. I'd write my Renderers to pull from external data sources such as the data in the dataprovider, or if you have to, some extrnal

RE: [flexcoders] using Modules Problem

2007-09-05 Thread Alex Harui
Make sure you're finding the release and not debug versions of your modules. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sheriff Sent: Wednesday, September 05, 2007 6:57 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] using

RE: [flexcoders] Re: Tree collapses when dataProvider for tree changes

2007-09-05 Thread Alex Harui
Where the XML comes from shouldn't matter. Think of XML as a tree of nodes each with a unique id (UID). The Tree tracks the UIDs of nodes that are open. If you change the XML enough, the set of nodes, even if they look the same, may have new UIDs and thus the set of open items and calls to

RE: [flexcoders] Re: Disable scrolling via mouse wheel

2007-09-05 Thread Alex Harui
Try: // capture phase myTextArea.addEventListener(MouseEvent.MOUSE_WHEEL, mouseWheelHandler, true); or // higher priority myTextArea.addEventListener(MouseEvent.MOUSE_WHEEL, mouseWheelHandler, false, 100); From: flexcoders@yahoogroups.com [mailto:[EMAIL

RE: [flexcoders] using Modules Problem

2007-09-05 Thread Alex Harui
PROTECTED] On Behalf Of Sheriff Sent: Wednesday, September 05, 2007 7:52 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] using Modules Problem i dont event have the debug versions in the bin - Original Message From: Alex Harui [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent

RE: [flexcoders] Component rendering inconsistency once placed...

2007-09-05 Thread Alex Harui
What do you mean by bad? Does the Panel get a different size? Do the children show up? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bithroop Sent: Wednesday, September 05, 2007 3:34 PM To: flexcoders@yahoogroups.com Subject:

RE: [flexcoders] how to use drag and drop to reorder ROWS in a DataGrid control

2007-09-05 Thread Alex Harui
Try to get it working with a regular datagrid. As long as you don't have a sort in effect, it should work by setting those three flags. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of annespg Sent: Wednesday, September 05, 2007 7:17 PM

RE: [flexcoders] Re: Tree collapses when dataProvider for tree changes

2007-09-06 Thread Alex Harui
for expandItem() method or for selectedItem attribute. Thanks Regards, Baljeet --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Alex Harui [EMAIL PROTECTED] wrote: Where the XML comes from shouldn't matter. Think of XML as a tree of nodes each with a unique id (UID

RE: [flexcoders] using Modules Problem

2007-09-06 Thread Alex Harui
Please do not hijack threads. Apparently nobody has a ticker to share or they are too busy or on vacation to answer you. This is a volunteer group so no-one is obligated to respond and they won't unless they have good news for you. I thought there was a ticker out there, but if not, you'll

RE: [flexcoders] customize busy cursor permanently

2007-09-06 Thread Alex Harui
busyCursor is a style. See defaults.css From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ary Sent: Wednesday, September 05, 2007 10:23 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] customize busy cursor permanently Hi :) i'm

RE: [flexcoders] DataGrid Scrolling Weirdness

2007-09-06 Thread Alex Harui
creationComplete only gets called once. You need to react to dataChange. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of cjsutherland Sent: Thursday, September 06, 2007 9:19 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] DataGrid

RE: [flexcoders] Re: Problem with Content spilling over beyond it's container's bounds

2007-09-06 Thread Alex Harui
Are you reporting a measured or explicit widht/height in measure() and matching that in updateDisplayList()? If you base it on the SWF size, keep in mind that the SWF's size may change and measure incorrectly. From: flexcoders@yahoogroups.com [mailto:[EMAIL

RE: [flexcoders] Re: DataGrid Speed

2007-09-06 Thread Alex Harui
You will save even more time if you can use subclasses of DataGridItemRenderer instead of Text and Label. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of j_lentzz Sent: Thursday, September 06, 2007 10:26 AM To: flexcoders@yahoogroups.com

RE: [flexcoders] Re: Tree collapses when dataProvider for tree changes

2007-09-06 Thread Alex Harui
Again, I would recommend not using a binding expression to assign the XML to the dataProvider. Otherwise, I can't see why it would get reassigned unless your code is doing so. A call to validateNow() may be required after assigning the dataprovider before calling expandItem. Or use callLater.

RE: [flexcoders] Populating XMLListCollection and sending it to a Datagrid

2007-09-06 Thread Alex Harui
e.result may be XML and not XMLListCollection. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt Sent: Thursday, September 06, 2007 10:28 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Populating XMLListCollection

RE: [flexcoders] Re: Disable scrolling via mouse wheel

2007-09-06 Thread Alex Harui
I just realized that the player takes care of mousewheel over textfields and not the Flex framework which is why event blocking isn't going to work. You can subclass TextArea, get to the underlying textField and set mouseWheelEnabled=false. From:

RE: [flexcoders] Re: DataGrid Scrolling Weirdness

2007-09-06 Thread Alex Harui
can't believe it was that simple. I was working for hours on this. Thanks a million Alex. -cj --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Alex Harui [EMAIL PROTECTED] wrote: creationComplete only gets called once. You need to react to dataChange

RE: [flexcoders] Re: Disable scrolling via mouse wheel

2007-09-06 Thread Alex Harui
via mouse wheel That makes sense. However, I'm not sure how to go about that.. haha. If you could point me in the right direction, I'd appreciate it. Thanks. --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Alex Harui [EMAIL PROTECTED] wrote: I just realized

RE: [flexcoders] Feature request -control shift v

2007-09-07 Thread Alex Harui
Can you explain further? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Patrick Lemiuex Sent: Thursday, September 06, 2007 11:06 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Feature request -control shift v It would be

RE: [flexcoders] font in comboBox and Title not the same

2007-09-07 Thread Alex Harui
What does the stylesheet look like? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Schuenke Sent: Friday, September 07, 2007 7:56 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] font in comboBox and Title not the same I

RE: [flexcoders] Editable DataGridColumn with itemRenderer

2007-09-07 Thread Alex Harui
You can click in it, but the DG doesn't see that as an edit session. Most folks will set editable=false on the TextInput or use DataGridItemRenderer if it is never editable. Why do you want to have an editable field in a non editable renderer? From:

RE: [flexcoders] Re: How to check if value exists in a return API call?

2007-09-06 Thread Alex Harui
That looks right. What happens? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jovialrandor Sent: Thursday, September 06, 2007 3:16 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: How to check if value exists in a return API

RE: [flexcoders] Access inline itemrenderer from actionscript?

2007-09-07 Thread Alex Harui
Where are you trying to get at them? A script block inside mx:TextInput is in the context of the TextInput which is why no id is needed and 'this' is the TextInput. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of candysmate Sent: Friday,

RE: [flexcoders] Re: Editable DataGridColumn with itemRenderer

2007-09-07 Thread Alex Harui
, September 07, 2007 9:43 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Editable DataGridColumn with itemRenderer --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Alex Harui [EMAIL PROTECTED] wrote: You can click in it, but the DG doesn't see that as an edit

RE: [flexcoders] Re: font in comboBox and Title not the same

2007-09-07 Thread Alex Harui
='myVerdanaFont', mimeType='application/x-font', flashType='true' )] private var font1:Class; --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Alex Harui [EMAIL PROTECTED] wrote: What does the stylesheet look like? From: flexcoders

RE: [flexcoders] Unwanted scrollbars on my List itemRenderer--measure() help?

2007-09-07 Thread Alex Harui
It is likely that the mx;image tag is burning you. An image doesn't know how big it is until the image is loaded and thus your measurements may be off. If you know the size of the images, set them in the tag. I'm actually spending part of today seeing if we can make the framework smarter

RE: [flexcoders] stop a Title window from being dragged

2007-09-06 Thread Alex Harui
popUp = false From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sheriff Sent: Thursday, September 06, 2007 7:53 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] stop a Title window from being dragged i want the titleWindow to

RE: [flexcoders] Re: font in comboBox and Title not the same

2007-09-07 Thread Alex Harui
mailto:flexcoders%40yahoogroups.com , Alex Harui [EMAIL PROTECTED] wrote: The CB label is usually in Bold isn't it? You have to embed a bold font as well. From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com

RE: [flexcoders] Re: Unwanted scrollbars on my List itemRenderer--measure() help?

2007-09-07 Thread Alex Harui
You also have a Text in there which also may not measure out correctly. ListItemRenderer will be much faster than HBox, but you'll have to do more in AS than MXML. Can you draw up a picture of what you want the renderer to look like? Are images of a known size?

RE: [flexcoders] How to create dynamically Icon for a Tree

2007-09-07 Thread Alex Harui
TreeItemRenderer assumes the images are embedded. You could write your own subclass that handles external icons. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Gordon Smith Sent: Friday, September 07, 2007 1:30 PM To:

RE: [flexcoders] Re: Unwanted scrollbars on my List itemRenderer--measure() help?

2007-09-07 Thread Alex Harui
It should only be one level of hairy, not three... When your renderer's measure() method gets called, the List will have set its explicitWidth property to give you a clue as to how wide it is going to be. You should use that to help determine the height of the text. ListItemRenderer does that

RE: [flexcoders] Re: Unwanted scrollbars on my List itemRenderer--measure() help?

2007-09-07 Thread Alex Harui
The rules are: listData is set for you and should never be modified by the renderer. listData is available when the dataChange event fires or commitProperties runs explicitWidth should be set so use that to your advantage. Is there any way you can know by the url of the image what its height

RE: [flexcoders] Re: Unwanted scrollbars on my List itemRenderer--measure() help?

2007-09-07 Thread Alex Harui
? That clears up some questions I had about ListItemRenderer. That's 0.2 orders of magnitude less hairy. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alex Harui Sent: Friday, September 07, 2007 5:52 PM To: flexcoders@yahoogroups.com Subject

RE: [SPAM] RE: [flexcoders] Display item renderer in only some rows of a datagrid

2007-09-07 Thread Alex Harui
Usually, the data is given to you in some representation. How do you currently have the data stored for the picture you showed us? It probably can be done, but is going to be significant work. Also knowing what the interaction rules are will help us guide you. For example, are the columns

RE: [flexcoders] Re: Unwanted scrollbars on my List itemRenderer--measure() help?

2007-09-07 Thread Alex Harui
PROTECTED] On Behalf Of Alex Harui Sent: Friday, September 07, 2007 3:47 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: Unwanted scrollbars on my List itemRenderer--measure() help? Yes, you should deal with listData in commitProperties or later. That's why it is only one level

RE: [flexcoders] How to expand TREE Node children by clicking folder icon instead of triangle

2007-09-07 Thread Alex Harui
I would modify or subclass TreeItemRenderer, mimic the code for mouseDown handling on disclosureIcon and apply it to the icon as well. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of mubasherhaneef Sent: Friday, September 07, 2007 1:52

RE: [flexcoders] SWF not loading on the browser

2007-09-07 Thread Alex Harui
Flex 2 apps will not work on player 8 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jp andino Sent: Friday, September 07, 2007 12:03 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] SWF not loading on the browser I am

RE: [SPAM] RE: [SPAM] RE: [flexcoders] Display item renderer in only some rows of a datagrid

2007-09-08 Thread Alex Harui
PROTECTED] On Behalf Of Alex Harui Sent: 07 September 2007 23:57 To: flexcoders@yahoogroups.com Subject: [SPAM] RE: [SPAM] RE: [flexcoders] Display item renderer in only some rows of a datagrid Usually, the data is given to you in some representation. How do you currently have the data stored

RE: [flexcoders] variableRowHeight=true in List messing up height of last row

2007-09-08 Thread Alex Harui
I would override measure() and see what you're getting for the measuredHeight of the renderer. I'm guessing that it won't be right due to fact that flow-based text is hard to measure. A custom measure() routine would probably be better. Renderers have their explicitWidth set when they are

RE: [flexcoders] How to know what is in mx_internal

2007-09-09 Thread Alex Harui
Read the source code and used the debugger, probably. Keep in mind that mx_internal is not officially supported so its APIs can change or go away in future releases and break your code. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

RE: [flexcoders] How to know what is in mx_internal

2007-09-09 Thread Alex Harui
/browser/mx/core/mx_internal.as#L21 http://www.adobe.com/2006/flex/mx/internal http://www.adobe.com/2006/flex/mx/internal ; 22 http://tools.assembla.com/flexsdk/browser/mx/core/mx_internal.as#L22 } - Original Message From: Alex Harui [EMAIL PROTECTED] To: flexcoders

RE: [flexcoders] List component selectedIndex not updating when selecting and rolling off

2007-09-09 Thread Alex Harui
Known bug. Fixed in Moxie. Not sure of a workaround. Maybe get mouseUp in capture phase and send change event. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bick Sent: Sunday, September 09, 2007 2:14 PM To:

RE: [flexcoders] main application's url?

2007-09-09 Thread Alex Harui
Application.application.url From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of grimmwerks Sent: Sunday, September 09, 2007 7:08 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] main application's url? Hey - I've got a flex app

RE: [flexcoders] Re: Unwanted scrollbars on my List itemRenderer--measure() help?

2007-09-10 Thread Alex Harui
? What is listData? Thanks for not having called me a dumbass so far, at least not out loud, OK DAH On Sep 7, 2007, at 5:47 PM, Alex Harui wrote: Yes, you should deal with listData in commitProperties or later. That's why it is only one level of hairy. From: flexcoders@yahoogroups.com

RE: [flexcoders] Re: Populating XMLListCollection and sending it to a Datagrid

2007-09-10 Thread Alex Harui
%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of Alex Harui Sent: Thursday, September 06, 2007 2:03 PM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: RE: [flexcoders] Populating XMLListCollection and sending

RE: [flexcoders] Re: How to expand TREE Node children by clicking folder icon instead of triangle

2007-09-10 Thread Alex Harui
To deselect, set selectedIndex = -1 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of mubasherhaneef Sent: Monday, September 10, 2007 8:13 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: How to expand TREE Node children by

RE: [flexcoders] Mousewheel on a scrollbar (List or combobox)

2007-09-10 Thread Alex Harui
mouseWheel should already work on list and combobox dropdowns. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of kevintuhumury Sent: Monday, September 10, 2007 7:52 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Mousewheel on a

RE: [flexcoders] Circumstances for Button sized by default

2007-09-10 Thread Alex Harui
In Flex, parents size their children. Any child of a mx.core.Container subclass will be sized according to layout rules. Any child of UIComponent is waiting to be told by your code what its final size is. From: flexcoders@yahoogroups.com [mailto:[EMAIL

RE: [flexcoders] Source code of Moxie 3 .

2007-09-10 Thread Alex Harui
Rpc is a different swc and thus different source project. You sure it isn't there? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Claude Hussenet Sent: Monday, September 10, 2007 6:41 AM To: flexcoders@yahoogroups.com Subject:

RE: [flexcoders] Using viewStack as dataProvider for List

2007-09-10 Thread Alex Harui
Possible if you write your own ICOllectionView wrapper. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ben Marchbanks Sent: Monday, September 10, 2007 6:20 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Using viewStack as

RE: [flexcoders] Re: font in comboBox and Title not the same

2007-09-10 Thread Alex Harui
an embedded font that is either normal or bold fails for both area since one or the other weight is missing. --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Alex Harui [EMAIL PROTECTED] wrote: I just noticed you set fontStyle in the declarations. In the original problem, did

RE: [flexcoders] Re: Dragging and moving an image to a new location

2007-09-10 Thread Alex Harui
It depends on the layout rules for the parent of the image. If it is a canvas or you are using absolute positioning, call move() on the image. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of alex_gky Sent: Monday, September 10, 2007

RE: [flexcoders] disable KeyUp/KeyDown on datagrid

2007-09-10 Thread Alex Harui
Depends on whose listening. Keyboard events are not cancelable so you use stopImmediatePropagation instead of preventDefault(). Maybe it isn't the DG that's listening though. Maybe it is the renderers? From: flexcoders@yahoogroups.com [mailto:[EMAIL

RE: [flexcoders] Help Creating Tree from Complex XML

2007-09-10 Thread Alex Harui
You'll probably have to transform the data to match company department label=Accounting user/user /department Then a custom labelFunction that determines what label. Then a custom dataDescriptor that denies that user has any

RE: [flexcoders] Re: Unwanted scrollbars on my List itemRenderer--measure() help?

2007-09-10 Thread Alex Harui
Yes, as a matter of practice, you should always call super.methodName() unless you know for sure you don't want the underlying behavior. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of David Ham Sent: Monday, September 10, 2007 9:17 AM

RE: [flexcoders] Re: Populating XMLListCollection and sending it to a Datagrid

2007-09-10 Thread Alex Harui
! --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Alex Harui [EMAIL PROTECTED] wrote: What is the full stack trace? From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders

RE: [flexcoders] Re: Unwanted scrollbars on my List itemRenderer--P.S.

2007-09-10 Thread Alex Harui
Did you call setActualSize on it? -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of David Ham Sent: Monday, September 10, 2007 10:58 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Unwanted scrollbars on my List itemRenderer--P.S.

RE: [flexcoders] Re: Populating XMLListCollection and sending it to a Datagrid

2007-09-10 Thread Alex Harui
That's it. Forgot abt e4x. By the way, is it possible to add multiple functions to the datagrid itemClick? ex: itemClick=onSelectFirstGrid(event);onSelectSecondGrid(event)? thanks again! --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Alex Harui [EMAIL PROTECTED] wrote

RE: [flexcoders] Zooming effect modifies scale, correct?

2007-09-10 Thread Alex Harui
One of the problems is that fonts don't scale well at all and layout differently at different scales. Your idea of zooming a bitmap might be best. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Troy Gilbert Sent: Monday, September 10,

RE: [flexcoders] Click instead of mouseover to display sub-menu

2007-09-10 Thread Alex Harui
You could try a custom datadescriptor that pretends the menuitem is not a branch, captures mouseDown, resets the branch flag and fakes a mouseOver. How do you dismiss a submenu? mouseOut or another click? From: flexcoders@yahoogroups.com [mailto:[EMAIL

RE: [flexcoders] How to get Textinput position?

2007-09-10 Thread Alex Harui
Might be event.currentTarget.parent.x. There is no Label1 in your sample. Also see localToGlobal From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of flexawesome Sent: Monday, September 10, 2007 11:43 AM To: flexcoders@yahoogroups.com

RE: [flexcoders] Re: Unwanted scrollbars on my List itemRenderer--P.S.

2007-09-10 Thread Alex Harui
In flex, parents size their children. Flex Containers do that for you, but UIComponents do not, so you have to call setActualSize on all of your children. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of David Ham Sent: Monday,

RE: [flexcoders] DataGrid: Horizontal Scrolling very slow

2007-09-10 Thread Alex Harui
What are you using for non-header renderers? How many cells are visible? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Kyle Neath Sent: Monday, September 10, 2007 3:36 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] DataGrid:

RE: [flexcoders] DataGrid: Horizontal Scrolling very slow

2007-09-10 Thread Alex Harui
600! Yowza! When you go vertically, the set of renderers are the same, one rolls off, and a new set rolls on. Horizontally, the column rolling off has a different set of renderers than the column rolling in, and the headers need to be updated as well, plus we have to visit every visible

RE: [flexcoders] weird array/datagrid editable thing...

2007-09-10 Thread Alex Harui
What does the dataprovider look like? What does the renderer look like? What flags have you set on the DG and renderer? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of grimmwerks Sent: Monday, September 10, 2007 9:32 PM To:

RE: [flexcoders] Re: variableRowHeight=true in List messing up height of last row

2007-09-10 Thread Alex Harui
{ super.updateDisplayList(unscaledWidth, unscaledHeight); _msg.x = _usr.width; } --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Alex Harui [EMAIL PROTECTED] wrote: I would override measure() and see what you're getting for the measuredHeight of the renderer. I'm guessing

RE: [flexcoders] Re: Datagrid editable cell loses focus on screen update

2007-09-10 Thread Alex Harui
In Flex 2 it was deemed too tricky to maintain the edit session while it could be jumping around due to screen updates, so we kill the session. Not sure why updating outside the DG causes the DG to lose focus. Are you sure there isn't a collection change going on as well as you revert data or

RE: [flexcoders] weird array/datagrid editable thing...

2007-09-11 Thread Alex Harui
? But then how does one push a module into an array?! On Sep 11, 2007, at 12:48 AM, Alex Harui wrote: What does the dataprovider look like? What does the renderer look like? What flags have you set on the DG and renderer? From: flexcoders

RE: [flexcoders] Re: Datagrid editable cell loses focus on screen update

2007-09-11 Thread Alex Harui
updating - I imagine because this causes a re-layout of the whole screen, which resizes the grid (even if it doesn't actually change size). Grant --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Alex Harui [EMAIL PROTECTED] wrote: In Flex 2 it was deemed too tricky to maintain

<    3   4   5   6   7   8   9   10   11   12   >