[flexcoders] submenu items on a ComboBox?

2006-06-29 Thread djbrown_rotonews
Is there a way to add submenu items on a ComboBox? Like the initial combobox would have 2 items "Colors" and "Fruit", and then a selection of "Colors" would display another menu like "Red" "Blue" "Yellow" etc.. I know that type of behavior is available in mx:Tree, but how about mx:ComboBox?

[flexcoders] Re: coloring an entire cell in a DataGrid?

2006-06-30 Thread djbrown_rotonews
any help? is there a more elegant way to do it inside of set data(), or is the beginFill/drawRect/endFill method shown as good as it gets? --- In flexcoders@yahoogroups.com, "djbrown_rotonews" <[EMAIL PROTECTED]> wrote: > > Is the beginFill/drawRect/endFill the only

[flexcoders] Re: coloring an entire cell in a DataGrid?

2006-07-03 Thread djbrown_rotonews
quot;red"); > > to change the item renderer's background color. > > see if this works. > > Jeremy. > > On 7/1/06, djbrown_rotonews <[EMAIL PROTECTED]> wrote: > > > > any help? is there a more elegant way to do it inside of set data(), &

[flexcoders] "falling between" items when using itemRollOver (DataGrid)

2006-07-05 Thread djbrown_rotonews
I'm using the itemRollOver event mechanism to display additional info about items in my DataGrid, and it appears that you can "fall between" items with the mouse (ie, I'll be at Row 1 Column 5 and move the mouse a tick down and it goes to Row 2 Column 0, and then back to Row 2 Column 5 after an

[flexcoders] HTTPService (jsp, specifically) getting cached?

2006-07-05 Thread djbrown_rotonews
I've run into a situation where I want to re-issue a call to a jsp via an HTTPService with the same set of parameters. (It's a query to a db essentially, with the params specifying the WHERE clause of the SQL). The problem comes when I try and re-issue the HTTPService with the same parameters i

[flexcoders] Re: "falling between" items when using itemRollOver (DataGrid)

2006-07-07 Thread djbrown_rotonews
any help here? --- In flexcoders@yahoogroups.com, "djbrown_rotonews" <[EMAIL PROTECTED]> wrote: > > I'm using the itemRollOver event mechanism to display additional info > about items in my DataGrid, and it appears that you can "fall between" >

[flexcoders] help with XMLList.contains() needed

2006-07-19 Thread djbrown_rotonews
Below is output from my code that represents the elements in an XMLList. I'm wanting to determine if the stream contains a tag (this one does, not all do) and am having trouble doing so via the code attached. Can someone point out my error when using XMLList.contains()? I've tried contains wit

[flexcoders] using XMLList.contains() question

2006-07-20 Thread djbrown_rotonews
My xml stream is as follows, and I want to programmatically determine if it contains the tag. How can I do this via the XMLList.contains() method? and my attempt

[flexcoders] double click in a cell adds an icon?

2006-07-20 Thread djbrown_rotonews
I've got a dataGrid, and I want to add an icon to a particular cell when I doubleclick on it. I know how to capture the doubleclick event, etc.. but how do I go about adding the icon to the current contents of the renderer (it's plain text by default) Yahoo! Groups

[flexcoders] DataGrid/itemFunction help needed

