Re: [flexcoders] Data synchronisation tip and tricks?
- Original Message - From: Tom Chiverton [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, September 15, 2006 3:36 PM Subject: Re: [flexcoders] Data synchronisation tip and tricks? On Thursday 14 September 2006 16:12, Jurgen Beck wrote: I see two solutions: I have actually seen the 2nd in use on (I think) ticketmaster - during check out it told me the seats were reserved for 20 minutes, and if I hadn't payed by then I'd lose them and they'd go back in the pool. You could probably calculate the chance of a collitsion based on the length of time it takes to do a booking, how many customers there are (at once) and how many seats there are. If the chance in low, and fairly simple 'soft reserve' like the above or you option 2 is going to be best, I feel. OTOH, if collisions are going to be frequent, you want to be more proactive to help the users out - but at the end of the day, two people might just press 'submit' at the same time, and one of them is going to get a rolled back transaction and 'please choose another seat'. The other party may back out later, but there isn't much I think you can do about that. Depending on the checkout process you can prevent the rollback altogether. This all depends on how the checkout process black box works. If the checkout process is a black box that can communicate back with the ticketing system for confirmation that the product is still available: Ticketing system marks seats as 'pending booking' and sets a timeout on this status to protext the seats from booking. Ticketing system passes request to the checkout process to get the money from the user. Checkout process processes everything, apart from requesting money from the bank. User presses 'submit' to confirm transaction and payment details. Checkout process asks ticketing system to confirm transaction can proceed and tells ticketing system how long it will need (max) to complete the checkout process upon confirmation by the ticketing system. Ticketing system checks that seats are still available and that timeout has not elapsed. If the timeout left on the seats is less than the time required to complete the checkout (no more human involvement is now required) the timeout is extended. If the timeout has expired, the ticketing system will check that the seats are still available to the requesting customer and will re-reserve the seats, pending booking with enough of a timeout for the checkout process to complete. If the timeout has expired and the seats are no longer available the ticketing system informs checkout to abort and not to take the customers money, otherwise the ticketing system tells the checkout process to complete the transaction. The checkout process informs ticketing system of the result and the ticketing system will update the seat status and interact with the customer accordingly. Paul -- Tom Chiverton Helping to confidentially create open-source bandwidth 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 -- 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] Newbie problem sending an object to a cfc - where have I gone wrong?
I'm trying to pass an object back to a cfc via RemoteObject and can't get a favorable resolution, please look this over and let me know if you see my error? The error I am getting seems to imply that either the object is not being sent or it's not arriving correctly. (How does ColdFusion receive an object? Should I be using some other type (struct, array, etc.)?) Al The object is a collection of name/value pairs and is defined. This is the ActionScript part: //this is the creation of the object var eventTransfer:Object = modelEvent.transferObject; public var svcEvent:RemoteObject = new RemoteObject(); public function useRemoteObject(eventTransfer:Object):void{ svcEvent.destination =ColdFusion; svcEvent.source = EventComp; svcEvent.qryEventData.addEventListener(result, resultHandler); svcEvent.qryEventData.addEventListener(fault, faultHandler); svcEvent.qryEventData(eventTransfer); } This is the CFC: cfcomponent name=EventComp cffunction name=qryEventData access=remote returnType=query cfargument name=eventTransfer type=struct required=yes/ cfparam name=eventTransfer type=any default=not_passed/ cfif eventTransfer is not not_passed cfset eventName = eventTransfer.eventName cfset eventLocation = eventTransfer.eventLocation cfset contactName = eventTransfer.contactName cfquery datasource=Roster name=newEvent debug=yes INSERT INTO tblEvents (eventName, eventLocation, contactName) VALUES (#eventName#, #eventLocation#, #contactName#) /cfquery /cfif cfquery datasource=Roster name=event debug=yes SELECT * FROM tblEvents /cfquery // this if statement is just so I can tell if the parameter is really passed or not. cfif eventTransfer is not_passed cfquery datasource=Roster name=event debug=yes SELECT * FROM tblEvents WHERE eventName = NSCW /cfquery /cfif cfreturn event /cffunction /cfcomponent -- 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: match 2 field values validator
Hi When I read your message I found that I had the same need, so here it is :) package com.yourcompany.validator { import mx.validators.Validator; import mx.validators.ValidationResult; public class PasswordValidator extends Validator { /** * Constructor. */ public function PasswordValidator() { super(); } /** * The password the check against. */ public var pwdToCheck:String; /** * Convenience method for calling the validator from custom classes. */ public static function validatePassword (validator:PasswordValidator, value:Object, baseField:String = null):Array { var results:Array = []; var val:String = value != null ? String (value) : ; if(val != validator.pwdToCheck) { results.push(new ValidationResult( true, baseField, notEqual, validator.notEqualError)); return results; } return results; } /** * Error message when the passwords are not equal. * * @default Too many at characters in your email address. */ public var notEqualError:String = Passwords do not match; /** * Override of the base class codedoValidation() /code method * to validate two password fields. */ override protected function doValidation (value:Object):Array { var results:Array = super.doValidation (value); // Return if there are errors // or if the required property is set to false and length is 0. var val:String = value ? String(value) : ; if (results.length 0 || ((val.length == 0) !required)) return results; else return PasswordValidator.validatePassword (this, value, null); } } } It can be used from both mxml and AS3, just include two textinput fields, password and password2. validator:PasswordValidator id=pwdV source={password2} property=text pwdToCheck={password.text}/ Regards Børre --- In flexcoders@yahoogroups.com, Steve Gilchrist [EMAIL PROTECTED] wrote: Is there a pre-existing validator for checking that two fields match eg., password and confirmPassword form fields? I would prefer not to have an alert popup but the check done in a consistent way with some other validators. Anyone built one of these already? Thanks Steve -- 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: match 2 field values validator
Hi When I read your message I found that I had the same need, so here it is :) package com.mycomp.validator { import mx.validators.Validator; import mx.validators.ValidationResult; public class PasswordValidator extends Validator { /** * Constructor. */ public function PasswordValidator() { super(); } /** * The password the check against. */ public var pwdToCheck:String; /** * Convenience method for calling the validator from custom classes. */ public static function validatePassword(validator:PasswordValidator, value:Object, baseField:String = null):Array { var results:Array = []; var val:String = value != null ? String(value) : ; if(val != validator.pwdToCheck) { results.push(new ValidationResult( true, baseField, notEqual, validator.notEqualError)); return results; } return results; } /** * Error message when the passwords are not equal. * * @default Too many at characters in your email address. */ public var notEqualError:String = Passwords are not equal; /** * Override of the base class codedoValidation()/code method * to validate two password fields. */ override protected function doValidation(value:Object):Array { var results:Array = super.doValidation(value); // Return if there are errors // or if the required property is set to false and length is 0. var val:String = value ? String(value) : ; if (results.length 0 || ((val.length == 0) !required)) return results; else return PasswordValidator.validatePassword(this, value, null); } } } It can be used in both mxml and AS3, just include the textinput fields; password and password2: validator:PasswordValidator id=pwdV source={password2} property=text pwdToCheck={password.text}/ var pwdValidator:PasswordValidator = new PasswordValidator(); pwdValidator.listener = password2; pwdValidator.pwdToCheck = password.text; pwdValidator.validate(password2.text); Regards Børre --- In flexcoders@yahoogroups.com, Steve Gilchrist [EMAIL PROTECTED] wrote: Is there a pre-existing validator for checking that two fields match eg., password and confirmPassword form fields? I would prefer not to have an alert popup but the check done in a consistent way with some other validators. Anyone built one of these already? Thanks Steve -- 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: match 2 field values validator
Hi When I read your message I found that I had the same need. So here it is :) ** package com.mycomp.validator { import mx.validators.Validator; import mx.validators.ValidationResult; public class PasswordValidator extends Validator { /** * Constructor. */ public function PasswordValidator() { super(); } /** * The password the check against. */ public var pwdToCheck:String; /** * Convenience method for calling the validator from custom classes. */ public static function validatePassword(validator:PasswordValidator, value:Object, baseField:String = null):Array { var results:Array = []; var val:String = value != null ? String(value) : ; if(val != validator.pwdToCheck) { results.push(new ValidationResult( true, baseField, notEqual, validator.notEqualError)); return results; } return results; } /** * Error message when the passwords are not equal. * * @default Too many at characters in your email address. */ public var notEqualError:String = Passwords are not equal; /** * Override of the base class codedoValidation()/code method * to validate two password fields. */ override protected function doValidation(value:Object):Array { var results:Array = super.doValidation(value); // Return if there are errors // or if the required property is set to false and length is 0. var val:String = value ? String(value) : ; if (results.length 0 || ((val.length == 0) !required)) return results; else return PasswordValidator.validatePassword(this, value, null); } } } * You can use it in both mxml and as, just include two textfields password and password2: var pwdValidator:PasswordValidator = new PasswordValidator(); pwdValidator.listener = password2; pwdValidator.pwdToCheck = password.text; var results:Array = new Array(); results = pwdValidator.validate(password2.text).results; validator:PasswordValidator id=pwdV source={password2} property=text pwdToCheck={password.text}/ Regards Børre --- In flexcoders@yahoogroups.com, Steve Gilchrist [EMAIL PROTECTED] wrote: Is there a pre-existing validator for checking that two fields match eg., password and confirmPassword form fields? I would prefer not to have an alert popup but the check done in a consistent way with some other validators. Anyone built one of these already? Thanks Steve -- 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] FileReference (upload) session cookie problems
Hi Jason, It is a bug, the file upload feature with FireFox behaves differently than under IE. My colleague Stacy Young discovered this a month or so ago and submitted and bug and many enhancement requests regarding file upload. I think this is an area that needs improvement. I'm not quite sure of the top of my head what Stacy did to resolve this problem, but I'll make sure he replies on Monday with any suggestions. Jimmy Gianninas Optimal Payments Inc -Original Message- From: flexcoders@yahoogroups.com on behalf of Jason McWilliams Sent: Sat 9/16/2006 6:41 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] FileReference (upload) session cookie problems I am getting this exact same behavior. Does anyone have an answer for this? It seems that the Flex app within Firefox will maintain one session for an Upload request and a different session for a get request back to the server. Within the same application you can do multiple posts/gets and uploads and it keeps the same session, but a different one for posts/gets and uploads. It is as if the browser has two session going on. The bad thing here is that it practically makes an upload application useless if a person has logged in via the web site. When they do an upload, the web site will not recognize the sessionid as logged in and it will not work. Also, adding a session id like jsessionid to the URL of the upload most likely will not work if the server thinks the browser is accepting cookies, which it is. Any ideas here? If this is a bug that can't be worked around, it is a real problem for us. We can't make our users only use Internet Explorer. Thanks, Jason _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Richard Druce Sent: Wednesday, August 30, 2006 10:13 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] FileReference (upload) session cookie problems Hi, I've been playing around with Flex 2 to upload images to my web application. I'm using a cookie to maintain a session (it contains a session_id) and when I upload the file, it is behaving strangely using Flash player 9. In Internet Explorer 6.0, a new session will be created, meaning that the cookie wasn't passed with the POST and this session will be used for future GET requests. In Mozilla Firefox 1.5, a new session will be created that will be used for future file uploads, but the GET requests will use the old session still, so it looks like two client cookies are being maintained. Any help or tips to get around this problem would be greatly appreciated, I'm using ruby on rails on the server side so cookies are my preferred option for maintaining session state - passing it as a URL parameter is a little messy. thanks, Richard. [EMAIL PROTECTED] _ On Yahoo!7 Photos: http://au.rd.yahoo.com/mail/tag/photos/**http%3A%2F%2Fau.photos.yahoo.com Unlimited free storage - keep all your photos in one place! -- 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 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:
Re: [flexcoders] Re: RemoteObject Setup
Awesome, hadn't seen that article yet.Thanks Greg!BrianOn 9/16/06, greg h [EMAIL PROTECTED] wrote: Brian, Regarding your question from last week, today I saw Anatole Tartakovsky replying on another topic here at FlexCoders and it reminded me of the following excellent article that he coauthored that was posted on DevNet in July: Automatically generating code for Flex 2 data access http://www.adobe.com/devnet/flex/articles/daoflex.html The article focuses on using Flex 2 with RemoteObject against Java backends. The article is very tightly written and includes downloadable code. And best of all, the article is a how-to for using DAOFlex, an open-source tool that generates Flex and Java code for you :-) hth, gOn 9/9/06, klumikaze [EMAIL PROTECTED] wrote: Is there any good resources for doing the same with Java/Flex 2? I've had a hell of a time figuring out how to do RemoteObjects (not the Flex end, just the Java configuration end). Brian --- In flexcoders@yahoogroups.com, Darren Houle [EMAIL PROTECTED] wrote: Very cool, thanks again Gred :-) Darren From: greg h [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] RemoteObject Setup Date: Wed, 6 Sep 2006 21:02:21 -0700 Darren, Glad to hear that you got Ben's Phone Selector Sample Application up and going. It is pretty sweet, isn't it? Now that you have your basic CF/Flex Builder 2/mx:RemoteObject configuration working, you might want to also check out some of the other amazing goodies that the good folks at Adobe put together specifically for CF developers moving to Flex 2 and using mx:RemoteObject First on my list is the Flex Builder 2 ColdFusion/Flex Application Wizard. Essentially it is a code generator. You use a visual query builder that is provided to build SQL against any tables in your datasources, and off the Wizard goes to create everything else: CFCs and MXML. (And of course the MXML uses mx:RemoteObject to call the methods on the CFCs that are generated. Pretty much RAD at its finest!) There are two links for Captivate demos that provide introductions to using the App Gen Wizard at the following link (total runtime of the two demos combined is about 23 minutes): www.adobe.com/devnet/coldfusion/articles/wizards.html (There is also a link there for a third Captivate demo of Other Wizards and Utilities that are also a part of the ColdFusion Extensions for Flex Builder 2.) fyi ... At the end of your Flex Builder 2 installation a pop-up prompted you to install the ColdFusion Extensions for Flex Builder 2. You can check if you have them installed by going to the main menu in Flex Builder 2 and going to either: 1) File -- New -- Other -- ColdFusion Wizards 2) Window -- Other Views -- ColdFusion If you do not see either of these, post back and I will dig up the instructions on how to install the Extensions. The documentation for the ColdFusion Extensions for Flex Builder 2 is in Chapter 5 of the documentation that can be download from here: http://download.macromedia.com/pub/documentation/en/flex/2/using_cf_with_flex2.pdf Lastly, Nahuel Foronda and Laura Arguello published an article last month in the ColdFusion Developer's Journal that also focuses on using mx:RemoteObject and is entitled Your First Flex Application with a ColdFusion Backend: The wow factor plus usability http://coldfusion.sys-con.com/read/256076_1.htm I have not yet had a chance to go through this article, but Nahuel and Laura do top notch work, so I expect that this article will be another great resource. Happy Flexing! g -- Brian Dunphy __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
RE: [flexcoders] FileReference (upload) session cookie problems
Yep, trouble is it's a player issue, not Flex, and involves changing some low level machinery in the mozilla plugin. :( Stace -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dimitrios Gianninas Sent: Sunday, September 17, 2006 9:17 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] FileReference (upload) session cookie problems Hi Jason, It is a bug, the file upload feature with FireFox behaves differently than under IE. My colleague Stacy Young discovered this a month or so ago and submitted and bug and many enhancement requests regarding file upload. I think this is an area that needs improvement. I'm not quite sure of the top of my head what Stacy did to resolve this problem, but I'll make sure he replies on Monday with any suggestions. Jimmy Gianninas Optimal Payments Inc -Original Message- From: flexcoders@yahoogroups.com on behalf of Jason McWilliams Sent: Sat 9/16/2006 6:41 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] FileReference (upload) session cookie problems I am getting this exact same behavior. Does anyone have an answer for this? It seems that the Flex app within Firefox will maintain one session for an Upload request and a different session for a get request back to the server. Within the same application you can do multiple posts/gets and uploads and it keeps the same session, but a different one for posts/gets and uploads. It is as if the browser has two session going on. The bad thing here is that it practically makes an upload application useless if a person has logged in via the web site. When they do an upload, the web site will not recognize the sessionid as logged in and it will not work. Also, adding a session id like jsessionid to the URL of the upload most likely will not work if the server thinks the browser is accepting cookies, which it is. Any ideas here? If this is a bug that can't be worked around, it is a real problem for us. We can't make our users only use Internet Explorer. Thanks, Jason -- 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 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] FileReference (upload) session cookie problems
A long way around would be to store the items in a database then retrieve back into the users session on the next RPC call. This may not be feasible in some cases but thats the best idea I can offer at this time. I ran into this exact problem a couple of months back. If you could please submit this issue via support it may help garner momentum in getting us a fix sooner rather than later. J Stace From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jason McWilliams Sent: Saturday, September 16, 2006 6:42 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] FileReference (upload) session cookie problems I am getting this exact same behavior. Does anyone have an answer for this? It seems that the Flex app within Firefox will maintain one session for an Upload request and a different session for a get request back to the server. Within the same application you can do multiple posts/gets and uploads and it keeps the same session, but a different one for posts/gets and uploads. It is as if the browser has two session going on. The bad thing here is that it practically makes an upload application useless if a person has logged in via the web site. When they do an upload, the web site will not recognize the sessionid as logged in and it will not work. Also, adding a session id like jsessionid to the URL of the upload most likely will not work if the server thinks the browser is accepting cookies, which it is. Any ideas here? If this is a bug that cant be worked around, it is a real problem for us. We cant make our users only use Internet Explorer. Thanks, Jason From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Richard Druce Sent: Wednesday, August 30, 2006 10:13 PM To: [EMAIL PROTECTED]ups.com Subject: [flexcoders] FileReference (upload) session cookie problems Hi, I've been playing around with Flex 2 to upload images to my web application. I'm using a cookie to maintain a session (it contains a session_id) and when I upload the file, it is behaving strangely using Flash player 9. In Internet Explorer 6.0, a new session will be created, meaning that the cookie wasn't passed with the POST and this session will be used for future GET requests. In Mozilla Firefox 1.5, a new session will be created that will be used for future file uploads, but the GET requests will use the old session still, so it looks like two client cookies are being maintained. Any help or tips to get around this problem would be greatly appreciated, I'm using ruby on rails on the server side so cookies are my preferred option for maintaining session state - passing it as a URL parameter is a little messy. thanks, Richard. contactdick@yahoo.co.uk On Yahoo!7 Photos: Unlimited free storage keep all your photos in one place! 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. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services
[flexcoders] BitmapData Transparentcy issue
Hi, guys, I have this question for you guys:create a flex actioscript project: when I set bitmap.alpha=0. on the screen, there is a gray rectangle out there.but this is not supported to be there. but, when I set alpha=1, it is gone!!! I don't understand this. in fact if I set alpha to any value between 0 and 1. it will show the gray rectangle. and for any value between 0 and 1, it looks exactly the same.the document says that when I create the bitmpaData and set the 3rd parameter to true, it means this bitmap support per-pix transparency. but, it should be totally transparent no matter what the value of the alpha value is. anyone can help? thanks. package { import flash.display.*; public class Test extends Sprite { public function Test() { stage.scaleMode = flash.display.StageScaleMode.NO_SCALEstage.align = flash.display.StageAlign.TOP_LEFT;var bitmapData:BitmapData=new BitmapData(200, 200, true, 0x00) var bitmap:Bitmap = new Bitmap(bitmapData); addChild(bitmap); bitmap.alpha = 0; } } } __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
[flexcoders] limits to function during 'callback' events?
Hello, Ive run into a problem that I hope someone can help me with. When using WebServices, Im needing to change the VIEWSTATE of the application when an operation completes, so I tried to attach result=myCompletionFunction to the operation. In the function, I simply say currentState=myNewState, and thats it. When I try to run this, Im getting errors saying some elements could not be created because theyre already parented, and a host of other random errors. My GUESS is that the result event of an operation is performed at an interrupt-like level where I dont have the same priviledges that I have during other areas of my application. Thats fine, but the problem is that I cant seem to find any documentation as to whats restricted, and when, and how to get around it. Can anyone point me to the proper documentation on why these events dont allow ViewStates? Can anyone point me to (or suggest) a solution? Best regards, Steve Steve Kellogg Peak8 Solutions 1401 14th Street Boulder, Colorado 80302, USA Fax: 303.415.2597 E-Mail: [EMAIL PROTECTED] __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
Re: [flexcoders] Loading AVM1 content into AVM2
On 9/17/06, Daniel Wabyick [EMAIL PROTECTED] wrote: Yeah, I just reproduced your bug ... Seems like the reference to _root gets screwed up on subsequent calls. What's *really* interesting ... If I comment out the cleanup in your AVMLoader class, I can *crash* Eclipse ... if (_loader!=null) { //_loader.unload(); //removeChild(_loader); //_loader=null; } Wow - yes. Certainly Firefox crashes if I comment it out; I don't know if that's the same issue you were having. I'll make sure that gets filed, too. Thanks. Note that your publish path for your FLA is incorrect. It should be bin/AVMTestMovie.swf but its bin/AVMMovie.swf. Whoops - thanks; I renamed it to make things a bit clearer just before I made the archive (of course!) Cheers, Ian -- 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] cairngorm: calling a function in a view
Hi there, I wonder what would be the best way to call a function in a view when I get a result in a command. what is the way to have a reference to the view in the command since viewlocator/viewhelper is not more recommended? Thanks, Diego. -- 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: cairngorm: calling a function in a view
Hi Diego, In general a Command and a View shouldn't know about each other. Usually, the state of a view is changed by binding to the ModelLocator; which is updated by a Command. What does your view function do? -TH --- In flexcoders@yahoogroups.com, Diego Guebel [EMAIL PROTECTED] wrote: Hi there, I wonder what would be the best way to call a function in a view when I get a result in a command. what is the way to have a reference to the view in the command since viewlocator/viewhelper is not more recommended? Thanks, Diego. -- 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: export to excel
Changing the subject a little... Based on this link, anybody find out how to get an image(printscreen or copy from paint) from clipboard?Is there a way to do it? (capture an print screen)ThanksRogerio On 9/17/06, richmcgillicuddy [EMAIL PROTECTED] wrote: Here is at least a place to start. I don' think there is a native DataGrid.SaveToExcel at this point: http://mannu.livejournal.com/348299.html Rich --- In flexcoders@yahoogroups.com, Tom Van Haver [EMAIL PROTECTED] wrote: Hi, I was wandering how one can export to Excel format out of a flex application (via web service on a service that responds with excel document ?) ? And what about layout possibilities? Thanks, Tom. -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.405 / Virus Database: 268.12.3/447 - Release Date: 13/09/2006 __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
Re: [flexcoders] Re: cairngorm: calling a function in a view
Hi Tim, this might be a silly example: I have a login form, when the command responds onFault I want to able to reset the user and password textfields. doing something like: viewRef.resetForm(); you might suggest to do something like this in the view: mx:TextInput id=username text={login.username}/ mx:TextInput id=password text={login.password}/ and something like this in the command: public function onFault(event:* = null):void { model.login.username = ; model.login.password = ; } I think this is the best practice, but I was just wondering as I'm moving from Arp where you have a view reference in the command and is really common to do things like viewRef.method() something I think it would be clearer to have a method to do this sort of thing instead of a huge model with lots of references Diego. On Mon, 18 Sep 2006 10:17:41 +1200, Tim Hoff [EMAIL PROTECTED] wrote: Hi Diego, In general a Command and a View shouldn't know about each other. Usually, the state of a view is changed by binding to the ModelLocator; which is updated by a Command. What does your view function do? -TH --- In flexcoders@yahoogroups.com, Diego Guebel [EMAIL PROTECTED] wrote: Hi there, I wonder what would be the best way to call a function in a view when I get a result in a command. what is the way to have a reference to the view in the command since viewlocator/viewhelper is not more recommended? Thanks, Diego. -- 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 -- 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: PopUpManager quick help
Hi Aaron, This code will center the popup relative to the popups's parent. In your case cn. PopUpManager.centerPopUp(asm); -TH --- In flexcoders@yahoogroups.com, aaron smith [EMAIL PROTECTED] wrote: I'm trying to understand the popup manager better, i created a quick test just to get it working and test it out.. most works fine but having problems understanding how to center the popup.. here is my code: MXML::: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=horizontal creationComplete=initApp() mx:Script import Startup; private function initApp():void { var st:Startup = new Startup(); } /mx:Script /mx:Application Startup.as::: package { import mx.managers.PopUpManager; import mx.containers.Canvas; import mx.core.Application; import mx.containers.TitleWindow; import AddSubscriptionModal; public class Startup { public function Startup() { var cn:Canvas = new Canvas(); cn.percentWidth = 100; cn.percentHeight = 100; Application.application.addChild( cn ); var asm:AddSubscriptionModal = PopUpManager.createPopUp ( cn, AddSubscriptionModal, true ) as AddSubscriptionModal; } } } AddSubscriptionModal.as::: package { import mx.containers.TitleWindow; import mx.managers.PopUpManager; import mx.events.CloseEvent; public class AddSubscriptionModal extends TitleWindow { public function AddSubscriptionModal() { doInit(); addEventListener( CloseEvent.CLOSE, handleCloseModal ); } private function doInit():void { title = test; showCloseButton = true; width = 400; height = 200; //PopUpManager.centerPopUp( this ); //this causes an run-time error, not sure why?? } private function handleCloseModal( ce:CloseEvent ):void { PopUpManager.removePopUp( this ); } } } I am wondering if giving the createPopUp method the canvas as parent is the problem? can someone glance at this quick and see if you can help? or does someone have an example already? thanks all! smith -- 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: Posting patched versions of framework code to this list?
Hi, The section in the license that talks about this is 2.1.1, you can read it in its ugly detail here: http://www.adobe.com/products/eulas/pdfs/AdobeFlexBuilder2_0-FlexCharting2_0.pdf. The bottom line is: yes you can modify, yes you can publish your modifications, and yes you can even publish them here (or on your blog). Someone asked about how you can get those patches to us for our consideration. The best way is probably to submit an entry via the wish form (http://www.adobe.com/go/wish) and as you describe the enhancement youre requesting mention that you have code in there for us to look at. As appropriate someone will contact you to request the code. I know that the wishlist system does seem somewhat closed but I think that weve actually been very good about being responsive to customers as weve been informed of problems. We may not be able to respond to every single one. I think the most common time when we may not respond is if what you report is a duplicate of something we are already tracking, though even then I believe that we try to send some sort of response. If youve been submitting entries via the wish form and havent received any responses let me know (off-list) and I can look into it. Thanks, Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Louis Ryan Sent: Sunday, September 17, 2006 6:44 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Posting patched versions of framework code to this list? Ive posted in the spirit of improving flex so find it here with a sample to play with... http://whittlin.blogspot.com/ --- In [EMAIL PROTECTED]ups.com, Louis Ryan louiscryan@... wrote: I have modified the DataGrid class to allow columns to be locked on the right. I posted this as an enhancement request to Adobe but its not so easy to include alot of text in their suggestion area so I didnt include the sample code I had for this. Is it OK to post modified versions of the Flex framework code here? If not is there a better way to send suggested code/patches to Adobe for review? Thanks Louis Ryan __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
Re: [flexcoders] Re: Posting patched versions of framework code to this list?
Matt, My apologies, indeed license does not prohibit modifications, just new classes in Adobe namespace - very handy for patches and enhancements. I also think that Louis idea of community driven features showcasehas it's place. It might be beneficial to have dedicated site were people can post their enhancements to the standard controls along with the code. While not quite components on their own merit for Flex Exchange and more complex then code snippets in JAM, they can be used to showcase enhancements and open source code. I have made quite a few of such controls in the past andcould not reallyfind place to post them. I will set up site with some of them this week and would welcome anyone willing to showcase their controls to drop me a line off-line.The only limitations will be no JMS/FMS on the server - usual Tomcat/MySQL deal. Thank you, Anatole Tartakovsky www.faratasystems.com On 9/18/06, Matt Chotin [EMAIL PROTECTED] wrote: Hi, The section in the license that talks about this is 2.1.1, you can read it in its ugly detail here: http://www.adobe.com/products/eulas/pdfs/AdobeFlexBuilder2_0-FlexCharting2_0.pdf. The bottom line is: yes you can modify, yes you can publish your modifications, and yes you can even publish them here (or on your blog). Someone asked about how you can get those patches to us for our consideration. The best way is probably to submit an entry via the wish form ( http://www.adobe.com/go/wish) and as you describe the enhancement you're requesting mention that you have code in there for us to look at. As appropriate someone will contact you to request the code. I know that the wishlist system does seem somewhat closed but I think that we've actually been very good about being responsive to customers as we've been informed of problems. We may not be able to respond to every single one. I think the most common time when we may not respond is if what you report is a duplicate of something we are already tracking, though even then I believe that we try to send some sort of response. If you've been submitting entries via the wish form and haven't received any responses let me know (off-list) and I can look into it. Thanks, Matt From: [EMAIL PROTECTED] ups.com [mailto:flexcoders@ yahoogroups.com] On Behalf Of Louis RyanSent: Sunday, September 17, 2006 6:44 PM To: [EMAIL PROTECTED]ups.comSubject: [flexcoders] Re: Posting patched versions of framework code to this list? Ive posted in the spirit of improving flex so find it here with asample to play with... http://whittlin.blogspot.com/--- In flexcoders@yahoogroups.com, Louis Ryan [EMAIL PROTECTED] wrote: I have modified the DataGrid class to allow columns to be locked on the right. I posted this as an enhancement request to Adobe but its not so easy to include alot of text in their suggestion area so I didnt include the sample code I had for this. Is it OK to post modified versions of the Flex framework code here? If not is there a better way to send suggested code/patches to Adobe for review? Thanks Louis Ryan __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
Re: [flexcoders] Re: PopUpManager quick help
doesnt seem to work correctly. It actually puts the popup in the negative window space. (see attachment)I wonder why it would do that. is it something to do with canvas / percentWidth / percentHeight. i've event tried commenting that out and it still only puts it at 0,0. On 9/18/06, Tim Hoff [EMAIL PROTECTED] wrote: Hi Aaron, This code will center the popup relative to the popups's parent. In your case cn. PopUpManager.centerPopUp(asm); -TH --- In flexcoders@yahoogroups.com, aaron smith [EMAIL PROTECTED] wrote: I'm trying to understand the popup manager better, i created a quick test just to get it working and test it out.. most works fine but having problems understanding how to center the popup.. here is my code: MXML::: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml layout=horizontal creationComplete=initApp() mx:Script import Startup; private function initApp():void { var st:Startup = new Startup(); } /mx:Script /mx:Application Startup.as::: package { import mx.managers.PopUpManager; import mx.containers.Canvas; import mx.core.Application; import mx.containers.TitleWindow; import AddSubscriptionModal; public class Startup { public function Startup() { var cn:Canvas = new Canvas(); cn.percentWidth = 100; cn.percentHeight = 100; Application.application.addChild( cn ); var asm:AddSubscriptionModal = PopUpManager.createPopUp ( cn, AddSubscriptionModal, true ) as AddSubscriptionModal; } } } AddSubscriptionModal.as::: package { import mx.containers.TitleWindow; import mx.managers.PopUpManager; import mx.events.CloseEvent; public class AddSubscriptionModal extends TitleWindow { public function AddSubscriptionModal() { doInit(); addEventListener( CloseEvent.CLOSE, handleCloseModal ); } private function doInit():void { title = test; showCloseButton = true; width = 400; height = 200; //PopUpManager.centerPopUp( this ); //this causes an run-time error, not sure why?? } private function handleCloseModal( ce:CloseEvent ):void { PopUpManager.removePopUp( this ); } } } I am wondering if giving the createPopUp method the canvas as parent is the problem? can someone glance at this quick and see if you can help? or does someone have an example already? thanks all! smith __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___ attachment: popup_centering.jpg
Re: [flexcoders] Re: Posting patched versions of framework code to this list?
Hi Matt, Some feedback. I agree that you guys have been very responsive regarding the wishlist, but I would definitely be down for a more open bug tracking system for released codebases such as the Flex 2 framework code. I know that is by no means a small initiative, but it would be very cool. Thanks, -Daniel Matt Chotin wrote: Hi, The section in the license that talks about this is 2.1.1, you can read it in its ugly detail here: http://www.adobe.com/products/eulas/pdfs/AdobeFlexBuilder2_0-FlexCharting2_0.pdf http://www.adobe.com/products/eulas/pdfs/AdobeFlexBuilder2_0-FlexCharting2_0.pdf. The bottom line is: yes you can modify, yes you can publish your modifications, and yes you can even publish them here (or on your blog). Someone asked about how you can get those patches to us for our consideration. The best way is probably to submit an entry via the wish form (http://www.adobe.com/go/wish http://www.adobe.com/go/wish) and as you describe the enhancement you’re requesting mention that you have code in there for us to look at. As appropriate someone will contact you to request the code. I know that the wishlist system does seem somewhat closed but I think that we’ve actually been very good about being responsive to customers as we’ve been informed of problems. We may not be able to respond to every single one. I think the most common time when we may not respond is if what you report is a duplicate of something we are already tracking, though even then I believe that we try to send some sort of response. If you’ve been submitting entries via the wish form and haven’t received any responses let me know (off-list) and I can look into it. Thanks, Matt *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Louis Ryan *Sent:* Sunday, September 17, 2006 6:44 PM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] Re: Posting patched versions of framework code to this list? Ive posted in the spirit of improving flex so find it here with a sample to play with... http://whittlin.blogspot.com/ http://whittlin.blogspot.com/ --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com, Louis Ryan [EMAIL PROTECTED] wrote: I have modified the DataGrid class to allow columns to be locked on the right. I posted this as an enhancement request to Adobe but its not so easy to include alot of text in their suggestion area so I didnt include the sample code I had for this. Is it OK to post modified versions of the Flex framework code here? If not is there a better way to send suggested code/patches to Adobe for review? Thanks Louis Ryan -- 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] BindUtils.bindSetter()
Hey Aaron,Give this a try:?xml version=1.0 encoding=utf-8?mx:Application xmlns:mx=http://www.adobe.com/2006/mxml layout=absolute creationComplete=init() mx:Script ![CDATA[ import mx.binding.utils.BindingUtils; [Bindable] public var foo:String = hi; public function init():void { BindingUtils.bindSetter( handleChange, this, foo ); }public function handleChange( str:String ):void { trace( handleChange( + str + ) ); } ]]/mx:Scriptmx:Button label=go click=foo='value of foo changed'//mx:ApplicationHTH,Tom On 9/17/06, aaron smith [EMAIL PROTECTED] wrote: does anyone have a quick example of how to use the BindUtils.bindSetter method. i'm trying to get it working but not having any luck.. thanks. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___