[flexcoders] Grid with header sections spanning the whole grid

2009-02-20 Thread ozziegt
I need to build a DataGrid that has header rows which span the whole grid. Basically, it's an invoice and items on the invoice are grouped by type. For each group, I want to have a row which spans across the whole grid, with text that will also span across multiple columns. I am hoping I can do

[flexcoders] Making the row of a DataGrid bold

2009-02-03 Thread ozziegt
I have a 5 column DataGrid, and I need certain rows to be bold (kind of like an e-mail client). Is there any easy way to do this in Flex? Thanks in advance

[flexcoders] Re: Making the row of a DataGrid bold

2009-02-03 Thread ozziegt
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of ozziegt Sent: Tuesday, February 03, 2009 3:10 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Making the row of a DataGrid bold I have a 5 column DataGrid, and I need certain rows to be bold

[flexcoders] Creating an URL to a subsection of UI

2008-12-15 Thread ozziegt
I have a pretty complicated UI with 2-3 layers of tab-like navigation. So imagine if you will, a top level menu of 3-4 items, and then under each of those another submenu of a few items. I want to be able to create an URL to point to one of those subitems. Is there any way to do this in flex?

[flexcoders] Application.application.parameters doesn't hold GET query parameters

2008-12-15 Thread ozziegt
I feel kind of stupid asking this, but I have been beating my head against the wall and I know I am missing something obvious. I created a sample app here (you can view source on it): http://osmanu.com/flex/UrlParams/UrlParams.html?foo=bar You will notice there are no URL parameters being

[flexcoders] Re: Application.application.parameters doesn't hold GET query parameters

2008-12-15 Thread ozziegt
access on the page, add an ExternalInterface call which will return the query string to your swf. Hope that helps, Nate On Mon, Dec 15, 2008 at 8:53 AM, ozziegt osman.ul...@... wrote: I feel kind of stupid asking this, but I have been beating my head against the wall and I know I

[flexcoders] Re: Application.application.parameters doesn't hold GET query parameters

2008-12-15 Thread ozziegt
Thanks for all the replies. Yeah I thought about it over lunch and it occurred to me that I might only get the params when I reference the .swf file directly. I think I will stick with my current implementation using swfobject. --- In flexcoders@yahoogroups.com, ozziegt osman.ul...@... wrote

[flexcoders] Re: Creating an URL to a subsection of UI

2008-12-15 Thread ozziegt
swfaddress directly? Thanks --- In flexcoders@yahoogroups.com, Nate Beck n...@... wrote: Check out: http://labs.adobe.com/wiki/index.php/Flex_3:Feature_Introductions:_Deep_Linking Cheers, Nate On Mon, Dec 15, 2008 at 7:53 AM, ozziegt osman.ul...@... wrote: I have a pretty complicated

[flexcoders] Re: Anything other than a JS alert can delay a window close?

2008-12-15 Thread ozziegt
We have had success in onBeforeUnload, make the final request, and then in onUnload, create a 500ms loop in JS which gives the networking layer enough time to put the request on the wire before the flash is torn down. This was for a logout call, and it worked pretty well except in Safari (it

[flexcoders] Custom style for list items

2008-11-19 Thread ozziegt
I have a List and I would like to apply a specific style (font weight, background color) to a couple of items. I am looking for the best way to do this from a performance perspective... Is there any way to do this without creating a custom item renderer? I created an ActionScript item renderer

[flexcoders] Viewing server response from a FileReference.upload request?

2008-11-10 Thread ozziegt
It seems that there is no way to view the response from the server when making a FileReference.upload request. While URLLoader has a data object, it seems that FileReference has no such object. Is this true? The server I am using returns an XML response which includes some information that I need.

[flexcoders] Detecting a drag drop reorder on a List

2008-11-06 Thread ozziegt
I have a List control and which allows drag drop re-ordering. I need to detect when someone uses drag drop to re-order the list. Is there an easy way to do this? Right now this is my solution: 1) OnDragStart, store the a copy of the list data. 2) OnDragComplete, compare the stored copy to the

