[flexcoders] Displaying chart legend from multiple data provider series?

2008-05-20 Thread chigwell23
Before I start merging arrays etc, wondered if there is an easier solution. mx:Legend direction=horizontal dataProvider={chart}/ What happens if data providers are chart, chart1, chart2, chart3? TIA, Mic.

[flexcoders] Re: Displaying chart legend from multiple data provider series?

2008-05-20 Thread chigwell23
Found it in LiveDocs :-) --- In flexcoders@yahoogroups.com, chigwell23 [EMAIL PROTECTED] wrote: Before I start merging arrays etc, wondered if there is an easier solution. mx:Legend direction=horizontal dataProvider={chart}/ What happens if data providers are chart, chart1, chart2,

[flexcoders] Measure and UpdateDisplayList called continuously

2008-05-20 Thread Giles Roadnight
Hi All I'm writing an item renderer based on a Canvas. I have the following methods (the canvas just has a label as a child) override protected function measure():void { super.measure(); var metrics:EdgeMetrics = viewMetricsAndPadding; measuredWidth = _label.width + metrics.left +

Re: [flexcoders] Re: Tree - Drag Drop - prevent drop into folder

2008-05-20 Thread Andriy Panas
Hi there, I consider the task of preventing drag and drop operations on certain tree nodes when using Tree component shipped with Flex 2 SDK to be not trivial at all. The internal code of Tree component is complex and not very well documented inside the code. I would recommend you as as

[flexcoders] Masked time input

2008-05-20 Thread creativepragmatic
Hello everyone, I plan to develop a masked time input control and accompanying field validator for an employee timesheet app that I am working on. Before I start, does anybody know of an existing open control that I can use and build on? Thank you for any help, Orville

[flexcoders] Re: Debugging Flex3-AMFPHP

2008-05-20 Thread David C. Moody
Do you get results when you run the service function via the AMFPHP service browser? That's the first place to start, make sure your PHP code is returning what you expect. Then code always helps us to be able to help you. --- In flexcoders@yahoogroups.com, mr_delphi_developer [EMAIL

Re: [flexcoders] CS3 to flex tutorials

2008-05-20 Thread Robert Stehwien
Here is my list of links on the topic: https://admin.adobe.acrobat.com/_a300965365/p75214263/ http://www.webkitchen.be/2008/05/05/the-flash-and-flex-marriage/ http://lordbron.wordpress.com/2007/05/01/flex-component-kit-step-by-step/ http://www.moock.org/blog/archives/000253.html

[flexcoders] Re: Debugging Flex3-AMFPHP

2008-05-20 Thread Alan Gruskoff
In wanting to test AMFPHP latest 2.0 version , I found there were no Flex examples, so I built some. They all work fine. See http://digitalshowcase.biz/flex/examples/AMFPHP/ This one: http://digitalshowcase.biz/flex/examples/AMFPHP/AMFPHP_MySQL_Read_Example/ has a screenshot of what the incoming

[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] Datagrid cell editing question

2008-05-20 Thread Pratima Rao
Hi, I have an application where I prevent users from editing certain cells in a datagrid. I am using the itemEditBeggining event and when the event gets triggered I call the event.preventDefault() method if the cell should not be edited. The problem with this approach is that the tab

[flexcoders] Manually dispatching MouseEvents on DataGrid rows

2008-05-20 Thread bsensale
I'm trying to manually dispatch a mouse event on rows in a datagrid, and am running into some strange behavior. Basically, if I trace the Mouse Click on a datagrid row, I can desconstruct the mouse event. If I dispatch the event manually, the deconstructed event looks the same, but the grid

[flexcoders] Datagrid cell editing question

2008-05-20 Thread pratima_jrao
Hi, I have an application where I prevent users from editing certain cells in a datagrid. I am using the itemEditBeggining event and when the event gets triggered I call the event.preventDefault() method if the cell should not be edited. The problem with this approach is that the tab

[flexcoders] Re: Using custom item renderer with List

2008-05-20 Thread the_braniak
Thanks Alex specifying a rowHeight fixed the problem. However there's still an interesting/odd thing in this case which I forgot to mention in my post. The setter itself executes twice for every row in the list, and this also seems to be a default behaviour. To be more specific if the data

