[flexcoders] Border collapse in Grid?

2008-06-22 Thread williamkusumo
Is there a CSS border-collapse equivalent to Flex Grid? I want to create a tabular data with 1px border around each cell. And no, I don't want to use DataGrid. Thanks!

[flexcoders] ComboBox selectedLabel bug?

2008-06-17 Thread williamkusumo
I can't seem to get selectedLabel out of a ComboBox, it always returns empty string for me. Is this a known bug? I ended up doing this instead: cb.itemToLabel(cb.selectedItem) Any help is appreciated, thank you.

[flexcoders] Expand/Collapse AdvancedDataGrid row?

2008-05-21 Thread williamkusumo
Hello good people! I have a DataGrid with a button in each row and when you press one of the button, there should be a control panel that expands below that row (pushing down everything else). This panel spans the entire row and has a specific height. Any recommendation on how to achieve

[flexcoders] Trouble manually creating ToolTip with showEffect and hideEffect

2007-12-15 Thread williamkusumo
I use createToolTip to create a ToolTip manually, but somehow I couldn't get the showEffect and hideEffect to apply. I have properly set the ToolTipManager.showEffect and ToolTipManager.hideEffect to an effect, but it's not biting. The same effect works if I just use the 'tooltip' property of

[flexcoders] Trouble manually creating ToolTip with showEffect and hideEffect

2007-12-15 Thread williamkusumo
I use createToolTip to create a ToolTip manually, but somehow I couldn't get the showEffect and hideEffect to apply. I have properly set the ToolTipManager.showEffect and ToolTipManager.hideEffect to an effect, but it's not biting. The same effect works if I just use the 'tooltip' property of

[flexcoders] Trouble manually creating ToolTip with showEffect and hideEffect

2007-12-14 Thread williamkusumo
Hello, flexcoders! Anyone had experience using createToolTip() to create ToolTip manually and then have showEffect and hideEffect apply to it? I have to manually create the ToolTips because I want them to follow my mouse in realtime. I also want it to fade in and out on show/hide, so I set

[flexcoders] Component that passes through mouse events (?)

2007-12-06 Thread williamkusumo
Hi fellow flexcoders, Is it possible to have a component that is on top of another component yet it does not block any mouse events, instead it passes them through to the component underneath it? I need to overlay a component over another one for visual treatment, but it is blocking the

[flexcoders] ExternalInterface race conditions problem. Please help!

2007-11-20 Thread williamkusumo
Can anyone shed a light on how code execution flows when you have JS calling AS function which calls another JS function? I seem to be getting a very unpredictable race conditions. So here's how my code kind of looks like: [JS] JSLine1(); swfMov.callASFuncA(); // this calls AS functions

[flexcoders] HorizontalList drop indicator weirdness

2007-11-12 Thread williamkusumo
Hello! I have a HorizontalList with drag drop enabled, so you can re-arrange stuff in it. For some reason in HorizontalList, the drop indicator line appears on top of an item instead of on the side of the item like in TileList. I was wondering if there's a way to change this. I was trying to

[flexcoders] Custom skin on HScrollBar appearing differently than VScrollBar

2007-11-12 Thread williamkusumo
Hi flexcoders! I have a VScrollBar and HScrollBar that both loads identical skins (it's simply some PNGs). The VScrollBar looks great, but HScrollBar ends up having slightly cropped up/down arrow (at the tip of the arrow) and the thumb is lower than where it's supposed to be. Why is this so?

[flexcoders] Drag-scroll in a List not working on Mac (?)

2007-11-12 Thread williamkusumo
I have a List that has drag drop enabled so you can rearrange the items. On Windows, while you are dragging an item, you can go near the bottom of the list and it'll scroll if there are more content and it's scrollable. I can't seem to get this behavior on Mac. Is this a known bug? Thanks!

[flexcoders] Re: How do I remove/modify the default effect on List-based drag drop?

2007-10-15 Thread williamkusumo
. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of williamkusumo Sent: Friday, October 12, 2007 6:46 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] How do I remove/modify the default effect on List-based drag drop? I'd like to either remove