2006-07-26 Thread djbrown_rotonews
I'm trying to get the itemFunction property of a DataGrid to work. I set it up correctly, but the function never seems to get called even when the dataProvider's data is refreshed (I'm using XMLListCollection as the dataProvider). iconField and iconFunction are listed in the API for DataGridBas

[flexcoders] Re: DataGrid/itemFunction help needed

2006-07-26 Thread djbrown_rotonews
Whoops. I meant iconFunction, not itemFunction. At any rate, here's a quick example. If you use a mx:List, it works flawlessly; if you use mx:DataGrid, the myIconFunction is never even called. http://www.adobe.com/2006/mxml";>

[flexcoders] Re: DataGrid/iconFunction help needed

2006-07-26 Thread djbrown_rotonews
--- In flexcoders@yahoogroups.com, "djbrown_rotonews" <[EMAIL PROTECTED]> wrote: > > I'm trying to get the itemFunction property of a DataGrid to work. I > set it up correctly, but the function never seems to get called even > when the dataProvid

[flexcoders] known bug? DataGrid/iconFunction help needed

2006-07-26 Thread djbrown_rotonews
I've been able to determined that the following works just fine when using mx:List, but it doesn't call the iconFunction at all when using mx:DataGrid. Is this a known bug? http://www.adobe.com/2006/mxml";>

[flexcoders] "only one root tag is allowed" error when migrating from Beta3 to final?

2006-07-31 Thread djbrown_rotonews
I'm getting the above error on all my mx:Model declarations after moving my code from Beta3 to the final release. What's the solution? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yah

[flexcoders] Re: "only one root tag is allowed" error when migrating from Beta3 to final?

2006-08-01 Thread djbrown_rotonews
> > migrating from Beta3 to final? > > > > > > > > Between B3 and final, the mx:Model tag started requiring well- formed > > E4X XML. It's listed in the Changes Between Beta 3 and Final page > > > (http://weblogs.macromedia.com/flexteam/archives/2006/06/flex

[flexcoders] changing the pageTitle programmatically?

2006-08-08 Thread djbrown_rotonews
I have a use case where I need to change the pageTitle of my application to change based on a selection in a combo box. Is this possible? It looks like the pageTitle tag is used to generate the HTML at run-time, and isn't dynamic in nature as I need. -- Flexcoders Mailing List FAQ: http://

[flexcoders] deploying a simple Flex app to WebSphere AppServer?

2007-01-27 Thread djbrown_rotonews
I'm trying to deploy a simple flex app to WAS6.1 after having it run under the included jrun4. What processes do I need to take, or is there a tutorial online that would step me thru the process?

[flexcoders] problems with XMLListCollection and dataProvider. please help

2006-05-02 Thread djbrown_rotonews
I'm in the process of converting some old code that took the form of: method="GET" showBusyCursor="true">  and a DataGrid hook point of: dataProvider="{mx.utils.ArrayUtil.toArray (getadvisordelays.result.delays.leg) to display my XML results in a DataGrid. It worked just fine. However

[flexcoders] Re: problems with XMLListCollection and dataProvider. please help

2006-05-02 Thread djbrown_rotonews
--- In flexcoders@yahoogroups.com, "Manish Jethani" <[EMAIL PROTECTED]> wrote: > > On 5/2/06, djbrown_rotonews <[EMAIL PROTECTED]> wrote: > > > as the "source" attrib, and they each throw an error of some form. > > can anyone tell me wh

[flexcoders] Re: problems with XMLListCollection and dataProvider. please help

2006-05-02 Thread djbrown_rotonews
--- In flexcoders@yahoogroups.com, "Manish Jethani" <[EMAIL PROTECTED]> wrote: > > On 5/3/06, djbrown_rotonews <[EMAIL PROTECTED]> wrote: > > > [EMAIL PROTECTED] = > > item.leg.node = > > item.leg[node] = > > [EMAIL PROTECTED] = >

[flexcoders] Re: problems with XMLListCollection and dataProvider. please help

2006-05-02 Thread djbrown_rotonews
--- In flexcoders@yahoogroups.com, "Manish Jethani" <[EMAIL PROTECTED]> wrote: > > On 5/3/06, djbrown_rotonews <[EMAIL PROTECTED]> wrote: > > > I have a local var node, set to the dataField of the passed in > > DataGridColumn. > > So gi

[flexcoders] Re: problems with XMLListCollection and dataProvider. please help

2006-05-02 Thread djbrown_rotonews
--- In flexcoders@yahoogroups.com, "Manish Jethani" <[EMAIL PROTECTED]> wrote: > > On 5/3/06, djbrown_rotonews <[EMAIL PROTECTED]> wrote: > > > I have a local var node, set to the dataField of the passed in > > DataGridColumn. > > So gi

[flexcoders] Re: problems with XMLListCollection and dataProvider. please help

2006-05-03 Thread djbrown_rotonews
--- In flexcoders@yahoogroups.com, "Manish Jethani" <[EMAIL PROTECTED]> wrote: > > On 5/3/06, djbrown_rotonews <[EMAIL PROTECTED]> wrote: > > --- In flexcoders@yahoogroups.com, "Manish Jethani" > > wrote: > > > > > > On 5/

[flexcoders] re-filtering data in DataGrid?

2006-05-04 Thread djbrown_rotonews
I know that the DataGrid has a filterFunction param where you can specify any filtering capabilities you want to display in the DataGrid. Can this function call be re-issued programmatically? I've got an app where I want to display some data from a jsp call, filtered based on initial (and de

[flexcoders] Re: re-filtering data in DataGrid?

2006-05-04 Thread djbrown_rotonews
--- In flexcoders@yahoogroups.com, "Manish Jethani" <[EMAIL PROTECTED]> wrote: > > On 5/4/06, djbrown_rotonews <[EMAIL PROTECTED]> wrote: > > I know that the DataGrid has a filterFunction param where you can > > specify any filtering capabilities you

[flexcoders] Re: re-filtering data in DataGrid?

2006-05-04 Thread djbrown_rotonews
--- In flexcoders@yahoogroups.com, "Manish Jethani" <[EMAIL PROTECTED]> wrote: > > On 5/4/06, djbrown_rotonews <[EMAIL PROTECTED]> wrote: > > I know that the DataGrid has a filterFunction param where you can > > specify any filtering capabilities you

[flexcoders] Gui component events inside

2006-05-08 Thread djbrown_rotonews
I've got the following GUI component that updates a value inside an mx:Model I've defined: dataProvider="{hours.hour}" change="timeRange.STARTTIME=cbStartTime.selectedItem.data"/> I'm in the process of adding a construct around one of my GUI panels that contains about 4 ComboBoxes (inclu

[flexcoders] Re: Gui component events inside

2006-05-08 Thread djbrown_rotonews
the data that resides in the > model (preferably modelLocator). > > TH > > --- In flexcoders@yahoogroups.com, "djbrown_rotonews" > wrote: > > > > I've got the following GUI component that updates a value inside > an > > mx:Mo

[flexcoders] generic sorts for DataGridColumns?

2006-05-09 Thread djbrown_rotonews
I'm using Flex Beta 2 and wanting to implement a generic sort that will handle the approximate 20 columns I'm displaying. I've got it set up as follows:     textAlign="center" fontWeight="bold" headerText="STA" width="{dgDelays.width/22}" headerWordWrap="on" dataField="acfrmsta" la

[flexcoders] Re: generic sorts for DataGridColumns?

2006-05-10 Thread djbrown_rotonews
anyone? I've seen similir questions asked before, and never saw an answer that directly pertains to the DataGrdColumn issue. --- In flexcoders@yahoogroups.com, "djbrown_rotonews" <[EMAIL PROTECTED]> wrote: > > I'm using Flex Beta 2 and wanting to implement a

[flexcoders] sorting an XMLListCollection

2006-05-10 Thread djbrown_rotonews
I have a dataGrid of about 20 columns, whose dataProvider is an XMLListCollection: source="{getadvisordelays.result.*}" filterFunction="filterData"/> where getadvisordelays is an HTTPService call to a jsp, returning results in an e4x format: method="GET" showBusyCursor="true" resultFormat=

[flexcoders] sorting user headerRelease in dataGrid sorts just once?

2006-05-10 Thread djbrown_rotonews
I'm trying to use a headerRelease in Beta2 to sort by columns in my dataGrid. I've been able to determine via debugging that it's only "swapping" two rows, and leaving the remaining rows in their original order. Any idea what might be going wrong? I have a filterFunction set up for delays_x

[flexcoders] Re: generic sorts for DataGridColumns?

2006-05-11 Thread djbrown_rotonews
bump. any help? --- In flexcoders@yahoogroups.com, "djbrown_rotonews" <[EMAIL PROTECTED]> wrote: > > anyone? I've seen similir questions asked before, and never saw an > answer that directly pertains to the DataGrdColumn issue. > > --- In flexcoder

[flexcoders] Re: generic sorts for DataGridColumns?

2006-05-11 Thread djbrown_rotonews
ve you checked the fields parameter to > see what's in it? > > Doug > > > --- In flexcoders@yahoogroups.com, "djbrown_rotonews" > wrote: > > > > bump. any help? > > > > --- In flexcoders@yahoogroups.com, "djbrown_rotonews" > &g

[flexcoders] Re: generic sorts for DataGridColumns?

2006-05-12 Thread djbrown_rotonews
se is > always null? > > There must be a simpler way that we are just not seeing.  On a flip > side, I'm going to try to move towards the example in their documentation: > http://livedocs.macromedia.com/labs/1/flex20beta3/wwhelp/wwhimpl/comm on/html/wwhelp.htm?context=LiveDocs

[flexcoders] Re: generic sorts for DataGridColumns?

2006-05-15 Thread djbrown_rotonews
The frustrating thing? This type of functionality was available in Beta1.5, but has since evaporated. Note their example of implementing sortCompareFunction is EXACTLY what I'm wanting to do in Beta2 and beyond. --- In flexcoders@yahoogroups.com, "djbrown_rotonews" &l

[flexcoders] Re: generic sorts for DataGridColumns?

2006-05-16 Thread djbrown_rotonews
Anyone else with some insight here? It's getting beyond frustrating to try and come up with a generic solution to a really simple "problem". --- In flexcoders@yahoogroups.com, "djbrown_rotonews" <[EMAIL PROTECTED]> wrote: > > The frustrating thing? Thi

[flexcoders] complex GUIs "inside" a tab panel?

2006-05-19 Thread djbrown_rotonews
I'm trying to wrap a TabBar around a panel that contains a series of pulldown menus and a datagrid. I'm wanting to "save" the state of each menu for the different views of the data (one view per tabbed panel), which requires the use of a Repeater I believe, but when I wrap the menu definitio

[flexcoders] itemRenderer/dataGrid rollOverColor question

2006-05-22 Thread djbrown_rotonews
I've got a dataGrid setup, with each cell having an itemRenderer associated with it. The itemRenderer is setting the text color based on the value in each cell, via a setStyle("color", ) call. The problem is that this prevents my rollOverColor declaration in my DataGrid from working (you can

[flexcoders] re-ordering of DataGridColumns based on a GUI component selection?

2006-05-25 Thread djbrown_rotonews
I need to be able to change the ordering of my displayed DataGridColumns based on a selection made via another GUI component. I've captured the "state" of this other GUI component via a Model, but how do I go about adding some if/then/else logic inside my DataGrid/Columns/Array/DataGridColum

[flexcoders] mouseOver for specific cells in DataGrid?

2006-05-31 Thread djbrown_rotonews
I'm wanting to implement a mouseOver event that is cell-specific for a DataGrid. Does the mouseOver event for the DataGrid itself have knowledge of the row/column that is being hovered over? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.t

[flexcoders] Re: mouseOver for specific cells in DataGrid?

2006-06-01 Thread djbrown_rotonews
wledge of the data under it. It does have a localX and locallY > property that you might be able to use to figure out what row and column > you are at assuming that your rowHeight and column widths are constant. > >  > > Joan > >  > >

[flexcoders] ContextMenu and DataGrid question

2006-06-14 Thread djbrown_rotonews
I'm trying to set up a ContextMenu inside a DataGrid that has knowledge of where in the grid the right click occured. All I'm able to see via the ContextMenuEvent is the mouseTarget that knows about the underlying text in the cell. I'm needing something similiar to rowIndex and columnIndex tha

[flexcoders] Re: ContextMenu and DataGrid question

2006-06-15 Thread djbrown_rotonews
mp();"> > > > > > > > > > > > > > > > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of djbrown_rotonews > Sent: Wednesday, June 14, 2

[flexcoders] toolTip for dataGrid headers?

2006-06-19 Thread djbrown_rotonews
I'm wanting to add toolTip for dataGrid headers, where a tool tip is displayed when hovering over a header of a data grid that displays more information about that particular column. It doesn't appear than an itemRollOverEvent is generated when rolling over a header, so what's the best way to d

[flexcoders] Re: toolTip for dataGrid headers?

2006-06-20 Thread djbrown_rotonews
the id of the UIComponent I'm currently looking at. --- In flexcoders@yahoogroups.com, "djbrown_rotonews" <[EMAIL PROTECTED]> wrote: > > I'm wanting to add toolTip for dataGrid headers, where a tool tip is > displayed when hovering over a header of a data

[flexcoders] FlexPrintJob and large DataGrids?

2006-06-20 Thread djbrown_rotonews
I've got a large DataGrid that the user needs to scroll (vertically) through to view completely. When I go to print this, I only get the portion that is currently displayed to print out (I'm using the dataGrid itself as the UI component to print, so that's not the issue). Any ideas? Here's the

[flexcoders] Re: toolTip for dataGrid headers?

2006-06-21 Thread djbrown_rotonews
I've seen references to using the setValue() function of the custom renderer to gain access to the header itself and putting the toolTip code in there, but it doesn't look like setValue is called any longer using Beta3. any ideas/suggestions? --- In flexcoders@yahoogroups.com, "d

[flexcoders] Re: toolTip for dataGrid headers?

2006-06-22 Thread djbrown_rotonews
itemRenderer is created, so > you can compare to data.text to identify the column. > > http://www.cflex.net/showfiledetails.cfm? ChannelID=1&Object=File&objectI\ > D=443 > <http://www.cflex.net/showfiledetails.cfm? ChannelID=1&Object=File&object\ > ID=443> >

[flexcoders] Re: toolTip for dataGrid headers?

2006-06-22 Thread djbrown_rotonews
d when the renderer is created. > > Keep in mind, the default item renderer is a Text field. In the > > HeaderRenderer AS, change the Height (maybe to 40) and the header > > text should wrap. You might also have to deal with the header > text > > alignment. > >

[flexcoders] toolTip type behavior for DataGridColumns?

2006-06-23 Thread djbrown_rotonews
I'm wanting to add some toolTip type behavior when the user rolls over some data in a DataGridColumn. It doesn't appear that the DataGridColumn natively supports toolTip behavior, but is there a way I can mimic one via the itemRollOver event? Something like popping up a Label just under the cu

[flexcoders] Re: toolTip type behavior for DataGridColumns?

2006-06-23 Thread djbrown_rotonews
/Da > taGrid.html > > Tracy > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of djbrown_rotonews > Sent: Friday, June 23, 2006 11:41 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] toolTip type behavi