Re: [flexcoders] flex3 sdk and eclipse 3.2

2008-05-20 Thread Tom Chiverton
On Monday 19 May 2008, Gustavo Duenas wrote: Without flex builder, someway someone said in the net that is possibleisn't it? You can use ANT to invoke the SDK, but I could never get it to work an just stuck to compiling from the command line, using a DTD for the MXML files to get code

[flexcoders] Tree and re-drawing

2008-05-20 Thread kallebertell
I have a tree which has a filtered collection (and filtered child collections) as a dataprovider. When I remove the filter and refresh the collection the tree doesn't re-draw. Calling invalidateList from Tree makes it redraw, but it doesn't create scrollbars even though the list is too long to

[flexcoders] Is it possible to invoke a AMF call just before browser close?

2008-05-20 Thread Dan
Hi, I am trying to invalidate a session by explicity invoke a AMF call when the user click logout or closing the browswer. By ExternalInterface, the CLOSE event is capture within the FLEX correctly. But by tracing in the debugger, if a AMF is invoke upon this, the call did invoke but the AMF

Re: [flexcoders] flex3 sdk and eclipse 3.2

2008-05-20 Thread László Hornyák
Hi! I have a small eclipse plugin project for this under development now, it will have an update site soon... http://code.google.com/p/flexclipse/wiki/QuickStart It is very minimalistic and I do not want to compete with flexbuilder, but in the near future it may be good enough for those who do

Re: [flexcoders] Re: How to set the e.currentTarget.selectedItem data to my own VO object?

2008-05-20 Thread EECOLOR
This would mean that e.currentTarget.selectedItem is not an instance of TileListVO. To check this you can run these traces: *var vo:TileListVO = new TileListVO(); trace(getQualifiedClassName(vo)); trace(getQualifiedClassName(e.currentTarget.selectedItem));* If they trace the same name you can

[flexcoders] Flex 2 SDK: Drag and drop node withing Tree control- how to get reference to a new parent node for the dragged node?

2008-05-20 Thread Andriy Panas
Hi all, From looking inside of Tree.as class, I got the understanding that Tree's dataProvider is updated with a new position of draggedNode inside event handler for dragComplete event called 'dragCompleteHandler'. Thus, I've subscribed to dragComplete event to work with the updated copy

RE: [flexcoders] flex3 sdk and eclipse 3.2

2008-05-20 Thread Clinton D. Judy
This looks pretty cool so far. However, can you remove the BS profanity from one of the last screen shots? ;-) Would help you look more professional... From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of László Hornyák Sent: Tuesday, May 20, 2008 5:35 AM To:

[flexcoders] Re: Is it possible to invoke a AMF call just before browser close?

2008-05-20 Thread meteatamel
I'd try onunload and onbeforeunload events to see they help. If that doesn't help, I'd try putting up an Alert box before making the AMF call to make sure AMF call is made before the browser is closed. -Mete --- In flexcoders@yahoogroups.com, Dan [EMAIL PROTECTED] wrote: Hi, I am trying to

[flexcoders] Printing

2008-05-20 Thread Mike Krotscheck
I just had a client ask me the following question: Once PrintJob.send() is invoked, what actually gets sent to the print driver? Does anyone know the answer? I've always used the PringJob class as a blackbox, though I hypothesize that it's some flavor of EPS file. Michael Krotscheck

[flexcoders] Re: Grr, HTTPService doesn't work when it should

2008-05-20 Thread twcrone70
On the contrary to an earlier response, I believe you need to change checkJobs.lastResult.jobs.job to checkJobs.lastResult.job It's been a while since I interacted with XML based responses but I think the root tag is essentially ignored and you specify the level past that. - Todd --- In

RE: [flexcoders] dataprovider question

2008-05-20 Thread Battershall, Jeff
This is the sort of problem LCDS and BlazeDS are intended to handle - so that connected clients get informed of changes to data. You'll have to study up on their capabilities and how to employ them. Jeff -Original Message- From: flexcoders@yahoogroups.com

[flexcoders] Re: Is it possible to invoke a AMF call just before browser close?