[flexcoders] Re: Variable width column to fill a variable width datagrid?

2008-09-26 Thread ozziegt
mx:DataGridColumn dataField=field1 width=200/ mx:DataGridColumn dataField=field2 width=100/ mx:DataGridColumn dataField=field3/ /mx:columns /mx:DataGrid -TH --- In flexcoders@yahoogroups.com, ozziegt osman.ullah@ wrote: I have a datagrid which I want to be variable

[flexcoders] Re: Variable width column to fill a variable width datagrid?

2008-09-26 Thread ozziegt
width=200/ mx:DataGridColumn dataField=field2 width=100/ mx:DataGridColumn dataField=field3/ /mx:columns /mx:DataGrid /mx:Application -TH --- In flexcoders@yahoogroups.com, ozziegt osman.ullah@ wrote: That is what I have tried, and it is not working. The documentation says

[flexcoders] Error when PopupManager hides a popup in the middle of an effect

2008-09-26 Thread ozziegt
I have a popup with an addedEffect defined on it. It works great when I call PopUpManager.addPopup, but if I click anyhere while the effect is in progress, looks like the tweening engine barfs since the popup is gone. Any suggestions on what I can to do prevent this from happening? Here is the

[flexcoders] Re: Error when PopupManager hides a popup in the middle of an effect

2008-09-26 Thread ozziegt
for the actual effect got de-referenced somehow. two places that could happen; end() and onTweenEnd() Can you get a simple example to reproduce this in mxml? ... Quick little application. Mike On Fri, Sep 26, 2008 at 2:03 PM, ozziegt [EMAIL PROTECTED] wrote: I have a popup

[flexcoders] Re: Error when PopupManager hides a popup in the middle of an effect

2008-09-26 Thread ozziegt
is ever found for this problem, I might go back to using the popupmanager. --- In flexcoders@yahoogroups.com, ozziegt [EMAIL PROTECTED] wrote: Sample can be found here: http://osmanu.com/flex/SamplePopup/SamplePopup.html source is either through right click or here: http://osmanu.com/flex

[flexcoders] Re: TextArea with support of emoticans

2008-09-25 Thread ozziegt
Flash's textfield does not support inline images. You will have to do a workaround...which can get kind of complicated. --- In flexcoders@yahoogroups.com, Sajid Hussain [EMAIL PROTECTED] wrote: Hi Guys , for web messenger's emoticons ,I need to put images into textarea I have used htmltext

[flexcoders] Variable width column to fill a variable width datagrid?

2008-09-25 Thread ozziegt
I have a datagrid which I want to be variable width. I need some of the columns to remain fixed width while maybe one or two expand to fill the rest of the space. However, any solution I am trying isn't working. The DataGrid is resizing all the columns. Any suggestions? Thanks

[flexcoders] Re: Getting multiple addedToStage events

2008-09-23 Thread ozziegt
--- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: I normally use creationComplete for setting up the listeners. I have been using creationComplete, but there is no way for me to remove the listeners when the object is removed from the stage, which leads to memory

[flexcoders] Re: Getting multiple addedToStage events

2008-09-22 Thread ozziegt
will have a event.relatedObject property that will give you the actual child instance that was added. Mike On Fri, Sep 19, 2008 at 2:32 PM, ozziegt [EMAIL PROTECTED] wrote: Hi, this is my first post to this group...hopefully someone can help me! :) I have an empty ViewStack

[flexcoders] Getting multiple addedToStage events

2008-09-19 Thread ozziegt
Hi, this is my first post to this group...hopefully someone can help me! :) I have an empty ViewStack to which I am programatically adding an MXML component which contains children. When I add the component, the MXML component is firing multiple onAddedToStage events. The target of the event is

[flexcoders] Specifying pie chart fill based on data set

2008-07-24 Thread ozziegt
Is there any way to override how the fill color is determined for a PieSeries? I would like to use specific colors based on the data. For example, I have a series of data like this monday, 30 tuesday, 20 wednesday, 20 thursday, 20 monday, 10 sunday, 5 I would like to make sure both items with