[flexcoders] Re: toolTip type behavior for DataGridColumns?

2006-06-23 Thread djbrown_rotonews
eld="fieldname" > > Shan > >_____ > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of djbrown_rotonews > Sent: Friday, June 23, 2006 2:10 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Re: toolTip type behavior

[flexcoders] Re: toolTip type behavior for DataGridColumns?

2006-06-23 Thread djbrown_rotonews
I actually solved the problem. I had to explicity handle it inside my itemRenderer implementation (via this.toolTip="blah blah" ). --- In flexcoders@yahoogroups.com, "djbrown_rotonews" <[EMAIL PROTECTED]> wrote: > > weird. > > I've set up

[flexcoders] coloring an entire cell in a DataGrid?

2006-06-26 Thread djbrown_rotonews
Is there a way to color the entire cell, and not sure the cell text itself, inside a DataGrid? Yahoo! Groups Sponsor ~--> See what's inside the new Yahoo! Groups email. http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM

[flexcoders] Re: coloring an entire cell in a DataGrid?

2006-06-26 Thread djbrown_rotonews
]> wrote: > > Using item renderer, yes. > > Check it in the manual and pay attention to data() method. > > > > On 6/26/06, djbrown_rotonews <[EMAIL PROTECTED]> wrote: > > > > Is there a way to color the entire cell, and not sure the cell text > &