2008-05-20 Thread twcrone70
My guess is this is highly unlikely to work consistently if at all. We simply have our session timeout short enough that the session will not be 'orphaned' very long. In the client app, we put in a 'keep alive' call to 'something' on the server on a timer shorter than the session timeout. If

Re: [flexcoders] Re: Using custom item renderer with List

2008-05-20 Thread Douglas Knudsen
is your renderer complex and using bindings? Try making use of invalidation approaches. eg, in set data() call invalidateProperties() and override commitProperties() where you do the actual work. Ely G has a great paper talking about this approach.

RE: [flexcoders] Re: Grr, HTTPService doesn't work when it should

2008-05-20 Thread Clinton D. Judy
Hey, that was it. Thanks a bunch! :-D From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of twcrone70 Sent: Tuesday, May 20, 2008 9:04 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Grr, HTTPService doesn't work when it should On the contrary to an earlier

RE: [flexcoders] Re: Securely Interfacing Between Flex and Databases

2008-05-20 Thread Battershall, Jeff
SSL is essential. Decompiling a swf isn't going to assist in decrypting SSL. You're thinking that SSL isn't good enough? AMF by itself just compresses the data - it doesn't implement any sort of encryption, AFAIK. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL

[flexcoders] Lucida Grande normal weight font cannot be embedded

2008-05-20 Thread ben.clinkinbeard
Has anyone done this? I have tried two separate versions of the font in TrueType format and both times I get encoding error messages. What makes it even stranger is that the TrueType version of Lucida Grande Bold works flawlessly. Am I missing something here? Thanks, Ben

[flexcoders] Re: Flex2 - using same swf in a browser over 20 times crashes it...

2008-05-20 Thread alex
We had the same problem. Each Flex widget with size around 400K had 10Mb Flash Player memory footprint. So if we loaded many widgets the browser will crash when the Flash Player reached around 300Mb in memory. We have not found a workaround except limiting to 10 widgets per page. --- In

[flexcoders] Handling html formatted tables in Flex

2008-05-20 Thread Craig
An RSS Feed providing quotes for my Flex application is outputting an HTML formatted table. I am able to parse everything out but can not display it with TextArea.htmlText as htmlText does not support Tables. Does anyone know of a way to display Table formatted html code using Flex? There is

Re: [flexcoders] Lucida Grande normal weight font cannot be embedded

2008-05-20 Thread David Pariente
Hi, I'm new at flex, but i recommend u to play with the type of the font, i mean the bold, normal states, cause by default, if not specified, flex use one of the styles, and if it's not the one that expected, it will not work. for example, if u use a normal typo, and don't specify the style of

[flexcoders] I can't get the width of a label, help please...

2008-05-20 Thread Mark
I'm creating labels on my chart and would like to find out the width of those labels so I can show and hide depending on different criteria. But when I trace the width I get a value of 0. Why is that, and what can I do to get the width? Thanks, Mark public function drawQuadNames():void {

Re: [flexcoders] Re: Securely Interfacing Between Flex and Databases

2008-05-20 Thread David Pariente
i guess SSL should help. If it helps thousands of banks around the globe, it should work for u too. Decompressing a SWF will not give any hint at all when using SSL, maybe u could guess what kind of data is sent or receive, but u would never be able to seen actual data. - Mensaje

Re: [flexcoders] Lucida Grande normal weight font cannot be embedded

2008-05-20 Thread Ben Clinkinbeard
Yea, I tried all kinds of combinations, including the expected fontWeight: normal; Ben On Tue, May 20, 2008 at 10:08 AM, David Pariente [EMAIL PROTECTED] wrote: Hi, I'm new at flex, but i recommend u to play with the type of the font, i mean the bold, normal states, cause by default, if

RE: [flexcoders] Handling html formatted tables in Flex

2008-05-20 Thread Battershall, Jeff
Use your parsed data to create a dataprovider for a DataGrid. Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Craig Sent: Tuesday, May 20, 2008 9:51 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Handling html formatted tables in

Re: [flexcoders] more data into alert, or panel acting as an alert

2008-05-20 Thread David Pariente
great, i could use a tittlewindow instead of a panelbuthow to make the blur and disable effect i get with an Alert? - Mensaje original De: Tom Chiverton [EMAIL PROTECTED] Para: flexcoders@yahoogroups.com Enviado: lunes, 19 de mayo, 2008 15:23:32 Asunto: Re: [flexcoders] more

