Re: [flexcoders] Web Services and CF7
from: http://forta.com/blog/index.cfm?mode=ccatid=11 Using Flash Remoting With CFMX7? Watch Out For This One I mentioned this in a comment on a prior post , but it is important enough to warrant its own mention. If you are using Flash Remoting to access ColdFusion code, you may run into an issue in which ColdFusion could construct an invalid URL when appending a jsessionid. If this occurs the web server via which you are accessing your code could throw errors. The solution is simply, just add a ? To the end of the gateway URL, change /flashservices/gateway to /flashservices/gateway?, doing so ensures that the URL will be created correctly. This issue was discovered by our tech support folks, and I believe they'll be posting a TechNote on it shortly. CFC Results Via AMF And Case Inconsistencies I just spent a long time troubleshooting a Flex ColdFusion connectivity issue, and now that we've figured out what was going on I am sharing this in case it bites anyone else. There are two basic ways for Flex to invoke back-end ColdFusion CFCs, SOAP (Web Services) or AMF (Flash Remoting). My app had been using SOAP, but I needed to convert to AMF (the performance difference is significant). Last year Brandon Purcell wrote an excellent blog entry entitled Switching between webservices and Flash Remoting using Flex , and so I used his steps to make the switch. As he notes in that entry, ColdFusion variables returned via SOAP have their names converted to uppercase, whereas variables returned via AMF retain their original case, and so any binding code (or Flex code referencing returned data) needs to be converted from all caps to actual case. The converted code worked perfectly for CFC methods returning queries, they ran exactly as they did before, just a whole lot quicker. But my CFC methods returning structures all failed, none of my bindings and client-side code worked. The problem? Waldo Smeets figured this one out, unlike returned queries, returned structure members are all caps, even when using AMF. This is horribly inconsistent, and hopefully it'll be fixed in the future. For now, keep this in mind. Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Re: Cairngorm 0.99
I'm having a similar issue. After changing db_path in /WEB-INF/classes/store.cfg to an absolute path, I get: Error: Unresolved compilation problems: The import org.apache.commons cannot be resolved The import org.apache.commons cannot be resolved log cannot be resolved log cannot be resolved log cannot be resolved log cannot be resolved log cannot be resolved log cannot be resolved Log cannot be resolved to a type LogFactory cannot be resolved Could be an issue with the way I have the Tomcat project configured in Eclipse. Will dig deeper into this in the morning. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Steven Webster Sent: Wednesday, May 18, 2005 7:10 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: Cairngorm 0.99 Hi there, Can you zip up your webapp directory (removing flex.war/etc) on JRun and email it privately to me offlist, and we'll take a look. On the login sample, you should have seen a result or a fault come back over the wire ... what was the case ? Have you tried starting/stopping the appserver ? I'm sure it's something simple. Best, Steven -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of violabg2002 Sent: 18 May 2005 15:04 To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Cairngorm 0.99 Hi Steven changed the store.cfg paht to db_path=c:\\cairngormstore\\db\\ but same problem. I have h commons-lang-1.0.1.jar h commons-logging-1.0.4.jar h hsqldb.jar h log4j-1.2.8.jar in the Flex\jrun4\servers\default\cairngormstore\WEB-INF\lib directory. Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] Panel hearder-colors restriction or bug
On 5/18/05, Kent Henneuse [EMAIL PROTECTED] wrote: If I specify a single color for the header I get that color no matter the value. If I specify a second color, for the gradient I assume, I get black. See example code below. The code example you posted works fine for me if I run it directly. There might be a bug in the Style Explorer. It may be trying to parse the comma-separated values as a Number instead of an Array. Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] Usting Flex with a database
[EMAIL PROTECTED] wrote: I know this is probably a basic question and I hope not a silly one but how good is Flex with Databases? Not very much, directly. The most direct route is going to be to hook up a RemoteObject to a Java object that services as a persistence manager, such as Hibernate. You could use JDBC calls in the Java object directly, but I wouldn't recommend it unless you're doing something really simple. Will. Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] binding error - from Flex?
michael keirnan wrote: also, if you run mxmlc or compc against your source tree the generated files are placed right in your source tree. (perhaps obvious if one thinks about it, but i did not think about it until it bit me). this can lead to various problems during the typical development process: edit-compile-test-curse-repeat. /mgk Tom Fitzpatrick wrote: Tracy - thanks. Deleting the generated files did the trick. - Tom At 12:19 PM 4/27/2005, you wrote: The generated files I am talking about are under ..[flex-root]\WEB-INF\flex\generated| folder in the Flex server. There are several folders with generated names. It is safe to delete them. If you get the 32k error on one server but not another, that really sounds like a boundary condition. Try running the one with the error using the ?debug=true request parameter. This causes debug code to get generated into the app and has, in the past allowed us to continue. It seems like compc and mxmlc are dependent on one another... but it's not clear what order they go in. And where do regular actionscript classes go in this? Is it possible to use compc to compile actionscript classes or packages into an SWC file? And why the heck is a component manifest needed when it doesn't seem to add any extra information? Will. Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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/
[flexcoders] Re: How to configure MXML schema in Eclipse + OxygenXML 6?
Hello Dimitrios, I'm looking forward to find a valid MXML editor into eclipse... I've downloaded erverything... I can see the XML editor is here, I've associated MXML file to it... It opens it as an XML file, but says the document is empty, while the source tab shows the mxml file... Any idea ? Ciao, r0main --- In flexcoders@yahoogroups.com, Dimitrios Gianninas [EMAIL PROTECTED] wrote: Not sure if anyone uses it, but I started using Eclipse Web Tools for MXML editing. You can specify the MXML schema and works it wonderfully so far. http://www.eclipse.org/webtools/index.html Dimitrios Jimmy Gianninas RIA Developer Optimal Payments Inc. _ From: Andrew Muller [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 18, 2005 8:55 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] How to configure MXML schema in Eclipse + OxygenXML 6? Hans Apologies if this appears twice. I buggerised around for a while and found success if I used the following settings (totally non scientific/documented settings, might be a better way): In Window/Preferences/oXygen/Editor/Tag Insight/Default I added the following: Namespace: Any Root local name: Any File name: Any Schema type: XML Schema Schema URI: file location of XSD file I then moved this entry to the top of the list, have been using it for about a day and it seems to work for me so far without having any noticable side effect on other file types. HTH Andrew Andrew Muller Partner, RocketBoots http://www.rocketboots.com.au On 5/19/05, Hans Omli [EMAIL PROTECTED] wrote: Has anyone successfully set up tag insight with Eclipse and the new version of OxygenXML. I had no trouble with OxygenXML 5.1, but can't seem to get tag insight working with 6.0. Thanks! Yahoo! Groups Links To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. _ Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/ . table width=800 cellpadding=4 cellspacing=10 border=0tr bgcolor=BDBDBDtd valign=top width=400font face=verdana size=2 color=FFbAVIS IMPORTANT/b/font/tdtd valign=top width=400font face=verdana size=2 color=FFbWARNING/b/font/td/trtrtd valign=top width=400p align=justifyfont face=verdana size=1 color=808080 Les informations contenues dans le present document et ses pieces jointes sont strictement confidentielles et reservees a l'usage de la (des) personne(s) a qui il est adresse. Si vous n'etes pas le destinataire, soyez avise que toute divulgation, distribution, copie, ou autre utilisation de ces informations est strictement prohibee. Si vous avez recu ce document par erreur, veuillez s'il vous plait communiquer immediatement avec l'expediteur et detruire ce document sans en faire de copie sous quelque forme./tdtd valign=top width=400p align=justifyfont face=verdana size=1 color=808080 The information contained in this document and attachments is confidential and intended only for the person(s) named above. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution, or any other use of the information is strictly prohibited. If you have received this document by mistake, please notify the sender immediately and destroy this document and attachments without making any copy of any kind./td/tr/table Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] Is there an easy way to do this
On 5/19/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: [...] mx:Array id=apples mx:Object labelShopper1/label Number5/Number /mx:Object mx:Object labelShopper2/label Number7/Number /mx:Object mx:Object labelShopper3/label Number0/Number /mx:Object [...] You want to sort by the number of apples. apples.sortOn(Number); apples.sort().reverse(); // that was ascending I'm pretty sure there's a way to directly sort descending, ... Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] SynergyFLEX Framework Presentation.
Scott Barnes wrote: Q. What is the rationale for SynergyFLEX? ~~ [ massive answer deleted ] Hopefully that will connect the dots some more for folks - its hard to explain the whole framework in a small email, really needs a walk through presentation of some sort. I've also been busy building the help docs in RoboHelp *damn fine product* aswell as update code documentation, so yeah its getting closer to prime time.. still early days but i hope its available before FLEX 2.0 hehehehe. Hope that helps? That makes a ton of sense. It's a patch bay with sources that send events and sinks that receive them. All Flex needs now is some kind of component pipeline manager... Looks very useful, thanks! Will. Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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/
[flexcoders] Re: Is there an easy way to do this
From documentation on Array class (http://livedocs.macromedia.com/flex/15/flex_docs_en/1201.htm): apples.sortOn(Number, Array.DESCENDING); Ciao, r0main --- In flexcoders@yahoogroups.com, Manish Jethani [EMAIL PROTECTED] wrote: On 5/19/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: [...] mx:Array id=apples mx:Object labelShopper1/label Number5/Number /mx:Object mx:Object labelShopper2/label Number7/Number /mx:Object mx:Object labelShopper3/label Number0/Number /mx:Object [...] You want to sort by the number of apples. apples.sortOn(Number); apples.sort().reverse(); // that was ascending I'm pretty sure there's a way to directly sort descending, ... Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] Cairngorm 0.99
I think the quotes needed to be added. From: namespace uri=http://www.iterationtwo.com/cairngorm manifest/WEB-INF/flex/cairngorm-manifest.xml/manifest/namespace be: namespace uri=http://www.iterationtwo.com/cairngorm manifest/WEB-INF/flex/cairngorm-manifest.xml/manifest/namespace On 5/17/05, Dimitrios Gianninas [EMAIL PROTECTED] wrote: Hi, You must add the appropriate entry for the cairngorm-manifest.xml in the flex-config.xml (portion in red below): namespace uri= http://www.macromedia.com/2003/mxml manifest/WEB-INF/flex/mxml-manifest.xml/manifest/namespace namespace uri=http://www.iterationtwo.com/cairngorm manifest/WEB-INF/flex/cairngorm-manifest.xml/manifest/namespace This probably explains the error meesage. Dimitrios Jimmy Gianninas RIADeveloper Optimal Payments Inc. From: Sean McKibben [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 17, 2005 6:25 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Cairngorm 0.99 I'm having some trouble getting my Services.mxml to work with .99. I keep getting errors like: Error /com/cadpo/shared/business/Services.mxml:4 Namespace http://www.iterationtwo.com/cairngorm has not been associated with component manifest. Error /com/cadpo/shared/business/Services.mxml:4 No type for element http://www.iterationtwo.com/cairngorm:ServiceLocator Error /com/cadpo/shared/business/Services.mxml:4 Unexpected root element http://www.iterationtwo.com/cairngorm:ServiceLocator does not extend MovieClip I put the cairngorm-manifest.xml into the WEB-INF/flex directory, but it still doesn't want to eat it. Here is the first part of my Services.mxml: ?xml version=1.0 encoding=utf-8? cairngorm:ServiceLocator xmlns:mx=http://www.macromedia.com/2003/mxml xmlns:cairngorm=http://www.iterationtwo.com/cairngorm mx:WebService id=myWS ... Is thexmlns:cairngorm=http://www.iterationtwo.com/cairngorm attribute correct? I copied it out of one of the sample apps included in .99. Any ideas? Thanks, Sean McKibben Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Re: Cairngorm 0.99
I have the same issue with the Login example: Error /org/nevis/cairngorm/samples/login/business/Services.mxml:22 Namespace http://www.iterationtwo.com/cairngorm has not been associated with component manifest. On 5/19/05, Hans Omli [EMAIL PROTECTED] wrote: I'm having a similar issue.After changing db_path in/WEB-INF/classes/store.cfg to an absolute path, I get:Error: Unresolved compilation problems:The import org.apache.commons cannot be resolved The import org.apache.commons cannot be resolvedlog cannot be resolvedlog cannot be resolvedlog cannot be resolvedlog cannot be resolvedlog cannot be resolved log cannot be resolvedLog cannot be resolved to a typeLogFactory cannot be resolvedCould be an issue with the way I have the Tomcat project configured inEclipse.Will dig deeper into this in the morning. -Original Message-From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] OnBehalf Of Steven Webster Sent: Wednesday, May 18, 2005 7:10 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Re: Cairngorm 0.99Hi there,Can you zip up your webapp directory (removing flex.war/etc) on JRun andemail it privately to me offlist, and we'll take a look.On the login sample, you should have seen a result or a fault come back overthe wire ... what was the case ?Have you tried starting/stopping the appserver ? I'm sure it's something simple.Best,Steven -Original Message- From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of violabg2002 Sent: 18 May 2005 15:04 To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Cairngorm 0.99 Hi Steven changed the store.cfg paht to db_path=c:\\cairngormstore\\db\\but same problem. I have h commons-lang-1.0.1.jar h commons-logging-1.0.4.jar h hsqldb.jar h log4j-1.2.8.jar in the Flex\jrun4\servers\default\cairngormstore\WEB-INF\lib directory.Yahoo! Groups Links* To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/* 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/ Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Web Services and CF7
Hi Ted: I agree with Andrew totally. Using remoteobject to invoke the cfc on the server is a much more efficient. I've been using remoteobject to access cfc and it works beautifully. A question for you: Are you going to be running cf7 and flex on the same jrun instance? If you are, keep in mind the following: 1. Remove the flash remoting gateway that is installed by default with cf7 (through jrun admin). 2. Make sure that in the flex-config.xml, you have the following value setup for the amf-gateway (under remote-object node). amf-gateway{context.root}/amfgateway/amf-gateway 3. When calling the remote object (cfc), make sure to add the correct endpoint (in the example code below). So, for example, if you were going to call a cfc called foo with the path myfolder/folder/foo.cfc, you'd use the following call: mx:RemoteObject id=myService source=myfolder.folder.foo endpoint=@ContextRoot()/flashservices/gateway /mx:RemoteObject Hope this helps. Indy On 5/19/05, Andrew Muller [EMAIL PROTECTED] wrote: Ted Is there any reason, since you're using CF7, why you wouldn't connect from Flex via Flash Remoting instead of Web Services, you'd be consuming the same CFC presumably and the data should be much less verbose... Andrew Andrew Muller Partner, RocketBoots http://www.rocketboots.com.au On 5/19/05, Theodore E Patrick [EMAIL PROTECTED] wrote: I am looking at using CF7 and CFC web services with Flex 1.5. I understand that some have seen issues with using these two togther or was this limited to CF6? Can anyone highlight the issue for me? Any help would be most appreciated. Cheers, Ted Patrick Yahoo! Groups Links To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. Yahoo! Groups Links Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] Web Services and CF7
Ted, I just found another reason why I'd prefer remoteobject over webservices. If a cfc extends another component, you cannot access the inherited functions when using webservices. You will have specifically write functions in the cfc you are calling to expsore the inherited functions. However, when you use remoteobject to access a cfc, you can access inherited functions without needing to expose them.. Indy On 5/19/05, Indy Nagpal [EMAIL PROTECTED] wrote: Hi Ted: I agree with Andrew totally. Using remoteobject to invoke the cfc on the server is a much more efficient. I've been using remoteobject to access cfc and it works beautifully. A question for you: Are you going to be running cf7 and flex on the same jrun instance? If you are, keep in mind the following: 1. Remove the flash remoting gateway that is installed by default with cf7 (through jrun admin). 2. Make sure that in the flex-config.xml, you have the following value setup for the amf-gateway (under remote-object node). amf-gateway{context.root}/amfgateway/amf-gateway 3. When calling the remote object (cfc), make sure to add the correct endpoint (in the example code below). So, for example, if you were going to call a cfc called foo with the path myfolder/folder/foo.cfc, you'd use the following call: mx:RemoteObject id=myService source=myfolder.folder.foo endpoint=@ContextRoot()/flashservices/gateway /mx:RemoteObject Hope this helps. Indy On 5/19/05, Andrew Muller [EMAIL PROTECTED] wrote: Ted Is there any reason, since you're using CF7, why you wouldn't connect from Flex via Flash Remoting instead of Web Services, you'd be consuming the same CFC presumably and the data should be much less verbose... Andrew Andrew Muller Partner, RocketBoots http://www.rocketboots.com.au On 5/19/05, Theodore E Patrick [EMAIL PROTECTED] wrote: I am looking at using CF7 and CFC web services with Flex 1.5. I understand that some have seen issues with using these two togther or was this limited to CF6? Can anyone highlight the issue for me? Any help would be most appreciated. Cheers, Ted Patrick Yahoo! Groups Links To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. Yahoo! Groups Links Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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/
[flexcoders] Lineseries and dataproviders?
Hi there, I've been struggling with line charts containing multiple data series. The data presented is linear so that I'm using LinearAxis for both X and Y axis LineSeries to make the data series. Is there ANY way to assign different data providers to LineSeries objects of one LineChart object? Moreover, is it possible to use anything else but a named field (string) as the xField or yField assignment of the LineSeries object? It would be a whole lot easier more practical to assign eg. a column of an array or even a named field in a multidimensional array as the data source, but this seems to be impossible. Regards, Satu Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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/
[flexcoders] Cairngorm 0.99, JRun and Log4J
Hi all, It turns out that the log4j JAR file that ships with the CairngormStore example in Cairngorm conflicts with the one that is pre-installed with the version of JRun that ships with Flex, and stops the application context from starting up successfully. So, to get it running, delete the following file before starting the integrated JRun server: \jrun4\servers\default\cairngormstore\WEB-INF\lib\log4j-1.2.8.jar JRun will then use its own Log4J JAR file. Cheers, Ali -- Alistair McLeodDevelopmentDirector iteration::two[EMAIL PROTECTED] Office: +44 (0)131 338 6108 This e-mail and any associated attachments transmitted with it may contain confidential information and must not be copied, or disclosed, or used by anyone other than the intended recipient(s). If you are not the intended recipient(s) please destroy this e-mail, and any copies of it, immediately.Please also note that while software systems have been used to try to ensure that this e-mail has been swept for viruses, iteration::two do not accept responsibility for any damage or loss caused in respect of any viruses transmitted by the e-mail. Please ensure your own checks are carried out before any attachments are opened. Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Re: How to configure MXML schema in Eclipse + OxygenXML 6?
Dimitrios, Which editor did you associate to *.mxml files ? I've got a file main.mxml, and tried XML Editor, XML Source Page Editor, Standalone Structured Source Editor, on it: Nothing good happens... But if I rename it main.xml that works perfectly... r0main --- In flexcoders@yahoogroups.com, r0main [EMAIL PROTECTED] wrote: Hello Dimitrios, I'm looking forward to find a valid MXML editor into eclipse... I've downloaded erverything... I can see the XML editor is here, I've associated MXML file to it... It opens it as an XML file, but says the document is empty, while the source tab shows the mxml file... Any idea ? Ciao, r0main --- In flexcoders@yahoogroups.com, Dimitrios Gianninas [EMAIL PROTECTED] wrote: Not sure if anyone uses it, but I started using Eclipse Web Tools for MXML editing. You can specify the MXML schema and works it wonderfully so far. http://www.eclipse.org/webtools/index.html Dimitrios Jimmy Gianninas RIA Developer Optimal Payments Inc. _ From: Andrew Muller [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 18, 2005 8:55 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] How to configure MXML schema in Eclipse + OxygenXML 6? Hans Apologies if this appears twice. I buggerised around for a while and found success if I used the following settings (totally non scientific/documented settings, might be a better way): In Window/Preferences/oXygen/Editor/Tag Insight/Default I added the following: Namespace: Any Root local name: Any File name: Any Schema type: XML Schema Schema URI: file location of XSD file I then moved this entry to the top of the list, have been using it for about a day and it seems to work for me so far without having any noticable side effect on other file types. HTH Andrew Andrew Muller Partner, RocketBoots http://www.rocketboots.com.au On 5/19/05, Hans Omli [EMAIL PROTECTED] wrote: Has anyone successfully set up tag insight with Eclipse and the new version of OxygenXML. I had no trouble with OxygenXML 5.1, but can't seem to get tag insight working with 6.0. Thanks! Yahoo! Groups Links To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. _ Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/ . table width=800 cellpadding=4 cellspacing=10 border=0tr bgcolor=BDBDBDtd valign=top width=400font face=verdana size=2 color=FFbAVIS IMPORTANT/b/font/tdtd valign=top width=400font face=verdana size=2 color=FFbWARNING/b/font/td/trtrtd valign=top width=400p align=justifyfont face=verdana size=1 color=808080 Les informations contenues dans le present document et ses pieces jointes sont strictement confidentielles et reservees a l'usage de la (des) personne(s) a qui il est adresse. Si vous n'etes pas le destinataire, soyez avise que toute divulgation, distribution, copie, ou autre utilisation de ces informations est strictement prohibee. Si vous avez recu ce document par erreur, veuillez s'il vous plait communiquer immediatement avec l'expediteur et detruire ce document sans en faire de copie sous quelque forme./tdtd valign=top width=400p align=justifyfont face=verdana size=1 color=808080 The information contained in this document and attachments is confidential and intended only for the person(s) named above. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution, or any other use of the information is strictly prohibited. If you have received this document by mistake, please notify the sender immediately and destroy this document and attachments without making any copy of any kind./td/tr/table Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] Re: Cairngorm 0.99
Hi Dave, have you made sure your config.xml contains namespace uri=http://www.iterationtwo.com/cairngorm; manifest/WEB-INF/flex/cairngorm-manifest.xml/manifest /namespace ,you have a cairngorm-manifest.xml file and most importantly, you've restarted your server? Best, Alex -- Alex Uhlmann Software Engineer iteration::two -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Behalf Of dave buhler Sent: 19 May 2005 09:14 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Cairngorm 0.99 I have the same issue with the Login example: Error /org/nevis/cairngorm/samples/login/business/Services.mxml:22 Namespace http://www.iterationtwo.com/cairngorm has not been associated with component manifest. On 5/19/05, Hans Omli [EMAIL PROTECTED] wrote: I'm having a similar issue. After changing db_path in /WEB-INF/classes/store.cfg to an absolute path, I get: Error: Unresolved compilation problems: The import org.apache.commons cannot be resolved The import org.apache.commons cannot be resolved log cannot be resolved log cannot be resolved log cannot be resolved log cannot be resolved log cannot be resolved log cannot be resolved Log cannot be resolved to a type LogFactory cannot be resolved Could be an issue with the way I have the Tomcat project configured in Eclipse. Will dig deeper into this in the morning. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Steven Webster Sent: Wednesday, May 18, 2005 7:10 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: Cairngorm 0.99 Hi there, Can you zip up your webapp directory (removing flex.war/etc) on JRun and email it privately to me offlist, and we'll take a look. On the login sample, you should have seen a result or a fault come back over the wire ... what was the case ? Have you tried starting/stopping the appserver ? I'm sure it's something simple. Best, Steven -Original Message- From: flexcoders@yahoogroups.com [mailto: [EMAIL PROTECTED] On Behalf Of violabg2002 Sent: 18 May 2005 15:04 To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Cairngorm 0.99 Hi Steven changed the store.cfg paht to db_path=c:\\cairngormstore\\db\\ but same problem. I have h commons-lang-1.0.1.jar h commons-logging-1.0.4.jar h hsqldb.jar h log4j-1.2.8.jar in the Flex\jrun4\servers\default\cairngormstore\WEB-INF\lib directory. Yahoo! Groups Links Yahoo! Groups Links To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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/
R: [flexcoders] Cairngorm 0.99, JRun and Log4J
Thanks Alistair Finally Im able to see the cairngormstore example. However Im noting something strange, if I use the netConnectionDebugger that ship with flex, which I usually use to see the exachange of data between the server and the client, I dont see the data. This is what I see: MethodName: productServiceImpl.getProducts Parameters (object #2) .[0] (object #3) .._flag: Envelope ..data (object #4) ...No properties ..headers (object #5) ...[0] (object #6) [0]: ServiceType [1]: (boolean) false [2]: stateless-class Result (object #2) .[0]: (undefined) .[1]: (undefined) .[10]: (undefined) .[11]: (undefined) .[12]: (undefined) .[13]: (undefined) .[14]: (undefined) .[15]: (undefined) .[2]: (undefined) .[3]: (undefined) .[4]: (undefined) .[5]: (undefined) .[6]: (undefined) .[7]: (undefined) .[8]: (undefined) .[9]: (undefined) Is this because you are using a valueOject and the debug is not able to understand it or what? Da: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Per conto di Alistair McLeod Inviato: giovedì 19 maggio 2005 11.05 A: flexcoders@yahoogroups.com Oggetto: [flexcoders] Cairngorm 0.99, JRun and Log4J Hi all, It turns out that the log4j JAR file that ships with the CairngormStore example in Cairngorm conflicts with the one that is pre-installed with the version of JRun that ships with Flex, and stops the application context from starting up successfully. So, to get it running, delete the following file before starting the integrated JRun server: \jrun4\servers\default\cairngormstore\WEB-INF\lib\log4j-1.2.8.jar JRun will then use its own Log4J JAR file. Cheers, Ali -- Alistair McLeod DevelopmentDirector iteration::two [EMAIL PROTECTED] Office: +44 (0)131 338 6108 This e-mail and any associated attachments transmitted with it may contain confidential information and must not be copied, or disclosed, or used by anyone other than the intended recipient(s). If you are not the intended recipient(s) please destroy this e-mail, and any copies of it, immediately. Please also note that while software systems have been used to try to ensure that this e-mail has been swept for viruses, iteration::two do not accept responsibility for any damage or loss caused in respect of any viruses transmitted by the e-mail. Please ensure your own checks are carried out before any attachments are opened. Passa a QUIZIL SuperMail ! Con 40 MBytes di spazio per casella (a richiesta anche 100), spedizione ad alta velocità di messaggi grandi fino a 20 Mbytes, WebMail di alta qualità, la configurazione gratuita di SPF e, naturalmente, Antivirus, Antispam, POP e IMAP, più il backup settimanale. SuperMail è integrabile con WebFax e WebAdmin. Se preferisci l'indipendenza puoi portare un MailGateway entro la tua azienda, ed usarlo per attivare le funzioni cooperative di Outlook ! Attiva QUIZIL SuperMail con una email a [EMAIL PROTECTED] Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Fully qualified URL
Title: Fully qualified URL Hi all, In ActionScript I need to read the fully qualified URL to the application (http://x/x/). How can I get this URL? Jeroen. Jeroen De Vos Gemeentelijk Havenbedrijf Antwerpen C/ICT - AMARIS Deze e-mail en alle gekoppelde bestanden zijn officiele documenten van het Gemeentelijk Havenbedrijf Antwerpen en kunnen vertrouwelijke of persoonlijke informatie bevatten. Gelieve de afzender onmiddellijk via e-mail of telefonisch te verwittigen als u deze e-mail per vergissing heeft ontvangen en verwijder vervolgens de e-mail zonder deze te lezen, te reproduceren, te verspreiden of te ontsluiten naar derden. Het Gemeentelijk Havenbedrijf Antwerpen is op geen enkele manier verantwoordelijk voor fouten of onnauwkeurigheden in de inhoud van deze e-mail. Het Gemeentelijk Havenbedrijf Antwerpen kan niet aansprakelijk gesteld worden voor directe of indirecte schade, verlies of ongemak veroorzaakt als gevolg van een onnauwkeurigheid of fout in deze e-mail. English Translation: This e-mail and all attached files are official documents of Antwerp Port Authority and may contain confidential or personal information. If you have received this e-mail in error, you are asked to inform the sender by e-mail or telephone immediately, and to remove it from your system without reading or reproducing it or passing it on to other parties. Antwerp Port Authority is in no way responsible for any errors or inaccuracies in the contents of this e-mail, nor can it be held liable for any direct or indirect loss, damage or inconvenience arising from any such errors or inaccuracies.[GHA#Disclaimer] Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Fully qualified URL
Title: Fully qualified URL Hi, I thinks, mx.core.Application.application._url would return the URL of application. For example: mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" creationComplete='alert(mx.core.Application.application._url)' /mx:Application -abdul From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeroen De VosSent: Thursday, May 19, 2005 3:58 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Fully qualified URL Hi all, In ActionScript I need to read the fully qualified URL to the application (http://x/x/). How can I get this URL? Jeroen. Jeroen De Vos Gemeentelijk Havenbedrijf Antwerpen C/ICT - AMARIS Deze e-mail en alle gekoppelde bestanden zijn officiele documenten van het Gemeentelijk Havenbedrijf Antwerpen en kunnen vertrouwelijke of persoonlijke informatie bevatten. Gelieve de afzender onmiddellijk via e-mail of telefonisch te verwittigen als u deze e-mail per vergissing heeft ontvangen en verwijder vervolgens de e-mail zonder deze te lezen, te reproduceren, te verspreiden of te ontsluiten naar derden. Het Gemeentelijk Havenbedrijf Antwerpen is op geen enkele manier verantwoordelijk voor fouten of onnauwkeurigheden in de inhoud van deze e-mail. Het Gemeentelijk Havenbedrijf Antwerpen kan niet aansprakelijk gesteld worden voor directe of indirecte schade, verlies of ongemak veroorzaakt als gevolg van een onnauwkeurigheid of fout in deze e-mail. English Translation: This e-mail and all attached files are official documents of Antwerp Port Authority and may contain confidential or personal information. If you have received this e-mail in error, you are asked to inform the sender by e-mail or telephone immediately, and to remove it from your system without reading or reproducing it or passing it on to other parties. Antwerp Port Authority is in no way responsible for any errors or inaccuracies in the contents of this e-mail, nor can it be held liable for any direct or indirect loss, damage or inconvenience arising from any such errors or inaccuracies.[GHA#Disclaimer] Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Fully qualified URL
Title: Fully qualified URL Hello Jeroen, Below isan example ofone way of doing it. ?xml version="1.0" encoding="utf-8"?mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" mx:Panel title="Get This URL" width="100%" height="100%" mx:Script![CDATA[ private function getPageURL() : String{return(_root._url);}private function getPageDomain() : String{var myArray:Array = getPageURL().split("/");var domain = myArray[2].toString();return(domain);} ]]/mx:Script mx:Label text="{getPageURL()}"/ mx:Label text="{getPageDomain()}"/ mx:Label text="http://{getPageDomain()}/"/ /mx:Panel/mx:Application HTH, Allen Allen Manning, Technical Director Prismix Ltd t: +44 (0)870 749 1100 f: +44 (0)870 749 1200 w: www.prismix.com From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeroen De VosSent: 19 May 2005 11:28To: flexcoders@yahoogroups.comSubject: [flexcoders] Fully qualified URL Hi all, In ActionScript I need to read the fully qualified URL to the application (http://x/x/). How can I get this URL? Jeroen. Jeroen De Vos Gemeentelijk Havenbedrijf Antwerpen C/ICT - AMARIS Deze e-mail en alle gekoppelde bestanden zijn officiele documenten van het Gemeentelijk Havenbedrijf Antwerpen en kunnen vertrouwelijke of persoonlijke informatie bevatten. Gelieve de afzender onmiddellijk via e-mail of telefonisch te verwittigen als u deze e-mail per vergissing heeft ontvangen en verwijder vervolgens de e-mail zonder deze te lezen, te reproduceren, te verspreiden of te ontsluiten naar derden. Het Gemeentelijk Havenbedrijf Antwerpen is op geen enkele manier verantwoordelijk voor fouten of onnauwkeurigheden in de inhoud van deze e-mail. Het Gemeentelijk Havenbedrijf Antwerpen kan niet aansprakelijk gesteld worden voor directe of indirecte schade, verlies of ongemak veroorzaakt als gevolg van een onnauwkeurigheid of fout in deze e-mail. English Translation: This e-mail and all attached files are official documents of Antwerp Port Authority and may contain confidential or personal information. If you have received this e-mail in error, you are asked to inform the sender by e-mail or telephone immediately, and to remove it from your system without reading or reproducing it or passing it on to other parties. Antwerp Port Authority is in no way responsible for any errors or inaccuracies in the contents of this e-mail, nor can it be held liable for any direct or indirect loss, damage or inconvenience arising from any such errors or inaccuracies.[GHA#Disclaimer] Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Fully qualified URL
Ugggh. _root -- bad. in the example below, since its running in the core application tag, you can just remove the word _root entirely, and it will still work, or, as Abdul suggested, mx.core.Application.application._url will work from any place in the app. At 06:43 AM 5/19/2005, you wrote: Hello Jeroen, Below is an example of one way of doing it. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; mx:Panel title=Get This URL width=100% height=100% mx:Script![CDATA[ private function getPageURL() : String { return(_root._url); } private function getPageDomain() : String { var myArray:Array = getPageURL().split(/); var domain = myArray[2].toString(); return(domain); } ]]/mx:Script mx:Label text={getPageURL()}/ mx:Label text={getPageDomain()}/ mx:Label text=http://{getPageDomain()}// /mx:Panel /mx:Application HTH, Allen Allen Manning, Technical Director Prismix Ltd t: +44 (0)870 749 1100 f: +44 (0)870 749 1200 w: www.prismix.com From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeroen De Vos Sent: 19 May 2005 11:28 To: flexcoders@yahoogroups.com Subject: [flexcoders] Fully qualified URL Hi all, In ActionScript I need to read the fully qualified URL to the application (http://x/x/ ). How can I get this URL? Jeroen. Jeroen De Vos Gemeentelijk Havenbedrijf Antwerpen C/ICT - AMARIS Deze e-mail en alle gekoppelde bestanden zijn officiele documenten van het Gemeentelijk Havenbedrijf Antwerpen en kunnen vertrouwelijke of persoonlijke informatie bevatten. Gelieve de afzender onmiddellijk via e-mail of telefonisch te verwittigen als u deze e-mail per vergissing heeft ontvangen en verwijder vervolgens de e-mail zonder deze te lezen, te reproduceren, te verspreiden of te ontsluiten naar derden. Het Gemeentelijk Havenbedrijf Antwerpen is op geen enkele manier verantwoordelijk voor fouten of onnauwkeurigheden in de inhoud van deze e-mail. Het Gemeentelijk Havenbedrijf Antwerpen kan niet aansprakelijk gesteld worden voor directe of indirecte schade, verlies of ongemak veroorzaakt als gevolg van een onnauwkeurigheid of fout in deze e-mail. English Translation: This e-mail and all attached files are official documents of Antwerp Port Authority and may contain confidential or personal information. If you have received this e-mail in error, you are asked to inform the sender by e-mail or telephone immediately, and to remove it from your system without reading or reproducing it or passing it on to other parties. Antwerp Port Authority is in no way responsible for any errors or inaccuracies in the contents of this e-mail, nor can it be held liable for any direct or indirect loss, damage or inconvenience arising from any such errors or inaccuracies. [GHA#Disclaimer] Yahoo! Groups Links To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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/
[flexcoders] Flex on the Web
LS, I am looking for Flex application on the Web. Can anynone send me some URL's where i can find them? It looks like most of the RIA's in production on the Web are build with Flash, BackBase and/or Laszlo. Please enlighten me... Michel Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] Flex on the Web
There are several listed on cflex.net. At 07:06 AM 5/19/2005, you wrote: LS, I am looking for Flex application on the Web. Can anynone send me some URL's where i can find them? It looks like most of the RIA's in production on the Web are build with Flash, BackBase and/or Laszlo. Please enlighten me... Michel -- Yahoo! Groups Links * To visit your group on the web, go to: * http://groups.yahoo.com/group/flexcoders/http://groups.yahoo.com/group/flexcoders/ * * To unsubscribe from this group, send an email to: * mailto:[EMAIL PROTECTED][EMAIL PROTECTED] * * Your use of Yahoo! Groups is subject to the http://docs.yahoo.com/info/terms/Yahoo! Terms of Service. Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] Flex on the Web
Hello Michel, The examples on the Macromedia Flex Development centre is a start: http://www.macromedia.com/devnet/flex/example_apps.html HTH, Allen Allen Manning, Technical Director Prismix Ltd t: +44 (0)870 749 1100 f: +44 (0)870 749 1200 w: www.prismix.com From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michel JansenSent: 19 May 2005 12:07To: flexcoders@yahoogroups.comSubject: [flexcoders] Flex on the Web LS,I am looking for Flex application on the Web. Can anynone send me some URL's where i can find them? It looks like most of the RIA's in production on the Web are build with Flash, BackBase and/or Laszlo.Please enlighten me...Michel Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Fully qualified URL
Hi, And what doesmx.utils.URLUtil.getFullURL() do then? Jeroen. Van: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Namens Allen ManningVerzonden: donderdag 19 mei 2005 12:56Aan: flexcoders@yahoogroups.comOnderwerp: RE: [flexcoders] Fully qualified URL Jeff, Thanks. ?xml version="1.0" encoding="utf-8"?mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" mx:Panel title="Get This URL" width="100%" height="100%" mx:Script![CDATA[ private function getPageURL() : String{return(mx.core.Application.application._url);}private function getPageDomain() : String{var myArray:Array = getPageURL().split("/");var domain = myArray[2].toString();return(domain);} ]]/mx:Script mx:Label text="{getPageURL()}"/ mx:Label text="{getPageDomain()}"/ mx:Label text="http://{getPageDomain()}/"/ /mx:Panel/mx:Application Allen Allen Manning, Technical Director Prismix Ltd t: +44 (0)870 749 1100 f: +44 (0)870 749 1200 w: www.prismix.com From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeff TapperSent: 19 May 2005 11:52To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Fully qualified URL Ugggh. _root -- bad.in the example below, since its running in the core application tag, you can just remove the word _root entirely, and it will still work, or, as Abdul suggested, mx.core.Application.application._url will work from any place in the app.At 06:43 AM 5/19/2005, you wrote:Hello Jeroen,Below is an example of one way of doing it.?xml version="1.0" encoding="utf-8"?mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" mx:Panel title="Get This URL" width="100%" height="100%" mx:Script![CDATA[ private function getPageURL() : String { return(_root._url); } private function getPageDomain() : String { var myArray:Array = getPageURL().split("/"); var domain = myArray[2].toString(); return(domain); } ]]/mx:Script mx:Label text="{getPageURL()}"/ mx:Label text="{getPageDomain()}"/ mx:Label text="http://{getPageDomain()}/"/ /mx:Panel/mx:ApplicationHTH,AllenAllen Manning, Technical DirectorPrismix Ltd t: +44 (0)870 749 1100 f: +44 (0)870 749 1200 w: www.prismix.comFrom: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeroen De VosSent: 19 May 2005 11:28To: flexcoders@yahoogroups.comSubject: [flexcoders] Fully qualified URLHi all,In ActionScript I need to read the fully qualified URL to the application (http://x/x/).How can I get this URL?Jeroen.Jeroen De VosGemeentelijk Havenbedrijf AntwerpenC/ICT - AMARISDeze e-mail en alle gekoppelde bestanden zijn officiele documenten van het Gemeentelijk Havenbedrijf Antwerpen en kunnen vertrouwelijke of persoonlijke informatie bevatten. Gelieve de afzender onmiddellijk via e-mail of telefonisch te verwittigen als u deze e-mail per vergissing heeft ontvangen en verwijder vervolgens de e-mail zonder deze te lezen, te reproduceren, te verspreiden of te ontsluiten naar derden. Het Gemeentelijk Havenbedrijf Antwerpen is op geen enkele manier verantwoordelijk voor fouten of onnauwkeurigheden in de inhoud van deze e-mail. Het Gemeentelijk Havenbedrijf Antwerpen kan niet aansprakelijk gesteld worden voor directe of indirecte schade, verlies of ongemak veroorzaakt als gevolg van een onnauwkeurigheid of fout in deze e-mail.English Translation: This e-mail and all attached files are official documents of Antwerp Port Authority and may contain confidential or personal information. If you have received this e-mail in error, you are asked to inform the sender by e-mail or telephone immediately, and to remove it from your system without reading or reproducing it or passing it on to other parties. Antwerp Port Authority is in no way responsible for any errors or inaccuracies in the contents of this e-mail, nor can it be held liable for any direct or indirect loss, damage or inconvenience arising from any such errors or inaccuracies. [GHA#Disclaimer]Yahoo! Groups LinksTo visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/To unsubscribe from this group, send an email to:[EMAIL PROTECTED]Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Flex on the Web
Allen Manning wrote: Hello Michel, The examples on the Macromedia Flex Development centre is a start: http://www.macromedia.com/devnet/flex/example_apps.html Thanx. But i am looking for the spectaculars! I thought that Flex enabled the next generation WebApplications but what i have seen up until now isn't that innovating ;-(( Or do the creatives still have to find this technology.. Or is the price too high?? Michel HTH, Allen *Allen Manning*, Technical Director Prismix Ltd *t:* +44 (0)870 749 1100 *f:* +44 (0)870 749 1200 *w:* www.prismix.com http://www.prismix.com *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Michel Jansen *Sent:* 19 May 2005 12:07 *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] Flex on the Web LS, I am looking for Flex application on the Web. Can anynone send me some URL's where i can find them? It looks like most of the RIA's in production on the Web are build with Flash, BackBase and/or Laszlo. Please enlighten me... Michel *Yahoo! Groups Links* * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/. Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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/
[flexcoders] Event Listeners
All, I am having a problem with removing event listeners on a panel. I am adding the event listener like so: pane.addEventListener(contentCreated, Delegate.create(this, handleEvent) ); But trying to remove the event listener using removeEventListener does not seem to work. I have tried several variants: pane.removeEventListener(contentCreated, Delegate.create(this, handleEvent) ); pane.removeEventListener(contentCreated, Delegate.create(this) ); pane.removeEventListener(contentCreated, this.handleEvent ); pane.removeEventListener(contentCreated, this ); and none seem to work. Ive been struggling with this for a good few hours and its driving me crazy, any help would be appreciated. Ta Mike Herron Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Fully qualified URL
Joren, According to the MXML API docs: getFullURLstatic getFullURL( rootURL: String, url: String) : String ' Converts a potentially relative URL to a full qualified URL. If the URL is not relative, it is just returned as is. If the URL starts with a slash, the host and port from the root URL are prepended. Otherwise, the host, port, and path are prepended. ' HTH, Allen Allen Manning, Technical Director Prismix Ltd t: +44 (0)870 749 1100 f: +44 (0)870 749 1200 w: www.prismix.com From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeroen De VosSent: 19 May 2005 12:14To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Fully qualified URL Hi, And what doesmx.utils.URLUtil.getFullURL() do then? Jeroen. Van: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Namens Allen ManningVerzonden: donderdag 19 mei 2005 12:56Aan: flexcoders@yahoogroups.comOnderwerp: RE: [flexcoders] Fully qualified URL Jeff, Thanks. ?xml version="1.0" encoding="utf-8"?mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" mx:Panel title="Get This URL" width="100%" height="100%" mx:Script![CDATA[ private function getPageURL() : String{return(mx.core.Application.application._url);}private function getPageDomain() : String{var myArray:Array = getPageURL().split("/");var domain = myArray[2].toString();return(domain);} ]]/mx:Script mx:Label text="{getPageURL()}"/ mx:Label text="{getPageDomain()}"/ mx:Label text="http://{getPageDomain()}/"/ /mx:Panel/mx:Application Allen Allen Manning, Technical Director Prismix Ltd t: +44 (0)870 749 1100 f: +44 (0)870 749 1200 w: www.prismix.com From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeff TapperSent: 19 May 2005 11:52To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Fully qualified URL Ugggh. _root -- bad.in the example below, since its running in the core application tag, you can just remove the word _root entirely, and it will still work, or, as Abdul suggested, mx.core.Application.application._url will work from any place in the app.At 06:43 AM 5/19/2005, you wrote:Hello Jeroen,Below is an example of one way of doing it.?xml version="1.0" encoding="utf-8"?mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" mx:Panel title="Get This URL" width="100%" height="100%" mx:Script![CDATA[ private function getPageURL() : String { return(_root._url); } private function getPageDomain() : String { var myArray:Array = getPageURL().split("/"); var domain = myArray[2].toString(); return(domain); } ]]/mx:Script mx:Label text="{getPageURL()}"/ mx:Label text="{getPageDomain()}"/ mx:Label text="http://{getPageDomain()}/"/ /mx:Panel/mx:ApplicationHTH,AllenAllen Manning, Technical DirectorPrismix Ltd t: +44 (0)870 749 1100 f: +44 (0)870 749 1200 w: www.prismix.comFrom: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeroen De VosSent: 19 May 2005 11:28To: flexcoders@yahoogroups.comSubject: [flexcoders] Fully qualified URLHi all,In ActionScript I need to read the fully qualified URL to the application (http://x/x/).How can I get this URL?Jeroen.Jeroen De VosGemeentelijk Havenbedrijf AntwerpenC/ICT - AMARISDeze e-mail en alle gekoppelde bestanden zijn officiele documenten van het Gemeentelijk Havenbedrijf Antwerpen en kunnen vertrouwelijke of persoonlijke informatie bevatten. Gelieve de afzender onmiddellijk via e-mail of telefonisch te verwittigen als u deze e-mail per vergissing heeft ontvangen en verwijder vervolgens de e-mail zonder deze te lezen, te reproduceren, te verspreiden of te ontsluiten naar derden. Het Gemeentelijk Havenbedrijf Antwerpen is op geen enkele manier verantwoordelijk voor fouten of onnauwkeurigheden in de inhoud van deze e-mail. Het Gemeentelijk Havenbedrijf Antwerpen kan niet aansprakelijk gesteld worden voor directe of indirecte schade, verlies of ongemak veroorzaakt als gevolg van een onnauwkeurigheid of fout in deze e-mail.English Translation: This e-mail and all attached files are official documents of Antwerp Port Authority and may contain confidential or personal information. If you have received this e-mail in error, you are asked to inform the sender by e-mail or telephone immediately, and to remove it from your system without reading or reproducing it or passing it on to other parties. Antwerp Port Authority is in no way responsible for any errors or inaccuracies in the contents of this e-mail, nor can it be held liable for any direct or indirect loss, damage or inconvenience arising from any such errors or inaccuracies.
RE: [flexcoders] Fully qualified URL
Allen, Yes, I read the doc, but what does it do? How does it work? Jeroen. Van: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Namens Allen ManningVerzonden: donderdag 19 mei 2005 13:22Aan: flexcoders@yahoogroups.comOnderwerp: RE: [flexcoders] Fully qualified URL Joren, According to the MXML API docs: getFullURLstatic getFullURL( rootURL: String, url: String) : String ' Converts a potentially relative URL to a full qualified URL. If the URL is not relative, it is just returned as is. If the URL starts with a slash, the host and port from the root URL are prepended. Otherwise, the host, port, and path are prepended. ' HTH, Allen Allen Manning, Technical Director Prismix Ltd t: +44 (0)870 749 1100 f: +44 (0)870 749 1200 w: www.prismix.com From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeroen De VosSent: 19 May 2005 12:14To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Fully qualified URL Hi, And what doesmx.utils.URLUtil.getFullURL() do then? Jeroen. Van: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Namens Allen ManningVerzonden: donderdag 19 mei 2005 12:56Aan: flexcoders@yahoogroups.comOnderwerp: RE: [flexcoders] Fully qualified URL Jeff, Thanks. ?xml version="1.0" encoding="utf-8"?mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" mx:Panel title="Get This URL" width="100%" height="100%" mx:Script![CDATA[ private function getPageURL() : String{return(mx.core.Application.application._url);}private function getPageDomain() : String{var myArray:Array = getPageURL().split("/");var domain = myArray[2].toString();return(domain);} ]]/mx:Script mx:Label text="{getPageURL()}"/ mx:Label text="{getPageDomain()}"/ mx:Label text="http://{getPageDomain()}/"/ /mx:Panel/mx:Application Allen Allen Manning, Technical Director Prismix Ltd t: +44 (0)870 749 1100 f: +44 (0)870 749 1200 w: www.prismix.com From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeff TapperSent: 19 May 2005 11:52To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Fully qualified URL Ugggh. _root -- bad.in the example below, since its running in the core application tag, you can just remove the word _root entirely, and it will still work, or, as Abdul suggested, mx.core.Application.application._url will work from any place in the app.At 06:43 AM 5/19/2005, you wrote:Hello Jeroen,Below is an example of one way of doing it.?xml version="1.0" encoding="utf-8"?mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" mx:Panel title="Get This URL" width="100%" height="100%" mx:Script![CDATA[ private function getPageURL() : String { return(_root._url); } private function getPageDomain() : String { var myArray:Array = getPageURL().split("/"); var domain = myArray[2].toString(); return(domain); } ]]/mx:Script mx:Label text="{getPageURL()}"/ mx:Label text="{getPageDomain()}"/ mx:Label text="http://{getPageDomain()}/"/ /mx:Panel/mx:ApplicationHTH,AllenAllen Manning, Technical DirectorPrismix Ltd t: +44 (0)870 749 1100 f: +44 (0)870 749 1200 w: www.prismix.comFrom: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeroen De VosSent: 19 May 2005 11:28To: flexcoders@yahoogroups.comSubject: [flexcoders] Fully qualified URLHi all,In ActionScript I need to read the fully qualified URL to the application (http://x/x/).How can I get this URL?Jeroen.Jeroen De VosGemeentelijk Havenbedrijf AntwerpenC/ICT - AMARISDeze e-mail en alle gekoppelde bestanden zijn officiele documenten van het Gemeentelijk Havenbedrijf Antwerpen en kunnen vertrouwelijke of persoonlijke informatie bevatten. Gelieve de afzender onmiddellijk via e-mail of telefonisch te verwittigen als u deze e-mail per vergissing heeft ontvangen en verwijder vervolgens de e-mail zonder deze te lezen, te reproduceren, te verspreiden of te ontsluiten naar derden. Het Gemeentelijk Havenbedrijf Antwerpen is op geen enkele manier verantwoordelijk voor fouten of onnauwkeurigheden in de inhoud van deze e-mail. Het Gemeentelijk Havenbedrijf Antwerpen kan niet aansprakelijk gesteld worden voor directe of indirecte schade, verlies of ongemak veroorzaakt als gevolg van een onnauwkeurigheid of fout in deze e-mail.English Translation: This e-mail and all attached files are official documents of Antwerp Port Authority and may contain confidential or personal information. If you have received this e-mail in error, you are asked to inform the sender by e-mail or telephone immediately, and to remove it from your system without reading or reproducing it or
RE: [flexcoders] Event Listeners
Hi Michael, I imagine its because your event listener is an anonymous function, so the removeEventListener must be passed a reference to the same function. Try this (untested) myHandler : Function = Delegate.create( this, handleEvent ); pane.addEventListener("contentCreated",myHandler ); ... pane.removeEventListener("contentCreated",myHandler ); myHandler may have to be stored asan instance variable if (as I suspect) the add and remove are in different scope. Please let us know if that works. Ali -- Alistair McLeodDevelopmentDirector iteration::two[EMAIL PROTECTED] Office: +44 (0)131 338 6108 This e-mail and any associated attachments transmitted with it may contain confidential information and must not be copied, or disclosed, or used by anyone other than the intended recipient(s). If you are not the intended recipient(s) please destroy this e-mail, and any copies of it, immediately.Please also note that while software systems have been used to try to ensure that this e-mail has been swept for viruses, iteration::two do not accept responsibility for any damage or loss caused in respect of any viruses transmitted by the e-mail. Please ensure your own checks are carried out before any attachments are opened. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michael HerronSent: 19 May 2005 12:18To: flexcoders@yahoogroups.comSubject: [flexcoders] Event Listeners All, I am having a problem with removing event listeners on a panel. I am adding the event listener like so: pane.addEventListener("contentCreated", Delegate.create(this, handleEvent) ); But trying to remove the event listener using removeEventListener does not seem to work. I have tried several variants: pane.removeEventListener("contentCreated", Delegate.create(this, handleEvent) ); pane.removeEventListener("contentCreated", Delegate.create(this) ); pane.removeEventListener("contentCreated", this.handleEvent ); pane.removeEventListener("contentCreated", this ); and none seem to work. Ive been struggling with this for a good few hours and its driving me crazy, any help would be appreciated. Ta Mike Herron Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Web Services and CF7
Anything goes really, I return numbers, string, bools, arrays, objects and combinations of all the above depending on what is needed. In the use cases we are using this data service for: Search Directory Articles Ecommerce Personalization The requests and responses are all different but we want a common way to develop them to completion. We would like a productive language like CF but it has to work in all cases. The fallback here is to just use Apache Axis with Java classes on the server side although I would prefer something simple and easy to change like CFC's. Cheers, Ted ;) -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Muller Sent: Thursday, May 19, 2005 1:05 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Web Services and CF7 So, silly question, how are you structuring/formatting the data that you're returning from your webservice, something like arrays of objects or is it CF query result sets? Andrew On 5/19/05, Theodore E Patrick [EMAIL PROTECTED] wrote: Remoting is great but it has a core limitation of one request at a time due the way AMF was implemented in the player. This is not the case with WebService calls as each request gets its own XML object and its own request socket. Even though the payload might be larger and the parsing takes longer, I want to avoid the issue of having remoting lock-up the AMF pipe on a long running request. Call me paranoid. ;) The issue that I had heard about was that Flex 1.5 has trouble digesting CFC web services due to certain xml usage. I wanted to make sure that Flex 1.5 and CF7 had compatible SOAP formats. I know it sound ridiculous but I have heard firsthand of some problems with compatibility of these two. Cheers, Ted ;) -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Muller Sent: Wednesday, May 18, 2005 9:57 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Web Services and CF7 Ted Is there any reason, since you're using CF7, why you wouldn't connect from Flex via Flash Remoting instead of Web Services, you'd be consuming the same CFC presumably and the data should be much less verbose... Andrew Andrew Muller Partner, RocketBoots http://www.rocketboots.com.au On 5/19/05, Theodore E Patrick [EMAIL PROTECTED] wrote: I am looking at using CF7 and CFC web services with Flex 1.5. I understand that some have seen issues with using these two togther or was this limited to CF6? Can anyone highlight the issue for me? Any help would be most appreciated. Cheers, Ted Patrick Yahoo! Groups Links To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. Yahoo! Groups Links Yahoo! Groups Links To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. Yahoo! Groups Links Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] Web Services and CF7
Dave, Awesome, thanks for these! I completely forgot to check Bens blog. These are invaluable. 10 Points to Dave! Thanks, Ted ;) From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of dave buhler Sent: Thursday, May 19, 2005 2:20 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Web Services and CF7 from: http://forta.com/blog/index.cfm?mode=ccatid=11 Using Flash Remoting With CFMX7? Watch Out For This One I mentioned this in a comment on a prior post , but it is important enough to warrant its own mention. If you are using Flash Remoting to access ColdFusion code, you may run into an issue in which ColdFusion could construct an invalid URL when appending a jsessionid. If this occurs the web server via which you are accessing your code could throw errors. The solution is simply, just add a ? To the end of the gateway URL, change /flashservices/gateway to /flashservices/gateway?, doing so ensures that the URL will be created correctly. This issue was discovered by our tech support folks, and I believe they'll be posting a TechNote on it shortly. CFC Results Via AMF And Case Inconsistencies I just spent a long time troubleshooting a Flex ColdFusion connectivity issue, and now that we've figured out what was going on I am sharing this in case it bites anyone else. There are two basic ways for Flex to invoke back-end ColdFusion CFCs, SOAP (Web Services) or AMF (Flash Remoting). My app had been using SOAP, but I needed to convert to AMF (the performance difference is significant). Last year Brandon Purcell wrote an excellent blog entry entitled Switching between webservices and Flash Remoting using Flex , and so I used his steps to make the switch. As he notes in that entry, ColdFusion variables returned via SOAP have their names converted to uppercase, whereas variables returned via AMF retain their original case, and so any binding code (or Flex code referencing returned data) needs to be converted from all caps to actual case. The converted code worked perfectly for CFC methods returning queries, they ran exactly as they did before, just a whole lot quicker. But my CFC methods returning structures all failed, none of my bindings and client-side code worked. The problem? Waldo Smeets figured this one out, unlike returned queries, returned structure members are all caps, even when using AMF. This is horribly inconsistent, and hopefully it'll be fixed in the future. For now, keep this in mind. Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] how can i stop my date-time timezone data from being adjusted
Is there a quick way to stop flash player from manipulating my date- time data before its rendered. In my oracle db i have a column of data held as a date eg. '18-04-05 15:40' but when i render this data in a datagrid/list etc, it shows up as '18-04-05 16:40'. I want this date time to be treated as data. TIA BTW when i take off the timezone adjustement setting on my pc, the data is rendered correctly. Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] Event Listeners
Hi Alistair, That worked perfectly, cheers! From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alistair McLeod Sent: 19 May 2005 12:31 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Event Listeners Hi Michael, I imagine its because your event listener is an anonymous function, so the removeEventListener must be passed a reference to the same function. Try this (untested) myHandler : Function = Delegate.create( this, handleEvent ); pane.addEventListener(contentCreated,myHandler ); ... pane.removeEventListener(contentCreated,myHandler ); myHandler may have to be stored asan instance variable if (as I suspect) the add and remove are in different scope. Please let us know if that works. Ali -- Alistair McLeod DevelopmentDirector iteration::two [EMAIL PROTECTED] Office: +44 (0)131 338 6108 This e-mail and any associated attachments transmitted with it may contain confidential information and must not be copied, or disclosed, or used by anyone other than the intended recipient(s). If you are not the intended recipient(s) please destroy this e-mail, and any copies of it, immediately. Please also note that while software systems have been used to try to ensure that this e-mail has been swept for viruses, iteration::two do not accept responsibility for any damage or loss caused in respect of any viruses transmitted by the e-mail. Please ensure your own checks are carried out before any attachments are opened. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michael Herron Sent: 19 May 2005 12:18 To: flexcoders@yahoogroups.com Subject: [flexcoders] Event Listeners All, I am having a problem with removing event listeners on a panel. I am adding the event listener like so: pane.addEventListener(contentCreated, Delegate.create(this, handleEvent) ); But trying to remove the event listener using removeEventListener does not seem to work. I have tried several variants: pane.removeEventListener(contentCreated, Delegate.create(this, handleEvent) ); pane.removeEventListener(contentCreated, Delegate.create(this) ); pane.removeEventListener(contentCreated, this.handleEvent ); pane.removeEventListener(contentCreated, this ); and none seem to work. Ive been struggling with this for a good few hours and its driving me crazy, any help would be appreciated. Ta Mike Herron Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Re: How to configure MXML schema in Eclipse + OxygenXML 6?
Hi r0main, Here is what I did in Eclipse 3.1M7: Schema setup: Goto Preferences Web XML XML Catalog. From there I created a "User Specified Entry" pointing to the MXML schema file with Flex 1.5. Association: Goto Preferences Editors Content Types. Under "XML" add "*.mxml". Apply and Save... next time you open a MXML file... voila! I tried exactly what you did and it didn't work, so after fiddling around, I discovered the above. Dimitrios "Jimmy" Gianninas RIADeveloper Optimal Payments Inc. From: r0main [mailto:[EMAIL PROTECTED] Sent: Thursday, May 19, 2005 5:15 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Re: How to configure MXML schema in Eclipse + OxygenXML 6? Dimitrios,Which editor did you associate to *.mxml files ?I've got a file "main.mxml", and tried "XML Editor", "XML Source PageEditor", "Standalone Structured Source Editor", on it: Nothing goodhappens... But if I rename it "main.xml" that works perfectly...r0main--- In flexcoders@yahoogroups.com, "r0main" [EMAIL PROTECTED] wrote: Hello Dimitrios, I'm looking forward to find a valid MXML editor into eclipse... I've downloaded erverything... I can see the XML editor is here, I've associated MXML file to it... It opens it as an XML file, but says "the document is empty", while the source tab shows the mxml file... Any idea ? Ciao, r0main --- In flexcoders@yahoogroups.com, "Dimitrios Gianninas" [EMAIL PROTECTED] wrote: Not sure if anyone uses it, but I started using Eclipse Web Tools for MXML editing. You can specify the MXML schema and works it wonderfully so far.http://www.eclipse.org/webtools/index.html Dimitrios "Jimmy" Gianninas RIA Developer Optimal Payments Inc. _ From: Andrew Muller [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 18, 2005 8:55 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] How to configure MXML schema in Eclipse + OxygenXML 6? Hans Apologies if this appears twice.I buggerised around for a while and found success if I used the following settings (totally non scientific/documented settings, might be a better way):In Window/Preferences/oXygen/Editor/Tag Insight/Default I added the following: Namespace: Any Root local name: Any File name: Any Schema type: XML Schema Schema URI: file location of XSD fileI then moved this entry to the top of the list, have been using it for about a day and it seems to work for me so far without having any noticable side effect on other file types.HTH AndrewAndrew Muller Partner, RocketBoots http://www.rocketboots.com.au On 5/19/05, Hans Omli [EMAIL PROTECTED] wrote: Has anyone successfully set up tag insight with Eclipse and the new version of OxygenXML. I had no trouble with OxygenXML 5.1, but can'tseem to get tag insight working with 6.0. Thanks! Yahoo! Groups Links To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. _ Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/ . table width=800 cellpadding=4 cellspacing=10 border=0tr bgcolor=BDBDBDtd valign=top width=400font face=verdana size=2 color=FFbAVIS IMPORTANT/b/font/tdtd valign=top width=400font face=verdana size=2 color=FFbWARNING/b/font/td/trtrtd valign=top width=400p align=justifyfont face=verdana size=1 color=808080 Les informations contenues dans le present document et ses pieces jointes sont strictement confidentielles et reservees a l'usage de la (des) personne(s) a qui il est adresse. Si vous n'etes pas le destinataire, soyez avise que toute divulgation, distribution, copie, ou autre utilisation de ces informations est strictement prohibee. Si vous avez recu ce document par erreur, veuillez s'il vous plait communiquer immediatement avec l'expediteur et detruire ce document sans en faire de copie sous quelque forme./tdtd valign=top width=400p align=justifyfont face=verdana size=1 color=808080 The information contained in this document and attachments is confidential and intended only for the person(s) named above. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution, or any other use of the information is strictly prohibited. If you have received this document by mistake, please notify the sender immediately and destroy this document and attachments without making any copy of any kind./td/tr/table Yahoo! Groups Links To visit your group on the
RE: [flexcoders] Cairngorm 0.99
Yes correct... copy 'n' past error :) Dimitrios "Jimmy" Gianninas RIADeveloper Optimal Payments Inc. From: dave buhler [mailto:[EMAIL PROTECTED] Sent: Thursday, May 19, 2005 4:05 AMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Cairngorm 0.99 I think the quotes needed to be added.From: namespace uri=http://www.iterationtwo.com/cairngorm manifest/WEB-INF/flex/cairngorm-manifest.xml/manifest/namespacebe: namespace uri="http://www.iterationtwo.com/cairngorm " manifest/WEB-INF/flex/cairngorm-manifest.xml/manifest/namespace On 5/17/05, Dimitrios Gianninas [EMAIL PROTECTED] wrote: Hi, You must add the appropriate entry for the cairngorm-manifest.xml in the flex-config.xml (portion in red below): namespace uri=" http://www.macromedia.com/2003/mxml" manifest/WEB-INF/flex/mxml-manifest.xml/manifest/namespace namespace uri=http://www.iterationtwo.com/cairngorm manifest/WEB-INF/flex/cairngorm-manifest.xml/manifest/namespace This probably explains the error meesage. Dimitrios "Jimmy" Gianninas RIADeveloper Optimal Payments Inc. From: Sean McKibben [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 17, 2005 6:25 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Cairngorm 0.99 I'm having some trouble getting my Services.mxml to work with .99. I keep getting errors like: Error /com/cadpo/shared/business/Services.mxml:4 Namespace http://www.iterationtwo.com/cairngorm has not been associated with component manifest. Error /com/cadpo/shared/business/Services.mxml:4 No type for element " http://www.iterationtwo.com/cairngorm:ServiceLocator" Error /com/cadpo/shared/business/Services.mxml:4 Unexpected root element " http://www.iterationtwo.com/cairngorm:ServiceLocator" does not extend MovieClip I put the cairngorm-manifest.xml into the WEB-INF/flex directory, but it still doesn't want to eat it. Here is the first part of my Services.mxml: ?xml version="1.0" encoding="utf-8"? cairngorm:ServiceLocator xmlns:mx="http://www.macromedia.com/2003/mxml" xmlns:cairngorm="http://www.iterationtwo.com/cairngorm" mx:WebService id="myWS" ... Is thexmlns:cairngorm="http://www.iterationtwo.com/cairngorm" attribute correct? I copied it out of one of the sample apps included in .99. Any ideas? Thanks, Sean McKibben Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Check against certain values in a
Hi, I have a datagrid which contains some data from email headers like read, from, subject etc. The dataprovider is a webservice: mx:dataProvider {mail_Manager.listInbox.result} /mx:dataProvider mx:columns mx:Array mx:DataGridColumn columnName=id headerText=Id width=50/ mx:DataGridColumn columnName=pid headerText=Part width=50/ mx:DataGridColumn columnName=read headerText=Read width=50/ mx:DataGridColumn columnName=from headerText=From width=150/ mx:DataGridColumn columnName=subject headerText=Subject/ mx:DataGridColumn columnName=sendtime headerText=Date width=150/ /mx:Array /mx:columns I want to check if a row has a cetain value in a cell. So iterate over the datagrid with: for( var j:Number=0; j grid1.rows.length; j++){ //??? IF check ??? grid1.rows[j].setStyle('fontWeight', 'bold'); } This version sets every row bold but I want to have only rows in bold that have an u in the column read, I can remember reading an example but I can't find it again. Any help is highly appreaciated... Thanks in advance Reto Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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/
[flexcoders] Re: How to configure MXML schema in Eclipse + OxygenXML 6?
Thanks a lot... It works that way... Now, for 100% free, I can edit MXML files and also can edit flex .as files with MTASC::: ByeBye flexBuilder :-) Ciao, r0main --- In flexcoders@yahoogroups.com, Dimitrios Gianninas [EMAIL PROTECTED] wrote: Hi r0main, Here is what I did in Eclipse 3.1M7: Schema setup: Goto Preferences Web XML XML Catalog. From there I created a User Specified Entry pointing to the MXML schema file with Flex 1.5. Association: Goto Preferences Editors Content Types. Under XML add *.mxml. Apply and Save... next time you open a MXML file... voila! I tried exactly what you did and it didn't work, so after fiddling around, I discovered the above. Dimitrios Jimmy Gianninas RIA Developer Optimal Payments Inc. _ From: r0main [mailto:[EMAIL PROTECTED] Sent: Thursday, May 19, 2005 5:15 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: How to configure MXML schema in Eclipse + OxygenXML 6? Dimitrios, Which editor did you associate to *.mxml files ? I've got a file main.mxml, and tried XML Editor, XML Source Page Editor, Standalone Structured Source Editor, on it: Nothing good happens... But if I rename it main.xml that works perfectly... r0main --- In flexcoders@yahoogroups.com, r0main [EMAIL PROTECTED] wrote: Hello Dimitrios, I'm looking forward to find a valid MXML editor into eclipse... I've downloaded erverything... I can see the XML editor is here, I've associated MXML file to it... It opens it as an XML file, but says the document is empty, while the source tab shows the mxml file... Any idea ? Ciao, r0main --- In flexcoders@yahoogroups.com, Dimitrios Gianninas [EMAIL PROTECTED] wrote: Not sure if anyone uses it, but I started using Eclipse Web Tools for MXML editing. You can specify the MXML schema and works it wonderfully so far. http://www.eclipse.org/webtools/index.html Dimitrios Jimmy Gianninas RIA Developer Optimal Payments Inc. _ From: Andrew Muller [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 18, 2005 8:55 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] How to configure MXML schema in Eclipse + OxygenXML 6? Hans Apologies if this appears twice. I buggerised around for a while and found success if I used the following settings (totally non scientific/documented settings, might be a better way): In Window/Preferences/oXygen/Editor/Tag Insight/Default I added the following: Namespace: Any Root local name: Any File name: Any Schema type: XML Schema Schema URI: file location of XSD file I then moved this entry to the top of the list, have been using it for about a day and it seems to work for me so far without having any noticable side effect on other file types. HTH Andrew Andrew Muller Partner, RocketBoots http://www.rocketboots.com.au On 5/19/05, Hans Omli [EMAIL PROTECTED] wrote: Has anyone successfully set up tag insight with Eclipse and the new version of OxygenXML. I had no trouble with OxygenXML 5.1, but can't seem to get tag insight working with 6.0. Thanks! Yahoo! Groups Links To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. _ Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/ . table width=800 cellpadding=4 cellspacing=10 border=0tr bgcolor=BDBDBDtd valign=top width=400font face=verdana size=2 color=FFbAVIS IMPORTANT/b/font/tdtd valign=top width=400font face=verdana size=2 color=FFbWARNING/b/font/td/trtrtd valign=top width=400p align=justifyfont face=verdana size=1 color=808080 Les informations contenues dans le present document et ses pieces jointes sont strictement confidentielles et reservees a l'usage de la (des) personne(s) a qui il est adresse. Si vous n'etes pas le destinataire, soyez avise que toute divulgation, distribution, copie, ou autre utilisation de ces informations est strictement prohibee. Si vous avez recu ce document par erreur, veuillez s'il vous plait communiquer immediatement avec l'expediteur et detruire ce document sans en faire de copie sous quelque forme./tdtd valign=top width=400p align=justifyfont face=verdana size=1 color=808080 The information contained in this document
RE: [flexcoders] Announcing Flex Style Explorer
with the exception that CSS style selectors are not supported in components...would have to load a .css file I am assuming... --- Jeff Beeman [EMAIL PROTECTED] wrote: This tool is absolutely fantastic! I've got a bug report that one of our developers noticed, though, and since I can't make a comment on the site, I'll just note it here and hope someone sees it :) Entering hex values using the keyboard seems to work for everything except components that have 2 color values (panel headings, buttons, etc). When choosing a color from the drop down, the color displays correctly. When typing in a hex value, it displays as black. Also, I'd like to make a feature request - Would it be possible to make the text area where the resulting CSS appears be editable? I'd love to be able to edit the resulting CSS on-the-fly and see the results. Regardless, thanks for the great tool! /** * Jeff Beeman **/ -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jae Hess Sent: Tuesday, May 17, 2005 7:27 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Announcing Flex Style Explorer Not sure if you have heard the news: Announcing Flex Style Explorer http://www.markme.com/mc/archives/007740.cfm Yahoo! Groups Links __ Yahoo! Mail Mobile Take Yahoo! Mail with you! Check email on your mobile phone. http://mobile.yahoo.com/learn/mail Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] Web Services and CF7
Some more detailed information on this - the issue is that the IIS connector doesn't handle the ;jsessionid token in URLs unless it appears after the query string.The J2EEservlet spec does not specify that this token has to appear after the ?symbol and thus manyother app servers handle it just fine.How this arises in the first place for remoting requests is that the CF bridge to the Flash Remoting gateway asks the servlet response to encode the URL and checks to see if it was decorated with a ;jsessionid token (it would do so if it thought the client couldn't handle cookies). e.g. http://www.yourserver.com/yourapp/flashservices/gateway;jsessionid= If the encoded URL did include a ;jessionid then an AMF response header is sent back to the NetServices client to tell it to append the ;jsessionid token to the gateway URL on the next request. You can see this AppendToGatewayUrl response header in the NCD. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Theodore E PatrickSent: Thursday, May 19, 2005 7:58 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Web Services and CF7 Dave, Awesome, thanks for these! I completely forgot to check Bens blog. These are invaluable. 10 Points to Dave! Thanks, Ted ;) From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of dave buhlerSent: Thursday, May 19, 2005 2:20 AMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Web Services and CF7 from: http://forta.com/blog/index.cfm?mode=ccatid=11 Using Flash Remoting With CFMX7? Watch Out For This OneI mentioned this in a comment on a prior post , but it is important enough to warrant its own mention. If you are using Flash Remoting to access ColdFusion code, you may run into an issue in which ColdFusion could construct an invalid URL when appending a jsessionid. If this occurs the web server via which you are accessing your code could throw errors. The solution is simply, just add a ? To the end of the gateway URL, change /flashservices/gateway to /flashservices/gateway?, doing so ensures that the URL will be created correctly. This issue was discovered by our tech support folks, and I believe they'll be posting a TechNote on it shortly. CFC Results Via AMF And Case InconsistenciesI just spent a long time troubleshooting a Flex ColdFusion connectivity issue, and now that we've figured out what was going on I am sharing this in case it bites anyone else. There are two basic ways for Flex to invoke back-end ColdFusion CFCs, SOAP (Web Services) or AMF (Flash Remoting). My app had been using SOAP, but I needed to convert to AMF (the performance difference is significant). Last year Brandon Purcell wrote an excellent blog entry entitled Switching between webservices and Flash Remoting using Flex , and so I used his steps to make the switch. As he notes in that entry, ColdFusion variables returned via SOAP have their names converted to uppercase, whereas variables returned via AMF retain their original case, and so any binding code (or Flex code referencing returned data) needs to be converted from all caps to actual case. The converted code worked perfectly for CFC methods returning queries, they ran exactly as they did before, just a whole lot quicker. But my CFC methods returning structures all failed, none of my bindings and client-side code worked. The problem? Waldo Smeets figured this one out, unlike returned queries, returned structure members are all caps, even when using AMF. This is horribly inconsistent, and hopefully it'll be fixed in the future. For now, keep this in mind. Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Controlling Pie Chart Colors
Ely, Thanks. So how do you drill down to the correct style object? If try to give my PieSeries an id, the compiler says, Nested object properties cannot have IDs. Setting the fills style for the PieChart.series object seems to have no effect whatsoever. Jeff Code Sample: mx:PieChart dataProvider={fundModel.assetAllocationByFund} id=assetPieChart width=200 height=140 showDataTips=true creationComplete=setFills() borderStyle=solid mx:series mx:Array mx:PieSeries field=percent nameField=className labelPosition=callout labelFunction=displayType calloutGap=0/ /mx:Array /mx:series /mx:PieChart function setFills() { var arr = [0xFFCC66,0x69AFD3,0xC0D9EC,0xB9BDBF,0x005C7C,0x6D6F71]; assetPieChart.series.setStyle(fills,arr); } -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ely Greenfield Sent: Wednesday, May 18, 2005 2:33 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Controlling Pie Chart Colors Hi Jeff. You should absolutely be able to set the fills array at runtime. Something like: mySeries.setStyle(fills, [0xFF,0x00FF00,0xFF]); should work. Can you send me a snippet of sample code? Incidentally ,if you want to make sure it pulls the same colors without having to change the fills style on the fly, you could insert 0 values for the missing classifications. Probably not the answer you're looking for, though, since they would then end up in the legend, which might be a bad thing. Ely. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Battershall, Jeff Sent: Wednesday, May 18, 2005 11:29 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Controlling Pie Chart Colors Importance: High I've got a situation where certain pie charts may or may not have certain classifications won't be represented if there are no values available in the data provider. The colors are not consistent from chart to chart - its just pulling the next color from the fill array. So say on one chart cash might appear blue and for another dataprovider it might appear green. I'd like to be able to make a certain section of a pie chart ALWAYS have a certain color. This is easy to do with area charts but I'm finding it not as easy with pie charts. If I alter the fill array programmatically that would be good, but in my limited testing I couldn't seem to be able to do that at runtime. I tried manually creating a nest array of PieSeries and mapping each one to a different field and color, but that did not seem to work either. Jeff Battershall Application Architect Dow Jones Indexes [EMAIL PROTECTED] (609) 520-5637 (p) (484) 477-9900 (c) Yahoo! Groups Links Yahoo! Groups Links Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] Re: How to configure MXML schema in Eclipse + OxygenXML 6?
My thoughts exactly. Dimitrios "Jimmy" Gianninas RIADeveloper Optimal Payments Inc. From: r0main [mailto:[EMAIL PROTECTED] Sent: Thursday, May 19, 2005 8:38 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Re: How to configure MXML schema in Eclipse + OxygenXML 6? Thanks a lot... It works that way...Now, for 100% free, I can edit MXML files and also can edit flex .asfiles with MTASC::: ByeBye flexBuilder :-)Ciao, r0main--- In flexcoders@yahoogroups.com, "Dimitrios Gianninas"[EMAIL PROTECTED] wrote: Hi r0main, Here is what I did in Eclipse 3.1M7: Schema setup: Goto Preferences Web XML XML Catalog. From there I created a "User Specified Entry" pointing to the MXML schema file with Flex 1.5. Association: Goto Preferences Editors Content Types. Under "XML" add "*.mxml". Apply and Save... next time you open a MXML file... voila! I tried exactly what you did and it didn't work, so after fiddling around, I discovered the above. Dimitrios "Jimmy" Gianninas RIA Developer Optimal Payments Inc. _ From: r0main [mailto:[EMAIL PROTECTED] Sent: Thursday, May 19, 2005 5:15 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: How to configure MXML schema in Eclipse + OxygenXML 6? Dimitrios, Which editor did you associate to *.mxml files ? I've got a file "main.mxml", and tried "XML Editor", "XML Source Page Editor", "Standalone Structured Source Editor", on it: Nothing good happens... But if I rename it "main.xml" that works perfectly... r0main --- In flexcoders@yahoogroups.com, "r0main" [EMAIL PROTECTED] wrote: Hello Dimitrios, I'm looking forward to find a valid MXML editor into eclipse... I've downloaded erverything... I can see the XML editor is here, I've associated MXML file to it... It opens it as an XML file, but says "the document is empty", while the source tab shows the mxml file... Any idea ? Ciao, r0main--- In flexcoders@yahoogroups.com, "Dimitrios Gianninas" [EMAIL PROTECTED] wrote: Not sure if anyone uses it, but I started using Eclipse Web Tools for MXML editing. You can specify the MXML schema and works it wonderfully so far. http://www.eclipse.org/webtools/index.html Dimitrios "Jimmy" Gianninas RIA Developer Optimal Payments Inc. _ From: Andrew Muller [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 18, 2005 8:55 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] How to configure MXML schema in Eclipse + OxygenXML 6? Hans Apologies if this appears twice. I buggerised around for a while and found success if I used the following settings (totally non scientific/documented settings, might be a better way): In Window/Preferences/oXygen/Editor/Tag Insight/Default I added the following: Namespace: Any Root local name: Any File name: Any Schema type: XML Schema Schema URI: file location of XSD file I then moved this entry to the top of the list, have been using it for about a day and it seems to work for me so far without having any noticable side effect on other file types. HTH Andrew Andrew Muller Partner, RocketBoots http://www.rocketboots.com.au On 5/19/05, Hans Omli [EMAIL PROTECTED] wrote:Has anyone successfully set up tag insight with Eclipse and the new version of OxygenXML. I had no trouble with OxygenXML 5.1, but can't seem to gettag insight working with 6.0. Thanks! Yahoo! Groups LinksTo visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to: [EMAIL PROTECTED]Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. _ Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/ . table width=800 cellpadding=4 cellspacing=10 border=0tr bgcolor=BDBDBDtd valign=top width=400font face=verdana size=2 color=FFbAVIS IMPORTANT/b/font/tdtd valign=top width=400font face=verdana size=2 color=FFbWARNING/b/font/td/trtrtd valign=top width=400p align=justifyfont face=verdana size=1 color=808080 Les informations contenues dans le present document et ses pieces jointes sont strictement confidentielles et reservees a l'usage de la (des) personne(s) a qui il est adresse. Si vous n'etes pas le destinataire, soyez avise que toute divulgation, distribution, copie, ou autre utilisation de ces informations est strictement prohibee. Si vous avez recu ce document par erreur, veuillez s'il vous plait communiquer immediatement avec l'expediteur et detruire ce document sans en
RE: [flexcoders] Flex on the Web
Dow Jones is using embedded Flex in public facing contexts, and more to come. http://www.djindexes.com/mdsidx/portfolio/index.cfm?event=showPortfolioG lobalRelativeRisk Jeff Battershall Application Architect Dow Jones Indexes [EMAIL PROTECTED] (609) 520-5637 (p) (484) 477-9900 (c) -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of David Mendels Sent: Thursday, May 19, 2005 10:23 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex on the Web Hi, A) Many Flex apps are behind the Firewall B) Many Flex apps are not yet public (the product has only been on the market for a year, and it takes a while to build great things) C) Some examples: Go to http://www.sherwin.com/do_it_yourself/ and click on Color Visualizer. Go to Intelligent Finance (www.if.com) and click on Offset Mortgage calculator. Go to 5 by 5 software and check out Bridgeworx (http://bwdesigner.5by5software.com/BRIDGEWERX/BRIDGEWERX.mxml) -David -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michel Jansen Sent: Thursday, May 19, 2005 7:16 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Flex on the Web Allen Manning wrote: Hello Michel, The examples on the Macromedia Flex Development centre is a start: http://www.macromedia.com/devnet/flex/example_apps.html Thanx. But i am looking for the spectaculars! I thought that Flex enabled the next generation WebApplications but what i have seen up until now isn't that innovating ;-(( Or do the creatives still have to find this technology.. Or is the price too high?? Michel HTH, Allen *Allen Manning*, Technical Director Prismix Ltd *t:* +44 (0)870 749 1100 *f:* +44 (0)870 749 1200 *w:* www.prismix.com http://www.prismix.com -- -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Michel Jansen *Sent:* 19 May 2005 12:07 *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] Flex on the Web LS, I am looking for Flex application on the Web. Can anynone send me some URL's where i can find them? It looks like most of the RIA's in production on the Web are build with Flash, BackBase and/or Laszlo. Please enlighten me... Michel -- -- *Yahoo! Groups Links* * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/. Yahoo! Groups Links Yahoo! Groups Links Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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/
[flexcoders] Re: Check against certain values in a
Your condition statement should be something like this: if (grid1.dataProvider.getItemAt(j).read == 'u'){ grid1.rows[j].setStyle('fontWeight', 'bold'); } else { //do nothing } You might also want to change the line: for( var j:Number=0; j grid1.rows.length; j++){ to something like this: var len = grid1.length; for (var j:Number=0; jlen; j++) Alot of the 'properties' like length etc tend to run 'getter'/'setter' functions so just getting the value once will speed up the performance. Derrick --- In flexcoders@yahoogroups.com, Reto M. Kiefer [EMAIL PROTECTED] wrote: Hi, I have a datagrid which contains some data from email headers like read, from, subject etc. The dataprovider is a webservice: mx:dataProvider {mail_Manager.listInbox.result} /mx:dataProvider mx:columns mx:Array mx:DataGridColumn columnName=id headerText=Id width=50/ mx:DataGridColumn columnName=pid headerText=Part width=50/ mx:DataGridColumn columnName=read headerText=Read width=50/ mx:DataGridColumn columnName=from headerText=From width=150/ mx:DataGridColumn columnName=subject headerText=Subject/ mx:DataGridColumn columnName=sendtime headerText=Date width=150/ /mx:Array /mx:columns I want to check if a row has a cetain value in a cell. So iterate over the datagrid with: for( var j:Number=0; j grid1.rows.length; j++){ //??? IF check ??? grid1.rows[j].setStyle('fontWeight', 'bold'); } This version sets every row bold but I want to have only rows in bold that have an u in the column read, I can remember reading an example but I can't find it again. Any help is highly appreaciated... Thanks in advance Reto Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] Re: Check against certain values in a
Hi Derrick, Your condition statement should be something like this: if (grid1.dataProvider.getItemAt(j).read == 'u'){ Thanks a lot that works like a charm. I had this solution before but got confused with the order of the webservice call which is the dataprovide so I couldn't see an effect... Alot of the 'properties' like length etc tend to run 'getter'/'setter' functions so just getting the value once will speed up the performance. That is a good hint did not know this -- thanks as well! Cheers Reto Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] Flex on the Web
There is also OFoto which shows a more public consumer app. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Battershall, Jeff Sent: Thursday, May 19, 2005 7:40 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex on the Web Dow Jones is using embedded Flex in public facing contexts, and more to come. http://www.djindexes.com/mdsidx/portfolio/index.cfm?event=showPortfolioG lobalRelativeRisk Jeff Battershall Application Architect Dow Jones Indexes [EMAIL PROTECTED] (609) 520-5637 (p) (484) 477-9900 (c) -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of David Mendels Sent: Thursday, May 19, 2005 10:23 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex on the Web Hi, A) Many Flex apps are behind the Firewall B) Many Flex apps are not yet public (the product has only been on the market for a year, and it takes a while to build great things) C) Some examples: Go to http://www.sherwin.com/do_it_yourself/ and click on Color Visualizer. Go to Intelligent Finance (www.if.com) and click on Offset Mortgage calculator. Go to 5 by 5 software and check out Bridgeworx (http://bwdesigner.5by5software.com/BRIDGEWERX/BRIDGEWERX.mxml) -David -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michel Jansen Sent: Thursday, May 19, 2005 7:16 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Flex on the Web Allen Manning wrote: Hello Michel, The examples on the Macromedia Flex Development centre is a start: http://www.macromedia.com/devnet/flex/example_apps.html Thanx. But i am looking for the spectaculars! I thought that Flex enabled the next generation WebApplications but what i have seen up until now isn't that innovating ;-(( Or do the creatives still have to find this technology.. Or is the price too high?? Michel HTH, Allen *Allen Manning*, Technical Director Prismix Ltd *t:* +44 (0)870 749 1100 *f:* +44 (0)870 749 1200 *w:* www.prismix.com http://www.prismix.com -- -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Michel Jansen *Sent:* 19 May 2005 12:07 *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] Flex on the Web LS, I am looking for Flex application on the Web. Can anynone send me some URL's where i can find them? It looks like most of the RIA's in production on the Web are build with Flash, BackBase and/or Laszlo. Please enlighten me... Michel -- -- *Yahoo! Groups Links* * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/. Yahoo! Groups Links Yahoo! Groups Links Yahoo! Groups Links smime.p7s Description: S/MIME cryptographic signature
Re: [flexcoders] Re: Cairngorm 0.99
Hi Alex, Let me try again when I get home from the office. I'm confused about the purpose behind the SWC. As I understand it, and stop me if I'm wrong, the SWC is the compiled Cairngorm framework. The following code... !-- run this task to move cairngorm to you webapp -- target name=get_cairngorm description=copies over Cairngorm source copy todir=${dest_webapp}/WEB-INF/flex/user_classes/ overwrite=false fileset dir=${cairngorm} include name=**/*cairngorm.swc/ /fileset /copy copy todir=${dest_webapp}/WEB-INF/flex/ overwrite=false fileset dir=${cairngorm} include name=**/*cairngorm-manifest.xml/ /fileset /copy /target ... includes the cairngorm-manifest and the SWC. The cairngorm-manifest.xml points to the framework classes, which seems redundant to me. I was also confused about where the 'build' folder is placed within the directory to be executed. Do 'bin' and 'build' reside on the root of the directory structure similar to: --build --bin --org --+nevis ---+---+cairngorm I'm not sure where bin goes with its respective cairngorm-manifest.xml file and cairngorm.swc. In the sames files, bin doesn't exist. I'm missing something :) DaveOn 5/19/05, Alex Uhlmann [EMAIL PROTECTED] wrote: Hi Dave,have you made sure your config.xml containsnamespace uri=http://www.iterationtwo.com/cairngormmanifest/WEB-INF/flex/cairngorm- manifest.xml/manifest/namespace,you have a cairngorm-manifest.xml file and most importantly, you've restarted your server?Best,Alex--Alex UhlmannSoftware Engineer iteration::two-Original Message-From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com ]On Behalf Of dave buhlerSent: 19 May 2005 09:14To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Re: Cairngorm 0.99I have the same issue with the Login example: Error /org/nevis/cairngorm/samples/login/business/Services.mxml:22Namespace http://www.iterationtwo.com/cairngorm has not been associated with component manifest. On 5/19/05, Hans Omli [EMAIL PROTECTED] wrote:I'm having a similar issue.After changing db_path in/WEB-INF/classes/store.cfg to an absolute path, I get: Error: Unresolved compilation problems:The import org.apache.commons cannot be resolvedThe import org.apache.commons cannot be resolvedlog cannot be resolvedlog cannot be resolved log cannot be resolvedlog cannot be resolvedlog cannot be resolvedlog cannot be resolvedLog cannot be resolved to a typeLogFactory cannot be resolved Could be an issue with the way I have the Tomcat project configured inEclipse.Will dig deeper into this in the morning.-Original Message-From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] OnBehalf Of Steven WebsterSent: Wednesday, May 18, 2005 7:10 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Re: Cairngorm 0.99Hi there,Can you zip up your webapp directory (removing flex.war/etc) on JRun andemail it privately to me offlist, and we'll take a look. On the login sample, you should have seen a result or a fault come back overthe wire ... what was the case ?Have you tried starting/stopping the appserver ?I'm sure it's something simple. Best,Steven -Original Message- From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com ] On Behalf Of violabg2002 Sent: 18 May 2005 15:04 To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Cairngorm 0.99 Hi Steven changed the store.cfg paht to db_path=c:\\cairngormstore\\db\\but same problem. I have h commons-lang-1.0.1.jar h commons-logging-1.0.4.jar h hsqldb.jar h log4j-1.2.8.jar in the Flex\jrun4\servers\default\cairngormstore\WEB-INF\lib directory.Yahoo! Groups Links Yahoo! Groups LinksTo visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/To unsubscribe from this group, send an email to: [EMAIL PROTECTED]Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.Yahoo! Groups Links * To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/* 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/ Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Re: Cairngorm 0.99
Samples*, not sames :)On 5/19/05, dave buhler [EMAIL PROTECTED] wrote: Hi Alex, Let me try again when I get home from the office. I'm confused about the purpose behind the SWC. As I understand it, and stop me if I'm wrong, the SWC is the compiled Cairngorm framework. The following code... !-- run this task to move cairngorm to you webapp -- target name=get_cairngorm description=copies over Cairngorm source copy todir=${dest_webapp}/WEB-INF/flex/user_classes/ overwrite=false fileset dir=${cairngorm} include name=**/*cairngorm.swc/ /fileset /copy copy todir=${dest_webapp}/WEB-INF/flex/ overwrite=false fileset dir=${cairngorm} include name=**/*cairngorm-manifest.xml/ /fileset /copy /target ... includes the cairngorm-manifest and the SWC. The cairngorm-manifest.xml points to the framework classes, which seems redundant to me. I was also confused about where the 'build' folder is placed within the directory to be executed. Do 'bin' and 'build' reside on the root of the directory structure similar to: --build --bin --org --+nevis ---+---+cairngorm I'm not sure where bin goes with its respective cairngorm-manifest.xml file and cairngorm.swc. In the sames files, bin doesn't exist. I'm missing something :) DaveOn 5/19/05, Alex Uhlmann [EMAIL PROTECTED] wrote: Hi Dave,have you made sure your config.xml containsnamespace uri=http://www.iterationtwo.com/cairngorm manifest/WEB-INF/flex/cairngorm- manifest.xml/manifest/namespace,you have a cairngorm-manifest.xml file and most importantly, you've restarted your server?Best,Alex--Alex UhlmannSoftware Engineer iteration::two-Original Message-From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com ]On Behalf Of dave buhlerSent: 19 May 2005 09:14To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Re: Cairngorm 0.99I have the same issue with the Login example: Error /org/nevis/cairngorm/samples/login/business/Services.mxml:22Namespace http://www.iterationtwo.com/cairngorm has not been associated with component manifest. On 5/19/05, Hans Omli [EMAIL PROTECTED] wrote:I'm having a similar issue.After changing db_path in /WEB-INF/classes/store.cfg to an absolute path, I get: Error: Unresolved compilation problems:The import org.apache.commons cannot be resolvedThe import org.apache.commons cannot be resolvedlog cannot be resolvedlog cannot be resolved log cannot be resolvedlog cannot be resolvedlog cannot be resolvedlog cannot be resolvedLog cannot be resolved to a typeLogFactory cannot be resolved Could be an issue with the way I have the Tomcat project configured inEclipse.Will dig deeper into this in the morning.-Original Message-From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] OnBehalf Of Steven Webster Sent: Wednesday, May 18, 2005 7:10 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Re: Cairngorm 0.99Hi there,Can you zip up your webapp directory (removing flex.war/etc) on JRun andemail it privately to me offlist, and we'll take a look. On the login sample, you should have seen a result or a fault come back overthe wire ... what was the case ?Have you tried starting/stopping the appserver ?I'm sure it's something simple. Best,Steven -Original Message- From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com ] On Behalf Of violabg2002 Sent: 18 May 2005 15:04 To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Cairngorm 0.99 Hi Steven changed the store.cfg paht to db_path=c:\\cairngormstore\\db\\but same problem. I have h commons-lang-1.0.1.jar h commons-logging-1.0.4.jar h hsqldb.jar h log4j-1.2.8.jar in the Flex\jrun4\servers\default\cairngormstore\WEB-INF\lib directory.Yahoo! Groups Links Yahoo! Groups LinksTo visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to: [EMAIL PROTECTED]Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. Yahoo! Groups Links * To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ * 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/ Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Panel hearder-colors restriction or bug
Thanks Manish. I can safely say that there are two bugs. One in the StyleExplorer, which makes some sense, and one in FlexBuilder itself. When you view the design in FlexBuilder you get a funky look for the same gradient. It drove me nuts. -Kent -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Manish Jethani Sent: Thursday, May 19, 2005 12:15 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Panel hearder-colors restriction or bug On 5/18/05, Kent Henneuse [EMAIL PROTECTED] wrote: If I specify a single color for the header I get that color no matter the value. If I specify a second color, for the gradient I assume, I get black. See example code below. The code example you posted works fine for me if I run it directly. There might be a bug in the Style Explorer. It may be trying to parse the comma-separated values as a Number instead of an Array. Yahoo! Groups Links smime.p7s Description: S/MIME cryptographic signature
Re: [flexcoders] Web Services and CF7
thanks for that updater link, dave. That .jar updater in the cfmx admin is very nice but cannot be installed with firefox (osx 10.4.1), I can't select select the updater from the java filebrowser thing, safari works fine though :-/is there a way to get a notification when there is an macromedia updates for jrun, cfmx, flashcom etc.. ? something like macromedia.com/go/update?ThijsOp 19-mei-2005, om 15:51 heeft Dave Carabetta het volgende geschreven:It should be noted that the most recent CFMX 7 hotfix rollup releasedon 4/21 has resolved this issue:http://www.macromedia.com/go/fd71533Regards,Dave. Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Re: Cairngorm 0.99
While that is nice and all, I have these errors now: 5 Errors found. Error H:\Inetpub\wwwroot\flex\cairngormlogin\org\nevis\cairngorm\samples\login\business\Services.mxml:28 Invalid value for 'named' - does not match any object name from the configuration file. Error H:\Inetpub\wwwroot\flex\cairngormlogin\Index.mxml:43 Don't know how to parse element org.nevis.cairngorm.samples.login.business.*:Services. It is not a known type or a property of mx.core.Application. Error H:\Inetpub\wwwroot\flex\cairngormlogin\Index.mxml:46 Don't know how to parse element org.nevis.cairngorm.samples.login.control.*:DemoControl. It is not a known type or a property of mx.core.Application. Error H:\Inetpub\wwwroot\flex\cairngormlogin\Index.mxml:50 Don't know how to parse element org.nevis.cairngorm.samples.login.view.*:IndexViewHelper. It is not a known type or a property of mx.core.Application. Error H:\Inetpub\wwwroot\flex\cairngormlogin\Index.mxml:53 Don't know how to parse element http://www.macromedia.com/2003/mxml:ViewStack;. It is not a known type or a property of mx.core.Application. --- In flexcoders@yahoogroups.com, dave buhler [EMAIL PROTECTED] wrote: I think the quotes needed to be added. From: namespace uri=http://www.iterationtwo.com/cairngorm manifest/WEB-INF/flex/cairngorm-manifest.xml/manifest /namespace be: namespace uri=http://www.iterationtwo.com/cairngormhttp://www.iterationtwo.com/cairngorm manifest/WEB-INF/flex/cairngorm-manifest.xml/manifest /namespace On 5/17/05, Dimitrios Gianninas [EMAIL PROTECTED] wrote: Hi, You must add the appropriate entry for the cairngorm-manifest.xml in the flex-config.xml (portion in red below): namespace uri=http://www.macromedia.com/2003/mxml; manifest/WEB-INF/flex/mxml-manifest.xml/manifest /namespace namespace uri=http://www.iterationtwo.com/cairngorm manifest/WEB-INF/flex/cairngorm-manifest.xml/manifest /namespace This probably explains the error meesage. *Dimitrios Jimmy Gianninas* *RIA Developer* *Optimal Payments Inc.* -- *From:* Sean McKibben [mailto:[EMAIL PROTECTED] *Sent:* Tuesday, May 17, 2005 6:25 PM *To:* flexcoders@yahoogroups.com *Subject:* Re: [flexcoders] Cairngorm 0.99 I'm having some trouble getting my Services.mxml to work with .99. I keep getting errors like: Error */com/cadpo/shared/business/Services.mxml:4* Namespace http://www.iterationtwo.com/cairngorm has not been associated with component manifest. Error */com/cadpo/shared/business/Services.mxml:4* No type for element http://www.iterationtwo.com/cairngorm:ServiceLocator; Error */com/cadpo/shared/business/Services.mxml:4* Unexpected root element http://www.iterationtwo.com/cairngorm:ServiceLocator; does not extend MovieClip I put the cairngorm-manifest.xml into the WEB-INF/flex directory, but it still doesn't want to eat it. Here is the first part of my Services.mxml: ?xml version=1.0 encoding=utf-8? cairngorm:ServiceLocator xmlns:mx=http://www.macromedia.com/2003/mxml; xmlns:cairngorm=http://www.iterationtwo.com/cairngorm; mx:WebService id=myWS ... Is the xmlns:cairngorm=http://www.iterationtwo.com/cairngorm; attribute correct? I copied it out of one of the sample apps included in .99. Any ideas? Thanks, Sean McKibben -- *Yahoo! Groups Links* - To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ - To unsubscribe from this group, send an email to: [EMAIL PROTECTED][EMAIL PROTECTED] - Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/. Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] how can i stop my date-time timezone data from b eing adjusted
You may need to create a new Date that eliminates the timezone aspect. var minsOff = oldDate.getTimezoneOffset(); var noTimezoneDate = new Date(oldDate.getTime(); noTimezoneDate.setMinutes(oldDate.getMinutes() + minsOff); I havent tried this but see if you can run with it. Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bhaq1972 Sent: Thursday, May 19, 2005 5:06 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] how can i stop my date-time timezone data from being adjusted Is there a quick way to stop flash player from manipulating my date- time data before its rendered. In my oracle db i have a column of data held as a date eg. '18-04-05 15:40' but when i render this data in a datagrid/list etc, it shows up as '18-04-05 16:40'. I want this date time to be treated as data. TIA BTW when i take off the timezone adjustement setting on my pc, the data is rendered correctly. Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Web Services and CF7
On 5/19/05, Thijs Triemstra | Collab [EMAIL PROTECTED] wrote: thanks for that updater link, dave. That .jar updater in the cfmx admin is very nice but cannot be installed with firefox (osx 10.4.1), I can't select select the updater from the java filebrowser thing, safari works fine though :-/ is there a way to get a notification when there is an macromedia updates for jrun, cfmx, flashcom etc.. ? something like macromedia.com/go/update? I'm not sure about an e-mail notification, but I'm a big blog reader, and they have a ColdFusion Notifications feed at: http://www.macromedia.com/go/rss_coldfusion If you're a ColdFusion user, you'll also be interested to know that they just released updated JDBC drivers for all versions of MX that they highly recommend people upgrade to: http://www.macromedia.com/go/1a3c2ad0 Note that the drivers were release *after* the hotfix rollup, so you'll need to install the drivers as a separate step afterwards. Regards, Dave. Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] Lineseries and dataproviders?
Satu -- You can, of course, always write a small routine to combine the datasets into a single dataprovider. But yes, you should be able to assign dataproviders to the individual series, rather than the chart: LineChart series LineSeries dataProvider={dp1} / LineSeries dataProvider={dp2} / /series /LineSeries Regarding your second question...it would be easier to answer if you posted some sample data that you'd like to be able to assign to the chart. Ely. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of svktiilikainen Sent: Thursday, May 19, 2005 1:51 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Lineseries and dataproviders? Hi there, I've been struggling with line charts containing multiple data series. The data presented is linear so that I'm using LinearAxis for both X and Y axis LineSeries to make the data series. Is there ANY way to assign different data providers to LineSeries objects of one LineChart object? Moreover, is it possible to use anything else but a named field (string) as the xField or yField assignment of the LineSeries object? It would be a whole lot easier more practical to assign eg. a column of an array or even a named field in a multidimensional array as the data source, but this seems to be impossible. Regards, Satu Yahoo! Groups Links Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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/
[flexcoders] Flash Drawing API in Flex
Hi, I'm wondering if it's possible to utilize the Flash drawing API in Flex. Our current Flash application has a tree with drag/drop functionality. Items are dragged from the tree and then dropped onto a floor plan. In Flash we trigger an event that draws a box and other shapes on the canvas. We dynamically create a movieclip and then draw in it: this.createEmptyMovieClip(square_mc, 1); square_mc.lineStyle(1, 0x00, 100); square_mc.beginFill(0xFF, 100); square_mc.moveTo(0, 0); square_mc.lineTo(50, 0); square_mc.lineTo(50, 50); square_mc.lineTo(0, 50); square_mc.lineTo(0, 0); square_mc.endFill(); How can this be implemented in Flex? I know there are other approaches we can take but I'm curious to know if there's support for more custom stuff, ie dynamically creating movies and drawing in them. I was assuming that I could perform this type of interactivity with the Canvas container, but have been unsuccessful. Thanks, Dennis Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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/
[flexcoders] Re: Cairngorm 0.99
That fixed it. Thanks. It might be good to have some manual installation instructions in the documentation for putting cairngorm into an existing flex server. --- In flexcoders@yahoogroups.com, Steven Webster [EMAIL PROTECTED] wrote: -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of reubenbrown13 Sent: 19 May 2005 16:47 To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Cairngorm 0.99 While that is nice and all, I have these errors now: 5 Errors found. Error H:\Inetpub\wwwroot\flex\cairngormlogin\org\nevis\cairngorm\sam ples\login\business\Services.mxml:28 Invalid value for 'named' - does not match any object name from the configuration file. OK, so in Services.mxml line 28 there will be reference to a named service. That's what the error message is trying to tell you. That named service has to be declared in flex-config.xml. I'm suspecting that when you are building the application, you're not putting out the flex-confix.xml that we shipped for you, that has the named service definition in it. If you're using our ant build scripts, then we copy that flex-config.xml out on your behalf. If you're not using ant, you're going to have to do all the work yourself, for putting all the files out that need to be there, or adding the manifest defintions and named service definitions that the Cairngorm store necessarily required. I'm afraid it's the trade-off of putting out a sample that is a full 3-tier application; the configuration of the database, and of the J2EE named services, needs to be done, as well as just deploying MXML and ActionScript. All your other errors, I suspect are just fall-out from the above. best, Steven -- Steven Webster Technical Director iteration::two This e-mail and any associated attachments transmitted with it may contain confidential information and must not be copied, or disclosed, or used by anyone other than the intended recipient(s). If you are not the intended recipient(s) please destroy this e-mail, and any copies of it, immediately. Please also note that while software systems have been used to try to ensure that this e-mail has been swept for viruses, iteration::two do not accept responsibility for any damage or loss caused in respect of any viruses transmitted by the e-mail. Please ensure your own checks are carried out before any attachments are opened. Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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/
[flexcoders] MXML Schema
Dear all, not a direct question but I'd like to discuss this issue with you. I'm using Eclipse for Developing Flex with the oXygen-Plugin (XML), ASDT (ActionScript Plugin) and Sysdeo (Tomcat monitoring SOAP-Debugging!). It works like a charm and i prefer it instead of using Flexbuilder. Moreover I can code directly my logic tier (Java and PHP) without switching the IDE. Macromedia ships a file called mxml.xsd with Flex. It is declared to be a generated XML-Schema for XMLM by the compiler. The oXygen-Plugin provides functionalities in order to provide code-hinting while developing MXML (like Flexbuilder). But some featrues are missing, so I have a hunch that the Scheme is not complete. For example while beeing in a mx:operation within a mx:Webservice no hinting for result or concurenncy is provided. Checking the Schema with a Schema-Browser results in that attributes or sub-tags for mx:operation are not provided. I'd like to know from you if you have exerienced other missing elements in the Schema. Or do you know a source for obtaining a complete Schema? Thanks in andvance CU Reto Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] Re: Cairngorm 0.99
Reuben, That fixed it. Thanks. It might be good to have some manual installation instructions in the documentation for putting cairngorm into an existing flex server. http://www.iterationtwo.com/nevis/InstallationGuide.pdf On page 6, we instruct: To copy over the store sample files, you must copy the contents of your project webapp directory into your webservers webapp directory. Copy (contents of) webapp/ into WEBAPP_DIR/cairngormstore/ If you do that, that'll take a copy of flex-config.xml out of webapp/WEB-INF/flex/ and put it into your context. We put all the entries into flex-config.xml that will allow the sample to run out of the box. If folks want to ignore the step-by-step advice of starting with a fresh Flex webapp context, then they're on their own :) Glad you've got it all up and running now, Best, Steven -- Steven Webster Technical Director iteration::two This e-mail and any associated attachments transmitted with it may contain confidential information and must not be copied, or disclosed, or used by anyone other than the intended recipient(s). If you are not the intended recipient(s) please destroy this e-mail, and any copies of it, immediately. Please also note that while software systems have been used to try to ensure that this e-mail has been swept for viruses, iteration::two do not accept responsibility for any damage or loss caused in respect of any viruses transmitted by the e-mail. Please ensure your own checks are carried out before any attachments are opened. Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] Controlling Pie Chart Colors
Yes, ids are not supported on faceless objects in Flex 1.5. Try: assetPieChart.series[0].setStyle(...); Ely. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Battershall, Jeff Sent: Thursday, May 19, 2005 6:53 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Controlling Pie Chart Colors Importance: High Ely, Thanks. So how do you drill down to the correct style object? If try to give my PieSeries an id, the compiler says, Nested object properties cannot have IDs. Setting the fills style for the PieChart.series object seems to have no effect whatsoever. Jeff Code Sample: mx:PieChart dataProvider={fundModel.assetAllocationByFund} id=assetPieChart width=200 height=140 showDataTips=true creationComplete=setFills() borderStyle=solid mx:series mx:Array mx:PieSeries field=percent nameField=className labelPosition=callout labelFunction=displayType calloutGap=0/ /mx:Array /mx:series /mx:PieChart function setFills() { var arr = [0xFFCC66,0x69AFD3,0xC0D9EC,0xB9BDBF,0x005C7C,0x6D6F71]; assetPieChart.series.setStyle(fills,arr); } -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ely Greenfield Sent: Wednesday, May 18, 2005 2:33 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Controlling Pie Chart Colors Hi Jeff. You should absolutely be able to set the fills array at runtime. Something like: mySeries.setStyle(fills, [0xFF,0x00FF00,0xFF]); should work. Can you send me a snippet of sample code? Incidentally ,if you want to make sure it pulls the same colors without having to change the fills style on the fly, you could insert 0 values for the missing classifications. Probably not the answer you're looking for, though, since they would then end up in the legend, which might be a bad thing. Ely. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Battershall, Jeff Sent: Wednesday, May 18, 2005 11:29 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Controlling Pie Chart Colors Importance: High I've got a situation where certain pie charts may or may not have certain classifications won't be represented if there are no values available in the data provider. The colors are not consistent from chart to chart - its just pulling the next color from the fill array. So say on one chart cash might appear blue and for another dataprovider it might appear green. I'd like to be able to make a certain section of a pie chart ALWAYS have a certain color. This is easy to do with area charts but I'm finding it not as easy with pie charts. If I alter the fill array programmatically that would be good, but in my limited testing I couldn't seem to be able to do that at runtime. I tried manually creating a nest array of PieSeries and mapping each one to a different field and color, but that did not seem to work either. Jeff Battershall Application Architect Dow Jones Indexes [EMAIL PROTECTED] (609) 520-5637 (p) (484) 477-9900 (c) Yahoo! Groups Links Yahoo! Groups Links Yahoo! Groups Links Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] Controlling Pie Chart Colors
Ely, THAT WORKS, thank you! This needs some better documentation! Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ely Greenfield Sent: Thursday, May 19, 2005 12:28 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Controlling Pie Chart Colors Yes, ids are not supported on faceless objects in Flex 1.5. Try: assetPieChart.series[0].setStyle(...); Ely. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Battershall, Jeff Sent: Thursday, May 19, 2005 6:53 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Controlling Pie Chart Colors Importance: High Ely, Thanks. So how do you drill down to the correct style object? If try to give my PieSeries an id, the compiler says, Nested object properties cannot have IDs. Setting the fills style for the PieChart.series object seems to have no effect whatsoever. Jeff Code Sample: mx:PieChart dataProvider={fundModel.assetAllocationByFund} id=assetPieChart width=200 height=140 showDataTips=true creationComplete=setFills() borderStyle=solid mx:series mx:Array mx:PieSeries field=percent nameField=className labelPosition=callout labelFunction=displayType calloutGap=0/ /mx:Array /mx:series /mx:PieChart function setFills() { var arr = [0xFFCC66,0x69AFD3,0xC0D9EC,0xB9BDBF,0x005C7C,0x6D6F71]; assetPieChart.series.setStyle(fills,arr); } -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ely Greenfield Sent: Wednesday, May 18, 2005 2:33 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Controlling Pie Chart Colors Hi Jeff. You should absolutely be able to set the fills array at runtime. Something like: mySeries.setStyle(fills, [0xFF,0x00FF00,0xFF]); should work. Can you send me a snippet of sample code? Incidentally ,if you want to make sure it pulls the same colors without having to change the fills style on the fly, you could insert 0 values for the missing classifications. Probably not the answer you're looking for, though, since they would then end up in the legend, which might be a bad thing. Ely. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Battershall, Jeff Sent: Wednesday, May 18, 2005 11:29 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Controlling Pie Chart Colors Importance: High I've got a situation where certain pie charts may or may not have certain classifications won't be represented if there are no values available in the data provider. The colors are not consistent from chart to chart - its just pulling the next color from the fill array. So say on one chart cash might appear blue and for another dataprovider it might appear green. I'd like to be able to make a certain section of a pie chart ALWAYS have a certain color. This is easy to do with area charts but I'm finding it not as easy with pie charts. If I alter the fill array programmatically that would be good, but in my limited testing I couldn't seem to be able to do that at runtime. I tried manually creating a nest array of PieSeries and mapping each one to a different field and color, but that did not seem to work either. Jeff Battershall Application Architect Dow Jones Indexes [EMAIL PROTECTED] (609) 520-5637 (p) (484) 477-9900 (c) Yahoo! Groups Links Yahoo! Groups Links Yahoo! Groups Links Yahoo! Groups Links Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] Re: Cairngorm 0.99
Whoa! I missed the PDF. :SOn 5/19/05, Steven Webster [EMAIL PROTECTED] wrote: Reuben, That fixed it.Thanks.It might be good to have some manual installation instructions in the documentation for putting cairngorm into an existing flex server.http://www.iterationtwo.com/nevis/InstallationGuide.pdfOn page 6, we instruct:To copy over the store sample files, you must copy the contents of your project webapp directory into your webservers webapp directory. Copy (contents of) webapp/ into WEBAPP_DIR/cairngormstore/If you do that, that'll take a copy of flex-config.xml out ofwebapp/WEB-INF/flex/ and put it into your context.We put all the entries into flex-config.xml that will allow the sample torun out of the box.If folks want to ignore the step-by-step advice of startingwith a fresh Flex webapp context, then they're on theirown :) Glad you've got it all up and running now,Best,Steven--Steven WebsterTechnical Directoriteration::twoThis e-mail and any associated attachments transmitted with it may contain confidential information and must not be copied, or disclosed, or used byanyone other than the intended recipient(s). If you are not the intendedrecipient(s) please destroy this e-mail, and any copies of it, immediately. Please also note that while software systems have been used to try to ensurethat this e-mail has been swept for viruses, iteration::two do not acceptresponsibility for any damage or loss caused in respect of any viruses transmitted by the e-mail. Please ensure your own checks are carried outbefore any attachments are opened.Yahoo! Groups Links* To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/* 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/ Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Flash Drawing API in Flex
Hi, You can use drawing API in flex also. Yes you can do this with Canvas because it's only container that supports absolute layouting. Following is simple example: ##DrawingOnCanvas.mxml## mx:Application width=800 height=600 xmlns:mx=http://www.macromedia.com/2003/mxml; mx:Script ![CDATA[ var squareCount:Number = 0; function createSquare() { var square_mc:MovieClip; ++squareCount; square_mc = cvs.createEmptyMovieClip(square_mc + squareCount, squareCount); square_mc.lineStyle(1, 0x00, 100); square_mc.beginFill(0xFF, 100); square_mc.moveTo(0, 0); square_mc.lineTo(50, 0); square_mc.lineTo(50, 50); square_mc.lineTo(0, 50); square_mc.lineTo(0, 0); square_mc.endFill(); square_mc._x = Math.random()*200; square_mc._y = Math.random()*200; } ]] /mx:Script mx:Canvas id=cvs width=600 height=400 borderStyle=solid/mx:Canvas mx:Button label=Create Square click=createSquare()/ /mx:Application Above code looks too low level, but in Flex you can create custom components and wrap low-level detailsInfact Flex provide better work-flow.. Hope that helps.. -abdul -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dennis Baldwin Sent: Thursday, May 19, 2005 9:44 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flash Drawing API in Flex Hi, I'm wondering if it's possible to utilize the Flash drawing API in Flex. Our current Flash application has a tree with drag/drop functionality. Items are dragged from the tree and then dropped onto a floor plan. In Flash we trigger an event that draws a box and other shapes on the canvas. We dynamically create a movieclip and then draw in it: this.createEmptyMovieClip(square_mc, 1); square_mc.lineStyle(1, 0x00, 100); square_mc.beginFill(0xFF, 100); square_mc.moveTo(0, 0); square_mc.lineTo(50, 0); square_mc.lineTo(50, 50); square_mc.lineTo(0, 50); square_mc.lineTo(0, 0); square_mc.endFill(); How can this be implemented in Flex? I know there are other approaches we can take but I'm curious to know if there's support for more custom stuff, ie dynamically creating movies and drawing in them. I was assuming that I could perform this type of interactivity with the Canvas container, but have been unsuccessful. Thanks, Dennis Yahoo! Groups Links Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] Available Backend Frameworks
Open for Business (www.ofbiz.org) is another backend framework that we use with Flex. It is a nice framework for creating enterprise applications because it includes what I call a full application stack. This stack includes an entity engine, workflow engine, service engine, and presentation tier. For our applications we replace the presentation tier with Flex and everything else work great. Brett On 5/18/05, Devers, Ilya [EMAIL PROTECTED] wrote: missing many. read up on the serverside.com JDO, EJB, spring, etc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of dave buhler Sent: Wednesday, May 18, 2005 4:28 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Available Backend Frameworks What are the backend frameworks that are available? Tartan Hibernate ColdSpring Am I missing any? Yahoo! Groups Links To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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/
[flexcoders] can I bind more that one checkbox to a send request?
I have a form that has several different checkboxes and need to pass any of their respected labels (or data) to a webservice cfc..what i what to do is be able to pass any of the below up to my webservice call. the code for the web service call is below this...; mx:VBox mx:CheckBox label=Select All Thrust color=#123154 labelPlacement=right id=ThrustReportsCHB1 click=changeThrusts( event ); / mx:CheckBox label=ASMT - Affordable Structures amp; Mfg. Tech color=#123154 labelPlacement=right id=ThrustReportsCHB2 / mx:CheckBox label=ALE - Adv. Lean amp; Efficient color=#123154 labelPlacement=right id=ThrustReportsCHB3 / mx:CheckBox label=ASC - Adv. Support Concepts color=#123154 labelPlacement=right id=ThrustReportsCHB4 / mx:CheckBox label=ASC - APS - Adv. Platform Systems color=#123154 labelPlacement=right id=ThrustReportsCHB5 / mx:CheckBox label=NCO - Net-Centric Operations color=#123154 labelPlacement=right id=ThrustReportsCHB6 / mx:HBox x=5 y=230 mx:FormItem mx:CheckBox label=Summary color=#123154 labelPlacement=top id=summaryCHB click=changeOther( event );/ /mx:FormItem mx:FormItem mx:CheckBox label=Detail color=#123154 labelPlacement=top id=detailCHB click=changeOther( event );/ /mx:FormItem /mx:HBox /mx:VBox WEB SERVICE CALL mx:WebService wsdl=http://nameremoved.com/gvs/_cfc/gvs_queries.cfc? wsdl id=gvsQueriesWS mx:operation name=Thrust_Query mx:request ThrustName{WhereIneedToPassCheckboxDATA}/ThrustName /mx:request /mx:operation /mx:WebService Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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/
[flexcoders] using the Style control tag
not sure if anyone else knows this, but I tried to use the mx:Style tag to set a style in one of my components, and when I did i got an error that said CSS type selectors are not supported in components, here is what I had: mx:Style LinkBar {some style stuf } /mx:Style however this is wrong and the error message was kind of misleading, based on it i thought that i could NOT use the tag/style in a component; but when I changed it to this; mx:Style myLinkBar.LinkBar {some style stuff } /mx:Style noticed i added a ID to the LinkBar style it worked just fine...just thought someone might what to know... Craig Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] using the Style control tag
Hi, You can use style tag as shown below, not sure why you got errors. Which version of Flex you are using? You can see into flex docs under section Using Styles and Fonts: http://livedocs.macromedia.com/flex/15/flex_docs_en/0532.htm ##StyleTagExample.mxml## mx:Application width=800 height=600 xmlns:mx=http://www.macromedia.com/2003/mxml; mx:Style LinkBar { color:#00; border-style:solid; background-color:#FF; textRollOverColor:#FF; } .myStyle { color:#FF; font-family:Georgia; } /mx:Style mx:LinkBar click=getURL('http://www.macromedia.com/' + String(event.label).toLowerCase(), '_blank'); mx:dataProvider mx:Array mx:StringFlash/mx:String mx:StringDirector/mx:String mx:StringDreamweaver/mx:String mx:StringColdFusion/mx:String /mx:Array /mx:dataProvider /mx:LinkBar mx:Button label=aButton styleName=myStyle / /mx:Application Hope that helps.. -abdul -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of cnewroth55 Sent: Thursday, May 19, 2005 11:20 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] using the Style control tag not sure if anyone else knows this, but I tried to use the mx:Style tag to set a style in one of my components, and when I did i got an error that said CSS type selectors are not supported in components, here is what I had: mx:Style LinkBar {some style stuf } /mx:Style however this is wrong and the error message was kind of misleading, based on it i thought that i could NOT use the tag/style in a component; but when I changed it to this; mx:Style myLinkBar.LinkBar {some style stuff } /mx:Style noticed i added a ID to the LinkBar style it worked just fine...just thought someone might what to know... Craig Yahoo! Groups Links Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] Web Services and CF7
Remoting is great but it has a core limitation of one request at a time due the way AMF was implemented in the player. [Pete] You can simply create a new connection for each RemoteObject by either re-connecting by calling connect on the connection property of the RO or by using a distinct endpoint URI for each RemoteObject. The issue that I had heard about was that Flex 1.5 has trouble digesting CFC web services due to certain xml usage. I wanted to make sure that Flex 1.5 and CF7 had compatible SOAP formats. I know it sound ridiculous but I have heard firsthand of some problems with compatibility of these two. [Pete] Can you list any sources of this uncertainty? Any details as to which CF types the WebServices client library in Flex had difficulty with? If you discover any they need to be logged as bugs so we can fix them for the next release!! Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] Flex on the Web
Michel Jansen wrote: I am looking for Flex application on the Web. Can anynone send me some URL's where i can find them? As David noted, the bulk of Flex sales are made for intranet applications, and the open World Wide Web is a slightly different audience. Allen had that good link to the Flex Examples page at DevNet: http://www.macromedia.com/devnet/flex/example_apps.html ... and Jeff Tapper pointed to the Sample Apps section at cflex.net, while Jeff Battershall had that nice example at Dow Jones: http://cflex.net/ http://www.djindexes.com/mdsidx/portfolio/index.cfm?event=showPortfolioGlobalRelativeRisk Another resource is the Macromedia Showcase, filtered on Flex: (URL is too long... try mm.com/showcase, then click Flex) For up-to-the-minute citations (although mixed with a variety of other materials), try searching the Macromedia weblog aggregator with terms like flex example: http://weblogs.macromedia.com/ If you know of a particular type of application that you're seeking (banking, business analytics, a particular company, whatever) then there are possibilities in a general web search. But Flex on the Web would only be a small part of Flex in Realworld Use... it's a subset of the whole at this time. jd -- John Dowdell . Macromedia Developer Support . San Francisco CA USA Weblog: http://www.macromedia.com/go/blog_jd Aggregator: http://www.macromedia.com/go/weblogs Technotes: http://www.macromedia.com/support/ Spam killed my private email -- public record is best, thanks. Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] Flex on the Web
One more recent gallery is in this quarter's Macromedia financial call, on slide 34 of the following Breeze presentation: http://www.macromedia.com/macromedia/ir/macr/web_pres/earnings/q405/ jd -- John Dowdell . Macromedia Developer Support . San Francisco CA USA Weblog: http://www.macromedia.com/go/blog_jd Aggregator: http://www.macromedia.com/go/weblogs Technotes: http://www.macromedia.com/support/ Spam killed my private email -- public record is best, thanks. Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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/
[flexcoders] Re: Cairngorm 0.99
Hi Steven Could you explain the reason this new way of passing the command string in the addCommand in the ShopController: addCommand( ShopController.EVENT_GET_PRODUCTS, new GetProductsCommand () ); public static var EVENT_GET_PRODUCTS = getProducts; compare to the old cairngorm 0.95 style: addCommand( getProducts, new GetProductsCommand() ); Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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/
[flexcoders] Help with node indentation after drag/drop
Hi all, was wondering if there is some kind of function to 'correct' (?) the indentation after doing a drag/drop with a tree For example root -A --1 --2 -B --3 --4 Now if I drag A into B, the B folder will appear correctly root -B --A --3 --4 But when I expand/close A its chilrend don't get updated with the correct indentation roo -B --A --1 --2 --3 --4 Any ideas? Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Cairngorm 0.99, JRun and Log4J
I'm running Tomcat. I see two log4j warnings when launching Tomcat through Eclipse: log4j:WARN No appenders could be found for logger (org.apache.catalina.session.ManagerBase). log4j:WARN Please initialize the log4j system properly. Then I get the following error when I run Main.mxml: Error: Unresolved compilation problems: The import org.apache.commons cannot be resolvedThe import org.apache.commons cannot be resolvedlog cannot be resolvedlog cannot be resolved log cannot be resolvedlog cannot be resolvedlog cannot be resolvedlog cannot be resolvedLog cannot be resolved to a typeLogFactory cannot be resolved Any ideas? On 5/19/05, Alistair McLeod [EMAIL PROTECTED] wrote: Hi all, It turns out that the log4j JAR file that ships with the CairngormStore example in Cairngorm conflicts with the one that is pre-installed with the version of JRun that ships with Flex, and stops the application context from starting up successfully. So, to get it running, delete the following file before starting the integrated JRun server: \jrun4\servers\default\cairngormstore\WEB-INF\lib\log4j-1.2.8.jar JRun will then use its own Log4J JAR file. Cheers, Ali -- Alistair McLeodDevelopmentDirector iteration::two[EMAIL PROTECTED] Office: +44 (0)131 338 6108 This e-mail and any associated attachments transmitted with it may contain confidential information and must not be copied, or disclosed, or used by anyone other than the intended recipient(s). If you are not the intended recipient(s) please destroy this e-mail, and any copies of it, immediately. Please also note that while software systems have been used to try to ensure that this e-mail has been swept for viruses, iteration::two do not accept responsibility for any damage or loss caused in respect of any viruses transmitted by the e-mail. Please ensure your own checks are carried out before any attachments are opened. Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Cairngorm 0.99, JRun and Log4J
I resolved the log4j warnings. I had imported log4j.properties into the wrong webapp. :-( However, I still get the unresolved compilation problems. Any ideas? On 5/19/05, Hans Omli [EMAIL PROTECTED] wrote: I'm running Tomcat. I see two log4j warnings when launching Tomcat through Eclipse: log4j:WARN No appenders could be found for logger (org.apache.catalina.session.ManagerBase). log4j:WARN Please initialize the log4j system properly. Then I get the following error when I run Main.mxml: Error: Unresolved compilation problems: The import org.apache.commons cannot be resolvedThe import org.apache.commons cannot be resolvedlog cannot be resolvedlog cannot be resolved log cannot be resolvedlog cannot be resolvedlog cannot be resolvedlog cannot be resolvedLog cannot be resolved to a typeLogFactory cannot be resolved Any ideas? On 5/19/05, Alistair McLeod [EMAIL PROTECTED] wrote: Hi all, It turns out that the log4j JAR file that ships with the CairngormStore example in Cairngorm conflicts with the one that is pre-installed with the version of JRun that ships with Flex, and stops the application context from starting up successfully. So, to get it running, delete the following file before starting the integrated JRun server: \jrun4\servers\default\cairngormstore\WEB-INF\lib\log4j-1.2.8.jar JRun will then use its own Log4J JAR file. Cheers, Ali -- Alistair McLeodDevelopmentDirector iteration::two[EMAIL PROTECTED] Office: +44 (0)131 338 6108 This e-mail and any associated attachments transmitted with it may contain confidential information and must not be copied, or disclosed, or used by anyone other than the intended recipient(s). If you are not the intended recipient(s) please destroy this e-mail, and any copies of it, immediately. Please also note that while software systems have been used to try to ensure that this e-mail has been swept for viruses, iteration::two do not accept responsibility for any damage or loss caused in respect of any viruses transmitted by the e-mail. Please ensure your own checks are carried out before any attachments are opened. Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Re: Cairngorm 0.99
Is it to avoid typo issues and later error debugging craziness? From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Paolo Bernardini Sent: Thursday, May 19, 2005 2:07 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Cairngorm 0.99 Importance: High Hi Steven Could you explain the reason this new way of passing the command string in the addCommand in the ShopController: addCommand( ShopController.EVENT_GET_PRODUCTS, new GetProductsCommand () ); public static var EVENT_GET_PRODUCTS = getProducts; compare to the old cairngorm 0.95 style: addCommand( getProducts, new GetProductsCommand() ); Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Cairngorm 0.99, JRun and Log4J
Resolved the compilation problems. I needed to add the libraries to the Tomcat project I'm using in Eclipse, not just import the libraries into the lib folder. On 5/19/05, Hans Omli [EMAIL PROTECTED] wrote: I resolved the log4j warnings. I had imported log4j.properties into the wrong webapp. :-( However, I still get the unresolved compilation problems. Any ideas? On 5/19/05, Hans Omli [EMAIL PROTECTED] wrote: I'm running Tomcat. I see two log4j warnings when launching Tomcat through Eclipse: log4j:WARN No appenders could be found for logger (org.apache.catalina.session.ManagerBase). log4j:WARN Please initialize the log4j system properly. Then I get the following error when I run Main.mxml: Error: Unresolved compilation problems: The import org.apache.commons cannot be resolvedThe import org.apache.commons cannot be resolvedlog cannot be resolvedlog cannot be resolved log cannot be resolvedlog cannot be resolvedlog cannot be resolvedlog cannot be resolvedLog cannot be resolved to a typeLogFactory cannot be resolved Any ideas? On 5/19/05, Alistair McLeod [EMAIL PROTECTED] wrote: Hi all, It turns out that the log4j JAR file that ships with the CairngormStore example in Cairngorm conflicts with the one that is pre-installed with the version of JRun that ships with Flex, and stops the application context from starting up successfully. So, to get it running, delete the following file before starting the integrated JRun server: \jrun4\servers\default\cairngormstore\WEB-INF\lib\log4j-1.2.8.jar JRun will then use its own Log4J JAR file. Cheers, Ali -- Alistair McLeodDevelopmentDirector iteration::two[EMAIL PROTECTED] Office: +44 (0)131 338 6108 This e-mail and any associated attachments transmitted with it may contain confidential information and must not be copied, or disclosed, or used by anyone other than the intended recipient(s). If you are not the intended recipient(s) please destroy this e-mail, and any copies of it, immediately. Please also note that while software systems have been used to try to ensure that this e-mail has been swept for viruses, iteration::two do not accept responsibility for any damage or loss caused in respect of any viruses transmitted by the e-mail. Please ensure your own checks are carried out before any attachments are opened. Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Re: Cairngorm 0.99
Wooo-H! I'm in! *** insert spy theme music here My thoughts: I ran into the same errors as reuben and Sean above with the exact same errors. I have never heard of ANT until today. I'm a client-side developer. Just like Berardini. Server configuration is foreign to me. Lead my people to the Red Sea of Server Configuration. Help us cross. I think most AS 2.0/OOP developers understand and love working within the framework, but have a hard time getting over the hurdle of setting up the server and server files. A clean install from the bare-bones helped. I agree with hecubus that the release notes should state that .99 isn't compatible with .95. We're probably 5 projects into Cairngorm .95, and I think we had anticipated a seamless upgrade. Item 3.2 in the docs should state that you have to copy over the flex-config file for your particular project and why. In some places, the docs show a path with '/' and sometimes without. I dragged my flex-config to the wrong folder (it was 1 up). The docs should be more consistent. For example: bin/cairngorm.swc to WEBAPP_DIR/cairngormlogin/WEB-INF/flex/user_classes/ bin/cairngorm-manifest.xml to WEBAPP_DIR/cairngormlogin/WEB-INF/flex these is spelled theses on page 2: flex contains the source Flex files of the Cairngorm API, you only need theses if you are recompiling the SWC Time to eat! Then, I'm coming back to play with my new framework. :) Peace, Dave On 5/19/05, hecubus_eh [EMAIL PROTECTED] wrote: I noticed that line in the documentation, but we wouldn't know whateffect that would haveon our existing application if we proceeded with the instructions.Without wanting to get into a heavy discussion about this, but I couldn't find any caveat inthe install instructions or the release notes that this release wasintended to be a freshinstall, or that updates to the existing framework were notsupported.Just a suggestion for the next set of install notes...:)Rick...--- In flexcoders@yahoogroups.com, dave buhler [EMAIL PROTECTED]wrote: Whoa! I missed the PDF. :S On 5/19/05, Steven Webster [EMAIL PROTECTED] wrote: Reuben,That fixed it. Thanks. It might be good to have some manual installation instructions in the documentation for putting cairngorm into an existing flex server. http://www.iterationtwo.com/nevis/InstallationGuide.pdf On page 6, we instruct: To copy over the store sample files, you must copy the contentsof your project webapp directory into your webservers webapp directory. Copy (contents of) webapp/ into WEBAPP_DIR/cairngormstore/ If you do that, that'll take a copy of flex-config.xml out of webapp/WEB-INF/flex/ and put it into your context. We put all the entries into flex-config.xml that will allow the sample to run out of the box. If folks want to ignore the step-by-step advice of starting with a fresh Flex webapp context, then they're on their own :) Glad you've got it all up and running now, Best, Steven -- Steven Webster Technical Director iteration::two This e-mail and any associated attachments transmitted with itmay contain confidential information and must not be copied, or disclosed,or used by anyone other than the intended recipient(s). If you are not theintended recipient(s) please destroy this e-mail, and any copies of it, immediately. Please also note that while software systems have been used to try to ensure that this e-mail has been swept for viruses, iteration::two donot accept responsibility for any damage or loss caused in respect of anyviruses transmitted by the e-mail. Please ensure your own checks are carried out before any attachments are opened. Yahoo! Groups Links Yahoo! Groups Links* To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ * 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/ Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Controlling Pie Chart Colors
As a contribution to the group knowledge as to one way to address this matter - create an array of hex colors and bind the fills property of your PieSeries to this, then programmatically alter this array depending on data provider contents - that way you don't need to worry about drilling into the series array. Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Battershall, Jeff Sent: Thursday, May 19, 2005 12:45 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Controlling Pie Chart Colors Ely, THAT WORKS, thank you! This needs some better documentation! Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ely Greenfield Sent: Thursday, May 19, 2005 12:28 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Controlling Pie Chart Colors Yes, ids are not supported on faceless objects in Flex 1.5. Try: assetPieChart.series[0].setStyle(...); Ely. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Battershall, Jeff Sent: Thursday, May 19, 2005 6:53 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Controlling Pie Chart Colors Importance: High Ely, Thanks. So how do you drill down to the correct style object? If try to give my PieSeries an id, the compiler says, Nested object properties cannot have IDs. Setting the fills style for the PieChart.series object seems to have no effect whatsoever. Jeff Code Sample: mx:PieChart dataProvider={fundModel.assetAllocationByFund} id=assetPieChart width=200 height=140 showDataTips=true creationComplete=setFills() borderStyle=solid mx:series mx:Array mx:PieSeries field=percent nameField=className labelPosition=callout labelFunction=displayType calloutGap=0/ /mx:Array /mx:series /mx:PieChart function setFills() { var arr = [0xFFCC66,0x69AFD3,0xC0D9EC,0xB9BDBF,0x005C7C,0x6D6F71]; assetPieChart.series.setStyle(fills,arr); } -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ely Greenfield Sent: Wednesday, May 18, 2005 2:33 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Controlling Pie Chart Colors Hi Jeff. You should absolutely be able to set the fills array at runtime. Something like: mySeries.setStyle(fills, [0xFF,0x00FF00,0xFF]); should work. Can you send me a snippet of sample code? Incidentally ,if you want to make sure it pulls the same colors without having to change the fills style on the fly, you could insert 0 values for the missing classifications. Probably not the answer you're looking for, though, since they would then end up in the legend, which might be a bad thing. Ely. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Battershall, Jeff Sent: Wednesday, May 18, 2005 11:29 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Controlling Pie Chart Colors Importance: High I've got a situation where certain pie charts may or may not have certain classifications won't be represented if there are no values available in the data provider. The colors are not consistent from chart to chart - its just pulling the next color from the fill array. So say on one chart cash might appear blue and for another dataprovider it might appear green. I'd like to be able to make a certain section of a pie chart ALWAYS have a certain color. This is easy to do with area charts but I'm finding it not as easy with pie charts. If I alter the fill array programmatically that would be good, but in my limited testing I couldn't seem to be able to do that at runtime. I tried manually creating a nest array of PieSeries and mapping each one to a different field and color, but that did not seem to work either. Jeff Battershall Application Architect Dow Jones Indexes [EMAIL PROTECTED] (609) 520-5637 (p) (484) 477-9900 (c) Yahoo! Groups Links Yahoo! Groups Links Yahoo! Groups Links Yahoo! Groups Links Yahoo! Groups Links Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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/
[flexcoders] HTML form replacement
This is probably a basic question for most of you, but I'll ask anyway. What is the best method for simply replacing an existing HTML login form with a Flex one? I'm currently trying getURL on the submit action (but with no luck): function submitLogin():Void { var username:String = ; var password:String = ; getURL(theURL,_self,POST); } The text input ID's are username and password. Any help/tips appreciated. Thanks! Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] Web Services and CF7
Ted, although you do mention search you don't specifically mention CF query result sets. One thing that I'd like to mention for the benefit of others using Flex and ColdFusion is that while CF can return query result sets via Remoting and Web Services this is not a native object/data type in the Flash player, and consequently Flex. While the Flash player can process this via the Remoting and Web Services APIs it's time consuming as the data is being converted into something native first. You're better off to return arrays of objects (CF structures) instead, I don' t have the figures but I know that there is a dramatic performance difference, particularly for large sets of data. Andrew Andrew Muller Partner, RocketBoots http://www.rocketboots.com.au On 5/19/05, Theodore E Patrick [EMAIL PROTECTED] wrote: Anything goes really, I return numbers, string, bools, arrays, objects and combinations of all the above depending on what is needed. In the use cases we are using this data service for: Search Directory Articles Ecommerce Personalization The requests and responses are all different but we want a common way to develop them to completion. We would like a productive language like CF but it has to work in all cases. The fallback here is to just use Apache Axis with Java classes on the server side although I would prefer something simple and easy to change like CFC's. Cheers, Ted ;) -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Muller Sent: Thursday, May 19, 2005 1:05 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Web Services and CF7 So, silly question, how are you structuring/formatting the data that you're returning from your webservice, something like arrays of objects or is it CF query result sets? Andrew On 5/19/05, Theodore E Patrick [EMAIL PROTECTED] wrote: Remoting is great but it has a core limitation of one request at a time due the way AMF was implemented in the player. This is not the case with WebService calls as each request gets its own XML object and its own request socket. Even though the payload might be larger and the parsing takes longer, I want to avoid the issue of having remoting lock-up the AMF pipe on a long running request. Call me paranoid. ;) The issue that I had heard about was that Flex 1.5 has trouble digesting CFC web services due to certain xml usage. I wanted to make sure that Flex 1.5 and CF7 had compatible SOAP formats. I know it sound ridiculous but I have heard firsthand of some problems with compatibility of these two. Cheers, Ted ;) -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Muller Sent: Wednesday, May 18, 2005 9:57 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Web Services and CF7 Ted Is there any reason, since you're using CF7, why you wouldn't connect from Flex via Flash Remoting instead of Web Services, you'd be consuming the same CFC presumably and the data should be much less verbose... Andrew Andrew Muller Partner, RocketBoots http://www.rocketboots.com.au On 5/19/05, Theodore E Patrick [EMAIL PROTECTED] wrote: I am looking at using CF7 and CFC web services with Flex 1.5. I understand that some have seen issues with using these two togther or was this limited to CF6? Can anyone highlight the issue for me? Any help would be most appreciated. Cheers, Ted Patrick Yahoo! Groups Links To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. Yahoo! Groups Links Yahoo! Groups Links To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. Yahoo! Groups Links Yahoo! Groups Links To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. Yahoo! Groups Links
[flexcoders] Default Chart Colors
How do I change the default colors used by Flex for multiple charts? As charts are added, the Legend and the Chart itself follow a pattern of predetermined colors. Where is that defined? I need to change site wide. Thanks much, -Dave Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] Re: Cairngorm 0.99
Hi Paolo, Could you explain the reason this new way of passing the command string in the addCommand in the ShopController: addCommand( ShopController.EVENT_GET_PRODUCTS, new GetProductsCommand () ); public static var EVENT_GET_PRODUCTS = getProducts; compare to the old cairngorm 0.95 style: addCommand( getProducts, new GetProductsCommand() ); Sure, this is just us showing what we consider to be a good practice; again, it's not something new to Cairngorm, but a practice we'd like to elucidate through the samples we give you. A common refactoring (in the Martin Fowler's book on Refactoring term, not on the word that people throw around to mean code editing) that is performed is the Replace Magic Number with a Symbolic Constant refactoring: http://www.refactoring.com/catalog/replaceMagicNumberWithSymbolicConstant.ht ml By defining static constants on our Controller, we can quickly look to our controller to identify the names of the events that we are able to broadcast, and that our controller will respond to. Everywhere else in our code, we reduce the risk of broadcasting the getaccounts event instead of the correctly capitalised getAccounts event for instance, by instead broadcasting ShopController.EVENT_GET_ACCOUNTS. In this way, if we spell incorrectly, eg ShopController.EVENT_GET_ACOUNTS, then this is caught at compile-time rathr than at run-time. We're big believers in letting the compiler do as much error checking as possible, and reducing the source of run-time error. So this isn't a Cairngorm best-practice it's simply a best-practice that iteration::two adhere to, and that we're promoting in our samples. Hope that helps, Best, Steven -- Steven Webster Technical Director iteration::two This e-mail and any associated attachments transmitted with it may contain confidential information and must not be copied, or disclosed, or used by anyone other than the intended recipient(s). If you are not the intended recipient(s) please destroy this e-mail, and any copies of it, immediately. Please also note that while software systems have been used to try to ensure that this e-mail has been swept for viruses, iteration::two do not accept responsibility for any damage or loss caused in respect of any viruses transmitted by the e-mail. Please ensure your own checks are carried out before any attachments are opened. Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] Re: Cairngorm 0.99
Hi Dave, I ran into the same errors as reuben and Sean above with the exact same errors. I have never heard of ANT until today. I'm a client-side developer. Just like Berardini. Server configuration is foreign to me. Lead my people to the Red Sea of Server Configuration. Help us cross. I think most AS 2.0/OOP developers understand and love working within the framework, but have a hard time getting over the hurdle of setting up the server and server files. A clean install from the bare-bones helped. So first of all, I think it's great that "client-side developers" are so willing to get the Cairngorm samples up and running; and I do think that you're going to get a rapidclimb up the ramp by getting this sample running and understanding how it allworks on both sides of the wire. However, our remit in producing the "Cairngorm Store"was not to provide a tutorial inFlex/J2EE application development, but to provide those Flex/J2EE developers who are trying to understand how Cairngorm fits in with what they do, a more comprehensive sample application than the simple Login example we provided with 0.95. We wanted to ship an app that incorporated a Flex presentation-tier built using Cairngorm, that invokes a Java business tier with a database back-end. The Java and database backend are in no-way intended to be best-practice code (so don't go trying to build production Flex shops using that code !) but our assumption is that J2EE folks are going to understand where to go from this sample. Don't get me wrong; we'll help you guys all we can to get this application running, and we do intend blogging abit more of a "getting started", but if a hurdle exists in configuring a J2EE application server,installing a database for Java to call, working with Flex server configuration, etc, then the remit of Cairngorm Store isn't to make that easier for you ... there's plenty of better resources out there. Fundamental assumption for Cairngorm, is that a developer is comortable developing and configuring Flex applications on a Flex/J2EE server. Please take this in the spirit it's intended our aim with Cairngorm isto provide the framework and the examples that merit leveraging the framework; the base assumption is thatyou are developing all tiers of an n-tier application, that you're comfortable developing apps of the complexity that really start to merit a microarchitecture like Cairngorm. The great thing about open-source frameworks like this though,is communityparticipation ... so if I hear you correctly that there's a need for a "Installing the Cairngorm Store for Client-Side Developers" whitepaper, then I'd be delighted for you to volunteer to write it :-) I agree with hecubus that the release notes should state that .99 isn't compatible with .95. We're probably 5 projects into Cairngorm .95, and I think we had anticipated a seamless upgrade. I'm not quite sure what you mean by incompatibility;the onlychange we're asking you to make - and we thought long and hard about this one - is renaming the com.iterationtwo.cairngorm packages to org.nevis.cairngorm. That's something that is a global search and replace operation on your source code, and is the *only* thing you have to do to migrate from 0.95 to 0.99 If you then drop the org.nevis.cairngorm.* packages inthe same place you had com.iterationtwo.cairngorm.* then you should be back where you started. If, however, you want to benefit by using cairngorm.swc (so you can keep theCairngorm source out of your project source) then you're going to have to do a little extra work - adding the manifest entry to flex-config.xml. That'sall ... nothing more. However, in terms of compatibility; there's nothing that we've changed in the API that will break anything you're doing currently ... that was ahuge motivation for the decisions we made in 0.99, NOT to break existing functionality. If you find a 0.95 app isn't workingwith 0.99, please let us know how if it's merely that you have some updating of config files because you want to use the manifest, and you have to doa global search and replace, then that's the degree of "migration" weanticipated, and documented I hope. We just migrated a large e-commerce Flex app from the0.95 source tree, to the 0.99 SWC, and it was a 10-minute task for one of our developers, to do the migration and re-run the unit-tests.if it's a bigger task for you, I'm keen to know the pain you're having ? Item 3.2 in the docs should state that you have to copy over the flex-config file for your particular project and why. We'll make that more explicit for those that aren't following the instructions verbatim ;-) G In some places, the docs show a path with '/' and sometimes without. I dragged my flex-config to the wrong folder (it was 1 up). The docs should be more consistent.
Re: [flexcoders] Announcing Flex Style Explorer
how are they changing everything 'on the fly' so to say? I'm assuming they are accessing the styles directly, but how do you get it to update? For example mx:Script ![CDATA[ function changecolor(){ p.inheritingStyles.headerColors[0]=; p.inheritingStyles.headerColors[1]=; p.nonInheritingStyles.headerColors[0]=; p.nonInheritingStyles.headerColors[1]=; // do something here??? } ]] /mx:Script mx:Panel id=p title=test width=100 height=100/ mx:Button click=changecolor(); label=change/ On 5/17/05, Jae Hess [EMAIL PROTECTED] wrote: Not sure if you have heard the news:Announcing Flex Style Explorerhttp://www.markme.com/mc/archives/007740.cfmYahoo! Groups Links * To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/* 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/ Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] MXML Schema
But some featrues are missing, so I have a hunch that the Scheme is not complete. For example while beeing in a mx:operation within a mx:Webservice no hinting for result or concurenncy is provided. Checking the Schema with a Schema-Browser results in that attributes or sub-tags for mx:operation are not provided. As I learned earlier (see ColumnChart thread), the lower-case tags aren't objects but shortcuts for defining properties of the parent tag. So, as in that ColumnChart thread, this code: mx:ColumnChart ... mx:verticalAxis ... ... /mx:verticalAxis /mx:ColumnChart Is the same as: mx:ColumnChart verticalAxis=... ... ... /mx:ColumnChart Cheers, Blake Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] Announcing Flex Style Explorer
Title: Message Using setStyle(), I hope. Is the inheritingStyles property even documented? - Gordon -Original Message-From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rick SchmittySent: Thursday, May 19, 2005 2:47 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Announcing Flex Style Explorerhow are they changing everything 'on the fly' so to say? I'm assuming they are accessing the styles directly, but how do you get it to update?For examplemx:Script![CDATA[ function changecolor(){ p.inheritingStyles.headerColors[0]=; p.inheritingStyles.headerColors[1]=; p.nonInheritingStyles.headerColors[0]=; p.nonInheritingStyles.headerColors[1]=; // do something here??? }]]/mx:Scriptmx:Panel id="p" title="test" width="100" height="100"/mx:Button click="changecolor();" label="change"/ On 5/17/05, Jae Hess [EMAIL PROTECTED] wrote: Not sure if you have heard the news:Announcing Flex Style Explorerhttp://www.markme.com/mc/archives/007740.cfmYahoo! Groups Links * To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/* 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/ Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] MXML Schema
Hi Blake, As I learned earlier (see ColumnChart thread), the lower-case tags aren't objects but shortcuts for defining properties of the parent tag. So, as in that ColumnChart thread, this code: Thnaks for your replay, I didn't studied the thread ColumnChart intensivly because right now I'm far away from developing a charting application... But nevertheless regardless if the lowercase-tags are objects or shourtcuts for the parent's attributes they should be provided within the xml schema definition, but they aren't. I studied the schema carefully, they don't appear neither as attributes to their parent tags nor as alowed children tags. Cheers Reto Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] Flash Drawing API in Flex
Excellent Abdul! I see that I was missing my reference to square_mc. Thanks for the help. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Behalf Of Abdul Qabiz Sent: Thursday, May 19, 2005 12:25 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flash Drawing API in Flex Hi, You can use drawing API in flex also. Yes you can do this with Canvas because it's only container that supports absolute layouting. Following is simple example: ##DrawingOnCanvas.mxml## mx:Application width=800 height=600 xmlns:mx=http://www.macromedia.com/2003/mxml; mx:Script ![CDATA[ var squareCount:Number = 0; function createSquare() { var square_mc:MovieClip; ++squareCount; square_mc = cvs.createEmptyMovieClip(square_mc + squareCount, squareCount); square_mc.lineStyle(1, 0x00, 100); square_mc.beginFill(0xFF, 100); square_mc.moveTo(0, 0); square_mc.lineTo(50, 0); square_mc.lineTo(50, 50); square_mc.lineTo(0, 50); square_mc.lineTo(0, 0); square_mc.endFill(); square_mc._x = Math.random()*200; square_mc._y = Math.random()*200; } ]] /mx:Script mx:Canvas id=cvs width=600 height=400 borderStyle=solid/mx:Canvas mx:Button label=Create Square click=createSquare()/ /mx:Application Above code looks too low level, but in Flex you can create custom components and wrap low-level detailsInfact Flex provide better work-flow.. Hope that helps.. -abdul -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dennis Baldwin Sent: Thursday, May 19, 2005 9:44 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flash Drawing API in Flex Hi, I'm wondering if it's possible to utilize the Flash drawing API in Flex. Our current Flash application has a tree with drag/drop functionality. Items are dragged from the tree and then dropped onto a floor plan. In Flash we trigger an event that draws a box and other shapes on the canvas. We dynamically create a movieclip and then draw in it: this.createEmptyMovieClip(square_mc, 1); square_mc.lineStyle(1, 0x00, 100); square_mc.beginFill(0xFF, 100); square_mc.moveTo(0, 0); square_mc.lineTo(50, 0); square_mc.lineTo(50, 50); square_mc.lineTo(0, 50); square_mc.lineTo(0, 0); square_mc.endFill(); How can this be implemented in Flex? I know there are other approaches we can take but I'm curious to know if there's support for more custom stuff, ie dynamically creating movies and drawing in them. I was assuming that I could perform this type of interactivity with the Canvas container, but have been unsuccessful. Thanks, Dennis Yahoo! Groups Links Yahoo! Groups Links To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] Default Chart Colors
Hi Dave. The answer is a teeny bit complex. Each Series (except the pieSeries) has a style property called 'fill' that it pulls its fill from. So what you're wondering is: how do I specify the fill style for each series that appears in my chart? Each chart type, when it displays its series, assigns a CSS style selector to each series. In order to guarantee that each series gets a different fill, it assigns a different selector to each series, by index. The names of the selectors the chart assigns are, in turn, specified in a style property of the chart, called chartSeriesStyles. So if you want to specify the fills to be used by ColumnCharts, you could do it like this: mx:Style .customColumnSeries1 { fill: #FF; } .customColumnSeries2 { fill: #00FF00; } .customColumnSeries3 { fill: #FF; } ColumnChart { chartSeriesStyles: customColumnSeries1, customColumnSeries2, customColumnSeries3; } /mx:Style PieCharts work a little differently. Since each pie series needs more that one fill (one for each wedge), the pieSeries draw its fills from a property called fills. You can specify this in CSS as well: mx:Style PieSeries { Fills: #Ff, #00FF00, #FF; } /mx:Style Now there's a little bit of handwaving going on here. The reason is, the fill properties of the charts aren't really rgb hex values, they are fill objects. We made them fill objects so that you could fill a chart with other fill types -- gradients, etc. However, CSS doesn't support a syntax for specifying an object. Which means there's really no way to specify a Fill object -- SolidColor, LinearGradient, etc. -- in CSS. If you want to specify a complex fill type, you need to either do it on a per-component basis, or set the style through actionscript. But, since there _is_ a way to specify simple color values in CSS, and that's what most designers typically want to do, we provided a shortcut. When the charts render themselves, if they find a simple RGB value in their fill or fills properties, they'll convert them to a SolidColor on the fly. Hence, the above CSS markup will work. Ely. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dave Sent: Thursday, May 19, 2005 2:17 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Default Chart Colors Importance: High How do I change the default colors used by Flex for multiple charts? As charts are added, the Legend and the Chart itself follow a pattern of predetermined colors. Where is that defined? I need to change site wide. Thanks much, -Dave Yahoo! Groups Links Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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/
[flexcoders] Scale the size of a whole application
This may sound like a odd request, but is there a way to scale the size of a whole application so that all of the contents get larger? The functionality that I desire is similar to what happens to a Flash movie when you make its size bigger. I'd like to design an application at a fixed resolution like 800x600. If the user then makes the web browser bigger, I'd like the contents to scale up in size. Right now, with the layout managers I basically just end up with more space. A lot of it is wasted empty space. I have a specific user that is mildly vision impaired. He makes everything on his screen gigantic. His monitor is a nice 21 flat panel at 1600x1200 resolution. I'd like him to be able to maximize the application to 1600x1200 there by making everything in the application which is designed at 800x600 scale up to that size. Anyone have any suggestions? I was a little long winded there, but I hope I've accurately described my problem and the type of solution I'm looking for. Any other suggestions on how I can deal with visibility impaired users would also be helpful. Thank you! -- Matthew Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] passing variables using getURL?
I'm having problems figuring out how to pass variables using getURL. The documentation that I can find seems to indicate that any random variable that you declare that's in some (unspecified) scope, will be appended (for GET) or passed (for POST) as parameters along with the URL. So I have tried setting some typed local variables and invoking getURL; no luck. No luck with either POST or GET. What's the magic? Do the variables have to be in the top level application? Do they have to be global within the the containing class? Does this functionality even work at all? Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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/
[flexcoders] Re: Flex on the Web
Also, last I saw posted to this group, there were only about 200 licenses sold to date. --- In flexcoders@yahoogroups.com, John Dowdell [EMAIL PROTECTED] wrote: Michel Jansen wrote: I am looking for Flex application on the Web. Can anynone send me some URL's where i can find them? As David noted, the bulk of Flex sales are made for intranet applications, and the open World Wide Web is a slightly different audience. Allen had that good link to the Flex Examples page at DevNet: http://www.macromedia.com/devnet/flex/example_apps.html ... and Jeff Tapper pointed to the Sample Apps section at cflex.net, while Jeff Battershall had that nice example at Dow Jones: http://cflex.net/ http://www.djindexes.com/mdsidx/portfolio/index.cfm? event=showPortfolioGlobalRelativeRisk Another resource is the Macromedia Showcase, filtered on Flex: (URL is too long... try mm.com/showcase, then click Flex) For up-to-the-minute citations (although mixed with a variety of other materials), try searching the Macromedia weblog aggregator with terms like flex example: http://weblogs.macromedia.com/ If you know of a particular type of application that you're seeking (banking, business analytics, a particular company, whatever) then there are possibilities in a general web search. But Flex on the Web would only be a small part of Flex in Realworld Use... it's a subset of the whole at this time. jd -- John Dowdell . Macromedia Developer Support . San Francisco CA USA Weblog: http://www.macromedia.com/go/blog_jd Aggregator: http://www.macromedia.com/go/weblogs Technotes: http://www.macromedia.com/support/ Spam killed my private email -- public record is best, thanks. Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] Re: Flex on the Web
jacksodj wrote: Also, last I saw posted to this group, there were only about 200 licenses sold to date. I saw that you quoted my whole message in reply. If you had instead checked the links provided, you would have seen that number of licensees (not just licenses) increased over 50% since the time of whatever uncited material you were quoting. http://www.macromedia.com/macromedia/ir/macr/web_pres/earnings/q405/ (Flex material starts at slide 30.) jd -- John Dowdell . Macromedia Developer Support . San Francisco CA USA Weblog: http://www.macromedia.com/go/blog_jd Aggregator: http://www.macromedia.com/go/weblogs Technotes: http://www.macromedia.com/support/ Spam killed my private email -- public record is best, thanks. Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] passing variables using getURL?
sbyrne_dorado wrote: I'm having problems figuring out how to pass variables using getURL. Pass info from where, to where...? jd -- John Dowdell . Macromedia Developer Support . San Francisco CA USA Weblog: http://www.macromedia.com/go/blog_jd Aggregator: http://www.macromedia.com/go/weblogs Technotes: http://www.macromedia.com/support/ Spam killed my private email -- public record is best, thanks. Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] using the Style control tag
In an MXML component, one that does not contain the mx:Application tag, you cannot define a type selector, only a class selector. Stephen -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Abdul Qabiz Sent: Thursday, May 19, 2005 2:06 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] using the Style control tag Hi, You can use style tag as shown below, not sure why you got errors. Which version of Flex you are using? You can see into flex docs under section Using Styles and Fonts: http://livedocs.macromedia.com/flex/15/flex_docs_en/0532.htm ##StyleTagExample.mxml## mx:Application width=800 height=600 xmlns:mx=http://www.macromedia.com/2003/mxml; mx:Style LinkBar { color:#00; border-style:solid; background-color:#FF; textRollOverColor:#FF; } .myStyle { color:#FF; font-family:Georgia; } /mx:Style mx:LinkBar click=getURL('http://www.macromedia.com/' + String(event.label).toLowerCase(), '_blank'); mx:dataProvider mx:Array mx:StringFlash/mx:String mx:StringDirector/mx:String mx:StringDreamweaver/mx:String mx:StringColdFusion/mx:String /mx:Array /mx:dataProvider /mx:LinkBar mx:Button label=aButton styleName=myStyle / /mx:Application Hope that helps.. -abdul -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of cnewroth55 Sent: Thursday, May 19, 2005 11:20 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] using the Style control tag not sure if anyone else knows this, but I tried to use the mx:Style tag to set a style in one of my components, and when I did i got an error that said CSS type selectors are not supported in components, here is what I had: mx:Style LinkBar {some style stuf } /mx:Style however this is wrong and the error message was kind of misleading, based on it i thought that i could NOT use the tag/style in a component; but when I changed it to this; mx:Style myLinkBar.LinkBar {some style stuff } /mx:Style noticed i added a ID to the LinkBar style it worked just fine...just thought someone might what to know... Craig Yahoo! Groups Links Yahoo! Groups Links Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] Scale the size of a whole application
One interesting adventure you can embark on is to put the whole application in a mx:Canvas and use mx:Zoom to scale it based on the resolution. I have never tried this before, so can't tell. I have doubts about the font-size etc :-) Sree Matthew Shirey wrote: I was afraid I hadn't explained the problem right... Setting to those just takes up the space, it doesn't actually scale the content larger. It resizes the layout managers larger which results in a lot of unused white space for my application. I need the contents to scale so if you make the window twice as large, then all of the contents are twice as big. Bigger fonts, bigger everything. I'm not sure how I can clarify this any further... :( -- Matthew On 5/19/05, JesterXL [EMAIL PROTECTED] wrote: Make the width and height of your application tag 100%...? That's what I do to get full screen real-estate usage. Decreasing margins on things helps a lot too. - Original Message - From: Matthew Shirey To: flexcoders@yahoogroups.com Sent: Thursday, May 19, 2005 6:31 PM Subject: [flexcoders] Scale the size of a whole application This may sound like a odd request, but is there a way to scale the size of a whole application so that all of the contents get larger? The functionality that I desire is similar to what happens to a Flash movie when you make its size bigger. I'd like to design an application at a fixed resolution like 800x600. If the user then makes the web browser bigger, I'd like the contents to scale up in size. Right now, with the layout managers I basically just end up with more space. A lot of it is wasted empty space. I have a specific user that is mildly vision impaired. He makes everything on his screen gigantic. His monitor is a nice 21" flat panel at 1600x1200 resolution. I'd like him to be able to maximize the application to 1600x1200 there by making everything in the application which is designed at 800x600 scale up to that size. Anyone have any suggestions? I was a little long winded there, but I hope I've accurately described my problem and the type of solution I'm looking for. Any other suggestions on how I can deal with visibility impaired users would also be helpful. Thank you! -- Matthew Yahoo! Groups Links To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Fully qualified URL
Generally you specify a full URL as the rootURL (perhaps the path to your SWF which is Application.application._url). Say for example http://www.somewhere.com/dir/file.swf. The urls would be computed as follows: sub/bar.swf : http://www.somewhere.com/dir/sub/bar.swf /sub/bar.swf: http://www.somewhere.com/sub/bar.swf http://elsewhere.com/bar.swf: http://elsewhere.com/bar.swf Make sense? Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jeroen De Vos Sent: Thursday, May 19, 2005 4:22 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Fully qualified URL Allen, Yes, I read the doc, but what does it do? How does it work? Jeroen. Van: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] Namens Allen Manning Verzonden: donderdag 19 mei 2005 13:22 Aan: flexcoders@yahoogroups.com Onderwerp: RE: [flexcoders] Fully qualified URL Joren, According to the MXML API docs: getFullURL static getFullURL( rootURL: String, url: String) : String ' Converts a potentially relative URL to a full qualified URL. If the URL is not relative, it is just returned as is. If the URL starts with a slash, the host and port from the root URL are prepended. Otherwise, the host, port, and path are prepended. ' HTH, Allen Allen Manning, Technical Director Prismix Ltd t: +44 (0)870 749 1100 f: +44 (0)870 749 1200 w: www.prismix.com From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jeroen De Vos Sent: 19 May 2005 12:14 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Fully qualified URL Hi, And what doesmx.utils.URLUtil.getFullURL() do then? Jeroen. Van: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] Namens Allen Manning Verzonden: donderdag 19 mei 2005 12:56 Aan: flexcoders@yahoogroups.com Onderwerp: RE: [flexcoders] Fully qualified URL Jeff, Thanks. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml mx:Panel title=Get This URL width=100% height=100% mx:Script![CDATA[ private function getPageURL() : String { return(mx.core.Application.application._url); } private function getPageDomain() : String { var myArray:Array = getPageURL().split(/); var domain = myArray[2].toString(); return(domain); } ]]/mx:Script mx:Label text={getPageURL()}/ mx:Label text={getPageDomain()}/ mx:Label text=http://{getPageDomain()}// /mx:Panel /mx:Application Allen Allen Manning, Technical Director Prismix Ltd t: +44 (0)870 749 1100 f: +44 (0)870 749 1200 w: www.prismix.com From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jeff Tapper Sent: 19 May 2005 11:52 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Fully qualified URL Ugggh. _root -- bad. in the example below, since its running in the core application tag, you can just remove the word _root entirely, and it will still work, or, as Abdul suggested, mx.core.Application.application._url will work from any place in the app. At 06:43 AM 5/19/2005, you wrote: Hello Jeroen, Below is an example of one way of doing it. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml mx:Panel title=Get This URL width=100% height=100% mx:Script![CDATA[ private function getPageURL() : String { return(_root._url); } private function getPageDomain() : String { var myArray:Array = getPageURL().split(/); var domain = myArray[2].toString(); return(domain); } ]]/mx:Script mx:Label text={getPageURL()}/ mx:Label text={getPageDomain()}/ mx:Label text=http://{getPageDomain()}// /mx:Panel /mx:Application HTH, Allen Allen Manning, Technical Director Prismix Ltd t: +44 (0)870 749 1100 f: +44 (0)870 749 1200 w: www.prismix.com From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jeroen De Vos Sent: 19 May 2005 11:28 To: flexcoders@yahoogroups.com Subject: [flexcoders] Fully qualified URL Hi all, In ActionScript I need to read the fully qualified URL to the application (http://x/x/). How can I get this URL? Jeroen. Jeroen De Vos Gemeentelijk Havenbedrijf Antwerpen C/ICT - AMARIS Deze e-mail en alle gekoppelde bestanden zijn officiele documenten van het Gemeentelijk Havenbedrijf Antwerpen en kunnen vertrouwelijke of persoonlijke informatie bevatten. Gelieve de afzender onmiddellijk via e-mail of telefonisch te verwittigen als u deze e-mail per vergissing heeft ontvangen en verwijder vervolgens de e-mail zonder deze te lezen, te reproduceren, te verspreiden of
RE: [flexcoders] can I bind more that one checkbox to a send requ est?
Are you trying to pass a list of the ones that are checked or just one? Your changeThrusts method can simply store which checkboxes are selected and then you can build an array to pass to your web service for the query. If only one of those checkboxes is meant to be checked maybe you should look into using RadioButtons instead and then take advantage of RadioButtonGroup.selectedData. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of cnewroth55 Sent: Thursday, May 19, 2005 10:44 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] can I bind more that one checkbox to a send request? I have a form that has several different checkboxes and need to pass any of their respected labels (or data) to a webservice cfc..what i what to do is be able to pass any of the below up to my webservice call. the code for the web service call is below this...; mx:VBox mx:CheckBox label=Select All Thrust color=#123154 labelPlacement=right id=ThrustReportsCHB1 click=changeThrusts( event ); / mx:CheckBox label=ASMT - Affordable Structures amp; Mfg. Tech color=#123154 labelPlacement=right id=ThrustReportsCHB2 / mx:CheckBox label=ALE - Adv. Lean amp; Efficient color=#123154 labelPlacement=right id=ThrustReportsCHB3 / mx:CheckBox label=ASC - Adv. Support Concepts color=#123154 labelPlacement=right id=ThrustReportsCHB4 / mx:CheckBox label=ASC - APS - Adv. Platform Systems color=#123154 labelPlacement=right id=ThrustReportsCHB5 / mx:CheckBox label=NCO - Net-Centric Operations color=#123154 labelPlacement=right id=ThrustReportsCHB6 / mx:HBox x=5 y=230 mx:FormItem mx:CheckBox label=Summary color=#123154 labelPlacement=top id=summaryCHB click=changeOther( event );/ /mx:FormItem mx:FormItem mx:CheckBox label=Detail color=#123154 labelPlacement=top id=detailCHB click=changeOther( event );/ /mx:FormItem /mx:HBox /mx:VBox WEB SERVICE CALL mx:WebService wsdl=http://nameremoved.com/gvs/_cfc/gvs_queries.cfc? wsdl id=gvsQueriesWS mx:operation name=Thrust_Query mx:request ThrustName{WhereIneedToPassCheckboxDATA}/ThrustName /mx:request /mx:operation /mx:WebService Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] passing variables using getURL?
Hi, You can pass variable to external script using getURL(...), getURL(..) sends all variable declared in current scope. Infact getURL(..) sends all variable declared, that means it sends unwanted stuff also. But I think, you can use LoadVars object for such kind of work. LoadVars gives more control and looks more clean. I am not sure why you launching external page and passing variable, but following example might help you. ##LoadVarsExample.mxml## mx:Application width=800 height=600 xmlns:mx=http://www.macromedia.com/2003/mxml; mx:Script ![CDATA[ function sendVars() { //create LoadVars instance var _lv:LoadVars = new LoadVars(); //create properties _lv.name = Abdul; _lv.age = 24; _lv.send(http://localhost/echo.asp,_blank;, GET); } ]] /mx:Script mx:Button label=Send Vars click=sendVars()/ /mx:Application More about LoadVars: http://www.macromedia.com/support/flash/action_scripts/actionscript_dictiona ry/actionscript_dictionary427.html Hope that helps... -abdul -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sbyrne_dorado Sent: Friday, May 20, 2005 4:06 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] passing variables using getURL? I'm having problems figuring out how to pass variables using getURL. The documentation that I can find seems to indicate that any random variable that you declare that's in some (unspecified) scope, will be appended (for GET) or passed (for POST) as parameters along with the URL. So I have tried setting some typed local variables and invoking getURL; no luck. No luck with either POST or GET. What's the magic? Do the variables have to be in the top level application? Do they have to be global within the the containing class? Does this functionality even work at all? Yahoo! Groups Links Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] HTML form replacement
Have you checked out HTTPService? Thatd probably be easiest. mx:HTTPService id=hs url=""> mx:request username{username.text}/username password{password.text}/password /mx:request /mx:HTTPService mx:TextInput id=username / mx:TextInput id=password / mx:Button click=hs.send() / HTH, Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of pixelcowboys Sent: Thursday, May 19, 2005 2:09 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] HTML form replacement This is probably a basic question for most of you, but I'll ask anyway. What is the best method for simply replacing an existing HTML login form with a Flex one? I'm currently trying getURL on the submit action (but with no luck): function submitLogin():Void { var username:String = ; var password:String = ; getURL(theURL,_self,POST); } The text input ID's are username and password. Any help/tips appreciated. Thanks! Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.