Re: [flexcoders] CFC issue with fresh install of Flex 2.0.1
On Tuesday 13 Feb 2007, camlinaeizerous wrote: The machine I have been working on was imaged from win2k to XP. When I installed a fresh copy of flex from the 2.0.1 installer I also installed the CF extensions that are included. Into Flex Builder, or Eclipse ? There is a preference setting for which files open in which editors, maybe you just need to tweak that. -- Tom Chiverton Helping to continuously improve high-yield design-patterns This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Re: Mystery space
I'm struggling to get the following line to compile: for (y=0; ydepartments.length) Can you double-check? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of TJ Downes Sent: Wednesday, February 14, 2007 2:15 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Mystery space Sure, I just finished writing a blog entry on it: http://www.phusor.com/index.cfm/2007/2/13/How-you-loop-in-AS3Flex-2-can- affect-layout http://www.phusor.com/index.cfm/2007/2/13/How-you-loop-in-AS3Flex-2-can -affect-layout --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Paul Williams [EMAIL PROTECTED] wrote: Can you post the code for the loop that doesn't work and the one that does? From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of TJ Downes Sent: Wednesday, February 14, 2007 1:01 PM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] Re: Mystery space So after some more testing I figured out this was due to a for loop to set the selectedIndex on the datagrid. I changed this to a for...in loop and the issue is no more. Maybe someone could explain to me why a for loop would affect display/layout? I am still confused why this would be the issue. Thanks TJ --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com , TJ Downes koldfuzun@ wrote: Anyone experience any issues where Flex just throws extra space into the layout, causing elements to jump or get bumped out of their parent containers? I have this issue with an application and have spent the majority of the day trying to resolve it. There are three custom components loaded into a TabNavigator (ive tried other layout containers too). The first element has about a 50px space below it when it loads, and on certain events the screen also jumps. The space does not exist below the other two components and they utilize almost the exact same layout and code. I have also tried changing the order of these and the same component will always behave the same way regardless of the position. Any help would be greatly appreciated.
RE: [flexcoders] Flex app doesn't launch in regular flash player 9
I experienced a similar problem, and it only seemed to effect those people that had installed an early version of flash 9, if they manually went and downloaded the most recent flash 9 version then the next time they visited my site the blank screen wasn't blank anymore. I think it might have been down to the fact that my early swf's were checking for version 9.0.0 so it didn't auto update (under detect flash version number for HTML wrapper) as anyone that had version 8 or earlier were automatically upgraded by the HTML wrapper and the site worked fine for them. If that solves the problem all you'll need to do is to change the 9.0.0 setting to 9.0.16 then in the future it shouldn't happen (hopefully). From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Grant Davies Sent: 14 February 2007 06:07 To: flexcoders@yahoogroups.com Cc: Paul Pezzano Subject: [flexcoders] Flex app doesn't launch in regular flash player 9 hi guys, We develop with the flash player 9 debug player but when our app is launched in firefox2 or ie6 with the regular flash player 9 they just get a blank screen, do I need to turn of debug or something ? anyone else seen this issue ? cheers Grant ... b l u e t u b e i n t e r a c t i v e. .: grant davies .: 404.428.6839 (c) .: 708-983-1577 (F) [EMAIL PROTECTED] http://www.bluetube.com/bti http://www.bluetube.com/bti A Tribal Chicken Designs Affiliate http://www.tribalchicken.com/ attachment: image001.jpg
[flexcoders] LineChart with Points
Hello, How can I create a chart like regular LineChart using form='curve' with emphasized points on it? For example, with diamonds as in PlotChart component. Can LineChart component create a plot in Cartesian coordinates if it is provided by nonuniform X-points? I mean spaces between neighbouring can be different. -- A vivid and creative mind characterizes you.
[flexcoders] dataProivder item under mouse in datagrid
Does anyone know how I might go about finding out which item in the dataProvder of a DataGrid is currently under the mouse (as opposed to the selectedItem, which may be different). What I am trying to achieve is the ability to right click a row, choose 'Edit' from the pop up menu (that bit is easy !) and then open a window with the item under the mouse in. So far, it looks like I'd have to loop through DataGrid.listItems checking the renderers x and y locations against the mouse's, and then compare to the mouse co ordinates, and use that to also figure out the row (based on a row being 26px high or whatever). Do all that in a Hover event handler, and use it to set a private variable holding the index into the dataProvider. What I'd really like would be a hoverIndex that functions like selectedIndex, but that seems to be missing - should I be going about this a different way ? -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com.
[flexcoders] Re: no rtmp connection on win xp ?
Jeff, check out following : C:\ping localhost Pinging wxp-cno [127.0.0.1] with 32 bytes of data: Reply from 127.0.0.1: bytes=32 time1ms TTL=128 Reply from 127.0.0.1: bytes=32 time1ms TTL=128 Reply from 127.0.0.1: bytes=32 time1ms TTL=128 Reply from 127.0.0.1: bytes=32 time1ms TTL=128 Ping statistics for 127.0.0.1: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 0ms, Average = 0ms C:\telnet localhost 2038 Connecting To localhost...Could not open connection to the host, on port 2038: Connect failed windows firewall is off, and no others are installed. I put everything in comment in my host file, so it could not be a firewall. if i try netstat -a , i do not see the port, when my container has been started up. Is it not the container that should start up some kind of listener on port 2038 with protocol RTMP ? Chris.
[flexcoders] Possible memory leak in e4x or in HttpService
Hello, I think I have found a memory leak in e4x. In very special cases (=xml) the player swallows the memory. I have posted this probably bug in the Adobe forums a few month ago. No answers yet. Could somebody confirm the leak? Or is it my fault? The whole test case (swf, xml, mxml, html files) can be found on actionscript.org: http://www.actionscript.org/forums/showthread.php3?t=127834 The little test program connects to a web server for an xml file, and the result is converted to an array. The array is displayed in a DataGrid. There are two files: leaktest.xml doesn't leak in any cases (format: e4x or xml) pbentries.xml leaks when the format is e4x. Choose e4x format and check Use Leak file! The program leaks. Probably there is a bug in my test program. Or in the player. If so than please send me a feedback! Thanks, Lacito
[flexcoders] Continuations support? or smart sleep()?
I was wondering if there are any plans to consider continuation support in flash/flex? ...predominantly to support the concept of a smarter Thread.sleep(n) without blocking or disrupting the single-threaded execution model. for context, here is a sleep pseudo-example using the continuations concept: function example { trace(before); sleep(2000); trace(after 2 seconds); } function sleep(sleep_millis:int) { var savepoint:Continuation = Continuations.new(); // creates a holder that will capture the execution stack state at the next suspend() setTimeout(function(event:Event):void { Continuations.resume(savepoint); // resumes the saved execution stack },sleep_millis); Continuations.suspend(savepoint); } For my purposes, I am writing a general-purpose tool for developers that would locate one or more components in the UI hierarchy (by some criteria), then return those components so they could interact with them. In searching for said components, I have come across embedded SWFLoaders which are not yet finished loading/reloading, and sleep() (via continuations) would allow checking it's state periodically and not disrupt the execution stack, callers code or block the overall application. There are several other cases where this would be useful, but I just wanted to start a dialog on it.
[flexcoders] Image refresh
Ji all, I'm new in Flex2 (mac) and searching for a way to refresh an mx:Image. I've created a for-next loop where the source of an mx:Image is changing a few times but the App is running so fast that it won't use any time to show me the new picture. Is there a way to tell the Flash enige to update it's graphics? Thanks in advance! Jaap Cammeraat http://www.vergeerkaas.nl
[flexcoders] Refreshing an mx:Image
Hi all, I'm new in Flex2 (mac) and searching for a way to refresh an mx:Image. I've created a for-next loop where the source of an mx:Image is changing a few times but the App is running so fast that it won't use any time to show me the new picture. Is there a way to tell the Flash enige to update it's graphics? Thanks in advance! Jaap Cammeraat http://www.vergeerkaas.nl
[flexcoders] Re: Propogating exception info from Web Service to Flex
How about Axis? Is it possible for me to get the custom application exception info thrown? I check the wsdl it is well describe by 'fault', any idea how flex web service handle the custom 'fault' complex type describe in wsdl? Thanks Chee Seng --- In flexcoders@yahoogroups.com, lepusmars [EMAIL PROTECTED] wrote: throw new XFireFault(Fault String, XFireFault.SENDER); This is how we do it. There are also methods for adding more details to the Exception that get passed on the response. Check out the javadoc for more details. http://envoisolutions.com/xfire/api/org/codehaus/xfire/fault/XFireFaul t.html pd --- In flexcoders@yahoogroups.com, roman_dolgov roman_dolgov@ wrote: Does anybody has an example (using XFire WS implementation but really any similar env would be helpful too) how to properly pass exception information from web services to flex and make sure that fault handler receives faultDetail/faultString populated with meaningful data (some application specific error code/messages)? Thanks rd
[flexcoders] Image refresh
Hi all, I'm new in Flex2 (mac) and searching for a way to refresh an mx:Image. I've created a for-next loop where the source of an mx:Image is changing a few times but the App is running so fast that it won't use any time to show me the new picture. Is there a way to tell the Flash enige to update it's graphics? Thanks in advance! Jaap Cammeraat http://www.vergeerkaas.nl
[flexcoders] storing htmltext in shared objects
I am developing an application that requires storage of styled text entered by users offline. I therefore have used htmlText to provide style capabilities to the text entered by users. However I have found that sharedobjects do not store the cdata that must be used for htmltext. I was a little unhappy with the fact that not only is this limitation undocumented but also the shared objects behave strangely in that even if you flush the shared object the data is returned from the shared object until you actually quit the app, when the data disappears, so even after a flush the data is not retrieved from the .sol file unless Flex has to do this. You don't want to know how much coding time was lost on that little puzzle, but I was pretty angry when I found out what was going on! Given that the htmltext that is produced by richtext components is some way from xml and given that I have had difficulty getting span to actually style text is there a way to store the text in the shared objects with the style information. I'm thinking of encoding it as good xml and then pushing it back into the components as htmltext later but I don't know how I can do this without messing up the style information. The styling required is actually fairly limited, two or three styles at most (with different colours and some bullets) , it is not requiring any complex layot stuff. Any ideas!
[flexcoders] Import Flex swf to Flash 9
Hi, Can someone confirm if the following is possible: Id like to use the Flex charting components to build a series of mc's, but I would then like to use these from within Flash 9 (not Flex 2). Or even better would be able to use the Charting components natively from Flash 9. I can't see a reason for this not to work (both AS3/player 9 etc), but when I drop a flex swf into Flash 9 it balks. The target app is a digital media presentation, not RIA, so Id prefer to use the Flash IDE rather than flex builder. Is this all crazy talk, or anybody got some words of wisdom? Cheers all.
[flexcoders] Flex and ASP
Hi guys, I have some problems connecting flex app with a database SQL server 2005. Here is the asp script I wrote: %@ LANGUAGE=VBSCRIPT % % Set Conn = Server.CreateObject(ADODB.Connection) Conn.ConnectionTimeout = 15 Conn.CommandTimeout = 30 Conn_Catalog = - Conn_UserID = -- Conn_Password = - Conn_DataSource = conn.Open Provider=sqloledb; Data Source= Conn_DataSource ; Initial Catalog= Conn_Catalog ; User Id= Conn_UserID ; Password= Conn_Password SQL=SELECT * FROM [Membres] Set RS = server.createobject(ADODB.Recordset) RS.Open SQL,Conn , 3, 3 while not RS.eof % %=RS(prenom)% - %=RS(nom)% - %=RS(courriel)%br %RS.MOVENEXT ' fiche suivante wend RS.close conn.close : Set conn=nothing % And it works but not with the flex app. Any help will be welcome Thanks Alian
[flexcoders] Exporting Charts as Image
Hi All We are using Flex charts in our web app. We also have a need to export the chart as an image so that the same can be embedded in an email sent out to users. Any pointers ? Thanks Prateek NOTICE: If received in error, please destroy and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is prohibited when received in error.
[flexcoders] Trying to retrieve data from an access database.
Hi all ! I'm new here and a new Flex Lover ! I've been developing ColdFusion apps in my country (Brazil) for a couple of years and now just began to work (like real beginner) with Flex. Well, as a new Flex Lover, I have a beginner question: How is the best way to retrieve data from an access database in a remote computer ? For example: I have a http://remoteserver.com/remoteaccess.mdb This computer doesn't have webserver or anything else installed. My question is what is the most common way to make that connection and return the XML List ? I'm prefer the cheaper and easier method… J Like PHP or ASP or even an XML template… Thanks for everybody !!! Rodrigo.
[flexcoders] Looking for a workaround for HTTPService limitations
I am looking for a workaround for the current HTTPService limitations; I want to send HTTP DELETE and PUT requests as well as GET and POST request to a webserver. Due to financial constraints, Flex Data Services (FDS) is not an option. Has anyone experienced the same problem? Looking forward to reading you alternative. Have a nice day, Marcel
Re: [flexcoders] Continuations support? or smart sleep()?
Conley You could check out the Timer Class that can do this for you exactly in the way you need it. On 2/14/07, j.conley [EMAIL PROTECTED] wrote: I was wondering if there are any plans to consider continuation support in flash/flex? ...predominantly to support the concept of a smarter Thread.sleep(n) without blocking or disrupting the single-threaded execution model. for context, here is a sleep pseudo-example using the continuations concept: function example { trace(before); sleep(2000); trace(after 2 seconds); } function sleep(sleep_millis:int) { var savepoint:Continuation = Continuations.new(); // creates a holder that will capture the execution stack state at the next suspend() setTimeout(function(event:Event):void { Continuations.resume(savepoint); // resumes the saved execution stack },sleep_millis); Continuations.suspend(savepoint); } For my purposes, I am writing a general-purpose tool for developers that would locate one or more components in the UI hierarchy (by some criteria), then return those components so they could interact with them. In searching for said components, I have come across embedded SWFLoaders which are not yet finished loading/reloading, and sleep() (via continuations) would allow checking it's state periodically and not disrupt the execution stack, callers code or block the overall application. There are several other cases where this would be useful, but I just wanted to start a dialog on it. -- Igor Costa www.igorcosta.org www.igorcosta.com skype: igorpcosta
[flexcoders] FlexManiacs 2007 Registration Now Open
Registration for the FlexManiacs 2007 conference is now open! http://flex2conference.figleaf.com Over 40 sessions, many hands-on, from Flex experts and certified Flex instructors. Plus a keynote address from Ben Forta! Seating is exceptionally limited, so register today! Regards, Steve Drucker CEO Fig Leaf Software www.figleaf.com
Re: [flexcoders] Refreshing an mx:Image
You want to update the mx:Image in a several intervals? Or after you upload an image you want to load it into th mx:Image tag? What excatly you need? Best. On 2/14/07, flexcodersVK [EMAIL PROTECTED] wrote: Hi all, I'm new in Flex2 (mac) and searching for a way to refresh an mx:Image. I've created a for-next loop where the source of an mx:Image is changing a few times but the App is running so fast that it won't use any time to show me the new picture. Is there a way to tell the Flash enige to update it's graphics? Thanks in advance! Jaap Cammeraat http://www.vergeerkaas.nl -- Igor Costa www.igorcosta.org www.igorcosta.com skype: igorpcosta
Re: [flexcoders] Import Flex swf to Flash 9
Hi there you can't use that in over all like import But you can use like oldStyle loadMovie Method to show them into Flash 9 public alpha, but has a lot of issue. Best you to do that it's import to Flex your Flash 9 work. Best. ---Igor Costa On 2/14/07, weeksie31 [EMAIL PROTECTED] wrote: Hi, Can someone confirm if the following is possible: Id like to use the Flex charting components to build a series of mc's, but I would then like to use these from within Flash 9 (not Flex 2). Or even better would be able to use the Charting components natively from Flash 9. I can't see a reason for this not to work (both AS3/player 9 etc), but when I drop a flex swf into Flash 9 it balks. The target app is a digital media presentation, not RIA, so Id prefer to use the Flash IDE rather than flex builder. Is this all crazy talk, or anybody got some words of wisdom? Cheers all. -- Igor Costa www.igorcosta.org www.igorcosta.com skype: igorpcosta
Re: [flexcoders] Flex and ASP
Alian Where's the MXML code? You could send it too, it would must to see what's going on out there. Best. --Igor Costa On 2/14/07, Alain Henner [EMAIL PROTECTED] wrote: Hi guys, I have some problems connecting flex app with a database SQL server 2005. Here is the asp script I wrote: %@ LANGUAGE=VBSCRIPT % % Set Conn = Server.CreateObject(ADODB.Connection) Conn.ConnectionTimeout = 15 Conn.CommandTimeout = 30 Conn_Catalog = - Conn_UserID = -- Conn_Password = - Conn_DataSource = conn.Open Provider=sqloledb; Data Source= Conn_DataSource ; Initial Catalog= Conn_Catalog ; User Id= Conn_UserID ; Password= Conn_Password SQL=SELECT * FROM [Membres] Set RS = server.createobject(ADODB.Recordset) RS.Open SQL,Conn , 3, 3 while not RS.eof % %=RS(prenom)% - %=RS(nom)% - %=RS(courriel)%br %RS.MOVENEXT ' fiche suivante wend RS.close conn.close : Set conn=nothing % And it works but not with the flex app. Any help will be welcome Thanks Alian -- Igor Costa www.igorcosta.org www.igorcosta.com skype: igorpcosta
Re: [flexcoders] Looking for a workaround for HTTPService limitations
Marcel you can create both instances with separate Methods for yours HTTPService. Try this, you create multiply of them or even you could use ColdFusion Components to do that. Best. On 2/14/07, Marcel Schepers [EMAIL PROTECTED] wrote: I am looking for a workaround for the current HTTPService limitations; I want to send HTTP DELETE and PUT requests as well as GET and POST request to a webserver. Due to financial constraints, Flex Data Services (FDS) is not an option. Has anyone experienced the same problem? Looking forward to reading you alternative. Have a nice day, Marcel -- Igor Costa www.igorcosta.org www.igorcosta.com skype: igorpcosta
Re: [flexcoders] Flex app doesn't launch in regular flash player 9
Grant Isn't a problem due to the fp9 It's simple, just clean up your cache browser and when you compile the flex app you make sure that you closed the test app before you complete compile. Best --Igor Costa On 2/14/07, Grant Davies [EMAIL PROTECTED] wrote: hi guys, We develop with the flash player 9 debug player but when our app is launched in firefox2 or ie6 with the regular flash player 9 they just get a blank screen, do I need to turn of debug or something ? anyone else seen this issue ? cheers Grant ... *› b l u e t u b e i n t e r a c t i v e.* .: grant davies .: 404.428.6839 (c) .: 708-983-1577 (F) › [EMAIL PROTECTED] › http://www.bluetube.com/bti › A Tribal Chicken Designs Affiliate http://www.tribalchicken.com/ -- Igor Costa www.igorcosta.org www.igorcosta.com skype: igorpcosta attachment: small.jpg
RE: [flexcoders] runtime configuration
Put all the config you want in an XML file and then use the mx:HttpService component to load the XML file at any time. Dimitrios Gianninas RIA Developer Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Grant Davies Sent: Tuesday, February 13, 2007 8:48 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] runtime configuration Is there a practice or class for runtime config of flex apps? I'd like to put all my HTTP service call urls in an xml file and then pull out whats needed, is there some practise or class that handles this or am inventing the wheel ? We have a prototype, runs local and on the server and don't have the bandwidth for cairngorm for this release. cheers Grant ... b l u e t u b e i n t e r a c t i v e. .: grant davies .: 404.428.6839 (c) .: 708-983-1577 (F) [EMAIL PROTECTED] http://www.bluetube.com/bti http://www.bluetube.com/bti A Tribal Chicken Designs Affiliate http://www.tribalchicken.com/ -- WARNING --- This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient. No privilege or other rights are waived by any unintended transmission or unauthorized retransmission of this message. If you are not the intended recipient of this message, or if you have received it in error, you should immediately stop reading this message and delete it and all attachments from your system. The reading, distribution, copying or other use of this message or its attachments by unintended recipients is unauthorized and may be unlawful. If you have received this e-mail in error, please notify the sender. AVIS IMPORTANT -- Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé. L'expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s'il est retransmis sans son autorisation. Si vous n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre système. La lecture, la distribution, la copie ou tout autre usage du présent message ou de ses pièces jointes par des personnes autres que le destinataire visé ne sont pas autorisés et pourraient être illégaux. Si vous avez reçu ce courrier électronique par erreur, veuillez en aviser l'expéditeur. attachment: small.jpg
Re: [flexcoders] Trying to retrieve data from an access database.
Rodrigo Do you know Flex Brazil List? www.flexbrasil.org For your request, I not sure what excatly you are looking for, but in first instance, you could get this. Working with Database you can use the ColdFusion to generate an XML using the Component instance or something related. Then you could ask to Flex to load via mx:HTTPService id=Rodrigo url=yourURL.com/coldfusionXML.cfc useProxy=false/ than you could change the format and send to an temporary arrayCollection like this. [Bindable] public var myList:ArrayCollection; private function convertRodrigoIntoArrayCollection():void { Rodrigo as myList; } Then you initiate mx:DataGrid createComplete=convertRodrigoIntoArrayCollection() dataProvider=myList/ Maybe you help you out. Best --Igor Costa On 2/14/07, Rodrigo Cohen [EMAIL PROTECTED] wrote: Hi all ! I'm new here and a new Flex Lover ! I've been developing ColdFusion apps in my country (Brazil) for a couple of years and now just began to work (like real beginner) with Flex. Well, as a new Flex Lover, I have a beginner question: How is the best way to retrieve data from an access database in a remote computer ? For example: I have a http://remoteserver.com/remoteaccess.mdb This computer doesn't have webserver or anything else installed. My question is what is the most common way to make that connection and return the XML List ? I'm prefer the cheaper and easier method… J Like PHP or ASP or even an XML template… Thanks for everybody !!! Rodrigo. -- Igor Costa www.igorcosta.org www.igorcosta.com skype: igorpcosta
Re: [flexcoders] Exporting Charts as Image
Pratek you could be more specify to your request? In overall request, I suggest you to use an ColdFusion to generate kind of request, but based on the Coldfusion charts not in Flex. Flex Chartings SDK only allows you to generate interactive graphics not send them throw e-mails add. But if you need to print the all you can use the Flex PrintJob. Best. -- Igor Costa On 2/14/07, ., Prateek (MSAS Sys Dev IBD) [EMAIL PROTECTED] wrote: Hi All We are using Flex charts in our web app. We also have a need to export the chart as an image so that the same can be embedded in an email sent out to users. Any pointers ? Thanks Prateek -- NOTICE: If received in error, please destroy and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is prohibited when received in error. -- Igor Costa www.igorcosta.org www.igorcosta.com skype: igorpcosta
RE: [flexcoders] Flex app doesn't launch in regular flash player 9
Igor, I compile on my dev box and then upload it to a completely different machine, its my client that can't see the app when they try and hit the url... so you were suggesting it was MY browsers cache ? This is the users machine that has the issue or maybe I'm misunderstanding ? cheers, Grant ... b l u e t u b e i n t e r a c t i v e. .: grant davies .: 404.428.6839 (c) .: 708-983-1577 (F) [EMAIL PROTECTED] http://www.bluetube.com/bti http://www.bluetube.com/bti A Tribal Chicken Designs Affiliate http://www.tribalchicken.com/ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Igor Costa Sent: Wednesday, February 14, 2007 9:12 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Flex app doesn't launch in regular flash player 9 Grant Isn't a problem due to the fp9 It's simple, just clean up your cache browser and when you compile the flex app you make sure that you closed the test app before you complete compile. Best --Igor Costa On 2/14/07, Grant Davies [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: hi guys, We develop with the flash player 9 debug player but when our app is launched in firefox2 or ie6 with the regular flash player 9 they just get a blank screen, do I need to turn of debug or something ? anyone else seen this issue ? cheers Grant ... b l u e t u b e i n t e r a c t i v e. .: grant davies .: 404.428.6839 (c) .: 708-983-1577 (F) [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] http://www.bluetube.com/bti http://www.bluetube.com/bti A Tribal Chicken Designs Affiliate http://www.tribalchicken.com/ -- Igor Costa www.igorcosta.org http://www.igorcosta.org www.igorcosta.com http://www.igorcosta.com skype: igorpcosta attachment: small.jpg attachment: small.jpg
RE: [flexcoders] runtime configuration
yeah, that just seems a bit re-invent the wheel since you come up with your own xml format, then a helper class to get the data and also something thats environment aware (prod,test.qa etc) via a configmanager like.. ConfigurationManager.getProperty(pizzaService); I was just hoping there was something already built.. I'll use the XML service.. Grant. ... b l u e t u b e i n t e r a c t i v e. .: grant davies .: 404.428.6839 (c) .: 708-983-1577 (F) [EMAIL PROTECTED] http://www.bluetube.com/bti http://www.bluetube.com/bti A Tribal Chicken Designs Affiliate http://www.tribalchicken.com/ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dimitrios Gianninas Sent: Wednesday, February 14, 2007 9:12 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] runtime configuration Put all the config you want in an XML file and then use the mx:HttpService component to load the XML file at any time. Dimitrios Gianninas RIA Developer Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Grant Davies Sent: Tuesday, February 13, 2007 8:48 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] runtime configuration Is there a practice or class for runtime config of flex apps? I'd like to put all my HTTP service call urls in an xml file and then pull out whats needed, is there some practise or class that handles this or am inventing the wheel ? We have a prototype, runs local and on the server and don't have the bandwidth for cairngorm for this release. cheers Grant ... b l u e t u b e i n t e r a c t i v e. .: grant davies .: 404.428.6839 (c) .: 708-983-1577 (F) [EMAIL PROTECTED] http://www.bluetube.com/bti http://www.bluetube.com/bti A Tribal Chicken Designs Affiliate http://www.tribalchicken.com/ AVIS IMPORTANT WARNING Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé. L'expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s'il est retransmis sans son autorisation. Si vous n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre système. La lecture, la distribution, la copie ou tout autre usage du présent message ou de ses pièces jointes par des personnes autres que le destinataire visé ne sont pas autorisés et pourraient être illégaux. Si vous avez reçu ce courrier électronique par erreur, veuillez en aviser l'expéditeur. This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient. No privilege or other rights are waived by any unintended transmission or unauthorized retransmission of this message. If you are not the intended recipient of this message, or if you have received it in error, you should immediately stop reading this message and delete it and all attachments from your system. The reading, distribution, copying or other use of this message or its attachments by unintended recipients is unauthorized and may be unlawful. If you have received this e-mail in error, please notify the sender. attachment: small.jpg attachment: small.jpg
Re: [flexcoders] Refreshing an mx:Image
Updating like this: for (i=0;i5;i++) {myImage[i].source=²Photo² + i + ².png² } This is (ofcourse) so fast that Flash isn¹t showing all the 5 pictures. I¹m searching for a method to tell Flash to update it¹s graphics on the screen. Regards, Jaap On 14-02-2007 14:56, Igor Costa [EMAIL PROTECTED] wrote: You want to update the mx:Image in a several intervals? Or after you upload an image you want to load it into th mx:Image tag? What excatly you need? Best. On 2/14/07, flexcodersVK [EMAIL PROTECTED] wrote: Hi all, I'm new in Flex2 (mac) and searching for a way to refresh an mx:Image. I've created a for-next loop where the source of an mx:Image is changing a few times but the App is running so fast that it won't use any time to show me the new picture. Is there a way to tell the Flash enige to update it's graphics? Thanks in advance! Jaap Cammeraat http://www.vergeerkaas.nl
RE: [flexcoders] Flex app doesn't launch in regular flash player 9
that normally happens when its Player 8 and u dont have express install, u sure its Flash 9? Dimitrios Gianninas RIA Developer Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Grant Davies Sent: Wednesday, February 14, 2007 1:07 AM To: flexcoders@yahoogroups.com Cc: Paul Pezzano Subject: [flexcoders] Flex app doesn't launch in regular flash player 9 hi guys, We develop with the flash player 9 debug player but when our app is launched in firefox2 or ie6 with the regular flash player 9 they just get a blank screen, do I need to turn of debug or something ? anyone else seen this issue ? cheers Grant ... b l u e t u b e i n t e r a c t i v e. .: grant davies .: 404.428.6839 (c) .: 708-983-1577 (F) [EMAIL PROTECTED] http://www.bluetube.com/bti http://www.bluetube.com/bti A Tribal Chicken Designs Affiliate http://www.tribalchicken.com/ -- WARNING --- This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient. No privilege or other rights are waived by any unintended transmission or unauthorized retransmission of this message. If you are not the intended recipient of this message, or if you have received it in error, you should immediately stop reading this message and delete it and all attachments from your system. The reading, distribution, copying or other use of this message or its attachments by unintended recipients is unauthorized and may be unlawful. If you have received this e-mail in error, please notify the sender. AVIS IMPORTANT -- Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé. L'expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s'il est retransmis sans son autorisation. Si vous n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre système. La lecture, la distribution, la copie ou tout autre usage du présent message ou de ses pièces jointes par des personnes autres que le destinataire visé ne sont pas autorisés et pourraient être illégaux. Si vous avez reçu ce courrier électronique par erreur, veuillez en aviser l'expéditeur. attachment: small.jpg
[flexcoders] Re: Exporting Charts as Image
You can turn the chart into a bitmap in your Flex App and send that back to the server, from which you can push it to the clipboard or do whatever you want to do with it. Graham --- In flexcoders@yahoogroups.com, Igor Costa [EMAIL PROTECTED] wrote: Pratek you could be more specify to your request? In overall request, I suggest you to use an ColdFusion to generate kind of request, but based on the Coldfusion charts not in Flex. Flex Chartings SDK only allows you to generate interactive graphics not send them throw e-mails add. But if you need to print the all you can use the Flex PrintJob. Best. -- Igor Costa On 2/14/07, ., Prateek (MSAS Sys Dev IBD) [EMAIL PROTECTED] wrote: Hi All We are using Flex charts in our web app. We also have a need to export the chart as an image so that the same can be embedded in an email sent out to users. Any pointers ? Thanks Prateek -- NOTICE: If received in error, please destroy and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is prohibited when received in error. -- Igor Costa www.igorcosta.org www.igorcosta.com skype: igorpcosta
RE: [flexcoders] Flex app doesn't launch in regular flash player 9
We have express install enabled and the client may be running any version of flash... but I'm pretty sure they are running flash 8 or 9. I'll get the real version shortly.. right now they get a blank screen. So with flash 8 they could get a blank screen even though express install is enabled ? Grant. ... b l u e t u b e i n t e r a c t i v e. .: grant davies .: 404.428.6839 (c) .: 708-983-1577 (F) [EMAIL PROTECTED] http://www.bluetube.com/bti http://www.bluetube.com/bti A Tribal Chicken Designs Affiliate http://www.tribalchicken.com/ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dimitrios Gianninas Sent: Wednesday, February 14, 2007 9:30 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex app doesn't launch in regular flash player 9 that normally happens when its Player 8 and u dont have express install, u sure its Flash 9? Dimitrios Gianninas RIA Developer Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Grant Davies Sent: Wednesday, February 14, 2007 1:07 AM To: flexcoders@yahoogroups.com Cc: Paul Pezzano Subject: [flexcoders] Flex app doesn't launch in regular flash player 9 hi guys, We develop with the flash player 9 debug player but when our app is launched in firefox2 or ie6 with the regular flash player 9 they just get a blank screen, do I need to turn of debug or something ? anyone else seen this issue ? cheers Grant ... b l u e t u b e i n t e r a c t i v e. .: grant davies .: 404.428.6839 (c) .: 708-983-1577 (F) [EMAIL PROTECTED] http://www.bluetube.com/bti http://www.bluetube.com/bti A Tribal Chicken Designs Affiliate http://www.tribalchicken.com/ AVIS IMPORTANT WARNING Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé. L'expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s'il est retransmis sans son autorisation. Si vous n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre système. La lecture, la distribution, la copie ou tout autre usage du présent message ou de ses pièces jointes par des personnes autres que le destinataire visé ne sont pas autorisés et pourraient être illégaux. Si vous avez reçu ce courrier électronique par erreur, veuillez en aviser l'expéditeur. This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient. No privilege or other rights are waived by any unintended transmission or unauthorized retransmission of this message. If you are not the intended recipient of this message, or if you have received it in error, you should immediately stop reading this message and delete it and all attachments from your system. The reading, distribution, copying or other use of this message or its attachments by unintended recipients is unauthorized and may be unlawful. If you have received this e-mail in error, please notify the sender. attachment: small.jpg attachment: small.jpg
RE: [flexcoders] runtime configuration
Or use a resource bundle, same thing... even less to code, but the resource bundle is included at build time, so you cant switch at run-time. But with the XML, you can re-load the file anytime you want and pick up the latest info, if that is important to you. Its not really re-inventing the wheel, not as I see it. myconfig prop1value1/prop1 prop2value2/prop2 /myconfig mx:HttpService id=hs source=conf/myconfig.xml... / ... var someProp:String = hs.prop1; All done! Dimitrios Gianninas RIA Developer Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Grant Davies Sent: Wednesday, February 14, 2007 9:19 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] runtime configuration yeah, that just seems a bit re-invent the wheel since you come up with your own xml format, then a helper class to get the data and also something thats environment aware (prod,test.qa etc) via a configmanager like.. ConfigurationManager.getProperty(pizzaService); I was just hoping there was something already built.. I'll use the XML service.. Grant. ... b l u e t u b e i n t e r a c t i v e. .: grant davies .: 404.428.6839 (c) .: 708-983-1577 (F) [EMAIL PROTECTED] http://www.bluetube.com/bti http://www.bluetube.com/bti A Tribal Chicken Designs Affiliate http://www.tribalchicken.com/ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dimitrios Gianninas Sent: Wednesday, February 14, 2007 9:12 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] runtime configuration Put all the config you want in an XML file and then use the mx:HttpService component to load the XML file at any time. Dimitrios Gianninas RIA Developer Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Grant Davies Sent: Tuesday, February 13, 2007 8:48 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] runtime configuration Is there a practice or class for runtime config of flex apps? I'd like to put all my HTTP service call urls in an xml file and then pull out whats needed, is there some practise or class that handles this or am inventing the wheel ? We have a prototype, runs local and on the server and don't have the bandwidth for cairngorm for this release. cheers Grant ... b l u e t u b e i n t e r a c t i v e. .: grant davies .: 404.428.6839 (c) .: 708-983-1577 (F) [EMAIL PROTECTED] http://www.bluetube.com/bti http://www.bluetube.com/bti A Tribal Chicken Designs Affiliate http://www.tribalchicken.com/ AVIS IMPORTANT WARNING Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé. L'expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s'il est retransmis sans son autorisation. Si vous n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre système. La lecture, la distribution, la copie ou tout autre usage du présent message ou de ses pièces jointes par des personnes autres que le destinataire visé ne sont pas autorisés et pourraient être illégaux. Si vous avez reçu ce courrier électronique par erreur, veuillez en aviser l'expéditeur. This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient. No privilege or other rights are waived by any unintended transmission or unauthorized retransmission of this message. If you are not the intended recipient of this message, or if you have received it in error, you should immediately stop reading this message and delete it and all attachments from your system. The reading, distribution, copying or other use of this message or its attachments by unintended recipients is unauthorized and may be unlawful. If you have received this e-mail in error, please notify the sender. -- WARNING --- This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient. No privilege or other rights are waived by any unintended transmission or unauthorized retransmission of this message. If you are not the intended recipient of this message, or if you have received it in error, you should immediately stop reading this message and delete it and all attachments from your system. The reading, distribution, copying or other use of this message or its attachments by unintended
RE: [flexcoders] Flex app doesn't launch in regular flash player 9
with express install they would get a prompt to upgrade to 9... how did u build it? Dimitrios Gianninas RIA Developer Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Grant Davies Sent: Wednesday, February 14, 2007 9:36 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex app doesn't launch in regular flash player 9 We have express install enabled and the client may be running any version of flash... but I'm pretty sure they are running flash 8 or 9. I'll get the real version shortly.. right now they get a blank screen. So with flash 8 they could get a blank screen even though express install is enabled ? Grant. ... b l u e t u b e i n t e r a c t i v e. .: grant davies .: 404.428.6839 (c) .: 708-983-1577 (F) [EMAIL PROTECTED] http://www.bluetube.com/bti http://www.bluetube.com/bti A Tribal Chicken Designs Affiliate http://www.tribalchicken.com/ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dimitrios Gianninas Sent: Wednesday, February 14, 2007 9:30 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex app doesn't launch in regular flash player 9 that normally happens when its Player 8 and u dont have express install, u sure its Flash 9? Dimitrios Gianninas RIA Developer Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Grant Davies Sent: Wednesday, February 14, 2007 1:07 AM To: flexcoders@yahoogroups.com Cc: Paul Pezzano Subject: [flexcoders] Flex app doesn't launch in regular flash player 9 hi guys, We develop with the flash player 9 debug player but when our app is launched in firefox2 or ie6 with the regular flash player 9 they just get a blank screen, do I need to turn of debug or something ? anyone else seen this issue ? cheers Grant ... b l u e t u b e i n t e r a c t i v e. .: grant davies .: 404.428.6839 (c) .: 708-983-1577 (F) [EMAIL PROTECTED] http://www.bluetube.com/bti http://www.bluetube.com/bti A Tribal Chicken Designs Affiliate http://www.tribalchicken.com/ AVIS IMPORTANT WARNING Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé. L'expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s'il est retransmis sans son autorisation. Si vous n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre système. La lecture, la distribution, la copie ou tout autre usage du présent message ou de ses pièces jointes par des personnes autres que le destinataire visé ne sont pas autorisés et pourraient être illégaux. Si vous avez reçu ce courrier électronique par erreur, veuillez en aviser l'expéditeur. This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient. No privilege or other rights are waived by any unintended transmission or unauthorized retransmission of this message. If you are not the intended recipient of this message, or if you have received it in error, you should immediately stop reading this message and delete it and all attachments from your system. The reading, distribution, copying or other use of this message or its attachments by unintended recipients is unauthorized and may be unlawful. If you have received this e-mail in error, please notify the sender. -- WARNING --- This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient. No privilege or other rights are waived by any unintended transmission or unauthorized retransmission of this message. If you are not the intended recipient of this message, or if you have received it in error, you should immediately stop reading this message and delete it and all attachments from your system. The reading, distribution, copying or other use of this message or its attachments by unintended recipients is unauthorized and may be unlawful. If you have received this e-mail in error, please notify the sender. AVIS IMPORTANT -- Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé. L'expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s'il est retransmis sans son
Re: [flexcoders] Refreshing an mx:Image
what about a timer? On 14 Feb 2007, at 14:16, flexcodersVK wrote: Updating like this: for (i=0;i5;i++) {myImage[i].source=”Photo” + i + ”.png” }
RE: [flexcoders] Flex app doesn't launch in regular flash player 9
As I said in a previous reply make sure that the manually download the latest flash 9 version just to be sure. http://www.adobe.com/support/flashplayer/downloads.html#fp9 This should solve the issue, if not I'm not sure :-) If this does solve it, make sure you are checking for the most up to date version in your HTML wrapper. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dimitrios Gianninas Sent: 14 February 2007 14:39 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex app doesn't launch in regular flash player 9 with express install they would get a prompt to upgrade to 9... how did u build it? Dimitrios Gianninas RIA Developer Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Grant Davies Sent: Wednesday, February 14, 2007 9:36 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex app doesn't launch in regular flash player 9 We have express install enabled and the client may be running any version of flash... but I'm pretty sure they are running flash 8 or 9. I'll get the real version shortly.. right now they get a blank screen. So with flash 8 they could get a blank screen even though express install is enabled ? Grant. ... b l u e t u b e i n t e r a c t i v e. .: grant davies .: 404.428.6839 (c) .: 708-983-1577 (F) [EMAIL PROTECTED] http://www.bluetube.com/bti http://www.bluetube.com/bti A Tribal Chicken Designs Affiliate http://www.tribalchicken.com/ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dimitrios Gianninas Sent: Wednesday, February 14, 2007 9:30 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex app doesn't launch in regular flash player 9 that normally happens when its Player 8 and u dont have express install, u sure its Flash 9? Dimitrios Gianninas RIA Developer Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Grant Davies Sent: Wednesday, February 14, 2007 1:07 AM To: flexcoders@yahoogroups.com Cc: Paul Pezzano Subject: [flexcoders] Flex app doesn't launch in regular flash player 9 hi guys, We develop with the flash player 9 debug player but when our app is launched in firefox2 or ie6 with the regular flash player 9 they just get a blank screen, do I need to turn of debug or something ? anyone else seen this issue ? cheers Grant ... b l u e t u b e i n t e r a c t i v e. .: grant davies .: 404.428.6839 (c) .: 708-983-1577 (F) [EMAIL PROTECTED] http://www.bluetube.com/bti http://www.bluetube.com/bti A Tribal Chicken Designs Affiliate http://www.tribalchicken.com/ AVIS IMPORTANT WARNING Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé. L'expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s'il est retransmis sans son autorisation. Si vous n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre système. La lecture, la distribution, la copie ou tout autre usage du présent message ou de ses pièces jointes par des personnes autres que le destinataire visé ne sont pas autorisés et pourraient être illégaux. Si vous avez reçu ce courrier électronique par erreur, veuillez en aviser l'expéditeur. This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient. No privilege or other rights are waived by any unintended transmission or unauthorized retransmission of this message. If you are not the intended recipient of this message, or if you have received it in error, you should immediately stop reading this message and delete it and all attachments from your system. The reading, distribution, copying or other use of this message or its attachments by unintended recipients is unauthorized and may be unlawful. If you have received this e-mail in error, please notify the sender. attachment: image001.jpg
[flexcoders] Re: runtime configuration
Ive created a wrapper for all my Web Services that will first call an xml file to load the config settings. Basically I have a property on the class to set the config filename. Then when that gets set I do this... var loader:URLLoader = new URLLoader(); loader.addEventListener(complete, this.handleConfigLoad); loader.load(new URLRequest(urlname)); Then the handleConfigLoad loads the values from the XML. It's pretty simple to implement, and works great. The wrapper also works without the config file, I can set all the properties alone. The main reason I created it was to support a custom authentication peice on our SOAP services. --- In flexcoders@yahoogroups.com, Grant Davies [EMAIL PROTECTED] wrote: Is there a practice or class for runtime config of flex apps? I'd like to put all my HTTP service call urls in an xml file and then pull out whats needed, is there some practise or class that handles this or am inventing the wheel ? We have a prototype, runs local and on the server and don't have the bandwidth for cairngorm for this release. cheers Grant ... b l u e t u b e i n t e r a c t i v e. .: grant davies .: 404.428.6839 (c) .: 708-983-1577 (F) [EMAIL PROTECTED] http://www.bluetube.com/bti http://www.bluetube.com/bti A Tribal Chicken Designs Affiliate http://www.tribalchicken.com/
Re: [flexcoders] disable Bind
Hi Pablo To do kind of request the next child doesnt recive nativily the bind from the previous one without the request property works. But I can't undrestand at all what you asked, can you be more specify? Thanks --- Igor Costa On 2/13/07, Pablo [EMAIL PROTECTED] wrote: Hi All. I have one MXML component MainLoginForm fields receives data through bind. Also I have another MXML component LocalLoginForm that child of previous one: MainLoginForm ^ | LocalLoginForm And I want that in LocalLoginForm similar fileds (inherited from MainLoginForm) dont receive data over bind. How I can realized that? -- Igor Costa www.igorcosta.org www.igorcosta.com skype: igorpcosta
RE: [flexcoders] Flex app doesn't launch in regular flash player 9
its a standard build with express install enabled.. I used the vanilla project settings for flex on my other machine with flash player 8 it asks me to upgrade.. I'm working with the client to find out what version of flash he has.. Grant ... b l u e t u b e i n t e r a c t i v e. .: grant davies .: 404.428.6839 (c) .: 708-983-1577 (F) [EMAIL PROTECTED] http://www.bluetube.com/bti http://www.bluetube.com/bti A Tribal Chicken Designs Affiliate http://www.tribalchicken.com/ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dimitrios Gianninas Sent: Wednesday, February 14, 2007 9:39 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex app doesn't launch in regular flash player 9 with express install they would get a prompt to upgrade to 9... how did u build it? Dimitrios Gianninas RIA Developer Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Grant Davies Sent: Wednesday, February 14, 2007 9:36 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex app doesn't launch in regular flash player 9 We have express install enabled and the client may be running any version of flash... but I'm pretty sure they are running flash 8 or 9. I'll get the real version shortly.. right now they get a blank screen. So with flash 8 they could get a blank screen even though express install is enabled ? Grant. ... b l u e t u b e i n t e r a c t i v e. .: grant davies .: 404.428.6839 (c) .: 708-983-1577 (F) [EMAIL PROTECTED] http://www.bluetube.com/bti http://www.bluetube.com/bti A Tribal Chicken Designs Affiliate http://www.tribalchicken.com/ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dimitrios Gianninas Sent: Wednesday, February 14, 2007 9:30 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex app doesn't launch in regular flash player 9 that normally happens when its Player 8 and u dont have express install, u sure its Flash 9? Dimitrios Gianninas RIA Developer Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Grant Davies Sent: Wednesday, February 14, 2007 1:07 AM To: flexcoders@yahoogroups.com Cc: Paul Pezzano Subject: [flexcoders] Flex app doesn't launch in regular flash player 9 hi guys, We develop with the flash player 9 debug player but when our app is launched in firefox2 or ie6 with the regular flash player 9 they just get a blank screen, do I need to turn of debug or something ? anyone else seen this issue ? cheers Grant ... b l u e t u b e i n t e r a c t i v e. .: grant davies .: 404.428.6839 (c) .: 708-983-1577 (F) [EMAIL PROTECTED] http://www.bluetube.com/bti http://www.bluetube.com/bti A Tribal Chicken Designs Affiliate http://www.tribalchicken.com/ AVIS IMPORTANT WARNING Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé. L'expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s'il est retransmis sans son autorisation. Si vous n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre système. La lecture, la distribution, la copie ou tout autre usage du présent message ou de ses pièces jointes par des personnes autres que le destinataire visé ne sont pas autorisés et pourraient être illégaux. Si vous avez reçu ce courrier électronique par erreur, veuillez en aviser l'expéditeur. This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient. No privilege or other rights are waived by any unintended transmission or unauthorized retransmission of this message. If you are not the intended recipient of this message, or if you have received it in error, you should immediately stop reading this message and delete it and all attachments from your system. The reading, distribution, copying or other use of this message or its attachments by unintended recipients is unauthorized and may be unlawful. If you have received this e-mail in error, please notify the sender. attachment: small.jpg attachment: small.jpg attachment: small.jpg
[flexcoders] Re: runtime configuration
I have something like that as well. It's a GlobalManager class that loads properties from an xml file. Files that look like this. conf module name=upload property name=url../upload/property /module /conf Let me know if you are still interested and I'll clean it up and send it over. Paul --- In flexcoders@yahoogroups.com, Grant Davies [EMAIL PROTECTED] wrote: yeah, that just seems a bit re-invent the wheel since you come up with your own xml format, then a helper class to get the data and also something thats environment aware (prod,test.qa etc) via a configmanager like.. ConfigurationManager.getProperty(pizzaService); I was just hoping there was something already built.. I'll use the XML service.. Grant. ... b l u e t u b e i n t e r a c t i v e. .: grant davies .: 404.428.6839 (c) .: 708-983-1577 (F) [EMAIL PROTECTED] http://www.bluetube.com/bti http://www.bluetube.com/bti A Tribal Chicken Designs Affiliate http://www.tribalchicken.com/ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dimitrios Gianninas Sent: Wednesday, February 14, 2007 9:12 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] runtime configuration Put all the config you want in an XML file and then use the mx:HttpService component to load the XML file at any time. Dimitrios Gianninas RIA Developer Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Grant Davies Sent: Tuesday, February 13, 2007 8:48 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] runtime configuration Is there a practice or class for runtime config of flex apps? I'd like to put all my HTTP service call urls in an xml file and then pull out whats needed, is there some practise or class that handles this or am inventing the wheel ? We have a prototype, runs local and on the server and don't have the bandwidth for cairngorm for this release. cheers Grant ... b l u e t u b e i n t e r a c t i v e. .: grant davies .: 404.428.6839 (c) .: 708-983-1577 (F) [EMAIL PROTECTED] http://www.bluetube.com/bti http://www.bluetube.com/bti A Tribal Chicken Designs Affiliate http://www.tribalchicken.com/ AVIS IMPORTANT WARNING Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé. L'expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s'il est retransmis sans son autorisation. Si vous n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre système. La lecture, la distribution, la copie ou tout autre usage du présent message ou de ses pièces jointes par des personnes autres que le destinataire visé ne sont pas autorisés et pourraient être illégaux. Si vous avez reçu ce courrier électronique par erreur, veuillez en aviser l'expéditeur. This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient. No privilege or other rights are waived by any unintended transmission or unauthorized retransmission of this message. If you are not the intended recipient of this message, or if you have received it in error, you should immediately stop reading this message and delete it and all attachments from your system. The reading, distribution, copying or other use of this message or its attachments by unintended recipients is unauthorized and may be unlawful. If you have received this e-mail in error, please notify the sender.
Re: [flexcoders] Flex app doesn't launch in regular flash player 9
Grant User machine in the html-template put an meta http-equiv=Cache-Control content=* no-cache*/, then recompile and publish the content. with wrapper html. This could change the way of your user see the content when they hit on the url to load the App. Best --Igor Costa On 2/14/07, Grant Davies [EMAIL PROTECTED] wrote: Igor, I compile on my dev box and then upload it to a completely different machine, its my client that can't see the app when they try and hit the url... so you were suggesting it was MY browsers cache ? This is the users machine that has the issue or maybe I'm misunderstanding ? cheers, Grant ... *› b l u e t u b e i n t e r a c t i v e.* .: grant davies .: 404.428.6839 (c) .: 708-983-1577 (F) › [EMAIL PROTECTED] › http://www.bluetube.com/bti › A Tribal Chicken Designs Affiliate http://www.tribalchicken.com/ -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Igor Costa *Sent:* Wednesday, February 14, 2007 9:12 AM *To:* flexcoders@yahoogroups.com *Subject:* Re: [flexcoders] Flex app doesn't launch in regular flash player 9 Grant Isn't a problem due to the fp9 It's simple, just clean up your cache browser and when you compile the flex app you make sure that you closed the test app before you complete compile. Best --Igor Costa On 2/14/07, Grant Davies [EMAIL PROTECTED] wrote: hi guys, We develop with the flash player 9 debug player but when our app is launched in firefox2 or ie6 with the regular flash player 9 they just get a blank screen, do I need to turn of debug or something ? anyone else seen this issue ? cheers Grant ... *› b l u e t u b e i n t e r a c t i v e.* .: grant davies .: 404.428.6839 (c) .: 708-983-1577 (F) › [EMAIL PROTECTED] › http://www.bluetube.com/btihttp://www.bluetube.com/bti › A Tribal Chicken Designs Affiliate http://www.tribalchicken.com/ -- Igor Costa www.igorcosta.org www.igorcosta.com skype: igorpcosta -- Igor Costa www.igorcosta.org www.igorcosta.com skype: igorpcosta attachment: small.jpg attachment: small.jpg
RE: [flexcoders] Re: runtime configuration
would love to have that paul, thanks! Grant ... b l u e t u b e i n t e r a c t i v e. .: grant davies .: 404.428.6839 (c) .: 708-983-1577 (F) [EMAIL PROTECTED] http://www.bluetube.com/bti http://www.bluetube.com/bti A Tribal Chicken Designs Affiliate http://www.tribalchicken.com/ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Paul DeCoursey Sent: Wednesday, February 14, 2007 9:59 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: runtime configuration I have something like that as well. It's a GlobalManager class that loads properties from an xml file. Files that look like this. conf module name=upload property name=url../upload/property /module /conf Let me know if you are still interested and I'll clean it up and send it over. Paul --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Grant Davies [EMAIL PROTECTED] wrote: yeah, that just seems a bit re-invent the wheel since you come up with your own xml format, then a helper class to get the data and also something thats environment aware (prod,test.qa etc) via a configmanager like.. ConfigurationManager.getProperty(pizzaService); I was just hoping there was something already built.. I'll use the XML service.. Grant. ... b l u e t u b e i n t e r a c t i v e. .: grant davies .: 404.428.6839 (c) .: 708-983-1577 (F) [EMAIL PROTECTED] http://www.bluetube.com/bti http://www.bluetube.com/bti http://www.bluetube.com/bti http://www.bluetube.com/bti A Tribal Chicken Designs Affiliate http://www.tribalchicken.com/ http://www.tribalchicken.com/ From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of Dimitrios Gianninas Sent: Wednesday, February 14, 2007 9:12 AM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: RE: [flexcoders] runtime configuration Put all the config you want in an XML file and then use the mx:HttpService component to load the XML file at any time. Dimitrios Gianninas RIA Developer Optimal Payments Inc. From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of Grant Davies Sent: Tuesday, February 13, 2007 8:48 PM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] runtime configuration Is there a practice or class for runtime config of flex apps? I'd like to put all my HTTP service call urls in an xml file and then pull out whats needed, is there some practise or class that handles this or am inventing the wheel ? We have a prototype, runs local and on the server and don't have the bandwidth for cairngorm for this release. cheers Grant ... b l u e t u b e i n t e r a c t i v e. .: grant davies .: 404.428.6839 (c) .: 708-983-1577 (F) [EMAIL PROTECTED] http://www.bluetube.com/bti http://www.bluetube.com/bti http://www.bluetube.com/bti http://www.bluetube.com/bti A Tribal Chicken Designs Affiliate http://www.tribalchicken.com/ http://www.tribalchicken.com/ AVIS IMPORTANT WARNING Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé. L'expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s'il est retransmis sans son autorisation. Si vous n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre système. La lecture, la distribution, la copie ou tout autre usage du présent message ou de ses pièces jointes par des personnes autres que le destinataire visé ne sont pas autorisés et pourraient être illégaux. Si vous avez reçu ce courrier électronique par erreur, veuillez en aviser l'expéditeur. This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient. No privilege or other rights are waived by any unintended transmission or unauthorized retransmission of this message. If you are not the intended recipient of this message, or if you have received it in error, you should immediately stop reading this message and delete it and all attachments from your system. The reading, distribution, copying or other use of this message or its attachments by unintended recipients is unauthorized and may be unlawful. If you have received this e-mail in
[flexcoders] flex and svn ignore
Hello When using SVN with Flex, it seems to automatically ignore the output folder, and the output swf files... This is creating problems for me because I'm developing a kiosk that needs to access resources in the same directory as the output swf - but I can't check these files into SVN.. Is there a way to turn off this behavior? Thanks, August -- - August Gresens Technical Director Black Hammer Productions, NYC [EMAIL PROTECTED] -
RE: [flexcoders] Looking for a workaround for HTTPService limitations
You could form your own HTTP requests using the Socket class. It would be a pain but it's definitely possible. Carson Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com http://www.cynergysystems.com/ Email: [EMAIL PROTECTED] Office: 866-CYNERGY Mobile: 1.703.489.6466 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Marcel Schepers Sent: Wednesday, February 14, 2007 2:52 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Looking for a workaround for HTTPService limitations I am looking for a workaround for the current HTTPService limitations; I want to send HTTP DELETE and PUT requests as well as GET and POST request to a webserver. Due to financial constraints, Flex Data Services (FDS) is not an option. Has anyone experienced the same problem? Looking forward to reading you alternative. Have a nice day, Marcel
[flexcoders] Re: filter AS syntax question
Thanks Paul. This should help me learn how to write it. I just read somewhere about ~= and it sounded like it acted similar to a simple LIKE in SQL. Or a simple CONTAINS in CF. I appreciate it. Don --- In flexcoders@yahoogroups.com, Paul Williams [EMAIL PROTECTED] wrote: The AS3 operators are documented here: http://livedocs.macromedia.com/flex/2/langref/operators.html For information about AS3 syntax, the language-elements section of the language reference is a good place to start: http://livedocs.macromedia.com/flex/2/langref/language-elements.html And for finding a match within a comma-separated String see below: http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/js/html/wwhelp .htm?href=1875.html Paul From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of nasawebguy Sent: Wednesday, February 14, 2007 9:06 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: filter AS syntax question Thanks Tom! But I get this error 1084: Syntax error: expecting rightparen before bitwisenot in the return line below... private function filterByProduct( item:Object ) : Boolean { var ProductItem:Object = productgrid.selectedItem; if( ProductItem == null ) return false; return(ProductItem.Product == item.Product || ProductItem.Product ~= item.RelatedProducts ); } Is it a syntax issue? Or something else? I have a couple books, like actionscript cookbook, and searched many sites, but nothing helps with basic AS 3.0 syntax!! Makes for an inefficient learning process. So, I really do appreciate your help! Don --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Tom Chiverton tom.chiverton@ wrote: On Saturday 10 Feb 2007, nasawebguy wrote: return(ProductItem.Product == item.Product OR ProductItem.Product ~= item.ProductRelatedProducts); return (a == b || a == c) || is the or operator, and and. -- Tom Chiverton Helping to heterogeneously target next-generation web-readiness This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com.
[flexcoders] Re: CFC issue with fresh install of Flex 2.0.1
It is the stand alone install. Even under available internal editors the only thing that comes close is text editor. -AS Editor -CSS Editor -Default Compare Editor -Flex Start Page -Internal Web Browser -MXML Editor -No Source Found -RDS Query Editor -Source Not Found Editor -Text Editor -Web Browser -Welcome I have been using dreamweaver for the time being as an external editor but I never had these problems with the 2.0.0 installer.
Re: [flexcoders] Continuations support? or smart sleep()?
Hi, yeah he timer class does it but; function example { trace(before); sleep(2000); trace(after 2 seconds); } Will not work. The Flash player exectues in order of the stack. So, you can't have a sleep method inside a method block and halt the method block. Although something like this might be what you looking for. function example { trace(before); sleep(2000, exectueAfter, something, 1); } function sleep(milli:Number, func:Function, ...rest):void { callMethod = func callArgs = rest ... set up timer and handlers, run timer } function timer_timerEndHandler(event:TimerEvent):void { callMethod(callArgs) } function exectueAfter(arg1, arg2) { trace(after 2 seconds); } This is about as close as you will get to a 'sleep' method. Peace, Mike On 2/14/07, Igor Costa [EMAIL PROTECTED] wrote: Conley You could check out the Timer Class that can do this for you exactly in the way you need it. On 2/14/07, j.conley [EMAIL PROTECTED] wrote: I was wondering if there are any plans to consider continuation support in flash/flex? ...predominantly to support the concept of a smarter Thread.sleep(n) without blocking or disrupting the single-threaded execution model. for context, here is a sleep pseudo-example using the continuations concept: function example { trace(before); sleep(2000); trace(after 2 seconds); } function sleep(sleep_millis:int) { var savepoint:Continuation = Continuations.new(); // creates a holder that will capture the execution stack state at the next suspend() setTimeout(function(event:Event):void { Continuations.resume(savepoint); // resumes the saved execution stack },sleep_millis); Continuations.suspend(savepoint); } For my purposes, I am writing a general-purpose tool for developers that would locate one or more components in the UI hierarchy (by some criteria), then return those components so they could interact with them. In searching for said components, I have come across embedded SWFLoaders which are not yet finished loading/reloading, and sleep() (via continuations) would allow checking it's state periodically and not disrupt the execution stack, callers code or block the overall application. There are several other cases where this would be useful, but I just wanted to start a dialog on it. -- Igor Costa www.igorcosta.org www.igorcosta.com skype: igorpcosta -- Teoti Graphix http://www.teotigraphix.com Blog - Flex2Components http://www.flex2components.com You can find more by solving the problem then by 'asking the question'.
[flexcoders] Re: Looking for a workaround for HTTPService limitations
I can say yes, we experienced the same problem. We had already built a large number of REST based Services to support of clients and then when we got to the Flex Client we found that it could not support them. Which led us to migrate what we needed to SOAP based services. It was a pain, but I think we are better for it. --- In flexcoders@yahoogroups.com, Marcel Schepers [EMAIL PROTECTED] wrote: I am looking for a workaround for the current HTTPService limitations; I want to send HTTP DELETE and PUT requests as well as GET and POST request to a webserver. Due to financial constraints, Flex Data Services (FDS) is not an option. Has anyone experienced the same problem? Looking forward to reading you alternative. Have a nice day, Marcel
Re: [flexcoders] flex and svn ignore
On Wednesday 14 Feb 2007, August Gresens wrote: When using SVN with Flex, it seems to automatically ignore the output folder, and the output swf files... You must have one or more svn:ignore properties set on the parent folders ? -- Tom Chiverton Helping to proactively empower prospective e-tailers This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: addEventListener and additional arguments?
Gordon, I'm pretty new to Flex so I appologize for the additional question. Are you saying that I can add an instance property to the target so that it will be available in the event.target? What I'm actually doing is creating a set of form fields on the fly using action script. Some of these fields may be number types with a precision value. My formatting is done with an event listener which I need to be able to pass the precision value. --- In flexcoders@yahoogroups.com, Gordon Smith [EMAIL PROTECTED] wrote: There should be no need to pass additional arguments to the event handler method, because -- assuming it is indeed a method of a class -- it can access all the instance properties of that class. So just set an instance property. - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of darylgmyers Sent: Tuesday, February 13, 2007 1:42 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] addEventListener and additional arguments? Is there a way to use the addEventListener method and pass additional arguments along with the event? I have a form where I must create the form objects dynamically so I need to use addEventListener for formatting, etc. I can not use inline mxml to add the listeners.
RE: [flexcoders] Continuations support? or smart sleep()?
callMethod(callArgs) should be callMethod.apply(null, callArgs) instead I believe. Otherwise it would just pass the rest Array to the function and not the single parameters contained within the rest Array. Dirk. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michael Schmalle Sent: Wednesday, February 14, 2007 4:32 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Continuations support? or smart sleep()? Hi, yeah he timer class does it but; function example { trace(before); sleep(2000); trace(after 2 seconds); } Will not work. The Flash player exectues in order of the stack. So, you can't have a sleep method inside a method block and halt the method block. Although something like this might be what you looking for. function example { trace(before); sleep(2000, exectueAfter, something, 1); } function sleep(milli:Number, func:Function, ...rest):void { callMethod = func callArgs = rest ... set up timer and handlers, run timer } function timer_timerEndHandler(event:TimerEvent):void { callMethod(callArgs) } function exectueAfter(arg1, arg2) { trace(after 2 seconds); } This is about as close as you will get to a 'sleep' method. Peace, Mike On 2/14/07, Igor Costa [EMAIL PROTECTED] wrote: Conley You could check out the Timer Class that can do this for you exactly in the way you need it. On 2/14/07, j.conley [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I was wondering if there are any plans to consider continuation support in flash/flex? ...predominantly to support the concept of a smarter Thread.sleep(n) without blocking or disrupting the single-threaded execution model. for context, here is a sleep pseudo-example using the continuations concept: function example { trace(before); sleep(2000); trace(after 2 seconds); } function sleep(sleep_millis:int) { var savepoint:Continuation = Continuations.new(); // creates a holder that will capture the execution stack state at the next suspend() setTimeout(function(event:Event):void { Continuations.resume(savepoint); // resumes the saved execution stack },sleep_millis); Continuations.suspend(savepoint); } For my purposes, I am writing a general-purpose tool for developers that would locate one or more components in the UI hierarchy (by some criteria), then return those components so they could interact with them. In searching for said components, I have come across embedded SWFLoaders which are not yet finished loading/reloading, and sleep() (via continuations) would allow checking it's state periodically and not disrupt the execution stack, callers code or block the overall application. There are several other cases where this would be useful, but I just wanted to start a dialog on it. -- Igor Costa www.igorcosta.org www.igorcosta.com skype: igorpcosta -- Teoti Graphix http://www.teotigraphix.com Blog - Flex2Components http://www.flex2components.com You can find more by solving the problem then by 'asking the question'.
Re: [flexcoders] Re: Looking for a workaround for HTTPService limitations
On Wednesday 14 Feb 2007, Paul DeCoursey wrote: a large number of REST based Services to support of clients and then when we got to the Flex Client we found that it could not support them. Does REST not imply GET/POST ? In any case, as has been pointed out, Flex 2 certainly does support other HTTP verbs, you just need to write it out yourself via. Socket. -- Tom Chiverton Helping to efficiently synergize attention-grabbing applications This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: CFC issue with fresh install of Flex 2.0.1
On Wednesday 14 Feb 2007, camlinaeizerous wrote: It is the stand alone install. Even under available internal editors the only thing that comes close is text editor. Is the plugin listed under about ? -- Tom Chiverton Helping to autoschediastically visualize mission-critical appliances This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] remote object coldfusion issue
On Tuesday 13 Feb 2007, teknofreakz wrote: However it seems like only the first site's data will load into the flex swf. I have a cfdump of the correct data right below the swf load and the cfdump has the correct data. You might want to set the log level to debug at the end of services-config.xml on the CF server and watch the log files to confirm exactly what is sent each way, and where it is sent too. I suspect your app always connects back to the first sites URL. -- Tom Chiverton Helping to collaboratively administrate 24/365 users This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Flex app doesn't launch in regular flash player 9
so u went to the exact same url with your debug player and it works? so does this means you build it with FB? or command-line ? so u dont have debug flag turned on when u build? what are your build parameters? Dimitrios Gianninas RIA Developer Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Grant Davies Sent: Wednesday, February 14, 2007 9:57 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex app doesn't launch in regular flash player 9 its a standard build with express install enabled.. I used the vanilla project settings for flex on my other machine with flash player 8 it asks me to upgrade.. I'm working with the client to find out what version of flash he has.. Grant ... b l u e t u b e i n t e r a c t i v e. .: grant davies .: 404.428.6839 (c) .: 708-983-1577 (F) [EMAIL PROTECTED] http://www.bluetube.com/bti http://www.bluetube.com/bti A Tribal Chicken Designs Affiliate http://www.tribalchicken.com/ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dimitrios Gianninas Sent: Wednesday, February 14, 2007 9:39 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex app doesn't launch in regular flash player 9 with express install they would get a prompt to upgrade to 9... how did u build it? Dimitrios Gianninas RIA Developer Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Grant Davies Sent: Wednesday, February 14, 2007 9:36 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex app doesn't launch in regular flash player 9 We have express install enabled and the client may be running any version of flash... but I'm pretty sure they are running flash 8 or 9. I'll get the real version shortly.. right now they get a blank screen. So with flash 8 they could get a blank screen even though express install is enabled ? Grant. ... b l u e t u b e i n t e r a c t i v e. .: grant davies .: 404.428.6839 (c) .: 708-983-1577 (F) [EMAIL PROTECTED] http://www.bluetube.com/bti http://www.bluetube.com/bti A Tribal Chicken Designs Affiliate http://www.tribalchicken.com/ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dimitrios Gianninas Sent: Wednesday, February 14, 2007 9:30 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex app doesn't launch in regular flash player 9 that normally happens when its Player 8 and u dont have express install, u sure its Flash 9? Dimitrios Gianninas RIA Developer Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Grant Davies Sent: Wednesday, February 14, 2007 1:07 AM To: flexcoders@yahoogroups.com Cc: Paul Pezzano Subject: [flexcoders] Flex app doesn't launch in regular flash player 9 hi guys, We develop with the flash player 9 debug player but when our app is launched in firefox2 or ie6 with the regular flash player 9 they just get a blank screen, do I need to turn of debug or something ? anyone else seen this issue ? cheers Grant ... b l u e t u b e i n t e r a c t i v e. .: grant davies .: 404.428.6839 (c) .: 708-983-1577 (F) [EMAIL PROTECTED] http://www.bluetube.com/bti http://www.bluetube.com/bti A Tribal Chicken Designs Affiliate http://www.tribalchicken.com/ AVIS IMPORTANT WARNING Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé. L'expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s'il est retransmis sans son autorisation. Si vous n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre système. La lecture, la distribution, la copie ou tout autre usage du présent message ou de ses pièces jointes par des personnes autres que le destinataire visé ne sont pas autorisés et pourraient être illégaux. Si vous avez reçu ce courrier électronique par erreur, veuillez en aviser l'expéditeur. This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient. No privilege or other rights are waived by any unintended transmission or unauthorized retransmission of this message. If you are not the intended recipient of this message, or if you have received it in error, you should immediately stop reading this message and delete it and
Re: [flexcoders] Refreshing an mx:Image
Yep, that¹s working! On 14-02-2007 15:37, Matt Wicks [EMAIL PROTECTED] wrote: what about a timer? On 14 Feb 2007, at 14:16, flexcodersVK wrote: Updating like this: for (i=0;i5;i++) { myImage[i].source=²Photo² + i + ².png² }
[flexcoders] Re: Coldfusion Version for FDS Data Push feature
Thank Dirk. That answers my question and verifies what I thought was the case. I want to do data synchronization, not messaging, and I can do that with CF7.0.2 Standard Edition and Flex Data Services Express via Data Management Services. Jim --- In flexcoders@yahoogroups.com, Dirk Eismann [EMAIL PROTECTED] wrote: This depends on what you mean by data push: do you want to use the automatic data synchronization feature that comes with the FDS Data Managemnt services or do you want to send generic messages throug the FDS Messaging services? If you want to use Data Management you don't need CF Enterprise (it works over RMI), if you want to do Messaging you'll need Event Gateways on the CF side and therefore CF Enterprise. Dirk. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jim Pickering Sent: Monday, February 12, 2007 6:19 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Coldfusion Version for FDS Data Push feature Can someone verify for me if I can push data with FDS Express and Coldfusion MX 7.0.2 Standard edition or do I need CFMX 7.0.2 Enterprise edition to make that happen? Thanks, Jim -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links
RE: [flexcoders] Flex and ASP
Igor, I got it now, it’s works well. I asked asp to translate to xml and my flex app works. Thank you _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Igor Costa Sent: Wednesday, February 14, 2007 3:08 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Flex and ASP Alian Where's the MXML code? You could send it too, it would must to see what's going on out there. Best. --Igor Costa On 2/14/07, Alain Henner [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] fr wrote: Hi guys, I have some problems connecting flex app with a database SQL server 2005. Here is the asp script I wrote: %@ LANGUAGE=VBSCRIPT % % Set Conn = Server.CreateObject(ADODB.Connection) Conn.ConnectionTimeout = 15 Conn.CommandTimeout = 30 Conn_Catalog = - Conn_UserID = -- Conn_Password = - Conn_DataSource = conn.Open Provider=sqloledb; Data Source= Conn_DataSource ; Initial Catalog= Conn_Catalog ; User Id= Conn_UserID ; Password= Conn_Password SQL=SELECT * FROM [Membres] Set RS = server.createobject(ADODB.Recordset) RS.Open SQL,Conn , 3, 3 while not RS.eof % %=RS(prenom)% - %=RS(nom)% - %=RS(courriel)%br %RS.MOVENEXT ' fiche suivante wend RS.close conn.close : Set conn=nothing % And it works but not with the flex app. Any help will be welcome Thanks Alian -- Igor Costa www.igorcosta. http://www.igorcosta.org org www.igorcosta. http://www.igorcosta.com com skype: igorpcosta --- Orange vous informe que cet e-mail a été contrôlé par l'anti-virus mail. Aucun virus connu à ce jour par nos services n'a été détecté.
Re: [flexcoders] DataGrid Sort Arrow
On Tuesday 13 Feb 2007, Dana Gutride wrote: row cell? Will I need to extend the datagrid class and rewrite the function that creates the sort arrow It's a property of the skin, I think, so you'll need to write an alternative class and reference that in the header styles. There is source code to all of this for a reason ;-) -- Tom Chiverton Helping to seamlessly implement user-centric segments This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Continuations support? or smart sleep()?
callMethod.apply(null, callArgs) yeah, your right, always get those backwards. Peace, Mike On 2/14/07, Dirk Eismann [EMAIL PROTECTED] wrote: callMethod(callArgs) should be callMethod.apply(null, callArgs) instead I believe. Otherwise it would just pass the rest Array to the function and not the single parameters contained within the rest Array. Dirk. -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Michael Schmalle *Sent:* Wednesday, February 14, 2007 4:32 PM *To:* flexcoders@yahoogroups.com *Subject:* Re: [flexcoders] Continuations support? or smart sleep()? Hi, yeah he timer class does it but; function example { trace(before); sleep(2000); trace(after 2 seconds); } Will not work. The Flash player exectues in order of the stack. So, you can't have a sleep method inside a method block and halt the method block. Although something like this might be what you looking for. function example { trace(before); sleep(2000, exectueAfter, something, 1); } function sleep(milli:Number, func:Function, ...rest):void { callMethod = func callArgs = rest ... set up timer and handlers, run timer } function timer_timerEndHandler(event:TimerEvent):void { callMethod(callArgs) } function exectueAfter(arg1, arg2) { trace(after 2 seconds); } This is about as close as you will get to a 'sleep' method. Peace, Mike On 2/14/07, Igor Costa [EMAIL PROTECTED] wrote: Conley You could check out the Timer Class that can do this for you exactly in the way you need it. On 2/14/07, j.conley [EMAIL PROTECTED] wrote: I was wondering if there are any plans to consider continuation support in flash/flex? ...predominantly to support the concept of a smarter Thread.sleep(n) without blocking or disrupting the single-threaded execution model. for context, here is a sleep pseudo-example using the continuations concept: function example { trace(before); sleep(2000); trace(after 2 seconds); } function sleep(sleep_millis:int) { var savepoint:Continuation = Continuations.new(); // creates a holder that will capture the execution stack state at the next suspend() setTimeout(function(event:Event):void { Continuations.resume(savepoint); // resumes the saved execution stack },sleep_millis); Continuations.suspend(savepoint); } For my purposes, I am writing a general-purpose tool for developers that would locate one or more components in the UI hierarchy (by some criteria), then return those components so they could interact with them. In searching for said components, I have come across embedded SWFLoaders which are not yet finished loading/reloading, and sleep() (via continuations) would allow checking it's state periodically and not disrupt the execution stack, callers code or block the overall application. There are several other cases where this would be useful, but I just wanted to start a dialog on it. -- Igor Costa www.igorcosta.org www.igorcosta.com skype: igorpcosta -- Teoti Graphix http://www.teotigraphix.com Blog - Flex2Components http://www.flex2components.com You can find more by solving the problem then by 'asking the question'. -- Teoti Graphix http://www.teotigraphix.com Blog - Flex2Components http://www.flex2components.com You can find more by solving the problem then by 'asking the question'.
Re: [flexcoders] Re: Looking for a workaround for HTTPService limitations
Tom Chiverton wrote: On Wednesday 14 Feb 2007, Paul DeCoursey wrote: a large number of REST based Services to support of clients and then when we got to the Flex Client we found that it could not support them. Does REST not imply GET/POST ? In any case, as has been pointed out, Flex 2 certainly does support other HTTP verbs, you just need to write it out yourself via. Socket. Indeed, and since we had heavy use of DELETE and PUT we had to make the determination of what was easier and more cost effective. We choose SOAP because Flex has good SOAP support. We avoided implementing DELETE and PUT because we don't have any protocol developers on staff. So until Flex has out of the box support for all the HTTP verbs then it does not support REST. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Can't we access MovieClips contained in embedded SWF's?
Hello all, I have a Flash Player 9, AS3 version of a SWF that I am bringing into Flex, using the SWFLoader Component. Once I bring the SWF in, I am creating a MovieClip variable and assigning to it, the SWFLoader.content. Here is a quick code example: var platObject:MovieClip = mySWFLoader.content; So once that assignment is made, you can execute certain built-in methods available to any Flash Movie - for example: platObject.play(); platObject.loaderInfo.[etc] And so on... That is all well and good - but what about MovieClips that reside in the Root Timeline? In this particular SWF File, I have a MovieClip called platMovieClip - and I am trying to access it's properties and methods from within Flex. For example, I'd like to toggle the visibility, so I tried this code: platObject.platMovieClip._visible = false; When I try this command, I get an error that says the property platMovieClip is unknown or something to that effect... If we can't access the assets that reside in SWF Files, then what is the whole point of all this? Or maybe there is something that I am overlooking - but as far as I can tell, the platObject should represent the SWF... Could any of you shed some light on this topic for me? This functionality is VERY important to the success of my website launch. Thanks in advance, Mike
RE: [flexcoders] Re: Coldfusion Version for FDS Data Push feature
Hi Jim, I want to do data synchronization, not messaging, and I can do that with CF7.0.2 Standard Edition and Flex Data Services Express via Data Management Services. ok - then you should be fine. Aside from some advanced features like using the DataServiceTransaction class to manually refresh fills everything should work nicely using FDS and CF. Dirk.
[flexcoders] How to create navigateToURL http links with non ascii characters??
Hello. I have the situation where some of the URLs that I need to link to have non-Ascii characters in them. So, for example... if I have a directory structure like this (hopefully the A comes through with the accent above it): non-ascii Á/test/ the URL that gets generated is: http://mydomain.com/non-ascii%20%C1%2Ftest I receive a 404 error on this URL. It looks like the URLs though are encoded in Windows-1251, not UTF-8. How do I fix this to be UTF-8? Thanks.
Re: [flexcoders] Can't we access MovieClips contained in embedded SWF's?
You need to get the object as a display object var xxx:MovieClip = platObject.getChildByName('instancename') as MovieClip Matt On 14 Feb 2007, at 16:13, Mike Anderson wrote: Hello all, I have a Flash Player 9, AS3 version of a SWF that I am bringing into Flex, using the SWFLoader Component. Once I bring the SWF in, I am creating a MovieClip variable and assigning to it, the SWFLoader.content. Here is a quick code example: var platObject:MovieClip = mySWFLoader.content; So once that assignment is made, you can execute certain built-in methods available to any Flash Movie - for example: platObject.play(); platObject.loaderInfo.[etc] And so on... That is all well and good - but what about MovieClips that reside in the Root Timeline? In this particular SWF File, I have a MovieClip called platMovieClip - and I am trying to access it's properties and methods from within Flex. For example, I'd like to toggle the visibility, so I tried this code: platObject.platMovieClip._visible = false; When I try this command, I get an error that says the property platMovieClip is unknown or something to that effect... If we can't access the assets that reside in SWF Files, then what is the whole point of all this? Or maybe there is something that I am overlooking - but as far as I can tell, the platObject should represent the SWF... Could any of you shed some light on this topic for me? This functionality is VERY important to the success of my website launch. Thanks in advance, Mike
[flexcoders] Included SWC dependency problem with Cairngorm - anyone else?
Hey all, I've got two Flex projects, both of which need to depend on the Cairngorm SWC. One project is the main application, the second is a series of helper classes to aid and abet it. So like this: [Main Application]\ | -- [Cairngorm SWC] [Helper project]/ If I cause both projects to link to the Cairngorm SWC file Flex Builder inevitably crashes, normally with an Eclipse stack overflow error. Does anyone else have this problem? How does anyone else handle such dependencies? Cheers, Oliver Tupman
[flexcoders] Re: How to create navigateToURL http links with non ascii characters??
http://www.w3schools.com/tags/ref_urlencode.asp If you follow that link it is a list of HTML encoding. replace Á with %c1 and hopefully it should work for you. --- In flexcoders@yahoogroups.com, e_baggg [EMAIL PROTECTED] wrote: Hello. I have the situation where some of the URLs that I need to link to have non-Ascii characters in them. So, for example... if I have a directory structure like this (hopefully the A comes through with the accent above it): non-ascii Á/test/ the URL that gets generated is: http://mydomain.com/non-ascii%20%C1%2Ftest I receive a 404 error on this URL. It looks like the URLs though are encoded in Windows-1251, not UTF-8. How do I fix this to be UTF-8? Thanks.
RE: [flexcoders] Exporting Charts as Image
Hi Prateek. There are various libraries around that allow you to capture a chart, or any other flex component, as a PNG or JPG. you could then upload that to the server, and do what you want with it. See: http://code.google.com/p/as3corelib/ Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ., Prateek (MSAS Sys Dev IBD) Sent: Wednesday, February 14, 2007 4:16 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Exporting Charts as Image Hi All We are using Flex charts in our web app. We also have a need to export the chart as an image so that the same can be embedded in an email sent out to users. Any pointers ? Thanks Prateek NOTICE: If received in error, please destroy and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is prohibited when received in error.
[flexcoders] Re: Continuations support? or smart sleep()?
In response to a couple of the responses so far, please read beyond the pseudo-example. (it's just a simple example of how it might be implemented in theory) The case below the example describes a recursive situation (traversing the UI hierarchy) where using setTimeout() would be inadequate to wait for SWFLoaders during recursion... And to cover my bases, yes, if you had a recursive function with no other calls/logic that followed, you could maintain your recursive state with an Array/stack and use setTimeout -- however my case always has dependent logic after the recursive function (since it returns a result), and furthermore this function would be a utility for others to use... so I have no control of the code that calls it. Adobe, comments? --- In flexcoders@yahoogroups.com, j.conley [EMAIL PROTECTED] wrote: I was wondering if there are any plans to consider continuation support in flash/flex? ...predominantly to support the concept of a smarter Thread.sleep(n) without blocking or disrupting the single-threaded execution model. for context, here is a sleep pseudo-example using the continuations concept: function example { trace(before); sleep(2000); trace(after 2 seconds); } function sleep(sleep_millis:int) { var savepoint:Continuation = Continuations.new(); // creates a holder that will capture the execution stack state at the next suspend() setTimeout(function(event:Event):void { Continuations.resume(savepoint); // resumes the saved execution stack },sleep_millis); Continuations.suspend(savepoint); } For my purposes, I am writing a general-purpose tool for developers that would locate one or more components in the UI hierarchy (by some criteria), then return those components so they could interact with them. In searching for said components, I have come across embedded SWFLoaders which are not yet finished loading/reloading, and sleep() (via continuations) would allow checking it's state periodically and not disrupt the execution stack, callers code or block the overall application. There are several other cases where this would be useful, but I just wanted to start a dialog on it.
Re: [flexcoders] disable Bind
thanx
Re: [flexcoders] Re: Looking for a workaround for HTTPService limitations
On Wednesday 14 Feb 2007, Paul J DeCoursey wrote: Indeed, and since we had heavy use of DELETE and PUT we had to make the determination of what was easier and more cost effective. We choose SOAP because Flex has good SOAP support. We avoided implementing DELETE and PUT because we don't have any protocol developers on staff. So until Flex has out of the box support for all the HTTP verbs then it does not support REST. I still think saying 'does not support REST' is slightly misleading, as it supports what most people do with REST. In any case, I assume you've been to http://adobe.com/go/wish ? -- Tom Chiverton Helping to proactively enable dot-com meta-services This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Possible memory leak in e4x or in HttpService
On Wednesday 14 Feb 2007, lacito.domingo wrote: No answers yet. Could somebody confirm the leak? Or is it my fault? What do you mean by leak ? The O/S free RAM doesn't go back to where it started when you close the browser ? -- Tom Chiverton Helping to dynamically transition holistic relationships This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Can't we access MovieClips contained in embedded SWF's?
Oh man, you are kidding me! See, this particular SWF is a Plat Overview of a subdivision - and there are 140 Lots, each individually defined as a unique MovieClip. So, if I need access to each MovieClip programmatically, I will have to define 140 variables? Now that would be a bummer :-( Could you clarify on that? Thank you for the information nevertheless - I was actually going to try the getChild method next, so that saves me some time. Mike From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Matt Wicks Sent: Wednesday, February 14, 2007 10:18 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Can't we access MovieClips contained in embedded SWF's? You need to get the object as a display object var xxx:MovieClip = platObject.getChildByName('instancename') as MovieClip Matt On 14 Feb 2007, at 16:13, Mike Anderson wrote: Hello all, I have a Flash Player 9, AS3 version of a SWF that I am bringing into Flex, using the SWFLoader Component. Once I bring the SWF in, I am creating a MovieClip variable and assigning to it, the SWFLoader.content. Here is a quick code example: var platObject:MovieClip = mySWFLoader.content; So once that assignment is made, you can execute certain built-in methods available to any Flash Movie - for example: platObject.play(); platObject.loaderInfo.[etc] And so on... That is all well and good - but what about MovieClips that reside in the Root Timeline? In this particular SWF File, I have a MovieClip called platMovieClip - and I am trying to access it's properties and methods from within Flex. For example, I'd like to toggle the visibility, so I tried this code: platObject.platMovieClip._visible = false; When I try this command, I get an error that says the property platMovieClip is unknown or something to that effect... If we can't access the assets that reside in SWF Files, then what is the whole point of all this? Or maybe there is something that I am overlooking - but as far as I can tell, the platObject should represent the SWF... Could any of you shed some light on this topic for me? This functionality is VERY important to the success of my website launch. Thanks in advance, Mike
[flexcoders] Flex ant tasks
I can't seem to get the mxmlc to work inside Eclipse or via cfexecute/ANT. I'm getting the error JVM not found. Any ideas? I have JAVA_HOME set correctly as a env var in winblows. -- Douglas Knudsen http://www.cubicleman.com this is my signature, like it?
RE: [flexcoders] Included SWC dependency problem with Cairngorm - anyone else?
Hmm, I'm doing the same thing and it's working fine. I have been in situations like that before (not the same scenario), and deleting the .project files and recreating usually works. Otherwise, try removing the .swc dependency for both projects and re-adding it, or open up Cairngorm as a project and link directly to the project. Eclipse is definitely a finicky IDE. Jay Proulx [EMAIL PROTECTED] From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Oliver Tupman Sent: February 14, 2007 11:20 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Included SWC dependency problem with Cairngorm - anyone else? Hey all, I've got two Flex projects, both of which need to depend on the Cairngorm SWC. One project is the main application, the second is a series of helper classes to aid and abet it. So like this: [Main Application]\ | -- [Cairngorm SWC] [Helper project]/ If I cause both projects to link to the Cairngorm SWC file Flex Builder inevitably crashes, normally with an Eclipse stack overflow error. Does anyone else have this problem? How does anyone else handle such dependencies? Cheers, Oliver Tupman
RE: [flexcoders] Flex ant tasks
had this problem a month ago :) what happening is that in your bin folder there is a jvm.config file and in that file it specifies where the JDK is, its probably pointing to a wrong location. Dimitrios Gianninas RIA Developer Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Douglas Knudsen Sent: Wednesday, February 14, 2007 11:37 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex ant tasks I can't seem to get the mxmlc to work inside Eclipse or via cfexecute/ANT. I'm getting the error JVM not found. Any ideas? I have JAVA_HOME set correctly as a env var in winblows. -- Douglas Knudsen http://www.cubicleman.com http://www.cubicleman.com this is my signature, like it? -- WARNING --- This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient. No privilege or other rights are waived by any unintended transmission or unauthorized retransmission of this message. If you are not the intended recipient of this message, or if you have received it in error, you should immediately stop reading this message and delete it and all attachments from your system. The reading, distribution, copying or other use of this message or its attachments by unintended recipients is unauthorized and may be unlawful. If you have received this e-mail in error, please notify the sender. AVIS IMPORTANT -- Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé. L'expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s'il est retransmis sans son autorisation. Si vous n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre système. La lecture, la distribution, la copie ou tout autre usage du présent message ou de ses pièces jointes par des personnes autres que le destinataire visé ne sont pas autorisés et pourraient être illégaux. Si vous avez reçu ce courrier électronique par erreur, veuillez en aviser l'expéditeur.
[flexcoders] request flex uploader
Hi ... is there any one have a source for flex uploader based on php ?
[flexcoders] Right click on Tree's item
I have the Tree and ContextMenu associated with it. When I select menu item from context menu I cant get Tree's item was right-clicked. How I can get this Tree's item? import mx.controls.listClasses.*; private function createContextMenu():void { m = new ContextMenu(); m.hideBuiltInItems(); var customItemsArr:Array = new Array(); var buy:ContextMenuItem = new ContextMenuItem(Detailed); buy.addEventListener(menuItemSelect, buyHandler); customItemsArr.push(buy); m.customItems = customItemsArr; callTree.contextMenu=m; } private function buyHandler(e:ContextMenuEvent):void { trace(e.mouseTarget); trace(ListBaseContentHolder(e.mouseTarget).owner); trace(ListBaseContentHolder(e.mouseTarget).name); trace(ListBaseContentHolder(e.mouseTarget).instanceIndex); } in traces my trying to catch the Tree's item...
Re: [flexcoders] Can't we access MovieClips contained in embedded SWF's?
Mike, what do the clips need to do? Matt On 14 Feb 2007, at 16:36, Mike Anderson wrote: Plat Overview of a subdivision
Re: [flexcoders] Populating DataGrid from XML attributes
On Tuesday 13 Feb 2007, Shidan wrote: Do I have to transform the xml to another data model format first? No, you can use the labelFunction property of DataGridColumn to have the results of a function displayed in the cell. -- Tom Chiverton Helping to authoritatively industrialize eye-catching partnerships This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Can't we access MovieClips contained in embedded SWF's?
If you are using Flash 9, you can use a document class (I believe) at the root level and have Flex reference it by that. Your document class would set up an API, so you don't have to peer into the movie itself. Basically a proxy. Sorry I don't have the implementation in front of me, but I believe it's possible. So, if previous code was correct, could do something like: var platProxy:YourProxy = platObject.getChildByName('instancename') as YourProxy platProxy.hideAll(); platProxy.showByID( {id:'plat_xxx'} ); Just an idea! -Scott On 2/14/07, Mike Anderson [EMAIL PROTECTED] wrote: Oh man, you are kidding me! See, this particular SWF is a Plat Overview of a subdivision - and there are 140 Lots, each individually defined as a unique MovieClip. So, if I need access to each MovieClip programmatically, I will have to define 140 variables? Now that would be a bummer :-( Could you clarify on that? Thank you for the information nevertheless - I was actually going to try the getChild method next, so that saves me some time. Mike -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Matt Wicks *Sent:* Wednesday, February 14, 2007 10:18 AM *To:* flexcoders@yahoogroups.com *Subject:* Re: [flexcoders] Can't we access MovieClips contained in embedded SWF's? You need to get the object as a display object var xxx:MovieClip = platObject.getChildByName('instancename') as MovieClip Matt On 14 Feb 2007, at 16:13, Mike Anderson wrote: Hello all, I have a Flash Player 9, AS3 version of a SWF that I am bringing into Flex, using the SWFLoader Component. Once I bring the SWF in, I am creating a MovieClip variable and assigning to it, the SWFLoader.content. Here is a quick code example: var platObject:MovieClip = mySWFLoader.content; So once that assignment is made, you can execute certain built-in methods available to any Flash Movie - for example: platObject.play(); platObject.loaderInfo.[etc] And so on... That is all well and good - but what about MovieClips that reside in the Root Timeline? In this particular SWF File, I have a MovieClip called platMovieClip - and I am trying to access it's properties and methods from within Flex. For example, I'd like to toggle the visibility, so I tried this code: platObject.platMovieClip._visible = false; When I try this command, I get an error that says the property platMovieClip is unknown or something to that effect... If we can't access the assets that reside in SWF Files, then what is the whole point of all this? Or maybe there is something that I am overlooking - but as far as I can tell, the platObject should represent the SWF... Could any of you shed some light on this topic for me? This functionality is VERY important to the success of my website launch. Thanks in advance, Mike -- : : ) Scott
[flexcoders] Re: How to create navigateToURL http links with non ascii characters??
And take a look at the top-level encodeURI() function too. http://livedocs.macromedia.com/flex/2/langref/package.html#encodeURI http://livedocs.macromedia.com/flex/2/langref/package.html#encodeURI () --- In flexcoders@yahoogroups.com, camlinaeizerous [EMAIL PROTECTED] wrote: http://www.w3schools.com/tags/ref_urlencode.asp If you follow that link it is a list of HTML encoding. replace Á with %c1 and hopefully it should work for you. --- In flexcoders@yahoogroups.com, e_baggg e_baggg@ wrote: Hello. I have the situation where some of the URLs that I need to link to have non-Ascii characters in them. So, for example... if I have a directory structure like this (hopefully the A comes through with the accent above it): non-ascii Á/test/ the URL that gets generated is: http://mydomain.com/non-ascii%20%C1%2Ftest I receive a 404 error on this URL. It looks like the URLs though are encoded in Windows-1251, not UTF-8. How do I fix this to be UTF-8? Thanks.
Re: [flexcoders] Re: Looking for a workaround for HTTPService limitations
Tom Chiverton wrote: On Wednesday 14 Feb 2007, Paul J DeCoursey wrote: Indeed, and since we had heavy use of DELETE and PUT we had to make the determination of what was easier and more cost effective. We choose SOAP because Flex has good SOAP support. We avoided implementing DELETE and PUT because we don't have any protocol developers on staff. So until Flex has out of the box support for all the HTTP verbs then it does not support REST. I still think saying 'does not support REST' is slightly misleading, as it supports what most people do with REST. In any case, I assume you've been to http://adobe.com/go/wish ? I can't comment on what others are doing, I can only comment on the fact that it does not out of the box support PUT and DELETE. Those are the operations we needed and the original poster needed. It's silly to argue the semantics of this, if you think it's so easy to implement PUT and DELETE then be my guest. Perhaps one day I will port Commons HTTPClient and it will solve our problems. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Can't we access MovieClips contained in embedded SWF's?
Well, my goal is this: There will be a ton of interactivity between the Flex variables, and the Subdivision Plat SWF. In fact, how the SWF looks visually, and behaves based on mouse interaction, will all depend on the values brought back from the database. For example, if a Lot has been sold to a customer, I need to change the color of the Lot MovieClip to Red. There are 4 other possible Statuses, that the Lot could have - and each Status is represented by a unique color. After the Plat SWF is brought in, the Flex App will loop through all 140 Lots, and set each corresponding MovieClip color, in addition to any other information I want shown. Luckily, in this particular case, I will have knowledge beforehand based on the database data, as to which Lots will already pre-exist on the SWF. This is where I need to decide, which parts I should code within the Flash 9 SWF, and which parts I should code within Flex. If I had my choice of course, I'd code everything 100% within Flex. Bottom line, I just want to code the bare minimum on the SWF side, so I can programmatically control everything from within Flex. Anyway, moving on, when the mouse hovers over a Lot, I need to have some additional information popup - like a ToolTip. I need the dimensions, total square footage, and the customer information (if the Lot has been sold). In this case, I can just have a custom component popup, and populate it with the corresponding information from my ArrayCollection. I just need to find a way, that when the mouse hovers over a particular Lot on the SWF, to signal Flex which Lot is being hovered over, so I can grab the appropriate data from the ArrayCollection, and fill in all the blanks. So with all that said, is there any other methodology you would use, to accomplish the tasks I mentioned? I suppose I could forego creating 140 variables, and just create a new one on the fly, each time the mouse hovers over a particular lot. Then I can grab the corresponding Child, and temporarily assign it to the Variable - in order to gain access to it's properties and methods. Thanks again for all your help - Mike From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Matt Wicks Sent: Wednesday, February 14, 2007 10:45 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Can't we access MovieClips contained in embedded SWF's? Mike, what do the clips need to do? Matt On 14 Feb 2007, at 16:36, Mike Anderson wrote: Plat Overview of a subdivision
[flexcoders] Generate Flex Forms on the fly
I need to be able build some data entry screen(s) on the fly based on form definition stored in the db. Any suggestions?. The requirement is to have customized forms for different clients without changing the screen with any new request. It's more like storing client profile in the db and build the screen based on his preferences. Any feedback is welcome. Thanks, Valy Bored stiff? Loosen up... Download and play hundreds of games for free on Yahoo! Games. http://games.yahoo.com/games/front
Re: [flexcoders] Flex ant tasks
hmm, which bin? I get this error from way outside any project folders...even from the dos prompt like so c:\ant -buildfile=test.xml myTarget DK On 2/14/07, Dimitrios Gianninas [EMAIL PROTECTED] wrote: had this problem a month ago :) what happening is that in your bin folder there is a jvm.config file and in that file it specifies where the JDK is, its probably pointing to a wrong location. *Dimitrios Gianninas* *RIA Developer* *Optimal Payments Inc.* -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Douglas Knudsen *Sent:* Wednesday, February 14, 2007 11:37 AM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] Flex ant tasks I can't seem to get the mxmlc to work inside Eclipse or via cfexecute/ANT. I'm getting the error JVM not found. Any ideas? I have JAVA_HOME set correctly as a env var in winblows. -- Douglas Knudsen http://www.cubicleman.com this is my signature, like it? *AVIS IMPORTANT* *WARNING* Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé. L'expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s'il est retransmis sans son autorisation. Si vous n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre système. La lecture, la distribution, la copie ou tout autre usage du présent message ou de ses pièces jointes par des personnes autres que le destinataire visé ne sont pas autorisés et pourraient être illégaux. Si vous avez reçu ce courrier électronique par erreur, veuillez en aviser l'expéditeur. This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient. No privilege or other rights are waived by any unintended transmission or unauthorized retransmission of this message. If you are not the intended recipient of this message, or if you have received it in error, you should immediately stop reading this message and delete it and all attachments from your system. The reading, distribution, copying or other use of this message or its attachments by unintended recipients is unauthorized and may be unlawful. If you have received this e-mail in error, please notify the sender. -- Douglas Knudsen http://www.cubicleman.com this is my signature, like it?
Re: [flexcoders] Possible memory leak in e4x or in HttpService
On Wednesday 14 Feb 2007, lacito.domingo wrote: No answers yet. Could somebody confirm the leak? Or is it my fault? I'm not sure what you mean by memory leak. But in your source you do keep a reference to the HttpService and that will keep the XML hanging around in memory for a while. That may be the issue. Also I looked at your xml files, and pbentries.xml is full of some bizarre characters. They display as Ő (which is not UTF-8 encoded by the way) in notepad on winXP and they crash jedit and firefox if I try to view the file. I am guessing they have something to do with the problem.
[flexcoders] Series Effects do not dispatch start events (bug?)
It would appear that from SeriesEffect downwards in the object hierarchy, none dispatch an effectStart event when played. I have checked this by using exactly the same code except for changing the effect type and only series effects appear to exhibit this behaviour. I'm sifting through the source to find out why but so far I haven't spotted anything. Thanks in advance for any help. Graham
[flexcoders] Re: Exporting Charts as Image
Hi Ely, I'm also interested in creating bitmap in Flex and transferring it as a JPG or PNG to the server. I took a look at the as3corelib but didn't see anything in the documentation about working with bitmap/image files. I could be I'm just missing it, so could you perhaps point out where in the package/class the image tools are located? Also, is there an example or documentation somewhere regarding how to send a JPG or PNG created in a Flex application from a bitmap to ColdFusion and have ColdFusion create the physical file on the server? Thanks! Paul --- Paul Whitelock Denver, Colorado --- In flexcoders@yahoogroups.com, Ely Greenfield [EMAIL PROTECTED] wrote: Hi Prateek. There are various libraries around that allow you to capture a chart, or any other flex component, as a PNG or JPG. you could then upload that to the server, and do what you want with it. See: http://code.google.com/p/as3corelib/ Ely.
[flexcoders] Integrating Flex Ant Tasks With Flex Builder (Problems, Run, Debug)
Hello all, I want to compile multiple modules in a single project. I'm using the Flex Ant Tasks to compile my Flex app with Ant in place of Flex Builder's built-in builder to accomplish this. I've reached the point that it is successfully compiling and have some integration questions. Is it possible to have MXMLC compile errors displayed in the Problems tab, allowing you to double-click them and jump to the problem file/line? Also, I would like to create separate debug and release output folders under the bin folder. How do I change the Run and Debug Flex Builder toolbar button targets to launch the files in their new locations? I suspect none of these can be addressed. Thanks for any answers you can provide to prove me wrong! Tom
Re: [flexcoders] Can't we access MovieClips contained in embedded SWF's?
Temporarily assigning it would probably be best I guess - especially as its going to loop through 140 each time - Scott's idea is a good one too and should work - might give it a try later on myself to test it - but my gut instinct would b e to create a loop - then you can just use getChildAt(i) to assign the properties ... matt On 14 Feb 2007, at 17:05, Mike Anderson wrote: Well, my goal is this: There will be a ton of interactivity between the Flex variables, and the Subdivision Plat SWF. In fact, how the SWF looks visually, and behaves based on mouse interaction, will all depend on the values brought back from the database. For example, if a Lot has been sold to a customer, I need to change the color of the Lot MovieClip to Red. There are 4 other possible Statuses, that the Lot could have - and each Status is represented by a unique color. After the Plat SWF is brought in, the Flex App will loop through all 140 Lots, and set each corresponding MovieClip color, in addition to any other information I want shown. Luckily, in this particular case, I will have knowledge beforehand based on the database data, as to which Lots will already pre-exist on the SWF. This is where I need to decide, which parts I should code within the Flash 9 SWF, and which parts I should code within Flex. If I had my choice of course, I'd code everything 100% within Flex. Bottom line, I just want to code the bare minimum on the SWF side, so I can programmatically control everything from within Flex. Anyway, moving on, when the mouse hovers over a Lot, I need to have some additional information popup - like a ToolTip. I need the dimensions, total square footage, and the customer information (if the Lot has been sold). In this case, I can just have a custom component popup, and populate it with the corresponding information from my ArrayCollection. I just need to find a way, that when the mouse hovers over a particular Lot on the SWF, to signal Flex which Lot is being hovered over, so I can grab the appropriate data from the ArrayCollection, and fill in all the blanks. So with all that said, is there any other methodology you would use, to accomplish the tasks I mentioned? I suppose I could forego creating 140 variables, and just create a new one on the fly, each time the mouse hovers over a particular lot. Then I can grab the corresponding Child, and temporarily assign it to the Variable - in order to gain access to it's properties and methods. Thanks again for all your help - Mike From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Matt Wicks Sent: Wednesday, February 14, 2007 10:45 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Can't we access MovieClips contained in embedded SWF's? Mike, what do the clips need to do? Matt On 14 Feb 2007, at 16:36, Mike Anderson wrote: Plat Overview of a subdivision
Re: [flexcoders] Included SWC dependency problem with Cairngorm - anyone else?
Okay, I've had a bit more of a play and I have appeared to narrow it down on this: I can't seem to be able to use the Cairngorm from a Flex Library project. It doesn't work if it's included as an SWC or as a project link. If anyone from Adobe's listening, the exception that FB bombs out on is this: !ENTRY org.eclipse.ui 4 4 2007-02-14 17:19:07.937 !MESSAGE Unhandled event loop exception !ENTRY org.eclipse.ui 4 0 2007-02-14 17:19:07.953 !MESSAGE java.lang.StackOverflowError !STACK 0 java.lang.StackOverflowError at org.eclipse.core.internal.filesystem.local.LocalFileNatives.internalGetFileInfoW(Native Method) at org.eclipse.core.internal.filesystem.local.LocalFileNatives.fetchFileInfo( LocalFileNatives.java:60) at org.eclipse.core.internal.filesystem.local.LocalFile.fetchInfo( LocalFile.java:119) at org.eclipse.core.filesystem.provider.FileStore.fetchInfo( FileStore.java:253) at org.eclipse.core.internal.localstore.FileSystemResourceManager.fastIsSynchronized (FileSystemResourceManager.java:295) at org.eclipse.core.internal.resources.File.refreshLocal(File.java:333) at com.adobe.flexbuilder.project.persist.PersistableSettings.readPersistenceFile(Unknown Source) at com.adobe.flexbuilder.project.actionscript.internal.ActionScriptProjectSettings.init(Unknown Source) at com.adobe.flexbuilder.project.internal.FlexLibraryProjectSettings.init(Unknown Source) at com.adobe.flexbuilder.project.internal.FlexLibraryProject.createDescription(Unknown Source) at com.adobe.flexbuilder.project.actionscript.internal.ActionScriptProject.loadDescription(Unknown Source) at com.adobe.flexbuilder.project.actionscript.internal.ActionScriptProject.init(Unknown Source) at com.adobe.flexbuilder.project.internal.FlexBasedProject.init(Unknown Source) at com.adobe.flexbuilder.project.internal.FlexLibraryProject.init(Unknown Source) at com.adobe.flexbuilder.project.actionscript.ActionScriptCore$3.doCreate(Unknown Source) at com.adobe.flexbuilder.project.actionscript.ActionScriptCore$ProjectCreator.run(Unknown Source) --- This portion repeats until Eclipse dies at org.eclipse.core.internal.resources.Workspace.run(Workspace.java :1737) at com.adobe.flexbuilder.project.FlexWorkspaceRunner.run(Unknown Source) at com.adobe.flexbuilder.project.actionscript.ActionScriptCore$ProjectCreator.safeGetOrCreate(Unknown Source) at com.adobe.flexbuilder.project.actionscript.ActionScriptCore.getProject(Unknown Source) at com.adobe.flexbuilder.project.internal.FlexLibraryCore.getProject(Unknown Source) at com.adobe.flexbuilder.project.ClassPathEntryFactory$LibraryFilePath.getProject(Unknown Source) at com.adobe.flexbuilder.project.ClassPathEntryFactory$LibraryFilePath.init(Unknown Source) at com.adobe.flexbuilder.project.ClassPathEntryFactory.newEntry(Unknown Source) at com.adobe.flexbuilder.project.persist.ClassPathSetting.read(Unknown Source) at com.adobe.flexbuilder.project.persist.ContainerTag.read(Unknown Source) at com.adobe.flexbuilder.project.persist.ContainerTag.read(Unknown Source) at com.adobe.flexbuilder.project.persist.PersistableSettings.readPersistenceFile(Unknown Source) at com.adobe.flexbuilder.project.actionscript.internal.ActionScriptProjectSettings.init(Unknown Source) at com.adobe.flexbuilder.project.internal.FlexLibraryProjectSettings.init(Unknown Source) at com.adobe.flexbuilder.project.internal.FlexLibraryProject.createDescription(Unknown Source) at com.adobe.flexbuilder.project.actionscript.internal.ActionScriptProject.loadDescription(Unknown Source) at com.adobe.flexbuilder.project.actionscript.internal.ActionScriptProject.init(Unknown Source) at com.adobe.flexbuilder.project.internal.FlexBasedProject.init(Unknown Source) at com.adobe.flexbuilder.project.internal.FlexLibraryProject.init(Unknown Source) at com.adobe.flexbuilder.project.actionscript.ActionScriptCore$3.doCreate(Unknown Source) at com.adobe.flexbuilder.project.actionscript.ActionScriptCore$ProjectCreator.run(Unknown Source) --- This portion repeats until Eclipse dies On 14/02/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hmm, I'm doing the same thing and it's working fine. I have been in situations like that before (not the same scenario), and deleting the .project files and recreating usually works. Otherwise, try removing the .swc dependency for both projects and re-adding it, or open up Cairngorm as a project and link directly to the project. Eclipse is definitely a finicky IDE. *Jay Proulx* [EMAIL PROTECTED] -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Oliver Tupman *Sent:* February 14, 2007 11:20 AM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] Included SWC dependency problem with Cairngorm - anyone else? Hey all, I've got two Flex projects, both of which need to depend on the Cairngorm SWC. One project is the main application, the second is a
RE: [flexcoders] Flex ant tasks
oh thats different... should jut be your JAVA_HOME that makes a difference I was talking about the flex sdk/bin folder Dimitrios Gianninas RIA Developer Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Douglas Knudsen Sent: Wednesday, February 14, 2007 12:17 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Flex ant tasks hmm, which bin? I get this error from way outside any project folders...even from the dos prompt like so c:\ant -buildfile=test.xml myTarget DK On 2/14/07, Dimitrios Gianninas [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: had this problem a month ago :) what happening is that in your bin folder there is a jvm.config file and in that file it specifies where the JDK is, its probably pointing to a wrong location. Dimitrios Gianninas RIA Developer Optimal Payments Inc. From: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com ] On Behalf Of Douglas Knudsen Sent: Wednesday, February 14, 2007 11:37 AM To: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com Subject: [flexcoders] Flex ant tasks I can't seem to get the mxmlc to work inside Eclipse or via cfexecute/ANT. I'm getting the error JVM not found. Any ideas? I have JAVA_HOME set correctly as a env var in winblows. -- Douglas Knudsen http://www.cubicleman.com http://www.cubicleman.com this is my signature, like it? AVIS IMPORTANT WARNING Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé. L'expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s'il est retransmis sans son autorisation. Si vous n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre système. La lecture, la distribution, la copie ou tout autre usage du présent message ou de ses pièces jointes par des personnes autres que le destinataire visé ne sont pas autorisés et pourraient être illégaux. Si vous avez reçu ce courrier électronique par erreur, veuillez en aviser l'expéditeur. This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient. No privilege or other rights are waived by any unintended transmission or unauthorized retransmission of this message. If you are not the intended recipient of this message, or if you have received it in error, you should immediately stop reading this message and delete it and all attachments from your system. The reading, distribution, copying or other use of this message or its attachments by unintended recipients is unauthorized and may be unlawful. If you have received this e-mail in error, please notify the sender. -- Douglas Knudsen http://www.cubicleman.com http://www.cubicleman.com this is my signature, like it? -- WARNING --- This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient. No privilege or other rights are waived by any unintended transmission or unauthorized retransmission of this message. If you are not the intended recipient of this message, or if you have received it in error, you should immediately stop reading this message and delete it and all attachments from your system. The reading, distribution, copying or other use of this message or its attachments by unintended recipients is unauthorized and may be unlawful. If you have received this e-mail in error, please notify the sender. AVIS IMPORTANT -- Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé. L'expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s'il est retransmis sans son autorisation. Si vous n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre système. La lecture, la distribution, la copie ou tout autre usage du présent message ou de ses pièces jointes par des personnes autres que le destinataire visé ne sont pas autorisés et pourraient être illégaux. Si
Re: [flexcoders] Flex ant tasks
as a followup, I have this issue with two different PCs. DK On 2/14/07, Douglas Knudsen [EMAIL PROTECTED] wrote: hmm, which bin? I get this error from way outside any project folders...even from the dos prompt like so c:\ant -buildfile=test.xml myTarget DK On 2/14/07, Dimitrios Gianninas [EMAIL PROTECTED] wrote: had this problem a month ago :) what happening is that in your bin folder there is a jvm.config file and in that file it specifies where the JDK is, its probably pointing to a wrong location. *Dimitrios Gianninas* *RIA Developer* *Optimal Payments Inc.* -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Douglas Knudsen *Sent:* Wednesday, February 14, 2007 11:37 AM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] Flex ant tasks I can't seem to get the mxmlc to work inside Eclipse or via cfexecute/ANT. I'm getting the error JVM not found. Any ideas? I have JAVA_HOME set correctly as a env var in winblows. -- Douglas Knudsen http://www.cubicleman.com this is my signature, like it? *AVIS IMPORTANT* *WARNING* Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé. L'expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s'il est retransmis sans son autorisation. Si vous n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre système. La lecture, la distribution, la copie ou tout autre usage du présent message ou de ses pièces jointes par des personnes autres que le destinataire visé ne sont pas autorisés et pourraient être illégaux. Si vous avez reçu ce courrier électronique par erreur, veuillez en aviser l'expéditeur. This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient. No privilege or other rights are waived by any unintended transmission or unauthorized retransmission of this message. If you are not the intended recipient of this message, or if you have received it in error, you should immediately stop reading this message and delete it and all attachments from your system. The reading, distribution, copying or other use of this message or its attachments by unintended recipients is unauthorized and may be unlawful. If you have received this e-mail in error, please notify the sender. -- Douglas Knudsen http://www.cubicleman.com this is my signature, like it? -- Douglas Knudsen http://www.cubicleman.com this is my signature, like it?
[flexcoders] 360Flex Ticket
Thought I had one lined up, but it didn't work out... anybody willing to sell theirs if they're unable to attend? Brendan -- Brendan Meutzner Stretch Media - RIA Adobe Flex Development [EMAIL PROTECTED] http://www.stretchmedia.ca
[flexcoders] Cairngorm: ArrayCollection(ValuObject)-Event on changing data?
hello, In my ModelLocator class i defined an ArrayCollection: [Bindable] [ArrayElementType(cairngorm.vo.FriendVO)] public var friends:ArrayCollection; storying the FriendVO object works perfectly, but now i want an event to fire up whenever i add a new FriendVO object, delete it or change it. i just tried to use the following command for that: MyModelLocator.getInstance().friends.addEventListener(CollectionEvent.COLLECTION_CHANGE,createFriendsList); which should invoke the method createFriendsList() private function createFriendsList():void { Alert.show(create friendslist); } but it is never called, not even when i do MyModelLocator.getInstance().friends = new ArrayCollection(); can anybody tell me what i am doing wrong? i really would appreciate any info. thanks, marty
[flexcoders] HttpService and Relative URLs
I have searched the archives a bit and did not find an answer. This is probably Flex 101 but I am stumped. I cant seem to get relative URLs to work for httpservice. If I set the URL explicitly - it works great: fooRequest.url=http://localhost:8080/FlexFoo/FlexFooServlet;; I just want the url to default to the URL where the web page came from. The web page is http://localhost:8080/FlexFoo/foo.html If I try fooRequest.url=/FlexFooServlet (which I think should be the correct relative URL) I get this error. [RPC Fault faultString=HTTP request error faultCode=Server.Error.Request faultDetail=Error: [IOErrorEvent type=ioError bubbles=false cancelable=false eventPhase=2 text=Error #2032: Stream Error. URL: /FlexFooServlet}?id=]. URL: /FlexFooServlet}] Using localhost:8080 obviously is not going to work when I deploy this thing. Also -- how do I make this work if I am not running from a web page but running out of FlexBuilder? Any leads on this most appreciated. --Dan Galewsky Symbiont Healthcare Systems
[flexcoders] Re: How to create navigateToURL http links with non ascii characters??
Yep, thanks Doug. That did the trick. - Kevin --- In flexcoders@yahoogroups.com, Doug Lowder [EMAIL PROTECTED] wrote: And take a look at the top-level encodeURI() function too. http://livedocs.macromedia.com/flex/2/langref/package.html#encodeURI http://livedocs.macromedia.com/flex/2/langref/package.html#encodeURI () --- In flexcoders@yahoogroups.com, camlinaeizerous camlinae@ wrote: http://www.w3schools.com/tags/ref_urlencode.asp If you follow that link it is a list of HTML encoding. replace Á with %c1 and hopefully it should work for you. --- In flexcoders@yahoogroups.com, e_baggg e_baggg@ wrote: Hello. I have the situation where some of the URLs that I need to link to have non-Ascii characters in them. So, for example... if I have a directory structure like this (hopefully the A comes through with the accent above it): non-ascii Á/test/ the URL that gets generated is: http://mydomain.com/non-ascii%20%C1%2Ftest I receive a 404 error on this URL. It looks like the URLs though are encoded in Windows-1251, not UTF-8. How do I fix this to be UTF-8? Thanks.