Re: [flexcoders] Re: Securely Interfacing Between Flex and Databases

2008-05-20 Thread Douglas Knudsen
what the heck did you use before Flex that was so uber secure? This is the world wide web here we are discussing, eh? DK On Mon, May 19, 2008 at 8:43 PM, kenny14390 [EMAIL PROTECTED] wrote: Well the concern is that no matter how you choose to encrypt/decrypt information, a Flash movie can

RE: [flexcoders] more data into alert, or panel acting as an alert

2008-05-20 Thread Alex Harui
all modal popups get that for free From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of David Pariente Sent: Tuesday, May 20, 2008 7:33 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] more data into alert, or panel acting as an

RE: [flexcoders] Flex 2 SDK: Drag and drop node withing Tree control- how to get reference to a new parent node for the dragged node?

2008-05-20 Thread Alex Harui
I guess that's a bug. The Tree doesn't store data in DragSource, just a function to get the data and on the drop you're changing the set of things it would normally pick up. You'll probably have to cache selectedItems From: flexcoders@yahoogroups.com

RE: [flexcoders] Custom ItemRenderers in List keyboard tabbing

2008-05-20 Thread Alex Harui
Peter Ent has a post on how to do this IIRC. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jscrummack Sent: Tuesday, May 20, 2008 2:40 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Custom ItemRenderers in List keyboard tabbing

RE: [flexcoders] Datagrid cell editing question

2008-05-20 Thread Alex Harui
You'd have to set editedItemPosition From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of pratima_jrao Sent: Monday, May 19, 2008 5:00 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Datagrid cell editing question Hi, I have an

RE: [flexcoders] Re: Using custom item renderer with List

2008-05-20 Thread Alex Harui
If anything you do invalidates the List, it will re-render everything. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of the_braniak Sent: Tuesday, May 20, 2008 12:27 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Using custom

RE: [flexcoders] Manually dispatching MouseEvents on DataGrid rows

2008-05-20 Thread Alex Harui
DataGrid doesn't use CLICK, it uses MOUSE_DOWN/MOUSE_UP From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bsensale Sent: Monday, May 19, 2008 4:56 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Manually dispatching MouseEvents on

RE: [flexcoders] I can't get the width of a label, help please...

2008-05-20 Thread Alex Harui
Try getExplicitOrMeasuredWidth(). You may have to call validateClient first From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mark Sent: Tuesday, May 20, 2008 7:16 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] I can't get the

Re: [flexcoders] more data into alert, or panel acting as an alert

2008-05-20 Thread Jeri Lamy
All that we do is add another component to the Canvas like this: mx:HBox id=searchWorkingBox width=100% height=100% x=0 y=0 backgroundColor=#22 backgroundAlpha=0.7 verticalAlign=middle horizontalAlign=center local:Spinner tickColor=#FF / mx:Label text=Loading... color=#FF

[flexcoders] Re: Using custom item renderer with List

2008-05-20 Thread the_braniak
Hi Douglas, Thanks for the reply, I'll have a look at this ASAP. To answer your question, about the complexity of the renderer it doesn 't matter, I tried it with a simple renderer and tests data and the behaviour is the same. The overidden data setter executes twice. I don't know if there is a

[flexcoders] Component to shortcut keys

2008-05-20 Thread markuz_sa
Hello staff, a development component to shortcut keys, more details on http://www.maxup.com.br/blog

[flexcoders] Re: drag from datagrid to textinput

2008-05-20 Thread Amy
--- In flexcoders@yahoogroups.com, David C. Moody [EMAIL PROTECTED] wrote: Hi, Is is possible to drag from a datagrid to a textinput? I just want one column of the data grid dumped inot the textinput? I'm not having much luck finding examples anywhere, the Adobe examples are mostly

[flexcoders] Listening for global keyboard events