[flexcoders] Re: Wheel-scroll on Mac

2007-10-05 Thread williamkusumo
I guess everyone is still on their way back from Adobe Max? :( I should've asked someone while I was there... --- In flexcoders@yahoogroups.com, williamkusumo [EMAIL PROTECTED] wrote: Is wheel-scroll bug on Mac gonna be fixed anytime soon? I am thinking if it's worth doing the Javascript hack

[flexcoders] Re: FlexBuilder feature rich? Not as a development tool.

2007-10-05 Thread williamkusumo
Let's all vote for wheel-scroll issue on Mac! And also wheel-scroll issue when wmode is on! This issue seems to be have plagued Flash since the beginning of age, is there a reason why this hasn't been resolved yet? Thanks! --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote:

[flexcoders] Wheel-scroll on Mac

2007-10-02 Thread williamkusumo
Is wheel-scroll bug on Mac gonna be fixed anytime soon? I am thinking if it's worth doing the Javascript hack I've found online to solve this issue for now. Thanks!

[flexcoders] Re: Trouble skinning ComboBox that is shorter than default one...

2007-09-26 Thread williamkusumo
Is there a way, maybe, to adjust the postiion of TextInput inside the ComboBox, but not the height of it? Thanks! --- In flexcoders@yahoogroups.com, williamkusumo [EMAIL PROTECTED] wrote: Calling all skinners! I am skinning a ComboBox using some vector images in Flash and the ComboBox

[flexcoders] Re: Trouble skinning ComboBox that is shorter than default one...

2007-09-26 Thread williamkusumo
[mailto:[EMAIL PROTECTED] On Behalf Of williamkusumo Sent: Wednesday, September 26, 2007 11:54 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Trouble skinning ComboBox that is shorter than default one... Is there a way, maybe, to adjust the postiion of TextInput inside

[flexcoders] Re: Trouble skinning ComboBox that is shorter than default one...

2007-09-26 Thread williamkusumo
protected function updateDisplayList(w:Number, h:Number):void { super.updateDisplayList(w,h); textInput.y = ??? } ]] /mx:Script /mx:ComboBox From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of williamkusumo Sent

[flexcoders] Trouble skinning ComboBox that is shorter than default one...

2007-09-25 Thread williamkusumo
Calling all skinners! I am skinning a ComboBox using some vector images in Flash and the ComboBox is shorter in height than the default ComboBox. I notice that I have to explicitly set the height of the skinned ComboBox, otherwise it'll stretch the skin to its default height. SO, that's

[flexcoders] Re: Is it possible to anti-alias fonts without embedding?

2007-09-24 Thread williamkusumo
. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of williamkusumo Sent: Friday, September 21, 2007 7:03 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Is it possible to anti-alias fonts without embedding? Is it possible to get

[flexcoders] Re: Is it possible to anti-alias fonts without embedding?

2007-09-24 Thread williamkusumo
. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of williamkusumo Sent: Monday, September 24, 2007 11:55 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Is it possible to anti-alias fonts without embedding? Alex, are you sure about this? You mean, I

[flexcoders] Separator in ComboBox item?

2007-09-20 Thread williamkusumo
Is it possible to insert a separator in ComboBox items? This separator would not be clickable like any other item. Appreciate the help!

[flexcoders] Changing styleName at run-time

2007-09-17 Thread williamkusumo
Hi! I have a skinned play button that needs to turn into a pause button when clicked. Is it possible to change the styleName at run-time? If not, what is the recommended way to change the button skin when user clicks it? Appreciate the help!

[flexcoders] Re: Changing styleName at run-time

2007-09-17 Thread williamkusumo
Argh, my newbie-ness shows. styleName is part of the property, I can just change it like any other prop. Sorry to waste your time :) --- In flexcoders@yahoogroups.com, williamkusumo [EMAIL PROTECTED] wrote: Hi! I have a skinned play button that needs to turn into a pause button when clicked

[flexcoders] Re: Cannot get unselected Tab to be pure white color...