[flexcoders] Re: coloring an entire cell in a DataGrid?

2006-06-27 Thread djbrown_rotonews
g.clear(); > > > > var grid1:DataGrid = > > DataGrid(DataGridListData(listData).owner); > > > > if (grid1.isItemSelected(data) || > > grid1.isItemHighlighted(data)) > > > > return; &g

[flexcoders] Re: Keeping DataGrid from scrolling to top on update to dataProvider

2006-06-27 Thread djbrown_rotonews
I actually tried this (my dataProvider for the grid is an XMLListCollection being populated by a jsp. The grid has custom item renderers if that's relevant). anyhow, I have an "update" button which will call the jsp and get new results when clicked. I've set it up so the click() method correct

[flexcoders] Re: Keeping DataGrid from scrolling to top on update to dataProvider

2006-06-28 Thread djbrown_rotonews
t; > What you need to do is set the scroll position *after* the data has come > in and the DataGrid has processed the REFRESH event. > > -deepa > > -Original Message- > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of djbrown_rotonews

[flexcoders] Re: Keeping DataGrid from scrolling to top on update to dataProvider

2006-06-28 Thread djbrown_rotonews
gt; verticalScrollPosition property directly, the scrollbar and content are > update as if the user scrolled to that index. > > > > Best, > > deepa > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Beha

[flexcoders] stuck on initializing?

2006-06-29 Thread djbrown_rotonews
my flex app has just recently gotten "stuck" on initializing, but a co- worker is able run it from his browser when pointing to my ip address. My browser briefly shows a re-direct url to flex-internal?action=history any ideas on how to fix this in my local browser? I'd just assume not have to s

[flexcoders] TimeChooser conponent similiar to DateChooser?

2007-05-16 Thread djbrown_rotonews
Has anyone coded up a TimeChooser component that would behave similiar to the DateChooser component? Something that would allow us to generate combo boxes on the fly essentially, taking in start time, end time and increments as parameters?

[flexcoders] rollOver "outline box" for DataGrid?

2006-08-21 Thread djbrown_rotonews
Is there a way to create a rollOver rectangle/outline box in the DataGrid, as opposed to the solid rectangle that currently exists? I'm able to create an outline box over a specific cell that is rolled over, but can't seem to extend it to the entire row. -- Flexcoders Mailing List FAQ: h

[flexcoders] Re: changing the pageTitle programmatically?

2006-09-26 Thread djbrown_rotonews
--- In flexcoders@yahoogroups.com, "Ralf Bokelberg" <[EMAIL PROTECTED]> wrote: > > You could use the externalAPI and Javascript. > Cheers, > Ralf > > On 8/8/06, djbrown_rotonews <[EMAIL PROTECTED]> wrote: > > I have a use case where I need to change

[flexcoders] Re: changing the pageTitle programmatically?

2006-09-26 Thread djbrown_rotonews
uot;_self"); // var u2:URLRequest = new URLRequest("javascript:window.status='" + station + "';void(0)"); // navigateToURL(u2, "_self"); --- In flexcoders@yahoogroups.com, "Ralf Bokelberg" <[EMAIL PROTECTED]> wrote: > > You could use

[flexcoders] getItemAt *removes* item from ArrayCollection?

2008-09-26 Thread djbrown_rotonews
has anyone run into this problem? The code below is *removing* the item from the ArrayCollection when I modify that one attribute on the object. And the size of my ArrayCollection isn't increasing after the call to addItem() either. the call to getItemIndex is working just fine, but the object

[flexcoders] Re: getItemAt *removes* item from ArrayCollection?

2008-09-26 Thread djbrown_rotonews
t; force. ;-) > > Sounds like it has to do with the; > > flightToMarkAsRemoved.flightHasBeenClearedByUser=true > > That would be my guess. > > Mike > > On Fri, Sep 26, 2008 at 10:03 AM, djbrown_rotonews < > [EMAIL PROTECTED]> wrote: > > > has anyone run into

