RE: [flexcoders] Re: file download doesnt work?
Close, now my servlet gets called, but the flash player never prompts me where to save my file, so in essence, nothing is downloaded. Maybe my player is foubared! Dimitrios Gianninas RIA Developer Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of dubreeze2001 Sent: Tuesday, December 12, 2006 10:53 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: file download doesnt work? Dimitrios, This should work for you: import flash.net.*; var url:String; url=http://localhost:7001/billing/servlet/FileSvlt?operation= http://localhost:7001/billing/servlet/FileSvlt?operation= ; url +=DOWNLOADfileId=2; var urlRequest:URLRequest = new URLRequest(url); sendToURL(urlRequest); Tony D --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Dimitrios Gianninas [EMAIL PROTECTED] wrote: Yup tried that too :) I've tried GET, POST and using the servername, localhost and my direct IP, no go. If I call my servlet directly in a browser, the download works like a charm: http://localhost:7001/billing/servlet/FileSvlt?operation=DOWNLOADfileID=5 http://localhost:7001/billing/servlet/FileSvlt?operation=DOWNLOADfileID=5 I'm sure its something very very small.., any kind of debug I can turn on? Dimitrios Gianninas RIA Developer Optimal Payments Inc. From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of Brian Holmes Sent: Tuesday, December 12, 2006 4:34 PM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: RE: [flexcoders] file download doesnt work? Not Sure if this will work Dimitrios, But I seem to remember having similar issues and reading somewhere that the constructor of the Url Request expected a url as a string. var req:URLRequest = new URLRequest(http://localhost http://localhost/ : 7001/billing/ servlet/FileSvlt ) ; req.method = URLRequestMethod. GET; req.data = new URLVariables(operation=DOWNLOAD ); try { var fr:FileReference = new FileReference( ); fr.download( req ); } catch( e:Error ) { trace( Download error: + e.message ); } I double checked some code of mine and that's exactly how i got it working. Anyways, like I said, not sure if it will help, You probably have already tried it. Brian.. From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of Dimitrios Gianninas Sent: Tuesday, December 12, 2006 2:22 PM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: RE: [flexcoders] file download doesnt work? Yup tried that too... I'm perplexed! Dimitrios Gianninas RIA Developer Optimal Payments Inc. From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of Valy Sivec Sent: Tuesday, December 12, 2006 10:26 AM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: Re: [flexcoders] file download doesnt work? How about changing reg.method=POST instead GET?. Valy - Original Message From: Dimitrios Gianninas [EMAIL PROTECTED] To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Sent: Tuesday, December 12, 2006 9:28:40 AM Subject: RE: [flexcoders] file download doesnt work? Ok I switch the code around a bit and it looks more like this now: var req:URLRequest = new URLRequest() ; req.url = http://localhost: 7001/billing/ servlet/FileSvlt ; req.method = URLRequestMethod. GET; req.data = new URLVariables(operation=DOWNLOAD ); try { var fr:FileReference = new FileReference( ); fr.download( req ); } catch( e:Error ) { trace( Download error: + e.message ); } But it still doesn't work, my Java servlet doesn't get called at all. I have log messages in the service(), doGet() and doPost() methods and I see nothing. My upload works like a charm. Dimitrios Gianninas RIA Developer Optimal Payments Inc. From: [EMAIL PROTECTED] ups.com [mailto:flexcoders@ yahoogroups. com] On Behalf Of Dimitrios Gianninas Sent: Monday, December 11, 2006 3:15 PM To: [EMAIL PROTECTED] ups.com Subject: [flexcoders] file download doesnt work? I have the code below to download a file from my J2EE server but it doesn't work. the dialog box to select the folder and file come up, click OK and nothing happens. I see no log on the server side, meaning it is not calling my servlet. Upload works. Any ideas? var params:URLVariables = new URLVariables( ); var req:URLRequest = new URLRequest(http://localhost: 7001/billing/ servlet/FileSvlt ); req.method =
Re: [flexcoders] Unable to bind Warning
Can you send the whole code, with some contents for the ArrayCollectioin? -sam On 12/8/06, Samuel Reuben [EMAIL PROTECTED] wrote: from the looks of the code it seems that you'll have to change the name of your ArrayCollection. Try myDataProvider hope it works, -sam On 12/8/06, Paul Whitelock [EMAIL PROTECTED] wrote: I hoping someone might know why I am getting an unable to bind warning with the following scenario. Below is a portion of my code that uses a DataGrid bound to an ArrayCollection data provider (text is one of the fields in the collection). -- [Bindable] public var dataProvider:ArrayCollection; mx:DataGrid id=dg dataProvider={dataProvider} mx:columns mx:DataGridColumn headerText=Items itemRenderer=renderer.RichText dataField=text editable=false / /mx:columns /mx:DataGrid -- The following is a very simple component (renderer.RichText) that simply converts the text data to rich text. -- ?xml version=1.0 encoding=utf-8? mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml; mx:Text id=richText htmlText={data.text} width=100% height=100% selectable=false / /mx:Canvas -- When the application is run, I get the following error: warning: unable to bind to property 'text' on class 'Object' (class is not an IEventDispatcher) Note that the data from data.text is correctly displayed in the DataGrid. Any idea why I am getting the unable to bind warning and how I might get rid of it? Thanks! Paul --- Paul Whitelock Denver, Colorado
Re: [flexcoders] Unable to bind Warning
sorry saw your post about it... -sam On 12/13/06, Samuel Reuben [EMAIL PROTECTED] wrote: Can you send the whole code, with some contents for the ArrayCollectioin? -sam On 12/8/06, Samuel Reuben [EMAIL PROTECTED] wrote: from the looks of the code it seems that you'll have to change the name of your ArrayCollection. Try myDataProvider hope it works, -sam On 12/8/06, Paul Whitelock [EMAIL PROTECTED] wrote: I hoping someone might know why I am getting an unable to bind warning with the following scenario. Below is a portion of my code that uses a DataGrid bound to an ArrayCollection data provider (text is one of the fields in the collection). -- [Bindable] public var dataProvider:ArrayCollection; mx:DataGrid id=dg dataProvider={dataProvider} mx:columns mx:DataGridColumn headerText=Items itemRenderer=renderer.RichText dataField=text editable=false / /mx:columns /mx:DataGrid -- The following is a very simple component (renderer.RichText) that simply converts the text data to rich text. -- ?xml version=1.0 encoding=utf-8? mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml; mx:Text id=richText htmlText={data.text} width=100% height=100% selectable=false / /mx:Canvas -- When the application is run, I get the following error: warning: unable to bind to property 'text' on class 'Object' (class is not an IEventDispatcher) Note that the data from data.text is correctly displayed in the DataGrid. Any idea why I am getting the unable to bind warning and how I might get rid of it? Thanks! Paul --- Paul Whitelock Denver, Colorado
[flexcoders] Re: changewatcher and XML
bump how does the framework then detect changes to XML objects? is this possible? ... On 12/12/06, Johannes Nel [EMAIL PROTECTED] wrote: hi when i go changewatcher.canWatch(this,someXMLObject); the result is true. however when i do add a watch it never fires (code sample below) and when i use the getEvents method the object returned is empty. whats up with this seeming contradiction, and how does binding then work on XML objects!! private function onCC():void { __dataCopy = new XML(node1/); ChangeWatcher.watch(this, __dataCopy, watcherListener); var p:XML = new XML(node2/); //at this stage the watcher should fire IMO... __dataCopy.appendChild(p); // var o:Object = ChangeWatcher.getEvents(this,__dataCopy); } private function watcherListener(evt:Event):void { trace(hhh:); } thanks johan -- j:pn http://www.lennel.org
[flexcoders] Re: data being dragged
This is comun Drag and Drop question very important. How can i know the data being dragged?. How can i add (after the dragdrop) the data being dragged to an array collection? How are you starting the dragging? It's in the dragSource property of the DragEvent you get. DragManager docs provide all the info you need (or link to others). The following query in Google data being dragged flex 2 gives amazing results :)
[flexcoders] Is there any service that format ActionScript code as HTML?
Hi All! I have created blog and plan to post code samples sometimes. Is there any service that format ActionScript code as HTML? Sergey.
Re: [flexcoders] Re: changewatcher and XML
Hi Johannes, i wouldn't expect this to work. This ChangeWatcher only fires, if you assign something to __dataCopy, eg. -- snip -- ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical creationComplete=onCreationComplete() mx:Script ![CDATA[ import mx.binding.utils.ChangeWatcher; [Bindable] public var __dataCopy : XML; private function onCreationComplete() : void { trace(ApplicationEntry::onCreationComplete + url ); onCC(); } private function onCC():void { ChangeWatcher.watch(this, __dataCopy, watcherListener); __dataCopy = new XML(node1/); } private function watcherListener(evt:Event):void { trace(hhh:); } ]] /mx:Script /mx:Application -- snip -- This works fine. Since XML doesn't seem to have other bindable properties, any changes below __dataCopy can't be watched. Cheers, Ralf. On 12/13/06, Johannes Nel [EMAIL PROTECTED] wrote: bump how does the framework then detect changes to XML objects? is this possible? ... On 12/12/06, Johannes Nel [EMAIL PROTECTED] wrote: hi when i go changewatcher.canWatch(this,someXMLObject); the result is true. however when i do add a watch it never fires (code sample below) and when i use the getEvents method the object returned is empty. whats up with this seeming contradiction, and how does binding then work on XML objects!! private function onCC():void { __dataCopy = new XML(node1/); ChangeWatcher.watch(this, __dataCopy, watcherListener); var p:XML = new XML(node2/); //at this stage the watcher should fire IMO... __dataCopy.appendChild(p); // var o:Object = ChangeWatcher.getEvents(this,__dataCopy); } private function watcherListener(evt:Event):void { trace(hhh:); } thanks johan -- j:pn http://www.lennel.org -- Ralf Bokelberg [EMAIL PROTECTED] Flex Flash Consultant based in Cologne/Germany
Re: [flexcoders] Unable to bind Warning
Paul, have you marked the properties of the items in your collection bindable? Eg. [Bindable] public var text : String; ... Cheers, Ralf. On 12/8/06, Paul Whitelock [EMAIL PROTECTED] wrote: I hoping someone might know why I am getting an unable to bind warning with the following scenario. Below is a portion of my code that uses a DataGrid bound to an ArrayCollection data provider (text is one of the fields in the collection). -- [Bindable] public var dataProvider:ArrayCollection; mx:DataGrid id=dg dataProvider={dataProvider} mx:columns mx:DataGridColumn headerText=Items itemRenderer=renderer.RichText dataField=text editable=false / /mx:columns /mx:DataGrid -- The following is a very simple component (renderer.RichText) that simply converts the text data to rich text. -- ?xml version=1.0 encoding=utf-8? mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml; mx:Text id=richText htmlText={data.text} width=100% height=100% selectable=false / /mx:Canvas -- When the application is run, I get the following error: warning: unable to bind to property 'text' on class 'Object' (class is not an IEventDispatcher) Note that the data from data.text is correctly displayed in the DataGrid. Any idea why I am getting the unable to bind warning and how I might get rid of it? Thanks! Paul --- Paul Whitelock Denver, Colorado -- Ralf Bokelberg [EMAIL PROTECTED] Flex Flash Consultant based in Cologne/Germany
[flexcoders] does charts have event for data change?
as simple as that: does charts have an event that fires whenever its data changes? it seems that this: myGrid.addEventListener(CollectionEvent.COLLECTION_CHANGE, test); will work for DataGrid but not for charts any idea how to do this with charts?
Re: [flexcoders] Re: changewatcher and XML
hi ralf :) how does the framework then detect changes to xml for databinding purposes? but thanks btw. i was trying to be lazy just adding a watcher in one place vs 20 odd places :( johan On 12/13/06, Ralf Bokelberg [EMAIL PROTECTED] wrote: Hi Johannes, i wouldn't expect this to work. This ChangeWatcher only fires, if you assign something to __dataCopy, eg. -- snip -- ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical creationComplete=onCreationComplete() mx:Script ![CDATA[ import mx.binding.utils.ChangeWatcher; [Bindable] public var __dataCopy : XML; private function onCreationComplete() : void { trace(ApplicationEntry::onCreationComplete + url ); onCC(); } private function onCC():void { ChangeWatcher.watch(this, __dataCopy, watcherListener); __dataCopy = new XML(node1/); } private function watcherListener(evt:Event):void { trace(hhh:); } ]] /mx:Script /mx:Application -- snip -- This works fine. Since XML doesn't seem to have other bindable properties, any changes below __dataCopy can't be watched. Cheers, Ralf. On 12/13/06, Johannes Nel [EMAIL PROTECTED] wrote: bump how does the framework then detect changes to XML objects? is this possible? ... On 12/12/06, Johannes Nel [EMAIL PROTECTED] wrote: hi when i go changewatcher.canWatch(this,someXMLObject); the result is true. however when i do add a watch it never fires (code sample below) and when i use the getEvents method the object returned is empty. whats up with this seeming contradiction, and how does binding then work on XML objects!! private function onCC():void { __dataCopy = new XML(node1/); ChangeWatcher.watch(this, __dataCopy, watcherListener); var p:XML = new XML(node2/); //at this stage the watcher should fire IMO... __dataCopy.appendChild(p); // var o:Object = ChangeWatcher.getEvents(this,__dataCopy); } private function watcherListener(evt:Event):void { trace(hhh:); } thanks johan -- j:pn http://www.lennel.org -- Ralf Bokelberg [EMAIL PROTECTED] Flex Flash Consultant based in Cologne/Germany -- j:pn http://www.lennel.org
Re: [flexcoders] Re: changewatcher and XML
Good question. Maybe you can see how it works, if you compile with -keep to keep the generated code? Cheers, Ralf On 12/13/06, Johannes Nel [EMAIL PROTECTED] wrote: hi ralf :) how does the framework then detect changes to xml for databinding purposes? but thanks btw. i was trying to be lazy just adding a watcher in one place vs 20 odd places :( johan On 12/13/06, Ralf Bokelberg [EMAIL PROTECTED] wrote: Hi Johannes, i wouldn't expect this to work. This ChangeWatcher only fires, if you assign something to __dataCopy, eg. -- snip -- ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx= http://www.adobe.com/2006/mxml; layout=vertical creationComplete=onCreationComplete() mx:Script ![CDATA[ import mx.binding.utils.ChangeWatcher; [Bindable] public var __dataCopy : XML; private function onCreationComplete() : void { trace(ApplicationEntry::onCreationComplete + url ); onCC(); } private function onCC():void { ChangeWatcher.watch(this, __dataCopy, watcherListener); __dataCopy = new XML(node1/); } private function watcherListener(evt:Event):void { trace(hhh:); } ]] /mx:Script /mx:Application -- snip -- This works fine. Since XML doesn't seem to have other bindable properties, any changes below __dataCopy can't be watched. Cheers, Ralf. On 12/13/06, Johannes Nel [EMAIL PROTECTED] wrote: bump how does the framework then detect changes to XML objects? is this possible? ... On 12/12/06, Johannes Nel [EMAIL PROTECTED] wrote: hi when i go changewatcher.canWatch(this,someXMLObject); the result is true. however when i do add a watch it never fires (code sample below) and when i use the getEvents method the object returned is empty. whats up with this seeming contradiction, and how does binding then work on XML objects!! private function onCC():void { __dataCopy = new XML(node1/); ChangeWatcher.watch(this, __dataCopy, watcherListener); var p:XML = new XML(node2/); //at this stage the watcher should fire IMO... __dataCopy.appendChild(p); // var o:Object = ChangeWatcher.getEvents(this,__dataCopy); } private function watcherListener(evt:Event):void { trace(hhh:); } thanks johan -- j:pn http://www.lennel.org -- Ralf Bokelberg [EMAIL PROTECTED] Flex Flash Consultant based in Cologne/Germany -- j:pn http://www.lennel.org -- Ralf Bokelberg [EMAIL PROTECTED] Flex Flash Consultant based in Cologne/Germany
Re: [flexcoders] How to create a nested non-visual component
Hi Harry, This is so you can instantiate and populate your class in MXML? I don't think you have to do anything special. Just define public properties or accessor methods on your class. You can then instantiate your class in MXML, setting the value of properties with child elements. For instance, if your class looks like this: public class MyClass { public var name:String; public var children:Array; } You can then say: MyClass nameA string/name children mx:StringSome other objects here/mx:String? mx:StringOr whatever else you want to put here/mx:String? /children /MyClass Does that answer your question? Cheers, Lach On 09/12/2006, at 10:33 AM, Du, Xiaochen ((Harry)) wrote: Hello all, I want to create a non-visual component that can have another non- visual component as child. For example: MyComponentA MyComponentB/ /MyComponentA How to do that? I know I should implement the AS class of MyComponentA from IMXMLObject like the following. But I don't know how to make it enable to accept another non-visual component as child. public class MyComponentA implements IMXMLObject { public function initialized(document:Object, id:String):void { trace(id); trace(document); } } You help is highly appreciated. Regards, Harry
[flexcoders] RTL workaround
As Flash 9 and hence Flex2 does not support RTL inputs. I have heard there is a workaround for this. Can any body on the board point me to an example of how this can be achieved. Thanks in advance.
[flexcoders] Re: Firefox - TextInput Bug
I was using firefox 2. Not sure if it happens on the earlier versions. --- In flexcoders@yahoogroups.com, camlinaeizerous [EMAIL PROTECTED] wrote: I never noticed that before but yes it is happening and it is definitely strange. --- In flexcoders@yahoogroups.com, Jerome Clarke a.k.a sinatosk sinatosk@ wrote: Ye I get the same problem too. I'm using firefox 2.0 what you using? http://examples.adobe.com/flex2/consulting/styleexplorer/Flex2StyleExplorer.html then just select form elements and go from there to test it :p On 12/12/06, polonycjunk polonycjunk@ wrote: I tried submitting this message around 9Am but still hasn't gone through. I'm posting this again. The Bug: Accessing a compiled .swf file containing a TextInput Box through Mozilla FireFox. Click on the address bar, click on the text input box, click on the address bar again, and then start typing. Instead of typing into the address bar, you are actually typing into the text input box. This doesn't happen when I access the same .swf file through Internet Explorer. I haven't submitted the bug to Adobe yet, I just wanted to run it by you guys first to see if it's just me.
Re: [flexcoders] ASDoc Generation inside Flexbuilder?
Can anyone shed a light on my problem ? The first time I ran this, it worked, I even tried to reinstall the Flex Builder Plugin. Just to make this clear, I'm working with the plugin version on top of Eclipse. Thanks ! I ran into this error when trying the example on a very simple mxml application: Buildfile: C:\Documents and Settings\user\workspace\XML Tricks\docs\build.xml clean: [delete] Deleting directory C:\Documents and Settings\user\workspace\XML Tricks\docs\output\AppDocs [mkdir] Created dir: C:\Documents and Settings\user\workspace\XML Tricks\docs\output\AppDocs compile: [exec] Loading configuration file C:\Program Files\Adobe\Flex Builder 2 Plug-in\Flex SDK 2\frameworks\flex-config.xml *[exec] Error: unable to open 'and'* [exec] Use 'asdoc -help' for information about using the command line. [exec] Total time: 578ms *BUILD FAILED C:\Documents and Settings\user\workspace\XML Tricks\docs\build.xml:14: exec returned: 2* Total time: 1 second These are the lines of code on line 14 target name=compile exec executable=${AsDocs.dir} failonerror=true arg line='-doc-sources ${AppClasses.dir}'/ arg line='-window-title My Application'/ arg line='-output ${Output.dir}'/ /exec /target
[flexcoders] why shouldnt I use flex 2?
Hi all, my first question here :) I know this is a tricky question in place like this, but in order to find the perfect solution to my product, I need to know the downsomes in using Flex 2 in its current state. The nature of the product involves FMS communication, web services (not FDS) and flv display. What are the cons and pros of flex for this kind of application? thanks, gadi
Re: [flexcoders] Is there any service that format ActionScript code as HTML?
Do a google for iG:Syntax Hiliter. Nice code highlighter for wordpress etc.
[flexcoders] Re: Need help intercepting a specific event for DataGrid
You are correct, itemClick is the event you need to handle. In your handler method simply perform your logic, and if the row should not be selected use dg.selectedIndex = -1. HTH, Ben --- In flexcoders@yahoogroups.com, Mike Anderson [EMAIL PROTECTED] wrote: Hello All, I am trying to figure out how to intercept the event that gets broadcasted, *just before* the DataGrid accepts a Mouse-Click, which in-turn, highlights a Row. I've done things like override functions in the past, to accomplish similar goals of modifying built-in behaviors, but in this particular case, I am pretty sure I need to intercept an event. I've never done anything quite like this before, so any help will be VERY appreciated. If I read the docs correctly, I need to intercept the itemClick event - which belongs to the ListBase Class, that the DataGrid inherits. Before getting bogged down with all the criteria which will dictate whether the Grid should accept itemClick events, I really need to find how to do the hard-core basics first. Hopefully this post is easier to read, and generates a better response than the original. Thanks everyone!! Mike
Re: [flexcoders] why shouldnt I use flex 2?
pro: You can integrate the flv player component(s) in your app It handles web services very nicely ( amf, very small filesize ) It can do anything you can do with Actionscript 3 It's blazing fast ! including connection to FMS It's very well documented Nice frameworks google for Cairngorm E4X Databinding ... cons: Too much free time
Re: [flexcoders] Re: file download doesnt work?
I looked over the code I have for the download. It seems weird that the FileReference class doesn't work as it should and probably somebody for Adobe can shed some light here. Here is the code I have used: var request:URLRequest = new URLRequest(download.action); request.method = URLRequestMethod.GET; var params:URLVariables = new URLVariables(); params.id = REPLACE_ME; request.data = params; navigateToURL(request, _self); HTH, Valy - Original Message From: Dimitrios Gianninas [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, December 13, 2006 1:06:02 AM Subject: RE: [flexcoders] Re: file download doesnt work? Close, now my servlet gets called, but the flash player never prompts me where to save my file, so in essence, nothing is downloaded. Maybe my player is foubared! Dimitrios Gianninas RIA Developer Optimal Payments Inc. From: [EMAIL PROTECTED] ups.com [mailto:flexcoders@ yahoogroups. com] On Behalf Of dubreeze2001 Sent: Tuesday, December 12, 2006 10:53 PM To: [EMAIL PROTECTED] ups.com Subject: [flexcoders] Re: file download doesnt work? Dimitrios, This should work for you: import flash.net.*; var url:String; url=http://localhost: 7001/billing/ servlet/FileSvlt ?operation=; url +=DOWNLOAD fileId=2 ; var urlRequest:URLReque st = new URLRequest(url) ; sendToURL(urlReques t); Tony D --- In [EMAIL PROTECTED] ups.com, Dimitrios Gianninas dimitrios.giannina [EMAIL PROTECTED] wrote: Yup tried that too :) I've tried GET, POST and using the servername, localhost and my direct IP, no go. If I call my servlet directly in a browser, the download works like a charm: http://localhost: 7001/billing/ servlet/FileSvlt ?operation= DOWNLOAD fileID=5 I'm sure its something very very small.., any kind of debug I can turn on? Dimitrios Gianninas RIA Developer Optimal Payments Inc. _ _ __ From: [EMAIL PROTECTED] ups.com [mailto:[EMAIL PROTECTED] ups.com] On Behalf Of Brian Holmes Sent: Tuesday, December 12, 2006 4:34 PM To: [EMAIL PROTECTED] ups.com Subject: RE: [flexcoders] file download doesnt work? Not Sure if this will work Dimitrios, But I seem to remember having similar issues and reading somewhere that the constructor of the Url Request expected a url as a string. var req:URLRequest = new URLRequest(http://localhost http://localhost/ : 7001/billing/ servlet/FileSvlt ) ; req.method = URLRequestMethod. GET; req.data = new URLVariables( operation= DOWNLOAD ); try { var fr:FileReference = new FileReference( ); fr.download( req ); } catch( e:Error ) { trace( Download error: + e.message ); } I double checked some code of mine and that's exactly how i got it working. Anyways, like I said, not sure if it will help, You probably have already tried it. Brian.. _ _ __ From: [EMAIL PROTECTED] ups.com [mailto:[EMAIL PROTECTED] ups.com] On Behalf Of Dimitrios Gianninas Sent: Tuesday, December 12, 2006 2:22 PM To: [EMAIL PROTECTED] ups.com Subject: RE: [flexcoders] file download doesnt work? Yup tried that too... I'm perplexed! Dimitrios Gianninas RIA Developer Optimal Payments Inc. _ _ __ From: [EMAIL PROTECTED] ups.com [mailto:[EMAIL PROTECTED] ups.com] On Behalf Of Valy Sivec Sent: Tuesday, December 12, 2006 10:26 AM To: [EMAIL PROTECTED] ups.com Subject: Re: [flexcoders] file download doesnt work? How about changing reg.method= POST instead GET?. Valy - Original Message From: Dimitrios Gianninas dimitrios.giannina [EMAIL PROTECTED] To: [EMAIL PROTECTED] ups.com Sent: Tuesday, December 12, 2006 9:28:40 AM Subject: RE: [flexcoders] file download doesnt work? Ok I switch the code around a bit and it looks more like this now: var req:URLRequest = new URLRequest() ; req.url = http://localhost: 7001/billing/ servlet/FileSvlt ; req.method = URLRequestMethod. GET; req.data = new URLVariables( operation= DOWNLOAD ); try { var fr:FileReference = new FileReference( ); fr.download( req ); } catch( e:Error ) { trace( Download error: + e.message ); } But it still doesn't work, my Java servlet doesn't get called at all. I have log messages in the service(), doGet() and doPost() methods and I see nothing. My upload works like a charm. Dimitrios Gianninas RIA Developer Optimal Payments Inc. _ _ __ From: [EMAIL PROTECTED] ups.com [mailto:flexcoders@ yahoogroups. com] On Behalf Of Dimitrios Gianninas Sent: Monday, December 11, 2006 3:15 PM To: [EMAIL PROTECTED] ups.com Subject: [flexcoders] file download doesnt work? I have the code below to download a file from my J2EE server but it doesn't work. the dialog box to select the folder and
Re: [flexcoders] Canceling Drag Drop
I haven't tested this, but it looks like you're going to want to do is: var dp:DragProxy = DragProxy.mx_internal::dragProxy; // get drag proxy DragManager.acceptDragDrop(null) // make sure nothing will except the drop dp.mouseUpHandler(new MouseEvent()) // drop, fill mouse event with any data because the only properties that will be checked are the ctrl/all/shift down properties. - Dan On 12/12/06, tnirenstein [EMAIL PROTECTED] wrote: In my code, I want to be able to cancel the drag and drop functionality if the user hits the Escape Key. I can successfully capture the fact that the user has hit Escape during the Drag and Drop sequence but once I am there, how do I cancel Drag and Drop? Thanks in advance!
[flexcoders] Nearly-Off-Topic: Flex Apps on PDAs?
Last night I was planning my incoming self xmas gift and I found myself wondering about PDA support for Flex-Built Apps. Is there any PDA-browser/plugin that supports FP9/AS3? Pablo Gustavo Apanasionek
[flexcoders] Re: Database Connectivity - Why so hard?
I'd suggest following Christophe Coenraets' tour: http://coenraets.org/testdrive/flex4j/index.htm Phil
[flexcoders] Re: Nearly-Off-Topic: Flex Apps on PDAs?
No PDA's support the Flash Player 9, required by Flex 2, at this time. Renaun --- In flexcoders@yahoogroups.com, Pablo Apanasionek [EMAIL PROTECTED] wrote: Last night I was planning my incoming self xmas gift and I found myself wondering about PDA support for Flex-Built Apps. Is there any PDA-browser/plugin that supports FP9/AS3? Pablo Gustavo Apanasionek
[flexcoders] Re: Firefox - TextInput Bug
When I tried it (FireFox 2) I end up with a blinking cursor in BOTH the Address Bar and the TextInput box. So at least it APPEARS like the Address Bar has the focus. In fact, click on the Address Bar, then click on the TextInput box and you'll have a blinking cursor in both. --- In flexcoders@yahoogroups.com, Yiðit Boyar [EMAIL PROTECTED] wrote: this is a known problem of new firefox. it sometimes. can not focus on the address bar and i don't think this bug is related to flash player.
[flexcoders] Re: Timeline execution speeds of embedded Flash Assets
Thank you Patrick, that was the solution I needed. I ended up lowering the framerate by 10 on that tab, and raising it by 10 on tab change and View closing. John Shuell --- In flexcoders@yahoogroups.com, Patrick Mineault [EMAIL PROTECTED] wrote: My guess is that the frame rate of your Flex app is higher than the one of the swf. Flash always uses the frame rate of the host swf to play a loaded movie. What you could do is lower stage.frameRate once you go on the 360 tab and get it back to higher value when you exit the tab or close the window. Patrick
[flexcoders] 3D charts?
Current version of Flex doesn't seem to provide 3D charts. Am I missing something? Are there any plans to add new charting features to the 2.0.1 release?. Will the 2.0.1 release include any new features or just bug fixes? Thanks, Valy Have a burning question? Go to www.Answers.yahoo.com and get answers from real people who know.
[flexcoders] Re: Nearly-Off-Topic: Flex Apps on PDAs?
Watch the versions of Flash Lite. Currently it is the equivalent of FP7. I imagine it is just a matter of time before it will support FP9 and AS3. --- In flexcoders@yahoogroups.com, Pablo Apanasionek [EMAIL PROTECTED] wrote: Last night I was planning my incoming self xmas gift and I found myself wondering about PDA support for Flex-Built Apps. Is there any PDA-browser/plugin that supports FP9/AS3? Pablo Gustavo Apanasionek
Re: [flexcoders] Business Objects and Value Objects/Cairngorm. Distinction?
Hi, Although Alex may already have answered your question, I thought a more general explanation might also be helpful. A business object represents an entity in the domain (the real world system of which the application is a software representation). Business objects should encapsulate logic such as relationships and validations which describe the business rules. They should be reusable across various applications as they know nothing about user gestures or application structure. Value Objects, are just bundles of properties and information that may or may not correlate with actual business entities. They are more concerned with moving information around in convenient chunks and providing 'views' of the data than actually representing business logic. As such, they are more specific to the particular needs and processes of a given application. In other frameworks they are (perhaps more aptly) called data transfer objects. Personally I would say that it is not at all fair to say that business objects are just collections of value objects; but I don't blame you for getting that impression, because that's how they tend to be talked about in Cairngorm. Cheers, Lach On 10/12/2006, at 5:53 AM, lostinrecursion wrote: I have one question for someone who may know. Could someone tell me the difference between a Business Object (such as the one Alex uses to encapsulate model properties) and a Value Object (which I am used to constructing). Is it fair to say a business object is just a faux collection of various Value Object (and non VO) properties in one convenient location?
Re: [flexcoders] why shouldnt I use flex 2?
gadi, What is your audience and when will you be deploying? I ask because Flex 2 has no capability to publish to Flash Player (FP) versions earlier than FP9. As of the latest FP penetration stats (Sept '06), FP9 is only at around 36% (of the known universe). See following link for FP product manager's comments and link to latest survey: http://weblogs.macromedia.com/emmy/archives/2006/11/flash_player_st.cfm This is a non-issue if the users of your Flex app are internal workgroups where you can dictate software requirements, or having users upgrade to FP9 is not a show stopper. If this is an issue, then timing of deployment can save the day. Adoption rates are a moving target. By this time next year adoption likely will be over 90%. Regarding Webdevotion's comment about Too much free time that is not likely to happen for either of two reasons. 1) So many cool things you will be able to do, you will be living and breathing Flex all the time; 2) The boss man will be so happy that you are getting so much work done, he is going to pile on more than you can ever get done ;-) hth, g
[flexcoders] Re: Is there any service that format ActionScript code as HTML?
--- In flexcoders@yahoogroups.com, Sergey Kovalyov [EMAIL PROTECTED] wrote: Is there any service that format ActionScript code as HTML? If you're using FlexBuilder, there is a Publish Application Source command. For an example of the results, take a look at http://mark-shepherd.com/thesaurus/srcview/index.html Mark Shepherd Adobe FlexBuilder Engineering
[flexcoders] Re: 3D charts?
--- In flexcoders@yahoogroups.com, Valy Sivec [EMAIL PROTECTED] wrote: Current version of Flex doesn't seem to provide 3D charts. Am I missing something? Are there any plans to add new charting features to the 2.0.1 release?. Will the 2.0.1 release include any new features or just bug fixes? Flex 2 does not include 3D charts. However, a shareware 3D charting component is available at the Adobe Exchange (www.adobe.com Communities Exchange Flex Components). Here's a direct link: http://www.adobe.com/cfusion/exchange/index.cfm?view=sn102returnurl=sn101#view=sn611viewName=Flex%20Extensionloc=en_usauthorid=0page=0scrollPos=0subcatid=0snid=sn611itemnumber=-1extid=1047990catid=0returnurl=sn101 Flex and FlexBuilder 2.0.1 is a bugfix release only, no new features. Mark Shepherd Adobe FlexBuilder Engineering
[flexcoders] Re: Is there any service that format ActionScript code as HTML?
Hey Sergey, This may or may not be the best solution but you could publish your applications source files and link out to the generated html files. However I believe that what you are looking for is a tag which will format code that you can copy and paste in your Blog editor. If you find that let me know as well as I am also trying to find something similar. - Eric --- In flexcoders@yahoogroups.com, Sergey Kovalyov [EMAIL PROTECTED] wrote: Hi All! I have created blog and plan to post code samples sometimes. Is there any service that format ActionScript code as HTML? Sergey.
Re: [flexcoders] change state and issue command
You shouldn't need a function to populate your view. Use bindings to tie it to the data model. It might also be worth looking over the docs for the DataGrid and TabNavigator to see what events they fire and when. Cheers, Lach On 10/12/2006, at 5:14 AM, bghoward3 wrote: here is my situation i have an app with 2 states, the first state is a dashboard with a grid on it when user clicks item in grifd it goes to state 2 where a tabnavigator exists and the compoents display the selected items information this works fine the first time through since my function to populate is called on the creationcomplete of the embedded component i am having a problem in getting it to redraw or send it the function to redraw since since the component lies in a differnt sdtate. so is there a way to call a function everytime in an embeded component whenever the new state loads so that the info populates correctly? or do i need to create some sort of listener thanks
[flexcoders] Re: SQL Insert operation fails silently
I have duplicated the problem with a very simple test db. I have two tables, PARENT CHILDREN. There is a one to many relationship From PARENT to CHILDREN. Using the CF wizard I generated a Master list of parents, and a Detail form. The Detail form allows users to enter parent information and has a datagrid subform where users can enter children of the parent. On new forms, the generated code fails to insert children into the db. On subsequent edits of the parent, children information is successfully updated into the db. Seems like because the PARENT primary key (foriegn key in CHILDREN) is auto-created by SQL, it is not available for CHILDREN insert operations and so fails. On edits, the key exists and updates are successful. however, this is a fairly common way of generating primary keys and should be handled by the wizard. Again anyone have any ideas? Dan --- In flexcoders@yahoogroups.com, nall_daniel [EMAIL PROTECTED] wrote: My sub-form in a CF Wizard generated form is not inserted into the database. I have a purchase form with a main form and a subform (datagrid). Main form is based on a table and subform on a related table. The form was generated by using the CF Wizard in Flex Builder. For a new purchase, the create (SQL INSERT) operation will insert the main form data into the database but does not insert the subform data. It does not fail or error out. It simply doesn't insert the data. If I then edit the same purchase, the update (SQL UPDATE) function works perfectly and all data is passed. The are no flash debug errors nor SQL errors. Any ideas? Dan
[flexcoders] Re: FDS - class cast exception - lazy loading relationship
Thanks for the info Jeff... I'lll be looking forward to some of these bug fixes... Meanwhile, I enabled 'autoSync' and 'autoCommit' and now I'm getting a new Error... no code so I can't tell what's going on. I was able to investigate the variables a little enough to know that the managedProperty it's trying to update is called 'attributeGroups'. See the definition of it in data-management-config and hibernate. Note this collection loads just fine when autoSync and autoUpdate are false. Any ideas? Thunder one-to-many property=attributeGroups destination=AttributeGroup lazy=false/ _ set name=attributeGroups inverse=true where=GROUPFK IS NULL key column name=MODELFK precision=22 scale=0 not-null=true / /key one-to-many class=AttributeGroup / /set _ TypeError: Error #1034: Type Coercion failed: cannot convert mx.collections::[EMAIL PROTECTED] to mx.data.DataList. at mx.data::ConcreteDataService/http://www.adobe.com/2006/flex/mx/internal::updateArrayCollectionItems()[C:\dev\enterprise_gmc\frameworks\mx\data\ConcreteDataService.as:2995] at mx.data::ConcreteDataService/http://www.adobe.com/2006/flex/mx/internal::updateManagedProperty()[C:\dev\enterprise_gmc\frameworks\mx\data\ConcreteDataService.as:2065] at mx.data::ConcreteDataService/http://www.adobe.com/2006/flex/mx/internal::updateItem()[C:\dev\enterprise_gmc\frameworks\mx\data\ConcreteDataService.as:3225] at mx.data::ConcreteDataService/http://www.adobe.com/2006/flex/mx/internal::updateCache()[C:\dev\enterprise_gmc\frameworks\mx\data\ConcreteDataService.as:3144] at mx.data::ConcreteDataService/http://www.adobe.com/2006/flex/mx/internal::updateCacheWithId()[C:\dev\enterprise_gmc\frameworks\mx\data\ConcreteDataService.as:3050] at mx.data::DataList/http://www.adobe.com/2006/flex/mx/internal::processSequence()[C:\dev\enterprise_gmc\frameworks\mx\data\DataList.as:1506] at mx.data::Metadata/configureItem()[C:\dev\enterprise_gmc\frameworks\mx\data\Metadata.as:340] at mx.data::DataList/http://www.adobe.com/2006/flex/mx/internal::processSequence()[C:\dev\enterprise_gmc\frameworks\mx\data\DataList.as:1495] at mx.data::Metadata/configureItem()[C:\dev\enterprise_gmc\frameworks\mx\data\Metadata.as:278] at mx.data::DataList/http://www.adobe.com/2006/flex/mx/internal::processSequence()[C:\dev\enterprise_gmc\frameworks\mx\data\DataList.as:1495] at mx.data::Metadata/configureItem()[C:\dev\enterprise_gmc\frameworks\mx\data\Metadata.as:278] at mx.data::DataList/http://www.adobe.com/2006/flex/mx/internal::processSequence()[C:\dev\enterprise_gmc\frameworks\mx\data\DataList.as:1495] at mx.data::Metadata/configureItem()[C:\dev\enterprise_gmc\frameworks\mx\data\Metadata.as:278] at mx.data::DataList/http://www.adobe.com/2006/flex/mx/internal::processSequence()[C:\dev\enterprise_gmc\frameworks\mx\data\DataList.as:1495] at mx.data::Metadata/configureItem()[C:\dev\enterprise_gmc\frameworks\mx\data\Metadata.as:278] at mx.data::DataList/http://www.adobe.com/2006/flex/mx/internal::processSequence()[C:\dev\enterprise_gmc\frameworks\mx\data\DataList.as:1495] at mx.data::DataList/http://www.adobe.com/2006/flex/mx/internal::processSequenceResult()[C:\dev\enterprise_gmc\frameworks\mx\data\DataList.as:1610] at ConcreteDataService.as$38::DataListRequestResponder/result()[C:\dev\enterprise_gmc\frameworks\mx\data\ConcreteDataService.as:4344] at mx.rpc::AsyncRequest/acknowledge()[C:\dev\enterprise_gmc\frameworks\mx\rpc\AsyncRequest.as:82] at NetConnectionChannel.as$37::NetConnectionMessageResponder/NetConnectionChannel.as$37:NetConnectionMessageResponder::resultHandler()[C:\dev\enterprise_gmc\frameworks\mx\messaging\channels\NetConnectionChannel.as:407] at mx.messaging::MessageResponder/result()[C:\dev\enterprise_gmc\frameworks\mx\messaging\MessageResponder.as:202] --- In flexcoders@yahoogroups.com, Jeff Vroom [EMAIL PROTECTED] wrote: We do have a bug fix release coming out pretty soon that should have the fixes to several FDMS bugs. It won't have the fix for this problem because we found it too late unfortunately. We can also produce hotfixes for any other problems though I think that requires going through our regular support folks. Jeff
[flexcoders] Re: DataProvider as an Array of String
Thanks Asgar, it worked like a charm! --- In flexcoders@yahoogroups.com, jmorpher03 [EMAIL PROTECTED] wrote: Hi Samina, Here's a sample. Is this what you were looking for ? ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute mx:Array id=myArr mx:String one /mx:String mx:String two /mx:String mx:String three /mx:String mx:String four /mx:String mx:String five /mx:String /mx:Array mx:PrintDataGrid dataProvider={myArr} mx:columns mx:DataGridColumn headerText=My Strings/ /mx:columns /mx:PrintDataGrid /mx:Application Regards, Asgar.
[flexcoders] Re: Canceling Drag Drop
Thanks for the response but unfortunatley I'm not sure I understand it. Probably due to my newness to Flex. Anyway, DragProxy isn't a type that I could find. I know you specify the Drag Proxy Image when initiating the doDrag method on the DragManager. Any further clarification would help. Thanks! --- In flexcoders@yahoogroups.com, Daniel Freiman [EMAIL PROTECTED] wrote: I haven't tested this, but it looks like you're going to want to do is: var dp:DragProxy = DragProxy.mx_internal::dragProxy; // get drag proxy DragManager.acceptDragDrop(null) // make sure nothing will except the drop dp.mouseUpHandler(new MouseEvent()) // drop, fill mouse event with any data because the only properties that will be checked are the ctrl/all/shift down properties. - Dan On 12/12/06, tnirenstein [EMAIL PROTECTED] wrote: In my code, I want to be able to cancel the drag and drop functionality if the user hits the Escape Key. I can successfully capture the fact that the user has hit Escape during the Drag and Drop sequence but once I am there, how do I cancel Drag and Drop? Thanks in advance!
RE: [flexcoders] does charts have event for data change?
Add it to your data provider instead. Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of shemeshkale Sent: Wednesday, December 13, 2006 4:10 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] does charts have event for data change? as simple as that: does charts have an event that fires whenever its data changes? it seems that this: myGrid.addEventListener(CollectionEvent.COLLECTION_CHANGE, test); will work for DataGrid but not for charts any idea how to do this with charts?
[flexcoders] useHandCursor
Hi All, I cannt able to seee hand cursor while I roll the mouse over my label. I have used: mx:Label id=labl Label=Test useHandCursor=true / it doesnt change the default mouse cursor to hand cursor. Do let me know the solution. Regards, Sanjay
[flexcoders] Re: Express FDS Stops after 1 hour
This seems to be bug in jdk 1.4.2_08 Does not happen in jdk 1.5
RE: [flexcoders] accessing a checkbox in datagrid
Short answer, you don't. More helpfully, though, you need to get used to focusing on the dataProvider when working with data-driven controls. In your case, you must ensure that the checkbox click event causes the checkbox state to be stored in the dataProvider. To determine if an item is checked, you then look at the particular dataProvider item's property that was set. There is no reasonable way to access this value from the control itself, mainly because the data-driven controls re-use the visual elements when you scroll. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jeff noyes Sent: Tuesday, December 12, 2006 8:47 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] accessing a checkbox in datagrid Im using a itemRenderer that is a checkbox. The checkbox is a component that is a seperate mxml file. Inside my datagrid, how do I determine if the checkbox is enabled?
RE: [flexcoders] Unable to set ItemRenderer's value back to DataGrid's dataProvider
Why not set an event listener on the TextInput, and have that set the value? What have you tried? Why didn't it work? Here is an example that uses a checkbox item renderer: http://www.cflex.net/showfiledetails.cfm?ChannelID=1Object=FileobjectI D=559 Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jmorpher03 Sent: Tuesday, December 12, 2006 6:41 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Unable to set ItemRenderer's value back to DataGrid's dataProvider Hi, I have a Custom ItemRenderer, which displays a TextInput or a Label based on another column's value in the DataGrid. Here's the sample for the ItemRenderer: MyItemRenderer.mxml mx:HBox xmlns:mx=http://www.adobe.com/2006/mxml http://www.adobe.com/2006/mxml mx:Canvas id=myRendererCan/ mx:Script ![CDATA[ public var textField; private var myLabel:Label; private var myTextInput:TextInput; override public function set data(value:Object):void { myRendererCan.removeAllChildren(); if(value != null value.colA == M) { myLabel = new Label; myLabel.text = value[textField]; myRendererCan.addChild(myLabel); } else { myTextInput = new TextInput; myTextInput.setStyle(backgroundColor, 0x0F); myTextInput.text = value[textField]; myRendererCan.addChild(myTextInput); } } ]] /mx:Script /mx:HBox In my Main.mxml , the DataGrid is as follows : mx:DataGrid editable=true mx:columns mx:DataGridColumn headerText=ColA dataField=ColA width=40 editable=false/ mx:DataGridColumn headerText=ColB dataField=ColB width=60 itemRenderer=MyItemRenderer editable=true rendererIsEditor=true / /mx:columns /mx:DataGrid I want to set the value which user enters in the myTextInput , back to the ColB of the dataProvider. I have tried a lot of examples, but none seem to work. Can anyone help me with this. I tried even by directly declaring a TextInput , rather than dynamically adding it, even then it does not work. Thanks in advance. Regards, Asgar.
RE: [flexcoders] Re: file download doesnt work?
have you tried attaching event listeners to the open and complete events of your urlloader instance then tracing the MIME type of the downloaded data (for the complete event)? This way youll see if a download actually commences (on open) and if the downloaded data is decoded properly (on complete). It is possible that the dataformat of the urlloader instance data is not what you require. just a thought --- Dimitrios Gianninas [EMAIL PROTECTED] wrote: Close, now my servlet gets called, but the flash player never prompts me where to save my file, so in essence, nothing is downloaded. Maybe my player is foubared! Dimitrios Gianninas RIA Developer Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of dubreeze2001 Sent: Tuesday, December 12, 2006 10:53 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: file download doesnt work? Dimitrios, This should work for you: import flash.net.*; var url:String; url=http://localhost:7001/billing/servlet/FileSvlt?operation= http://localhost:7001/billing/servlet/FileSvlt?operation= ; url +=DOWNLOADfileId=2; var urlRequest:URLRequest = new URLRequest(url); sendToURL(urlRequest); Tony D --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Dimitrios Gianninas [EMAIL PROTECTED] wrote: Yup tried that too :) I've tried GET, POST and using the servername, localhost and my direct IP, no go. If I call my servlet directly in a browser, the download works like a charm: http://localhost:7001/billing/servlet/FileSvlt?operation=DOWNLOADfileID=5 http://localhost:7001/billing/servlet/FileSvlt?operation=DOWNLOADfileID=5 I'm sure its something very very small.., any kind of debug I can turn on? Dimitrios Gianninas RIA Developer Optimal Payments Inc. From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of Brian Holmes Sent: Tuesday, December 12, 2006 4:34 PM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: RE: [flexcoders] file download doesnt work? Not Sure if this will work Dimitrios, But I seem to remember having similar issues and reading somewhere that the constructor of the Url Request expected a url as a string. var req:URLRequest = new URLRequest(http://localhost http://localhost/ : 7001/billing/ servlet/FileSvlt ) ; req.method = URLRequestMethod. GET; req.data = new URLVariables(operation=DOWNLOAD ); try { var fr:FileReference = new FileReference( ); fr.download( req ); } catch( e:Error ) { trace( Download error: + e.message ); } I double checked some code of mine and that's exactly how i got it working. Anyways, like I said, not sure if it will help, You probably have already tried it. Brian.. From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of Dimitrios Gianninas Sent: Tuesday, December 12, 2006 2:22 PM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: RE: [flexcoders] file download doesnt work? Yup tried that too... I'm perplexed! Dimitrios Gianninas RIA Developer Optimal Payments Inc. From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of Valy Sivec Sent: Tuesday, December 12, 2006 10:26 AM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: Re: [flexcoders] file download doesnt work? How about changing reg.method=POST instead GET?. Valy - Original Message From: Dimitrios Gianninas [EMAIL PROTECTED] To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Sent: Tuesday, December 12, 2006 9:28:40 AM Subject: RE: [flexcoders] file download doesnt work? Ok I switch the code around a bit and it looks more like this now: var req:URLRequest = new URLRequest() ; req.url = http://localhost: 7001/billing/ servlet/FileSvlt ; req.method = URLRequestMethod. GET; req.data = new URLVariables(operation=DOWNLOAD ); try { var fr:FileReference = new FileReference( ); fr.download( req ); } catch( e:Error ) { trace( Download error: + e.message ); } But it still doesn't work, my Java servlet doesn't get called at all. I have log messages in the service(), doGet() and doPost() methods and I see nothing. My upload works like a charm. Dimitrios Gianninas RIA Developer Optimal Payments Inc. From: [EMAIL PROTECTED]
[flexcoders] Re: Example of using a:hover to Style a Link in a TextField Component
var style:StyleSheet = new StyleSheet(); var hover:Object = new Object(); hover.color = #1EBBDE; var link:Object = new Object(); link.color = #FF; style.setStyle(a:hover, hover); //set the link hover style style.setStyle(a:link, link);//set the link normal style var linkField:TextField = new TextField (); linkField.type = TextFieldType.DYNAMIC; linkField.styleSheet = style; linkField.htmlText = 'ua href=/urlLink/a/u'; -Aaron Stein --- In flexcoders@yahoogroups.com, Harris Reynolds [EMAIL PROTECTED] wrote: What up? The Flex API docs [1] mentions that anchor tags used within a TextField object can be styled: You can also define a:link, a:hover, and a:active styles for anchor tags by using style sheets. Does anyone actually know how to do this? All the CSS incantations I have tried thus far don't work. It has to be possible since it is in the docs... right? :-) ~harris [1] http://livedocs.macromedia.com/flex/2/langref/flash/text/TextField.html #htmlText
[flexcoders] Re: does charts have event for data change?
YES, that what i want!! but how?? like so?? : myChart.dataProvider.addEventListener(CollectionEvent.COLLECTION_CHANGE, test); it does not work either. can you please show me how? an example would be great. --- In flexcoders@yahoogroups.com, Ely Greenfield [EMAIL PROTECTED] wrote: Add it to your data provider instead. Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of shemeshkale Sent: Wednesday, December 13, 2006 4:10 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] does charts have event for data change? as simple as that: does charts have an event that fires whenever its data changes? it seems that this: myGrid.addEventListener(CollectionEvent.COLLECTION_CHANGE, test); will work for DataGrid but not for charts any idea how to do this with charts?
Re: [flexcoders] Re: Firefox - TextInput Bug
I don't see this problem on a Mac with Firefox 2, fwiw. Sean
Re: [flexcoders] useHandCursor
Hi Sanjay, I believe you also need to set buttonMode=true for the cursor to appear. Regards, Dave. Cynergy Systems, Inc. On 12/13/06, sanjaypmg [EMAIL PROTECTED] wrote: Hi All, I cannt able to seee hand cursor while I roll the mouse over my label. I have used: mx:Label id=labl Label=Test useHandCursor=true / it doesnt change the default mouse cursor to hand cursor. Do let me know the solution. Regards, Sanjay
Re: [flexcoders] Nearly-Off-Topic: Flex Apps on PDAs?
Pablo Apanasionek wrote: Last night I was planning my incoming self xmas gift and I found myself wondering about PDA support for Flex-Built Apps. Is there any PDA-browser/plugin that supports FP9/AS3? As other folks noted already, not yet. The mobile profiles of Adobe Flash Player don't yet have the realtime graphics engine of Adobe Flash Player 8, or the high-performance scripting engine of Adobe Flash Player 9. The company is working towards eventual convergence of desktop and pocket abilities, but it will still take some time to achieve this and get it deployed. It will be great to combine Flex interfaces and data manipulation with mobile deployment, but we've still got a way to go before achieving this... here's a summary of current mobile abilities: http://www.adobe.com/products/flashlite/productinfo/features/ jd -- John Dowdell . Adobe Developer Support . San Francisco CA USA Weblog: http://weblogs.macromedia.com/jd Aggregator: http://weblogs.macromedia.com/mxna Technotes: http://www.macromedia.com/support/ Spam killed my private email -- public record is best, thanks.
[flexcoders] Re: Filter as you type - two comboboxes?
You know - I think the problem was I just didn't quite understand how filterFunction works, and what exactly happens when return true occurs. Finally got it tho, and here it is!! The trick was just understanding when to end the statement, and when to check something first or last. Its basically: 1) Still not sure what the first line does, but its comparing the text of my search box with one column in the grid. If the text box has nothing OR has something, it passes either way. 2) If the first combobox is NOT Show All, and the second combobox IS Show All, then check the first combobox 3) If the second combobox is NOT Show All, and the first combobox IS Show All, then check the second combobox 4) If BOTH comboboxes are NOT Show All then check BOTH comboboxes 5) If BOTH comboboxes ARE Show All then check nothing. Surely there's an easier way to implement this, but darnit, it works!! Now I will need to stretch out my search box to include more than one column. Wish me luck, ;) - Chris private function processFilter(item:Object):Boolean { var result:Boolean=false; dgObjectList.selectedIndex = -1; if(item.objName.length == 0 || item.objName.toUpperCase().indexOf (searchText.text.toUpperCase()) = 0) { if(cbTypeList.selectedItem.typeName != Show All cbCourseList.selectedItem.courseName == Show All) { if (item.typeName == cbTypeList.selectedItem.typeName) { return true; } } else if (cbTypeList.selectedItem.typeName == Show All cbCourseList.selectedItem.courseName != Show All) { if (item.courseName == cbCourseList.selectedItem.courseName) { return true; } } else if (cbTypeList.selectedItem.typeName != Show All cbCourseList.selectedItem.courseName != Show All) { if (item.typeName == cbTypeList.selectedItem.typeName item.courseName == cbCourseList.selectedItem.courseName) { return true; } } else if(cbTypeList.selectedItem.typeName == Show All cbCourseList.selectedItem.courseName == Show All) { return true; } } return result; } --- In flexcoders@yahoogroups.com, Doug Lowder [EMAIL PROTECTED] wrote: Looks like a few too many return statements in the processFilter() function, causing some of the code to be skipped instead of being processed. Probably ought to be something like result = x instead, so that you can return a single result at the end of the function. --- In flexcoders@yahoogroups.com, qnotemedia qnotemedia@ wrote: Hi all - I have two questions to post today, but will keep them separate. I'm using some filter as you type code from Ben Forta and cflex.net. The following code is basically an InputText search box along with a combobox, and they both are filtering a datagrid's arraycollection. What I want to do is add a second combobox to the process. It never seems to work correctly, but each combobox, along with the text search seems to work on their own. Note that in the code below, the course combobox is commented out. I suppose what I don't understand is how exactly the processFilter function works. dgObjectList = DataGrid with 3 columns: objName, typeName, courseName objectList = DataGrid's dataprovider cbTypeList = Combobox with labelField=typeName. Data includes typeID typeListFilter = cbTypeList's dataprovider cbCourseList = Combobox with labelField = courseName. Data includes courseID courseListFilter = cbCourseList's dataprovider searchText = textInput box for keyword search. Code is as follows. Thanks for reading, - Chris [Bindable] private var objectList:ArrayCollection; [Bindable] private var typeListFilter:ArrayCollection; [Bindable] private var courseListFilter:ArrayCollection; private function resultHandlerGetAllObjects (event:ResultEvent):void { objectList = event.result as ArrayCollection; /* add function for filtering */ objectList.filterFunction=processFilter; } private function resultHandlerGetAllTypesFilter (event:ResultEvent):void { typeListFilter = event.result as ArrayCollection; } private function resultHandlerGetAllCoursesFilter (event:ResultEvent):void { courseListFilter = event.result as ArrayCollection; } /* Code from: http://www.forta.com/blog/index.cfm/2006/7/13/Filtering-Data-In- Flex http://www.cflex.net/showFileDetails.cfm? ObjectID=415Object=FileChannelID=1 */ private function processFilter(item:Object):Boolean { var result:Boolean=false; dgObjectList.selectedIndex = -1; if(item.objName.length == 0 || item.objName.toUpperCase ().indexOf (searchText.text.toUpperCase()) = 0) { if(cbTypeList.selectedItem.typeName != Show All) { return item.typeName == cbTypeList.selectedItem.typeName; } else if(cbTypeList.selectedItem.typeName == Show All) { return true; } /*
Re: [flexcoders]Does the Accordion have an Icon Function?
Er, I created a simplified example and got that to work. So there must be some gremlins in my code somewhere. I checked the source and did not see an iconFunction. On 12/13/06, dorkie dork from dorktown [EMAIL PROTECTED] wrote: Does the Accordion have an iconFunction? Similar to the iconFunction used in the Tree and List controls. For example, this code is supposed to set the icon for headers 0 and 1 but each statement sets the icon across all headers. [Bindable] [Embed(source=images/Company-Icon.png)] public var companyIcon:Class; [Bindable] [Embed(source=images/Market-Icon.png)] public var marketIcon:Class; // in init navigationMenu.getHeaderAt(0).setStyle('icon', companyIcon); navigationMenu.getHeaderAt(1).setStyle('icon', marketIcon);
[flexcoders]Does the Accordion have an Icon Function?
Does the Accordion have an iconFunction? Similar to the iconFunction used in the Tree and List controls. For example, this code is supposed to set the icon for headers 0 and 1 but each statement sets the icon across all headers. [Bindable] [Embed(source=images/Company-Icon.png)] public var companyIcon:Class; [Bindable] [Embed(source=images/Market-Icon.png)] public var marketIcon:Class; // in init navigationMenu.getHeaderAt(0).setStyle('icon', companyIcon); navigationMenu.getHeaderAt(1).setStyle('icon', marketIcon);
RE: [flexcoders]Does the Accordion have an Icon Function?
Have you tried setting the icon property on the child containers? This worked for me. If you need it to be dynamic, then you could do that same setStyle call you are doing below, just on the children of the Accordion, not the headers. Hope this helps! [Bindable] [Embed(source=images/Company-Icon.png)] public var companyIcon:Class; [Bindable] [Embed(source=images/Market-Icon.png)] public var marketIcon:Class; mx:Accordion mx:VBox icon={ companyIcon } / mx:VBox icon={ marketIcon } / /mx:Accordion Dustin Mercer From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of dorkie dork from dorktown Sent: Wednesday, December 13, 2006 12:42 PM To: flexcoders@yahoogroups.com Subject: [flexcoders]Does the Accordion have an Icon Function? Does the Accordion have an iconFunction? Similar to the iconFunction used in the Tree and List controls. For example, this code is supposed to set the icon for headers 0 and 1 but each statement sets the icon across all headers. [Bindable] [Embed(source=images/Company-Icon.png)] public var companyIcon:Class; [Bindable] [Embed(source=images/Market-Icon.png)] public var marketIcon:Class; // in init navigationMenu.getHeaderAt(0).setStyle('icon', companyIcon); navigationMenu.getHeaderAt(1).setStyle('icon', marketIcon);
[flexcoders] Re: does charts have event for data change?
Ely - tnx for the help.. the data is retreived from a data-base by a server then i change it to an ArrayCollection which is an array of objects inside each object i got several values. here is a problem: the dataProvider is binded to this collection but because lack of synch the data is coming AFTER the chart is already rendered. meaning first come an empty chart only after comes the data (of course this happens too fast for the human eye). i want to format the data from the collection therefore i need to know when this collection is changed. i have some other ways to see when this happens, but... i want to know how can i do it from the chart side. --- In flexcoders@yahoogroups.com, Ely Greenfield [EMAIL PROTECTED] wrote: Can you give more details about how you're using the chart? i.e., where are you getting your data from, what kind of data, what form is it in when you assign it to the chart, are you assigning it to the chart or the data providers, etc. Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of shemeshkale Sent: Wednesday, December 13, 2006 11:05 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: does charts have event for data change? YES, that what i want!! but how?? like so?? : myChart.dataProvider.addEventListener(CollectionEvent.COLLECTION_CHANGE, test); it does not work either. can you please show me how? an example would be great. --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Ely Greenfield egreenfi@ wrote: Add it to your data provider instead. Ely. From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of shemeshkale Sent: Wednesday, December 13, 2006 4:10 AM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] does charts have event for data change? as simple as that: does charts have an event that fires whenever its data changes? it seems that this: myGrid.addEventListener(CollectionEvent.COLLECTION_CHANGE, test); will work for DataGrid but not for charts any idea how to do this with charts?
Re: [flexcoders]Does the Accordion have an Icon Function?
I think you've actually stumbled on a bug that I submitted a couple months ago -- where the icon set in the last accordion header gets applied to all previous headers, or something like that. I narrowed it down to a reproducible test case, and I believe Adobe was able to fix it (as part of the upcoming 2.0.1 release). I don't have that test case anymore, but it sounds like exactly the same thing I ran into when I filed the bug. I don't remember if there was a workaround or not... sorry. -d dorkie dork from dorktown wrote: Er, I created a simplified example and got that to work. So there must be some gremlins in my code somewhere. I checked the source and did not see an iconFunction. On 12/13/06, * dorkie dork from dorktown* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Does the Accordion have an iconFunction? Similar to the iconFunction used in the Tree and List controls. For example, this code is supposed to set the icon for headers 0 and 1 but each statement sets the icon across all headers. [Bindable] [Embed(source=images/Company-Icon.png)] public var companyIcon:Class; [Bindable] [Embed(source=images/Market-Icon.png)] public var marketIcon:Class; // in init navigationMenu.getHeaderAt(0).setStyle('icon', companyIcon); navigationMenu.getHeaderAt(1).setStyle('icon', marketIcon);
[flexcoders] fds for mac (beta) flex developers
anyone working on FDS projects but developing on Mac platform? I'm in the process of switching over to an Intel mac and found that FDS comes in Linux and Windows flavors but not Mac OSX. It was kind of convenient in Windows to have everything on one box. Are there any plans to release a Mac OS version of FDS, at least for development purposes? Any thoughts on running FDS on a Windows instance in Parrallels and Flex Builder in Mac OSX? Could I just drop my FDS war files into Tomcat running on Mac OSX? thanks
[flexcoders] Skipping editable Datagrid cells when tabbing
Does anyone know of a good way to skip over an editable cell in a datagrid while tabbing? I thought I could have an event listener that takes a KEY_UP trigger on the event and look to see if the keycode was equal to 9 which is the tab key and look to see which column they were in, and if they were in the wrong column move them to the correct column. trapping the key event works fine but I can't figure out how to tell if they are in a specific column and then send them to the correct column. Anyone have any ideas? Thanks, Ben
[flexcoders] customizing - positioning preloader
Preloader, on the preloader, any suggestions how to move it to the top when my application loads, or completely change it all together..
[flexcoders] Disable Application Blur in Popup window
I'm sure this is a simple answer... (hopefully). I have some TitleWindows launched via the PopUpManager. If the modal is set to true it blurs the Application. What I want to do is have the modal functionality of a window without the blur sometimes? Can this be done? How? .j -- /Whether you think that you can, or that you can't, you are usually right./ - Henry Ford
[flexcoders] Re: Disable Application Blur in Popup window
There's a style on mx.core.Application called modalTransparencyBlur that seems promising. You might be able to set setStyle() to switch values back and forth. --- In flexcoders@yahoogroups.com, John Kirby [EMAIL PROTECTED] wrote: I'm sure this is a simple answer... (hopefully). I have some TitleWindows launched via the PopUpManager. If the modal is set to true it blurs the Application. What I want to do is have the modal functionality of a window without the blur sometimes? Can this be done? How? .j -- /Whether you think that you can, or that you can't, you are usually right./ - Henry Ford
Re: [flexcoders]Does the Accordion have an Icon Function?
Darron, I think its the same one. I'll report it here for others. Basically, if you set the Accordion headerStyleName property to a defined class selector then the behavior you describe occurs. If you remove the headerStyleName attribute or remove the class definition then it works. Dustin, I like that method. :) Here is example code to compare against: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute creationComplete=init() mx:Script ![CDATA[ [Bindable] [Embed(source=images/Box.png)] public var boxIcon:Class; [Bindable] [Embed(source=images/CheckBox.png)] public var checkboxIcon:Class; public function init():void { accordion1.getHeaderAt(0).setStyle('icon', boxIcon); accordion1.getHeaderAt(1).setStyle('icon', checkboxIcon); accordion1.getHeaderAt(2).setStyle('icon', checkboxIcon); } ]] /mx:Script mx:Style .myAccordionHeaderStyle { } /mx:Style mx:Box width=380 horizontalAlign=left verticalGap=12 verticalScrollPolicy=off horizontalScrollPolicy=off !-- REMOVE headerStyleName property and test again-- mx:Accordion id=accordion1 width=100% color=#00 fontFamily=menuHeaderFont fontSize=14 resizeToContent=true fontWeight=bold creationPolicy=all historyManagementEnabled=false headerStyleName=myAccordionHeaderStyle paddingRight=0 mx:VBox label=HEADER ONE width=100% verticalScrollPolicy=off mx:Text mx:htmlText ![CDATA[ Here is some test text. ]] /mx:htmlText /mx:Text /mx:VBox mx:VBox label=HEADER TWO width=100% verticalGap=47 mx:Text mx:htmlText ![CDATA[ Here is some test text. ]] /mx:htmlText /mx:Text /mx:VBox mx:VBox label=HEADER THREE width=100% verticalScrollPolicy=off mx:Text mx:htmlText ![CDATA[ Here is some test text. ]] /mx:htmlText /mx:Text /mx:VBox /mx:Accordion /mx:Box /mx:Application On 12/13/06, Darron J. Schall [EMAIL PROTECTED] wrote: I think you've actually stumbled on a bug that I submitted a couple months ago -- where the icon set in the last accordion header gets applied to all previous headers, or something like that. I narrowed it down to a reproducible test case, and I believe Adobe was able to fix it (as part of the upcoming 2.0.1 release). I don't have that test case anymore, but it sounds like exactly the same thing I ran into when I filed the bug. I don't remember if there was a workaround or not... sorry. -d dorkie dork from dorktown wrote: Er, I created a simplified example and got that to work. So there must be some gremlins in my code somewhere. I checked the source and did not see an iconFunction. On 12/13/06, * dorkie dork from dorktown* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Does the Accordion have an iconFunction? Similar to the iconFunction used in the Tree and List controls. For example, this code is supposed to set the icon for headers 0 and 1 but each statement sets the icon across all headers. [Bindable] [Embed(source=images/Company-Icon.png)] public var companyIcon:Class; [Bindable] [Embed(source=images/Market-Icon.png)] public var marketIcon:Class; // in init navigationMenu.getHeaderAt(0).setStyle('icon', companyIcon); navigationMenu.getHeaderAt(1).setStyle('icon', marketIcon); -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links
RE: [flexcoders] many-to-many managed association in Hibernate destination
Hi Jeff, I could not follow the code.txt link in your post I wonder why that wouldn't work for you. Let's try again. I've posted the file again with a different name: http://www.brightworks.com/technology/tech_questions/hibernate_lazy_associations/code_2.txt Can you see this one? I suspect that you are still missing the intermediate destination in the FDMS configuration. I apologize if I wasn’t clear No, I think that you were clear, and believe that I've implemented the intermediate filmActors destination as suggested. Let me know how it looks. I'd also be happy to give you the whole app so that you can run it if you'd like. Thanks, Douglas -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] fds for mac (beta) flex developers
FDS runs fine on Linux and OS X (Unix). Brian On 12/13/06, fuad_kamal [EMAIL PROTECTED] wrote: anyone working on FDS projects but developing on Mac platform? I'm in the process of switching over to an Intel mac and found that FDS comes in Linux and Windows flavors but not Mac OSX. It was kind of convenient in Windows to have everything on one box. Are there any plans to release a Mac OS version of FDS, at least for development purposes? Any thoughts on running FDS on a Windows instance in Parrallels and Flex Builder in Mac OSX? Could I just drop my FDS war files into Tomcat running on Mac OSX? thanks -- Brian Dunphy
[flexcoders] Add a HTTP Request header to a Web Service Call
Hi! Does anyone know if its possible to add a HTTP Request header to a web service via ActionScript? All the headers associated with web services seem to be SOAP headers... I need to pass an authentication token in the HTTP request. Authorization: Basic X2zhczVzPWRtaWz6Y2xzcnzzYWOtaW4= Any help would be greatly appreciated! -phil
RE: [flexcoders] Re: does charts have event for data change?
I would _not_ use databinding to bind the data into the chart...instead, add a change handler to your array collection, and when it fires, assign the collection explicitly as the dataProvider for the chart. Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of shemeshkale Sent: Wednesday, December 13, 2006 2:10 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: does charts have event for data change? Ely - tnx for the help.. the data is retreived from a data-base by a server then i change it to an ArrayCollection which is an array of objects inside each object i got several values. here is a problem: the dataProvider is binded to this collection but because lack of synch the data is coming AFTER the chart is already rendered. meaning first come an empty chart only after comes the data (of course this happens too fast for the human eye). i want to format the data from the collection therefore i need to know when this collection is changed. i have some other ways to see when this happens, but... i want to know how can i do it from the chart side. --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Ely Greenfield [EMAIL PROTECTED] wrote: Can you give more details about how you're using the chart? i.e., where are you getting your data from, what kind of data, what form is it in when you assign it to the chart, are you assigning it to the chart or the data providers, etc. Ely. From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of shemeshkale Sent: Wednesday, December 13, 2006 11:05 AM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] Re: does charts have event for data change? YES, that what i want!! but how?? like so?? : myChart.dataProvider.addEventListener(CollectionEvent.COLLECTION_CHANGE, test); it does not work either. can you please show me how? an example would be great. --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com , Ely Greenfield egreenfi@ wrote: Add it to your data provider instead. Ely. From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of shemeshkale Sent: Wednesday, December 13, 2006 4:10 AM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] does charts have event for data change? as simple as that: does charts have an event that fires whenever its data changes? it seems that this: myGrid.addEventListener(CollectionEvent.COLLECTION_CHANGE, test); will work for DataGrid but not for charts any idea how to do this with charts?
Re: [flexcoders] Re: Disable Application Blur in Popup window
Doug - Tried this after the PopUp create Application.application.setStyle(modalTransparencyBlur, 0); Still a blur Doug Lowder said the following: There's a style on mx.core.Application called modalTransparencyBlur that seems promising. You might be able to set setStyle() to switch values back and forth. --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com, John Kirby [EMAIL PROTECTED] wrote: I'm sure this is a simple answer... (hopefully). I have some TitleWindows launched via the PopUpManager. If the modal is set to true it blurs the Application. What I want to do is have the modal functionality of a window without the blur sometimes? Can this be done? How? .j -- /Whether you think that you can, or that you can't, you are usually right./ - Henry Ford -- /Whether you think that you can, or that you can't, you are usually right./ - Henry Ford
[flexcoders] Linking to external images or css files?
Hey All, First post to flexcoders. I'm trying to link to a css file in a Flex Library project and I can't seem to figure out how to get it to work. MXML files and AS Classes work without a hitch, but I can't seem to either @Embed() images or reference stylesheets. I've tried a bunch of ways: using resource folders, linking to the library project via the Library Path tab, linking to the project via Project References. I'm sure I've tried other things. I've tried linking to the file in all sorts of ways (relative paths, absolute paths, based on the Library Path source attachment attribute, based on the Project Reference name, based on paths to the linked resource folder, etc, etc.) Pretend I have: A Flex Library project at z:\shared A Flex Project at z:\my_project The Library project has a CSS file located at z:\shared\assets\css\mycss.css In my z:\my_project\src\main.mxml file: mx:Application ... mx:Style source= / /mx:Application 2 questions then: What method should I use to link my Library Project to my Flex Project? What is the path that goes into the Style tag? I can link to it directly on the file system without a problem, but that doesn't make the code very portable. Can someone point me in the right direction? There's tons of documentation on everything but my particular issue :P Jay Proulx Application Developer Internet Delivery Services - eVision Team [EMAIL PROTECTED] (613) 783-6711
[flexcoders] Re: Disable Application Blur in Popup window
There may be some kind of timing issue. I put: mx:Button label=Change blur click=setStyle('modalTransparencyBlur', 0) / into an application that creates Popup title windows, and the blur effect disappeared. Try setting the style first, then creating the popup after a callLater or something to that effect. --- In flexcoders@yahoogroups.com, John Kirby [EMAIL PROTECTED] wrote: Doug - Tried this after the PopUp create Application.application.setStyle(modalTransparencyBlur, 0); Still a blur Doug Lowder said the following: There's a style on mx.core.Application called modalTransparencyBlur that seems promising. You might be able to set setStyle() to switch values back and forth. --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com, John Kirby jjkirby@ wrote: I'm sure this is a simple answer... (hopefully). I have some TitleWindows launched via the PopUpManager. If the modal is set to true it blurs the Application. What I want to do is have the modal functionality of a window without the blur sometimes? Can this be done? How? .j -- /Whether you think that you can, or that you can't, you are usually right./ - Henry Ford -- /Whether you think that you can, or that you can't, you are usually right./ - Henry Ford
[flexcoders] Re: Example of using a:hover to Style a Link in a TextField Component
var style:StyleSheet = new StyleSheet(); var hover:Object = new Object(); hover.color = #1EBBDE; var link:Object = new Object(); link.color = #FF; style.setStyle(a:hover, hover); //set the link hover style style.setStyle(a:link, link);//set the link normal style var linkField:TextField = new TextField (); linkField.type = TextFieldType.DYNAMIC; linkField.styleSheet = style; linkField.htmlText = 'ua href=/urlLink/a/u'; -Aaron Stein --- In flexcoders@yahoogroups.com, Harris Reynolds [EMAIL PROTECTED] wrote: What up? The Flex API docs [1] mentions that anchor tags used within a TextField object can be styled: You can also define a:link, a:hover, and a:active styles for anchor tags by using style sheets. Does anyone actually know how to do this? All the CSS incantations I have tried thus far don't work. It has to be possible since it is in the docs... right? :-) ~harris [1] http://livedocs.macromedia.com/flex/2/langref/flash/text/TextField.html #htmlText
RE: [flexcoders] Re: FDS - class cast exception - lazy loading relationship
I'm going to keep looking into this, but do you have any bi-directional relationships where both directions are lazy=false? Jeff From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of thunderstumpgesatwork Sent: Wednesday, December 13, 2006 9:41 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: FDS - class cast exception - lazy loading relationship Thanks for the info Jeff... I'lll be looking forward to some of these bug fixes... Meanwhile, I enabled 'autoSync' and 'autoCommit' and now I'm getting a new Error... no code so I can't tell what's going on. I was able to investigate the variables a little enough to know that the managedProperty it's trying to update is called 'attributeGroups'. See the definition of it in data-management-config and hibernate. Note this collection loads just fine when autoSync and autoUpdate are false. Any ideas? Thunder one-to-many property=attributeGroups destination=AttributeGroup lazy=false/ _ set name=attributeGroups inverse=true where=GROUPFK IS NULL key column name=MODELFK precision=22 scale=0 not-null=true / /key one-to-many class=AttributeGroup / /set _ TypeError: Error #1034: Type Coercion failed: cannot convert mx.collections::[EMAIL PROTECTED] to mx.data.DataList. at mx.data::ConcreteDataService/http://www.adobe.com/2006/flex/mx/internal: :updateArrayCollectionItems http://www.adobe.com/2006/flex/mx/internal::updateArrayCollectionItems ()[C:\dev\enterprise_gmc\frameworks\mx\data\ConcreteDataService.as:2995] at mx.data::ConcreteDataService/http://www.adobe.com/2006/flex/mx/internal: :updateManagedProperty http://www.adobe.com/2006/flex/mx/internal::updateManagedProperty ()[C:\dev\enterprise_gmc\frameworks\mx\data\ConcreteDataService.as:2065] at mx.data::ConcreteDataService/http://www.adobe.com/2006/flex/mx/internal: :updateItem http://www.adobe.com/2006/flex/mx/internal::updateItem ()[C:\dev\enterprise_gmc\frameworks\mx\data\ConcreteDataService.as:3225] at mx.data::ConcreteDataService/http://www.adobe.com/2006/flex/mx/internal: :updateCache http://www.adobe.com/2006/flex/mx/internal::updateCache ()[C:\dev\enterprise_gmc\frameworks\mx\data\ConcreteDataService.as:3144] at mx.data::ConcreteDataService/http://www.adobe.com/2006/flex/mx/internal: :updateCacheWithId http://www.adobe.com/2006/flex/mx/internal::updateCacheWithId ()[C:\dev\enterprise_gmc\frameworks\mx\data\ConcreteDataService.as:3050] at mx.data::DataList/http://www.adobe.com/2006/flex/mx/internal::processSeq uence http://www.adobe.com/2006/flex/mx/internal::processSequence ()[C:\dev\enterprise_gmc\frameworks\mx\data\DataList.as:1506] at mx.data::Metadata/configureItem()[C:\dev\enterprise_gmc\frameworks\mx\da ta\Metadata.as:340] at mx.data::DataList/http://www.adobe.com/2006/flex/mx/internal::processSeq uence http://www.adobe.com/2006/flex/mx/internal::processSequence ()[C:\dev\enterprise_gmc\frameworks\mx\data\DataList.as:1495] at mx.data::Metadata/configureItem()[C:\dev\enterprise_gmc\frameworks\mx\da ta\Metadata.as:278] at mx.data::DataList/http://www.adobe.com/2006/flex/mx/internal::processSeq uence http://www.adobe.com/2006/flex/mx/internal::processSequence ()[C:\dev\enterprise_gmc\frameworks\mx\data\DataList.as:1495] at mx.data::Metadata/configureItem()[C:\dev\enterprise_gmc\frameworks\mx\da ta\Metadata.as:278] at mx.data::DataList/http://www.adobe.com/2006/flex/mx/internal::processSeq uence http://www.adobe.com/2006/flex/mx/internal::processSequence ()[C:\dev\enterprise_gmc\frameworks\mx\data\DataList.as:1495] at mx.data::Metadata/configureItem()[C:\dev\enterprise_gmc\frameworks\mx\da ta\Metadata.as:278] at mx.data::DataList/http://www.adobe.com/2006/flex/mx/internal::processSeq uence http://www.adobe.com/2006/flex/mx/internal::processSequence ()[C:\dev\enterprise_gmc\frameworks\mx\data\DataList.as:1495] at mx.data::Metadata/configureItem()[C:\dev\enterprise_gmc\frameworks\mx\da ta\Metadata.as:278] at mx.data::DataList/http://www.adobe.com/2006/flex/mx/internal::processSeq uence http://www.adobe.com/2006/flex/mx/internal::processSequence ()[C:\dev\enterprise_gmc\frameworks\mx\data\DataList.as:1495] at mx.data::DataList/http://www.adobe.com/2006/flex/mx/internal::processSeq uenceResult http://www.adobe.com/2006/flex/mx/internal::processSequenceResult ()[C:\dev\enterprise_gmc\frameworks\mx\data\DataList.as:1610] at ConcreteDataService.as$38::DataListRequestResponder/result()[C:\dev\ente rprise_gmc\frameworks\mx\data\ConcreteDataService.as:4344] at mx.rpc::AsyncRequest/acknowledge()[C:\dev\enterprise_gmc\frameworks\mx\r pc\AsyncRequest.as:82] at NetConnectionChannel.as$37::NetConnectionMessageResponder/NetConnectionC hannel.as$37:NetConnectionMessageResponder::resultHandler()[C:\dev\enter prise_gmc\frameworks\mx\messaging\channels\NetConnectionChannel.as:407] at mx.messaging::MessageResponder/result()[C:\dev\enterprise_gmc\frameworks
[flexcoders] non-wordwrapping text... has me cuckoo for cocoa puffs
I have this component, and inside i have some nested stuff... I'm trying to get my textHolder to wordwrap... i don't know what's throwing it off... but my tileHolder is a second component, 30 pixels tall right below it might be throwing this off, but I'm drawing it with the draw api... Please, help, what am I not understanding about how this lays out? thanks, Patrick mx:Fade id=fadeIn alphaFrom=0 alphaTo=1 / mx:VBox id=panelHolder width=346 verticalScrollPolicy=off horizontalScrollPolicy=off verticalAlign=middle paddingBottom=0 paddingTop=0 minHeight=50 horizontalAlign=Left verticalGap=0 creationCompleteEffect=fadeIn mx:HBox id=horizontalHolder width=100% horizontalAlign=Left horizontalGap=10 verticalAlign=middle paddingLeft=15 paddingRight=15 height=100% horizontalScrollPolicy=off paddingBottom=2 paddingTop=2 mx:Image id=imageHolder width=100 scaleContent=true autoLoad=true completeEffect={fadeIn}/ mx:VBox verticalAlign=middle paddingTop=0 paddingBottom=0 height=100% mx:Text id=textHolder styleName=subHeadingText selectable=false / mx:HBox id=tileHolder height=30/ /mx:VBox /mx:HBox /mx:VBox /mx:Canvas I'm using this custom wordwrap function, which was cheesy as all get-out, but working, until i discovered the mac has different size text... if (myRadioPanel.textHolder.htmlText.length40) myRadioPanel.textHolder.height = 15; if ((myRadioPanel.textHolder.htmlText.length40)(myRadioPanel.textHolde r.htmlText.length80)) myRadioPanel.textHolder.height = 30; if ((myRadioPanel.textHolder.htmlText.length80)(myRadioPanel.textHolde r.htmlText.length120))myRadioPanel.textHolder.height= 45;
Re: [flexcoders] Re: Building Flex 2 project with Maven
Hi Everyone, Has there been any news on any flex2/maven2 plugin? Or ideas/patterns on how to get them playing nicely? Thanks ;) Aldo On 8/27/06, Christian Gruber [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: I don't know of any Maven plugin, but I'd be interested to know as well. From: lfontvielle we would like to know: 1. If any Maven plugins have been developed for flex ? 2. Would you be interested in a Maven plugin for Flex ? I am currently writing one as we speak, and it should be minimally functional within the next week or so. regards, Christian Gruber [EMAIL PROTECTED] [EMAIL PROTECTED] -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- : Aldo Bucchi : mobile (56) 8 429 8300
[flexcoders] Flex Charting Survey
Do you use charts in Flex or do you think you may in the future? Please take 2 minutes to take a survey on possible chart types and enhancements for a future release. It's two questions and will take you to flex.org when complete. http://www.surveymonkey.com/s.asp?u=756643034226
Re: [flexcoders] Flex Charting Survey
On 12/14/06, Matt Chotin [EMAIL PROTECTED] wrote: Do you use charts in Flex or do you think you may in the future? Please take 2 minutes to take a survey on possible chart types and enhancements for a future release. It's two questions and will take you to flex.org when complete. what's a heat map? like what's hot stock chart? or some kind of surface/contour one?
Re: [flexcoders] To Remote Call or Not To Remote Call in Cairngorm
Your plan sounds like a good one to me. For extra efficiency, you might also want to keep track of what calls you have pending. For instance, you may have issued a call to get the data but it has not yet arrived. Just depends on how nice you want to be to your server. Cheers, Lach On 07/12/2006, at 4:06 AM, Brian Holmes wrote: For fairly static data that is bound to many different views, I only want to go to the server when the data's not there. … My first inclination on handling this is to look at the ModelLocator to see if the data is null or not and act accordingly and that works great. So I was wondering where and how other people are managing this kind of logic. Thanks, Brian.
[flexcoders] Re: does charts have event for data change?
mmm... why? do you mean to format the data and only after assign it to the chart? why not binding? anyway, i want to format the data from within the chart instead of within the response from the server. plus i realy want to know (for my general knowledge) if there is a chart event for data change and how to use it. tnx --- In flexcoders@yahoogroups.com, Ely Greenfield [EMAIL PROTECTED] wrote: I would _not_ use databinding to bind the data into the chart...instead, add a change handler to your array collection, and when it fires, assign the collection explicitly as the dataProvider for the chart. Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of shemeshkale Sent: Wednesday, December 13, 2006 2:10 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: does charts have event for data change? Ely - tnx for the help.. the data is retreived from a data-base by a server then i change it to an ArrayCollection which is an array of objects inside each object i got several values. here is a problem: the dataProvider is binded to this collection but because lack of synch the data is coming AFTER the chart is already rendered. meaning first come an empty chart only after comes the data (of course this happens too fast for the human eye). i want to format the data from the collection therefore i need to know when this collection is changed. i have some other ways to see when this happens, but... i want to know how can i do it from the chart side. --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Ely Greenfield egreenfi@ wrote: Can you give more details about how you're using the chart? i.e., where are you getting your data from, what kind of data, what form is it in when you assign it to the chart, are you assigning it to the chart or the data providers, etc. Ely. From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of shemeshkale Sent: Wednesday, December 13, 2006 11:05 AM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] Re: does charts have event for data change? YES, that what i want!! but how?? like so?? : myChart.dataProvider.addEventListener(CollectionEvent.COLLECTION_CHANGE, test); it does not work either. can you please show me how? an example would be great. --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com , Ely Greenfield egreenfi@ wrote: Add it to your data provider instead. Ely. From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of shemeshkale Sent: Wednesday, December 13, 2006 4:10 AM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] does charts have event for data change? as simple as that: does charts have an event that fires whenever its data changes? it seems that this: myGrid.addEventListener(CollectionEvent.COLLECTION_CHANGE, test); will work for DataGrid but not for charts any idea how to do this with charts?
RE: [flexcoders] Flex Charting Survey
A TreeMap might be similar too: http://www.appfusion.com/treemap/ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Paul Hastings Sent: Wednesday, December 13, 2006 9:52 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Flex Charting Survey On 12/14/06, Matt Chotin [EMAIL PROTECTED] mailto:mchotin%40adobe.com wrote: Do you use charts in Flex or do you think you may in the future? Please take 2 minutes to take a survey on possible chart types and enhancements for a future release. It's two questions and will take you to flex.org when complete. what's a heat map? like what's hot stock chart? or some kind of surface/contour one?
Re: [flexcoders] Skipping editable Datagrid cells when tabbing
I think the best way in your case is listen to ITEM_EDIT_BEGINNING event. It will let you know what cell you are currently on and then you can skip it or let it go on editing Dmitriy - Original Message From: bsdensmore [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, December 14, 2006 1:53:07 AM Subject: [flexcoders] Skipping editable Datagrid cells when tabbing Does anyone know of a good way to skip over an editable cell in a datagrid while tabbing? I thought I could have an event listener that takes a KEY_UP trigger on the event and look to see if the keycode was equal to 9 which is the tab key and look to see which column they were in, and if they were in the wrong column move them to the correct column. trapping the key event works fine but I can't figure out how to tell if they are in a specific column and then send them to the correct column. Anyone have any ideas? Thanks, Ben Need a quick answer? Get one in minutes from people who know. Ask your question on www.Answers.yahoo.com
Re: [flexcoders] Use an Image as an icon
Hi Even, I may be wrong, but I'm pretty sure the case is this: Meta-data and embedded assets are interpreted at compile time. Program variables are assigned at runtime. It doesn't really make sense therefore to assign a compile time constant the value of a runtime variable. I.e. var image won't == 'image.jpg' until your program is running. I'm not sure I really see the point of what you're trying to accomplish here. If you want to change the button's icon while the program is running, you might have to say something like: [Embed('about.jpg')] public var img:Class; public function changeIcon ():void { btn.setStyle('icon', img); } Cheers, Lach On 07/12/2006, at 8:31 AM, ejb4424 wrote: Hello. Can anybody tell me either how to use an image as an icon, or convert an image to a class for use as an icon (in components, the icon is of type Class)? Or better yet is it possible for me to dynamically embed an image via a variable? Sure the usual embed assertion works: [Embed('image.jpg')] [Bindable] var img:Class; ... mx:Button label=button icon={img} / But what I want to do is embed the image via a variable such as: var image:String = image.jpg; [Embed(image)] var img:Class; What I'm trying to do is a bit more complex, but help with this simple example should get me going. Any help would be appreciated. Thanks. Evan
SOLVED: Re: [flexcoders] non-wordwrapping text... has me cuckoo for cocoa puffs
I just removed all the 100% height and widths and now textboxes are the correct size. [EMAIL PROTECTED] wrote: I have this component, and inside i have some nested stuff... I'm trying to get my textHolder to wordwrap... i don't know what's throwing it off... but my tileHolder is a second component, 30 pixels tall right below it might be throwing this off, but I'm drawing it with the draw api... Please, help, what am I not understanding about how this lays out? thanks, Patrick mx:Fade id=fadeIn alphaFrom=0 alphaTo=1 / mx:VBox id=panelHolder width=346 verticalScrollPolicy=off horizontalScrollPolicy=off verticalAlign=middle paddingBottom=0 paddingTop=0 minHeight=50 horizontalAlign=Left verticalGap=0 creationCompleteEffect=fadeIn mx:HBox id=horizontalHolder width=100% horizontalAlign=Left horizontalGap=10 verticalAlign=middle paddingLeft=15 paddingRight=15 height=100% horizontalScrollPolicy=off paddingBottom=2 paddingTop=2 mx:Image id=imageHolder width=100 scaleContent=true autoLoad=true completeEffect={fadeIn}/ mx:VBox verticalAlign=middle paddingTop=0 paddingBottom=0 height=100% mx:Text id=textHolder styleName=subHeadingText selectable=false / mx:HBox id=tileHolder height=30/ /mx:VBox /mx:HBox /mx:VBox /mx:Canvas I'm using this custom wordwrap function, which was cheesy as all get-out, but working, until i discovered the mac has different size text... if (myRadioPanel.textHolder.htmlText.length40) myRadioPanel.textHolder.height = 15; if ((myRadioPanel.textHolder.htmlText.length40)(myRadioPanel.textHolde r.htmlText.length80)) myRadioPanel.textHolder.height = 30; if ((myRadioPanel.textHolder.htmlText.length80)(myRadioPanel.textHolde r.htmlText.length120))myRadioPanel.textHolder.height= 45;
RE: [flexcoders] Flex Charting Survey
The former, the what's hot question. E.g., http://screening.nasdaq.com/heatmaps/heatmap_pmi.asp http://screening.nasdaq.com/heatmaps/heatmap_pmi.asp or what you see at http://www.labescape.com/ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Paul Hastings Sent: Wednesday, December 13, 2006 9:52 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Flex Charting Survey On 12/14/06, Matt Chotin [EMAIL PROTECTED] mailto:mchotin%40adobe.com wrote: Do you use charts in Flex or do you think you may in the future? Please take 2 minutes to take a survey on possible chart types and enhancements for a future release. It's two questions and will take you to flex.org when complete. what's a heat map? like what's hot stock chart? or some kind of surface/contour one?