2007-09-14 Thread williamkusumo
] On Behalf Of williamkusumo Sent: Thursday, September 13, 2007 11:51 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Cannot get unselected Tab to be pure white color... Another thing I am having trouble with is getting rid of the borders around the tab (the top part

[flexcoders] Re: Cannot get unselected Tab to be pure white color...

2007-09-13 Thread williamkusumo
Another thing I am having trouble with is getting rid of the borders around the tab (the top part, NOT the tab body) Any idea what style I have to set? The documentation seems incomplete. Thanks! --- In flexcoders@yahoogroups.com, williamkusumo [EMAIL PROTECTED] wrote: Hi! I am trying

[flexcoders] Is CSS child selector supported?

2007-09-11 Thread williamkusumo
I am trying to style the GridItem of a grid that has a specific style name, I tried to do this: .editFormGrid GridItem { ... } and the styles won't take...is child selector supported in Flex CSS? Thanks!

[flexcoders] Variable instances behavior in Actionscript

2007-09-04 Thread williamkusumo
Very stupid question which has been bugging me for a while and just might be the most basic question in this group. How does a object instance behave in Actionscript? Say if I have this: var a:Book = new Book(); var b:Book = a; var c:Book = b; So does c actually point to the instance that a and

[flexcoders] Re: Problem with HTTPService ResultEvent.RESULT not firing

2007-08-31 Thread williamkusumo
setting HTTPService.RESULT_FORMAT_TEXT to resultFormat, it still doesn't work. The request is successful (HTTP status 200), but it won't trigger ResultEvent... This is frustrating... --- In flexcoders@yahoogroups.com, williamkusumo [EMAIL PROTECTED] wrote: Hello! I am calling a webservice

[flexcoders] Re: Problem with HTTPService ResultEvent.RESULT not firing

2007-08-31 Thread williamkusumo
Yes, found it! Somewhere along my ResultEvent callback function, I have a conversion to XML that is failing. Damn, gotta learn to put try catch in everything... --- In flexcoders@yahoogroups.com, williamkusumo [EMAIL PROTECTED] wrote: Okay, I haven't found a solution yet, but after some

[flexcoders] Re: How to get the previously selected item in ComboBox on change?

2007-08-31 Thread williamkusumo
! --- In flexcoders@yahoogroups.com, williamkusumo [EMAIL PROTECTED] wrote: Hmm, actually, maybe 'change' is not what I should be listening to. I need to intercept the default action when user tries to change the selected item and based on user input, allow/disallow the option user is trying to select

[flexcoders] Problem with HTTPService ResultEvent.RESULT not firing

2007-08-30 Thread williamkusumo
Hello! I am calling a webservice that does something and return HTTP status (either success or fail) that's it, no data whatsoever is returned. I need to do something when I got the response back but for some reason, ResultEvent.RESULT is not firing if there is no data being returned by the

[flexcoders] How to get the previously selected item in ComboBox on change?

2007-08-29 Thread williamkusumo
Hi! I can't seem to get a reference to the previously selected item in ComboBox on change. When the function executes on change, the selectedItem has already become the newly selected item, I would like to check on the previously selected. I checked on the docs and can't seem to find any property

[flexcoders] How to get the previously selected item in ComboBox on change?

2007-08-29 Thread williamkusumo
Hi! I can't seem to get a reference to the previously selected item in ComboBox on change. When the function executes on change, the selectedItem has already become the newly selected item, I would like to check on the previously selected. I checked on the docs and can't seem to find any property

[flexcoders] Re: How to get the previously selected item in ComboBox on change?

2007-08-29 Thread williamkusumo
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of williamkusumo Sent: Wednesday, August 29, 2007 4:27 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] How to get the previously selected item in ComboBox on change? Hi! I can't seem to get a reference

[flexcoders] Problem with Flex moving XML namespaces

2007-08-28 Thread williamkusumo
Hi! I am assembling XML from strings. This XML has a default namespace and one custom namespace. The namespaces declarations have to be inside certain node. I notice Flex seems to be moving the namespaces around and putting them all into the root node. Is it possible to have it not do that?

[flexcoders] Re: Problem with Flex moving XML namespaces