[flexcoders] Re: getItemAt *removes* item from ArrayCollection?

2008-09-26 Thread djbrown_rotonews
ote: > > Do you have a filter on the collection? > > > On 9/26/08 9:00 AM, "djbrown_rotonews" <[EMAIL PROTECTED]> wrote: > > > > > My entire class (SOCAdvisorVO) is marked as Bindable: > > [Bindable] > public class SO

[flexcoders] Why are so many DataGridColumn headerRenderers created?

2008-10-15 Thread djbrown_rotonews
I've started messing around with the profiler tools inside FB3, and noticed that a large chunk (43%) of my memory is being taken up by 75 instances (135 cumulative instances) of my generic headerRenderers used by my DataGridColumns. The renderer used just extends label, and sets a toolTip valu

[flexcoders] positioning custom toolTips?

2008-10-21 Thread djbrown_rotonews
I've got a dataGrid, but am using VBox's that implement IToolTip to generate my toolTips instead of relying on the built-in dataTip functionality. Every thing works fine until it comes to positioning the toolTips along the bottom right of the dataGrid, as the default behavior isn't re-positioni

[flexcoders] Re: positioning custom toolTips?

2008-10-22 Thread djbrown_rotonews
anyone?

[flexcoders] getting/settings explicit height/width for a custom toolTip?