2008-05-20 Thread Giles Roadnight
I have the following code in one of my components: private function onInit(e:Event):void { stage.addEventListener(KeyboardEvent.KEY_DOWN, reportKeyDown); } private function reportKeyDown(event:KeyboardEvent):void { trace(Key Pressed: + String.fromCharCode(event.charCode) +

[flexcoders] Text input change, datachange, and other events

2008-05-20 Thread timgerr
Hello all, I have a text input that triggers an event when the data is changes. The text input has 4 event triggers: change dataChange enter textInput I am coming from a JavaScript Ajax background. I would like to trigger an event when the user de focuses from the text input, that will mean the

Re: [flexcoders] Re: Securely Interfacing Between Flex and Databases

2008-05-20 Thread Tom Chiverton
On Tuesday 20 May 2008, David Pariente wrote: when using SSL, maybe u could guess what kind of data is sent or receive, but u would never be able to seen actual data. This is a common mistake. It is perfectly possible to configure an SSL* proxy, like WebScarab, and use it to inspect/modify

[flexcoders] Problem editing custom object in DataGrid (itemEditEnd method, cannot get data)

2008-05-20 Thread bjorn -
Hi, I've created a MultiLanguageString object which contain an array of language codes and text value (e.g. [en] = Hello, [de] = Guten tag etc.) When editing in a DataGrid you always see the current selected language since MultiLanguageString's toString() method returns the internal arr[

Re: [flexcoders] Text input change, datachange, and other events

2008-05-20 Thread Tom Chiverton
On Tuesday 20 May 2008, timgerr wrote: Is there a focus / de focuses option? Like 'onBlur' in JavaScript ? focusIn/focusOut ? http://livedocs.adobe.com/flex/3/langref/mx/controls/TextInput.html -- Tom Chiverton This email is sent for and

[flexcoders] Re: Debugging Flex3-AMFPHP

2008-05-20 Thread David C. Moody
I agree that WebORB is more advanced, but AMFPHP is much faster. Check out: http://blog.idsklijnsma.nl/weborb-closes-the-gap/ (Based on v3 of WebOrb) http://blog.idsklijnsma.nl/amfphp-vs-weborbphp/ (Based on older WebOrb) While I do agree that the Flex Messaging is very nice from WebOrb. I

[flexcoders] Re: Is the context-root value burnt into SWF?

2008-05-20 Thread Robert Csiki
Hi Seth, Sorry to bother you again... how to get the channel sets before connecting? This is what I'm trying to do: _remoteObject = new RemoteObject(); _remoteObject.destination = remoteObjectDestination; var cs:ChannelSet = ServerConfig.getChannelSet(remoteObjectDestination);

[flexcoders] Help me understand the datagrid

2008-05-20 Thread bredwards358
Now, I've been coding in flex for about six or seven weeks now and things seem to be going swimmingly so far, until I now have to climb the brick wall that is trying use more of the functions of the data Grid or actually the advanced data Grid than I was ever used to. Given the sheer number of

[flexcoders] flex2 change sdk?

2008-05-20 Thread Dennis Falling
How do you select which SDK to use in flex builder 2? In 3 you can specify a default for all projects and set one for each project.

RE: [flexcoders] dataTipRenderer available for DataGrid?

2008-05-20 Thread Alex Harui
There's a ToolTipEvent that you should be able to pick up and return an instance 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:

RE: [flexcoders] drag from datagrid to textinput

2008-05-20 Thread Alex Harui
You could add a custom DragSource format containing text, then add DragEvent handlers to the TextInput From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of David C. Moody Sent: Monday, May 19, 2008 10:57 AM To: flexcoders@yahoogroups.com

[flexcoders] Re: Help me understand the datagrid(Item Renderers and column manupilation)

2008-05-20 Thread bredwards358
Sorry, small bit I forgot, I also have columns which are invisible by default and need to make them visible during runtime, seems like there's no way to directly access the properties of individual columns though I think I'm probably wrong since I'm thinking there's got to be a way to access the

Re: [flexcoders] Re: Securely Interfacing Between Flex and Databases

2008-05-20 Thread David Pariente
So u mean i can easily see the data of my bank transfers just using an SSL proxy, like WebScarab :O - Mensaje original De: Tom Chiverton [EMAIL PROTECTED] Para: flexcoders@yahoogroups.com Enviado: martes, 20 de mayo, 2008 17:40:59 Asunto: Re: [flexcoders] Re: Securely

Re: [flexcoders] more data into alert, or panel acting as an alert

2008-05-20 Thread David Pariente
Oh, so solutions looks a lot like i used to do in Flash... thnx, i will check what can i do :) - Mensaje original De: Jeri Lamy [EMAIL PROTECTED] Para: flexcoders@yahoogroups.com Enviado: martes, 20 de mayo, 2008 16:42:07 Asunto: Re: [flexcoders] more data into alert, or panel acting as

Re: [flexcoders] Lucida Grande normal weight font cannot be embedded

2008-05-20 Thread David Pariente
If u find a solution please tell us, i got that problem with a pair of specific fonts too :( - Mensaje original De: Ben Clinkinbeard [EMAIL PROTECTED] Para: flexcoders@yahoogroups.com Enviado: martes, 20 de mayo, 2008 16:28:46 Asunto: Re: [flexcoders] Lucida Grande normal weight font

Re: [flexcoders] more data into alert, or panel acting as an alert

2008-05-20 Thread David Pariente
oh sorry, i just didn't knew about them...thnx a lot - Mensaje original De: Alex Harui [EMAIL PROTECTED] Para: flexcoders@yahoogroups.com Enviado: martes, 20 de mayo, 2008 16:40:03 Asunto: RE: [flexcoders] more data into alert, or panel acting as an alert all modal popups get that for

[flexcoders] Can I move DateChooser that pops up from DateField?

2008-05-20 Thread thomasakirk
I want to keep popup calendar confined to small canvas of hotel booking widget but can't figure out a reference to the DateChooser that is created from my DateField. Is this possible? Just need to set the x and y really. Setting it for the DateField just moves the input box...

[flexcoders] Re: flex2 change sdk?

2008-05-20 Thread wesley.petrowski
As far as I know, that was a new feature introduced in Flex 3. --- In flexcoders@yahoogroups.com, Dennis Falling [EMAIL PROTECTED] wrote: How do you select which SDK to use in flex builder 2? In 3 you can specify a default for all projects and set one for each project.

[flexcoders] Re: Flex 2: having trouble with DataService component

2008-05-20 Thread annouss79
hi Tom i have the same error , can u tell me plz how did u set the default value of the id to -1 ? in the hibernate configuration file or in the newRoom function ? thx

[flexcoders] Re: Tree - Drag Drop - prevent drop into folder

2008-05-20 Thread iilsley
Thanks for the info .. I may log a feature request for the Tree control to expose more information about the dropTarget . --- In flexcoders@yahoogroups.com, Andriy Panas [EMAIL PROTECTED] wrote: Hi there, I consider the task of preventing drag and drop operations on certain tree nodes

[flexcoders] Summary Row in ADG without grouping

2008-05-20 Thread boy_trike
I have seen a LOT of examples of grouping with summary data, but I just want a plain, boring, grid with a row at the bottom that summarize (and counts) some of the columns. Is this easy? Is there an example anywhere? Thanks Bruce

RE: [flexcoders] Can I move DateChooser that pops up from DateField?

2008-05-20 Thread Alex Harui
should be dateChooser.dropdown From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of thomasakirk Sent: Tuesday, May 20, 2008 9:14 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Can I move DateChooser that pops up from DateField? I

[flexcoders] Re: Can I move DateChooser that pops up from DateField?

2008-05-20 Thread tjsone2002
See the DateField.dropdown property, which returns a reference to the DateChooser control. Tim --- In flexcoders@yahoogroups.com, thomasakirk [EMAIL PROTECTED] wrote: I want to keep popup calendar confined to small canvas of hotel booking widget but can't figure out a reference to the

[flexcoders] Image

2008-05-20 Thread Laith Juwaidah
Hi, I'm having a problem, I want to put an image on the application (which is a container for some windows and components), and I want it to just show the picture without it blocking the way for the user to interact with the other components and windows, in other words, I want it to just display

RE: [flexcoders] Help me understand the datagrid

2008-05-20 Thread Alex Harui
relevant code snippets would help. Generally, .as files in a mx:script tag are part of the outerDocument if they are public methods. I assume the main app is called Product_Maintenance? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

[flexcoders] Re: drag from datagrid to textinput

2008-05-20 Thread David C. Moody
I was able to figure it out myself. Use the following code: private function dragDropAccount(evt:DragEvent):void { var itemsArray:Array = evt.dragSource.dataForFormat(items) as Array; TextInput.text = itemsArray[0].account;

RE: [flexcoders] Datagrid cell editing question

2008-05-20 Thread Pratima Rao
Thanks - that worked!! From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alex Harui Sent: Tuesday, May 20, 2008 7:52 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Datagrid cell editing question You'd have to set

RE: [flexcoders] Problem editing custom object in DataGrid (itemEditEnd method, cannot get data)

2008-05-20 Thread Alex Harui
itemEditorInstance.text? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bjorn - Sent: Tuesday, May 20, 2008 8:41 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Problem editing custom object in DataGrid (itemEditEnd method, cannot

RE: [flexcoders] Listening for global keyboard events

2008-05-20 Thread Alex Harui
tab around to see where focus is. If it somehow gets out to the browser, then you're stuck From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Giles Roadnight Sent: Tuesday, May 20, 2008 8:25 AM To: flexcoders@yahoogroups.com Subject:

RE: [flexcoders] Measure and UpdateDisplayList called continuously

2008-05-20 Thread Alex Harui
because your layed out width is greater than your measuredWidth. Same for height. Let's say the label is 100 wide and you have a two pixel border. measuredWidth will be 104. If you're given a width other than 104 in updateDisplayList, you'll move the label a bit and now measuredWidth will

RE: [flexcoders] Re: Grr, HTTPService doesn't work when it should

2008-05-20 Thread Tracy Spratt
Also, I advise against using lastResult. This property is intended for use in binding expressions, and you cannot depend on its value when you access it in AS code (though it usually works). Instead, use event.result: ... var xmlResult:XML = XML(event.result); trace(xmlResult.toXMLString());

[flexcoders] Re: Image

2008-05-20 Thread Tim Hoff
Hi Laith, Take a look at the backgroundImage property. You can also add an Image control to your application and set mouseEnabled=false. -TH --- In flexcoders@yahoogroups.com, Laith Juwaidah [EMAIL PROTECTED] wrote: Hi, I'm having a problem, I want to put an image on the application

[flexcoders] Asdocs for mxml file which uses script tag source property to declare .as file

2008-05-20 Thread ilikeflex
Hi Team I have mxml files in which i am using the as files in the source property of the script tag. Something like this File Name: Work.mxml mx:Box verticalGap=0 verticalScrollPolicy=off mx:Script source=WorkspaceNuggetBase.as/mx:Script /mx:box Now i want to generate the asdocs for

Re: [flexcoders] Lucida Grande normal weight font cannot be embedded

2008-05-20 Thread Jon Bradley
Have either of you tried to compile with one of the other font managers to see if that works? Flex 3 uses the AFEFontManager by default I believe. You may have better luck with the BatikFontManager but you may run into glyph encoding issues (d/e/p and rounded edges have less than adequate

[flexcoders] Easy Chart Question

2008-05-20 Thread Nate Pearson
I have a line chart with multiple line series. I want that little circle marker looking thingy to show up all the time (not only when I hover). I know it's some simple property setting but I can't seem to find it! Thanks! Nate

RE: [flexcoders] Help me understand the datagrid

2008-05-20 Thread Tracy Spratt
...where the primary key is equal to the selected index of the datagrid... Only if your primary key is an integer, and you always sort by the primary key. Actually, that is a risky way to do it. Why not use the primary key property value itself? Tracy

[flexcoders] Re: Help me understand the datagrid

2008-05-20 Thread Tim Hoff
Hi, Just give the DataGridColumn(s) an id: mx:DataGridColumn id=price dataField=Price visible=false/ Then is AS at runtime, set the visible property if needed: price.visible = true; -TH --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: relevant code snippets would

[flexcoders] Re: Lucida Grande normal weight font cannot be embedded

2008-05-20 Thread Kevin
I've had lots of issues embedding fonts directly within Flex. I'd recommend embedding your fonts into a flash swf and then embedding that. For some reason that seems to help a ton (plus you can pick and choose your character sets, reducing your overall size). Flex Examples always provides

[flexcoders] image factory threaded application

2008-05-20 Thread netdeep
I've reached an impass with my current development of a flex app to publish image snapshots of charts. I can get the program to run fine when I just have one chart, but I'm not sure how to produce multiple images. Here's how it's set up at the moment: When the server launches, a java app

[flexcoders] Datavisualization License

2008-05-20 Thread VELO
Hi, Is there any way to add flex datavisualization license at runtime? I have several modules and don't wanna add licenses one by one. If its possible I prefer to do that at runtime. Is possible? VELO

RE: [flexcoders] image factory threaded application

2008-05-20 Thread Tracy Spratt
Have the Flex client poll the server for updates, or use LCDS or BlazeDS which provide push technology. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of netdeep Sent: Tuesday, May 20, 2008 3:04 PM To: flexcoders@yahoogroups.com

[flexcoders] Re: Help me understand the datagrid

2008-05-20 Thread Tim Hoff
Completely agree with Tracy; bad idea to assume that your primary key and the dataProvider or list control indexes will be the same. If you are using in-line itemRenderers for your buttons, and you don't want to write any script in the itemRenderer tag, you can use the DataGrid's itemClickEvent

[flexcoders] Re: Lucida Grande normal weight font cannot be embedded

2008-05-20 Thread ben.clinkinbeard
Thanks Jon. While good to know about that sounds like a can of worms I want no part of. Thanks, Ben --- In flexcoders@yahoogroups.com, Jon Bradley [EMAIL PROTECTED] wrote: Have either of you tried to compile with one of the other font managers to see if that works? Flex 3 uses the

[flexcoders] a:hover in text areas

2008-05-20 Thread Marissa Levy
Has anyone figured out a good way to do a:hover css in text areas? There's not much out in the world that seems that useful/up-to-date

[flexcoders] Re: Handling html formatted tables in Flex

2008-05-20 Thread Craig
My parsed data includes table tr and td commands which can't be read from datagrid, (I think)... the data is embedded in these tags, so getting it out would be too difficult. I found AIR mx:HTML window but have to evaluate distributing app as AIR. Do you have comment / other suggestion? CS

[flexcoders] Form /Text Input Validation

2008-05-20 Thread timgerr
Hello all, I want wondering hoe people did their form (data) validation. I have a form with over 30 text input boxes and I was wondering if there was a better way than create MX validation components for ever text input. Any ideas??? Thanks, timgerr

RE: [flexcoders] Re: Handling html formatted tables in Flex

2008-05-20 Thread Battershall, Jeff
Too difficult Having a feed that has UI embedded in it, is 'less than optimum'. Ideally the data you'd be receiving would be in a UI aqgnostic format. That said, I think you'll have to get your string parsing skills up to snuff. You have, within Flash/Flex, a RegEx implementation that should

[flexcoders] DateField disabledRanges

2008-05-20 Thread David C. Moody
I'm trying to set a DateField's disabledRanges to yesterday and before. Everything I have tried will not do this, I can disabled today and before but I need to include today. Does anyone have any ideas? here's all I've tried: Assign yesterday's date to a yesterday variable.

Re: [flexcoders] Re: Handling html formatted tables in Flex

2008-05-20 Thread Claus Wahlers
Battershall, Jeff wrote: Too difficult Having a feed that has UI embedded in it, is 'less than optimum'. Ideally the data you'd be receiving would be in a UI aqgnostic format. An HTML table is UI agnostic. How it's presented to the user completely depends on the styling that is applied

Re: [flexcoders] Re: Image

2008-05-20 Thread Laith Juwaidah
The first method won't work because there'll be a lot of pictures, and they'll be moved and resized quite often. I tried the second one already, it shows the menu of the container but if there's a component under it and I hover the mouse on it the component won't change its style like it should.

[flexcoders] Re: Easy Chart Question

2008-05-20 Thread ryanphelan
I think you're looking for the itemRenderer style on your LineSeries. Set to CircleItemRenderer to get circles. Ryan --- In flexcoders@yahoogroups.com, Nate Pearson [EMAIL PROTECTED] wrote: I have a line chart with multiple line series. I want that little circle marker looking thingy to

  1   2   >