2007-08-28 Thread williamkusumo
--- In flexcoders@yahoogroups.com, williamkusumo [EMAIL PROTECTED] wrote: Hi! I am assembling XML from strings. This XML has a default namespace and one custom namespace. The namespaces declarations have to be inside certain node. I notice Flex seems to be moving the namespaces around and putting them all

[flexcoders] Re: Problem with Flex moving XML namespaces

2007-08-28 Thread williamkusumo
Okay, I think I kinda get it. I should not set default xml namespace, but I need to use setNamespace() on that specific node. Seems to work fine now. Sorry for cluttering the board :) --- In flexcoders@yahoogroups.com, williamkusumo [EMAIL PROTECTED] wrote: Actually, it only happens

[flexcoders] Re: Problem with ArrayCollection inside an Object

2007-08-27 Thread williamkusumo
It'd be nice if Flex have the ability to pass in a custom argument when you add an event listener and have that argument be available in the function handler. Is that possible? --- In flexcoders@yahoogroups.com, williamkusumo [EMAIL PROTECTED] wrote: I think this might be a classic programming

[flexcoders] Problem with ArrayCollection inside an Object

2007-08-27 Thread williamkusumo
I think this might be a classic programming questions rather than Flex's. I have a custom Object with an ArrayCollection as one of its property. I added a COLLECTION_CHANGE listener on that ArrayCollection. In its handler function, I need a reference to the object that contains the

[flexcoders] Problem detecting data change in a List

2007-08-24 Thread williamkusumo
Hi! I have a List bound to an ArrayCollection. And this List is draggable, so you can re-arrange the items. You can also remove or add stuff to it. I would like to do something when the List is modified, but 'dataChange' doesn't seem to work. Anyone has any idea? 'change' is not what I want

[flexcoders] Deleting an Item from a List

2007-06-14 Thread williamkusumo
Hi! I have a List (populated via a dataProvider) and in each of the list items, I have a Close button. What is the best way to remove the item when the Close button is clicked? I understand I must remove the data from the dataProvider instead of just deleting the list item, but how do you get the

[flexcoders] Re: Show incremental numeric index in a List

2007-06-14 Thread williamkusumo
if you want. You can also assume that owner is the List and call itemRendererToIndex in an override of updateDisplayList(). From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of williamkusumo Sent: Wednesday, June 13, 2007 5:53 PM

[flexcoders] Re: Show incremental numeric index in a List

2007-06-14 Thread williamkusumo
Actually, if you consider performance, would Tracy's idea be a better performer? (On dragDrop, we just loop through the dataProvider and update a property that has the index manually) Thanks! --- In flexcoders@yahoogroups.com, williamkusumo [EMAIL PROTECTED] wrote: Thanks for the feedback

[flexcoders] How to clone object?

2007-06-14 Thread williamkusumo
How do you clone/make copies of an object? I see some clone() functions in the docs, but they are all part of some unrelated class like Events. Any help is greatly appreciated. Thanks!

[flexcoders] Re: How to clone object?

2007-06-14 Thread williamkusumo
/ wwhelp.htm?context=LiveDocs_Partsfile=1882.html On 15/06/2007, at 12:04 PM, williamkusumo wrote: How do you clone/make copies of an object? I see some clone() functions in the docs, but they are all part of some unrelated class like Events. Any help is greatly appreciated. Thanks!

[flexcoders] Re: How to clone object?

2007-06-14 Thread williamkusumo
/ wwhelp.htm?context=LiveDocs_Partsfile=1882.html On 15/06/2007, at 12:04 PM, williamkusumo wrote: How do you clone/make copies of an object? I see some clone() functions in the docs, but they are all part of some unrelated class like Events. Any help is greatly appreciated

[flexcoders] Newbie in need of help with graphics

2007-05-05 Thread williamkusumo
Please forgive this stupid question. I can't seem to figure out how to draw a simple rectangle in a Flex app...:( I know it involve the graphics object and I have to call drawRect at some point. But where do I put this code, and how do I attach this rectangle into one of the container? Any help