2008-11-03 Thread djbrown_rotonews
I'm attempting to create a custom toolTip using a Text component (of varying length, depending on the underlying data) inside a VBox component (with no explicit height or width declared) that implements IToolTip. Inside the creationComplete handler for the VBox, I build out the contents of the

[flexcoders] Accordion question

2008-03-11 Thread djbrown_rotonews
I have a GUI that has a "Tabbed view" and a "tiles view", both as children of an Accordion (the tiles view is just a repeater inside of a vbox as opposed to an actual tile list). Anyhow, each component has a few combobox pulldowns etc.. I want to be able to "synch" up those selections, so that

[flexcoders] Re: Accordion question

2008-03-11 Thread djbrown_rotonews
odel-view-controller (MVC) architecture. > > > > If you did, you would store the combobox selection in the data model and > all views would be bound to that slot in the model. > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL

[flexcoders] using SliderDataTipClass?

2008-04-01 Thread djbrown_rotonews
I'm wanting to add a label to each of my thumbs, so that something like "Start time" and "End time" will be present under the thumb itself even when not dragging (I believe this requirement prevents me from simply using a dataTipFormatFunction). Can I do this by extending SliderDataTipClass?

[flexcoders] Programmatic scrolling of a TileList?

2008-04-14 Thread djbrown_rotonews
I've got a tile list component that I want to be able to scroll through horizontally without the visual presence of the scroll bars themselves. I've got a set of arrows that the user can click on to scroll through the items, but it's not quite working as desired. Basically, my itemRenderers ar

[flexcoders] Re: Programmatic scrolling of a TileList?

2008-04-15 Thread djbrown_rotonews
anyone? :) --- In flexcoders@yahoogroups.com, "djbrown_rotonews" <[EMAIL PROTECTED]> wrote: > > > I've got a tile list component that I want to be able to scroll > through horizontally without the visual presence of the scroll bars > themselves. I'

[flexcoders] Restricting mouseX, mouseY while dragging?

2008-04-22 Thread djbrown_rotonews
I have the need to restrict the mouse (x,y) of my DragProxy when dragging (basically, allow dragging only vertically and not horizontally). What's the best way to go this using the various Drag/Drop event handlers?

Re: RES: [flexcoders] Restricting mouseX, mouseY while dragging?

2008-04-22 Thread djbrown_rotonews
agging, and just handle the click event, adding an mouseMove handler to set the new X pos of the object. > > > > De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Em nome de djbrown_rotonews > Enviada em: terça-feira, 22 de abril de 2008 12:25 &g

[flexcoders] Re: Programmatic scrolling of a TileList?

2008-04-24 Thread djbrown_rotonews
any help out there? --- In flexcoders@yahoogroups.com, "djbrown_rotonews" <[EMAIL PROTECTED]> wrote: > > anyone? :) > > --- In flexcoders@yahoogroups.com, "djbrown_rotonews" > wrote: > > > > > > I've got a tile list component th

[flexcoders] Re: Programmatic scrolling of a TileList?

2008-04-24 Thread djbrown_rotonews
t; > > > I have no idea but maybe the carousel at > http://giles.roadnight.name/components.cfm > <http://giles.roadnight.name/components.cfm> might give you some ideas. > > --- In flexcoders@yahoogroups.com <mailto:flexcoders% 40yahoogroups.com> > , &qu

[flexcoders] dataTipRenderer available for DataGrid?

2008-05-20 Thread djbrown_rotonews
How do I need to extend DataGrid to get the dataTipRenderer stuff exposed similiar to the charting classes?

[flexcoders] Re: dataTipRenderer available for DataGrid?

2008-05-21 Thread djbrown_rotonews
nstance of a custom class to use as a tooltip > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of djbrown_rotonews > Sent: Monday, May 19, 2008 1:20 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] dataTipRenderer available

[flexcoders] Re: dataTipRenderer available for DataGrid?

2008-05-22 Thread djbrown_rotonews
nderer should get the event. > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of djbrown_rotonews > Sent: Wednesday, May 21, 2008 5:47 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Re: dataTipRenderer available for

[flexcoders] Re: dataTipRenderer available for DataGrid?

2008-05-27 Thread djbrown_rotonews
the > DG. If you look at DataGridItemRenderer it has its own dataTip code. > Label doesn't which is why it isn't set up to get the tooltip events. > I'd probably copy code from DGIR to a subclass of Label. > > > > > >

[flexcoders] Re: dataTipRenderer available for DataGrid?

2008-05-27 Thread djbrown_rotonews
the code, as presented (using a Label), will reach the toolTipEvent (as desired), but only after I put a toolTip=" " at the end of the line. thanks alex! --- In flexcoders@yahoogroups.com, "djbrown_rotonews" <[EMAIL PROTECTED]> wrote: > > it compiles w

[flexcoders] Re: Flex Application Memory Footprint

2008-11-14 Thread djbrown_rotonews
I'm seeing the same behavior. DataGrid headerRenderer is a simple Label with a toolTip, and there's just 15 columns in the grid itself. Before the data is even populated, I have 75 instances of the header renderers (5 for each column), and they never get cleaned up. Around 35-40% of my applic

[flexcoders] getting the number of children in a grouping collection via the groupingFunction

2008-11-25 Thread djbrown_rotonews
i'm wanting to change the label of my groups in the AdvancedDataGrid, and I see where that's exposed via the groupingFunction. What i'm wanting to do is to modify it in such a way that it returns the groupingField "name" itself, plus the number of children in that group. As an example, if I had

[flexcoders] Re: getting the number of children in a grouping collection via the groupingFunction

2008-11-26 Thread djbrown_rotonews
anyone? --- In flexcoders@yahoogroups.com, "djbrown_rotonews" <[EMAIL PROTECTED]> wrote: > > i'm wanting to change the label of my groups in the AdvancedDataGrid, > and I see where that's exposed via the groupingFunction. What i'm > wanting to do is

[flexcoders] Re: getting the number of children in a grouping collection via the groupingFunction

2008-12-01 Thread djbrown_rotonews
one more time for help... --- In flexcoders@yahoogroups.com, "djbrown_rotonews" <[EMAIL PROTECTED]> wrote: > > i'm wanting to change the label of my groups in the AdvancedDataGrid, > and I see where that's exposed via the groupingFunction. What i'm &

[flexcoders] data-specific createChildren() question

2010-07-01 Thread djbrown_rotonews
I've got a custom item renderer extending UIComponent that can have 3 base 'states' depending on the nature of the data that it is displaying. Each of these states have minor UI tweaks re: the children that are added to the display list etc.. (# of UITextFields, icons etc...) Am I better off cr

[flexcoders] Re: data-specific createChildren() question

2010-07-01 Thread djbrown_rotonews
the 5% case is extremely time-consuming, you may wish to > just hide them, but if you end up hiding tons of stuff you'll be wasting > memory as well. > > The profiler and testing scrolling visually will tell you the right way for > your situation. > > > O

[flexcoders] garbage collection question

2010-07-29 Thread djbrown_rotonews
I'm trying to track down a memory leak in one of my applications, having already employed the "use weak reference in dictionaries and eventListeners" guideline. I have an wrapper object, that has (among other properties) a reference to another object, which contains an array of a third object.

[flexcoders] Re: Access to JVM command line args when extending AbstractAssembler (LCDS)

2010-08-16 Thread djbrown_rotonews
anyone? --- In flexcoders@yahoogroups.com, "djbrown_rotonews" wrote: > > How can I access the JVM command line args in my class that extends > AbstractAssembler? I need to customize the behavior of my custom assembler > based on some settings based in as