[flexcoders] adding events to a new ClassFactory button
I have a situtation where I am adding a button to a dataGridColumn using a ClassFactory. I know how to set properties to my buttons, but I want to add an event, either by and event listener or assigning a value to the click property. I've attempted a coupled of ways, but with no luck. Any one know what I'm missing? Example: = var btnThisButton:ClassFactory = new ClassFactory(Button); btnThisButton.properties = { label :harry,click:someFunction }; = -- 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] adding events to a new ClassFactory button
David, You need custom class factory extending ClassFactory - then you can do anything - runtime styles, events, etc. You would also need to extend datagridcolumn object for declarative (MXML defintion of the extended attributes. Here is the closest example I have - instead of event it associates runtime styles and properties with functions: http://flexblog.faratasystems.com/performance/grid_performance2.html Here are bits and pieces on the topic http://flexblog.faratasystems.com/?p=96 http://flexblog.faratasystems.com/?p=93 http://flexblog.faratasystems.com/?p=91 The Web2.0 magazine starts printing our chapter on datagrid techniques this month - I believe the part that talks on extending ClassFactory is in the first or second part of the article. Sincerely, Anatole On 10/14/06, David Harris [EMAIL PROTECTED] wrote: I have a situtation where I am adding a button to a dataGridColumnusing a ClassFactory.I know how to set properties to my buttons, but I want to add anevent, either by and event listener or assigning a value to the click property.I've attempted a coupled of ways, but with no luck.Any one know what I'm missing?Example:=var btnThisButton:ClassFactory = new ClassFactory(Button); btnThisButton.properties = { label :harry,click:someFunction };= __._,_.___ -- 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] Why does my custom event break regular events
Hi Bruce, i can't reproduce the problem. How are you using the CustomEvent? This is my testcode: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical creationComplete=onCreationComplete() mx:Script ![CDATA[ import event.CustomEvent; private function onCreationComplete() : void { trace(ApplicationEntry::onCreationComplete + new CustomEvent(test)); } ]] /mx:Script /mx:Application Cheers, Ralf On 10/13/06, boy_trike [EMAIL PROTECTED] wrote: I have found this simple framework works very well for me. /* Riawave - pattern-based best practices for flex 2 development */ In the fact that it solves two main problems for me, sharing data between all components in the application and intercomponent communication in a lightweight form. One of the features which I have not (can not!) use is the CustomEvent class that I am including below. Whenever I import this into an component that use a event property, i get the following error: Access of undefined property ... in package event. /* Riawave - pattern-based best practices for flex 2 development Contact:[EMAIL PROTECTED] Blog: http://www.twmug.com All rights reserved, 2006 Richtechmedia.com */ package event { import flash.events.Event; public class CustomEvent extends Event{ public var data:* = default data; public var msg:* = default msg; //type, data, arga public function CustomEvent(type:String, ... args){ super(type, true, true); if(args){ this.data = ( args[0] != undefined ) ? args[0] : trace(); this.msg = ( args[1] != undefined ) ? args[1] : trace(); } } } } Thanks Bruce -- 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 -- Ralf Bokelberg [EMAIL PROTECTED] Flex Flash Consultant based in Cologne/Germany -- 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] Now Shipping: ActionScript 3.0 Cookbo ok - Solutions for Flash Platform and Flex Application Dev elopers
Just a heads-up for anyone that has pre-ordered this book from Amazon UK. You can save yourself about eight pounds by cancelling the order then re-ordering. the price has dropped! I've decided to go for an amazon re-seller - I suspect they may get it delivered sooner than Amazon UK gets the books. Paul __._,_.___ -- 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] cairngorm2 model - viewstack
Hi I have successfully set up my application to cairngorm 2 model. I need to know how to access a viewstack in my command class onResult method. Pl advise asap. Kind regards Husain -- 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: Flex 2.0 And .net webservices Dataset retrieving problem
Hi Tim, Thanks for ur informative words, I have been working with Flash Remoting with .net but adobe still amaze me why not Remote objcts for .netcould u tell me some links about working with Flourine and Flex 2. Tim Hoff [EMAIL PROTECTED] wrote:Hi Sajid, If you have a choice, I would definitely recommend that you use remoteObjects with Adobe products. Flex was built with tight integration to Cold Fusion and Flex Data Services. Understandably, working with these products will create fewer headaches. Some companies and developers, although, don't have a choice of the backend and/or middle tier; because of the investment in IT infrastructure. Fortunately, Flex accommodates other frameworks through webservices and HTTPService. If you are having trouble figuring out how to use webservices yourself, you can always look into using WebOrb or Flourine. These integrated products offer the use of remoteObjects with .Net. They also offer examples how to get you connected. Either way, you do have options that work. The help docs can help you considerably in this area. -TH__ Tim Hoff Cynergy Systems, Inc. http://www.cynergysystems.com Office: 866-CYNERGY--- In [EMAIL PROTECTED]ups.com, Sajid Hussain enchanter_saj@... wrote: Hi ! as few days experince with flex and .net ..I am thinking to start flex with php or with JavaRemote Objects ,and infact as i think .net will be more strong with its new verssion of Interface XAML ...but i still misss Macromediaa word from my Start Menu :D Matias Nicolas Sommi [EMAIL PROTECTED]. wrote: He!, the first problem was "metabase permission" on the iis, and I download a microsoft tool to fix it (aspnet_iisreg or something like that). I run the command for give to the iis to read acces to the metabase. After this, I've got an extrange error, it's like the iis was reading an extrange symbol in the asmx file. But after reinit, the problem was fixed :S... The only thing that I don't know is: when i pass more than one parameter from flex to a webservice, the Array class in flex separate the arguments with comma, and NET receive it in only one string comma separated... this is the normal way or something was wrong? Thanks. If someone has problems with asp webservice/IIS please ask me, if I can, I help. Bye. 2006/10/12, Sajid Hussain enchanter_saj@... : Could u telll ...what was the problem ?? Matias Nicolas Sommi [EMAIL PROTECTED]. wrote: Hello, I fix the IIS configuration problem. Now I can consume NET webservice without problem. Thanks to all for the help. PD: for the IIS, isn't related to flex, and for that reason I marked with "off topic".2006/10/11, Tim Hoff [EMAIL PROTECTED]: Hmmm, something about glass houses comes to mind. Matias, it's far more useful to make constructive comments. Concerning IIS configuration, there are plenty of resources online that can help you with this. I suggest Google. However, it sounds like your local path to the .Net framwork might be different than the framework path on the server. That's all I can offer since this really isn't related to Flex. Cheers, Tim Hoff --- In [EMAIL PROTECTED]ups.com, "Matias Nicolas Sommi" nicosommi@ wrote: Tim, it's a joke, please don't hungry! I know that its only a simple code, and the best practices don't match with the article purpuoses. 2006/10/11, Matias Nicolas Sommi nicosommi@: In this page say "flex and NET don't play well together"... after I readed the "ASP NET" code, I think that this flex programmer (who write the doc) don't play well with .NET... :PPD: I don't play very well with the english, sorry. -- Matías Nicolás Sommi 2006/10/11, Tim Hoff TimHoff@: Hi Sajid, Datasets returned from .Net aren't natively recognized by Flex. Tosolve this, you can either use a stored procedure with FOR XML AUTO, or castyour dataset to a class. Here is a casting example: http://www.cflex.net/showFileDetails.cfm? ObjectID=418Object=FileChannelID=1 -TH P.S. Yes, WebOrb allows you to return datasets.--- In [EMAIL PROTECTED]ups.com, Sajid Hussain enchanter_saj@ wrote: Hi to all . I am new to flex Development ,I am stuck with following concepts I have one webservice method who is returning DataSet ,What will bethe best way to retrive Datafrom it I m getting player parsing error Is necceasry to get Data as Custom Objects from .net to flex I saw one example whos is getting data ftom .net but giving customs toObjects .. How we will bind Custom Objects attributes with Flex ?? Is there any way to get .net DataTable to Flex plz suggest me help withour weborb... Please do reply .. Thanks __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail. yahoo.com --
[flexcoders] Re: Problems with styles of type Class (embedded assets)
ClassReference(null) So this is the counterpart of Embed for programmatic skins. Thanks a lot, Gordon! The reference on LiveDocs: http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=0817.html -- 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] DataGrid change events
Didn't get a reply to this, however I have solved my problem by manually dispatching an event from the datagrid after I set selectedIndices. mx:Script public function captureDatagridKey(event:KeyboardEvent):void{var a:Array, i:Number;if (event.ctrlKey event.keyCode == 65){var num:Number = event.target.dataProvider.length as Number;a = [];for (i=0;inum;i++) a[i] = i;event.target.selectedIndices = a; event.target.dispatchEvent(new Event("change"));} } /mx:Script Cheers, Adam - Original Message - From: Adam Royle To: flexcoders@yahoogroups.com Sent: Wednesday, October 11, 2006 11:31 AM Subject: [flexcoders] DataGrid change events Hi all, I have implemented a "select-all" functionality for my datagrid when the user presses Ctrl-A. It works, however the change event is not being dispatched when I manually set the selectedIndices, therefore my listeners a not being notified the selection has changed. Is this a bug, or is there a better way to implement something like this? mx:Script public function captureDatagridKey(event:KeyboardEvent):void{var a:Array, i:Number;if (event.ctrlKey event.keyCode == 65){var num:Number = event.target.dataProvider.length as Number;a = [];for (i=0;inum;i++) a[i] = i;event.target.selectedIndices = a;} } /mx:Script Cheers, Adam __._,_.___ -- 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] How to invalidate ViewStack Pages
Hi, I've got a ViewStack that I navigate around using selectedIndex. It works fine the first time I go to a page, but when I leave and return to that same page, I need to have all the TextInput fields re-initialized. It doesn't seem to do that. Returning to a previously selected index displays the data that was there when I left that page - not the new data I have. Is there a way to force a child page to create or refresh its different fields? Thanks, jelentz -- 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] Flex / CF Session Variables
Hello --- I have a CF application that will include some Flex pages within it. Is there any way that the flex application can have access to the current CF session variable scope? Either it is obvious and I don't see it, or it isn't possible. I appreciate any help and patience with a naive question... Larry Larson NYC -- 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: Text Area question
I have tried item.text = item.text.toUpperCase().and implemented on textArea component but is seems to change all previous typing to upperCase and that wasn't my need.I need to be able to change case when I type new line.Maybe the other solution will help but I hope that there is some other easier way to do that. If You have some idea please type it. --- In flexcoders@yahoogroups.com, Karl Johnson [EMAIL PROTECTED] wrote: You probably can not turn on CAPS Lock from your flex app, probably a bit of a security risk. I doubt the flash player has access and/or allows flash apps to get access to do that (correct me if I am wrong). If you need to ensure that everything they type is in all CAPS, then just set the text value like this: item.text = item.text.toUpperCase(). Or another possible way is to listen on the keypress and convert it as they press. I guess you could also listen on the change event and convert it then, but it might be a bit laggy with fast typing. Hope that helps some, feel free to reply back if you need more help with it. Karl Cynergy Systems, Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of brankosli Sent: Friday, October 13, 2006 2:39 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Text Area question I will be more that thankful if someone could solve my problem.I'm working with textArea component and I have 2 questions: I need to know if there is any possibility to fix left and right margin in textArea component? And also I need to know if there is possibility to turn on and off capsLock by coding not by pressing keyboard? -- 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: Text Area question
Thanks man I have tried that class (flash.ui.Keyboard) and there is capsLock public Property but I can't force capsLock press.Here is my code: import flash.ui.Keyboard; var test:Keyboard = new Keyboard(); test.capsLock = true; I'm getting error:Access to possibly undefined property capsLock if You see any error or You can give me any instruction that will be nice --- In flexcoders@yahoogroups.com, camlinaeizerous [EMAIL PROTECTED] wrote: To set the left and right margins you can use the paddingLeft and paddingRight properties. For the capslock question you can use keyboardEvents to detect certain key but i'm not sure how to force an emulated keypress, there is a flash.ui.Keyboard class that may be able to do what you want but I havn't played with it at all. --- In flexcoders@yahoogroups.com, brankosli brankosli@ wrote: I will be more that thankful if someone could solve my problem.I'm working with textArea component and I have 2 questions: I need to know if there is any possibility to fix left and right margin in textArea component? And also I need to know if there is possibility to turn on and off capsLock by coding not by pressing keyboard? -- 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] Where to Download Eclipse 3.1.x?
You can download Eclipse 3.1.2 from here: http://archive.eclipse.org/eclipse/downloads/drops/R-3.1.2-200601181600/index.php I recommend the SDK version (top of page), because it has the JDT already contained within it. Once you have that installed and working, then install the FlexBuilder plug-in and thats all you need. Sorry dont know about JBossIDE, dont use it. Hope that helps! Dimitrios Gianninas Optimal Payments Inc. -Original Message- From: flexcoders@yahoogroups.com on behalf of Ronald Kinion Sent: Thu 10/12/2006 8:07 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Where to Download Eclipse 3.1.x? Excellent. Downloading it now. That's one problem solved... Anyone have other suggestions on plugins and team setup? Thanks, -- Ronald Kinion Phone: 253-205-3494 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] www.zones.com http://www.zones.com/ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Aurélien BLOND Sent: Thursday, October 12, 2006 3:31 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Where to Download Eclipse 3.1.x? You can find old Eclipse releases on this web site: http://archive.eclipse.org http://archive.eclipse.org/ -- Aurélien BLOND De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Ronald Kinion Envoyé : jeudi 12 octobre 2006 23:30 À : flexcoders@yahoogroups.com Objet : [flexcoders] Where to Download Eclipse 3.1.x? [...] After pulling my hair out for a while I've figured out I need to do one of two things: Uninstall FB2, download Eclipse 3.1.2, then reinstall with FB2 as a plugin; or Download the JDT tools plugin into the standalone. Searching the archives seems to indicate most people think the first option is the way to go, but my question then is, where do I download it? Adobe doesn't provide any links and going to Eclipse.org I was only able to find 3.2.x versions, which the flex2 system requirements clearly state is not supported. I did find a JbossIDE which purports to have Eclipse 3.1.2, but I'm a little leery of getting it after the previous experience. Does anyone have a useful link or recommendations? Or should I download the JDT stuff into FB2? Would that just be all the plugins listed when I go to 'Help-Software Updates-Find and Install...' and select the Eclipse.org update site? [...] -- Ronald Kinion Senior Web Developer, MIS Zones, Inc. 1102 15th Street SW, Suite 102 Auburn, WA 98001-6509 Phone: 253-205-3494 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] www.zones.com http://www.zones.com/ We help lower your cost of IT procurement. Recipient of Microsoft Operational Excellence Award for 2006. IBM Premier Business Partner. Lenovo Premier Business Partner. HP Platinum Business Partner. Microsoft Large Account Reseller. 2006 Minority Supplier of the Year, awarded by the Northwest Minority Business Council. Zones is a certified Minority Business Enterprise. -- 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
RE: [flexcoders] Acceptance testing
Hi, There are 2 things available. Well 2 different things :) 1) FlexUnit - this allows u to write test cases a la JUnit for your AS3 classes (http://labs.adobe.com/wiki/index.php/ActionScript_3:resources:apis:libraries) 2) Mercury QuickTest Pro 9+ supports automated testing of applications built with Flex. This is type of thing where u record action, play them back and do some validation. For #2, you will have to contact Adobe about further info, or perhaps some Adobe employee can reply to this thread with further info. Dimitrios Gianninas Optimal Payments Inc. -Original Message- From: flexcoders@yahoogroups.com on behalf of Allen Riddle Sent: Fri 10/13/2006 12:24 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Acceptance testing Does anybody know of any functional or acceptance testing tools for Flex? I want to write acceptance testing scripts for my Flex app. Allen Riddle Sofware Development x3217 -- 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/ winmail.dat
RE: [flexcoders] cairngorm2 model - viewstack
I assume you want to change the selectedIndex property of the ViewStack? IF yes, here is how you do it: 1) Add a variable to the ModelLocator class ModelLocator { ... public var vsIndex:int; } 2) Bind it to your ViewStack mx:ViewStack selectedIndex={ModelLocator.vsIndex} 3) Update it in the command ModelLocator.vsIndex = 2; // or some variable here Dimitrios Gianninas Optimal Payments Inc. -Original Message- From: flexcoders@yahoogroups.com on behalf of relisanhard52 Sent: Fri 10/13/2006 11:31 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] cairngorm2 model - viewstack Hi I have successfully set up my application to cairngorm 2 model. I need to know how to access a viewstack in my command class onResult method. Pl advise asap. Kind regards Husain -- 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/ winmail.dat
[flexcoders] Re: Horizontal alignment of inline checkbox in datagrid component
I finally got around to testing your suggestion. mx:DataGridColumn editable="false" width="65" headerText="Member" textAlign="center" mx:itemRenderer mx:Component mx:HBox mx:CheckBox selected="{data.member}" change="data.member=selected" / /mx:HBox /mx:Component /mx:itemRenderer . Theinline data.member works well but you have to switch "editable" property off, and update the listitem data manually via change event. Unfortunately, checkbox population fails the moment you wrap an HBOX around the checkbox. Works great without the HBOX. Any ideas? --- In flexcoders@yahoogroups.com, "haravallabhan" [EMAIL PROTECTED] wrote: Iam just wondering How a Layout component has some affect on data?. It works for me.. selected = {data.ColumnDataField} shoue populate the value.--- In flexcoders@yahoogroups.com, "Iko Knyphausen" iko@ wrote: I tried that, and indeed it will help align the checkbox, unfortunately the data binding stops working. In other words, the moment you have an hbox around the checkbox, the checkbox does not show as "checked" in those rows that have "true" as data value.Hi, You can use HBox component or anoother layout compnent to say, inside the itemRenderer likemx:DataGridColumn width="65" headerText="Member" dataField="member" textAlign="center" mx:itemRenderer mx:Component HBox mx:CheckBox labelPlacement="left"/ /HBox /mx:Component /mx:itemRenderer /mx:DataGridColumnthanks.--- In [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com, "iko_knyphausen" iko@ wrote:Hi, I am trying to use checkboxes in my datagrid, and everything works fine, except I cannot vertically align the "bugger". I played with textAlign="" horizontalCenter ="" paddingLeft ="" left="" etc. all the usual style candidates. The only thing that will make a difference, is the labelPlacement attrribute. The values "top" and "bottom" will center the checkbox nicely, unfortunately they will also add space for the label (either above or below) even if the label attribute is empty. See code below. Help is greatly appreciated... Thx mx:DataGridColumn width="65" headerText="Member" dataField="member" textAlign="center"mx:itemRenderer mx:Component mx:CheckBox labelPlacement="left"/ /mx:Component /mx:itemRenderer /mx:DataGridColumn __._,_.___ -- 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] How to invalidate ViewStack Pages
Use the onShow() event of that component (I assume u are using a Box or Panel or Canvas, etc...) to reset its data. Dimitrios Gianninas Optimal Payments Inc. -Original Message- From: flexcoders@yahoogroups.com on behalf of jlentz2112 Sent: Fri 10/13/2006 11:16 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] How to invalidate ViewStack Pages Hi, I've got a ViewStack that I navigate around using selectedIndex. It works fine the first time I go to a page, but when I leave and return to that same page, I need to have all the TextInput fields re-initialized. It doesn't seem to do that. Returning to a previously selected index displays the data that was there when I left that page - not the new data I have. Is there a way to force a child page to create or refresh its different fields? Thanks, jelentz -- 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/ winmail.dat
RE: [flexcoders] Re: sprites in MXML
Ah, that makes sense. Thanks! fl, does this help you? You can always add a UIComponent in MXML mx:UIComponent id="targetArea" and then add Children to it... Derek -Original Message-From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]On Behalf Of Daniel FreimanSent: Tuesday, October 10, 2006 10:01 AMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Re: sprites in MXML Containers require all children to be a UIComponent (or maybe it's implement IUIComponent). I think all other objects that can have children require chlidren to be DisplayObjects. So you can add a DisplayObject as a child to a Sprite, UIComponent, DisplayObjectContainer, etc. I mostly work with Actionscript so I don't know about puting Sprites in MXML, but if you can, the Sprite would need to be the child of a UIComponent. - Dan On 10/10/06, flexlearner flexlearner@yahoo.co.in wrote: No not in canvas only..My general question is if at all we have to use sprites in our mxmlfile..how should we do it.. what will the approachRegards,fl--- In [EMAIL PROTECTED]ups.com, "flex-guitar" [EMAIL PROTECTED] wrote: I've had trouble with this as well. I ended up putting aUIComponent in the Canvas and adding children to it instead of to the Canvas. I don't know why Canvas throws an error, since it is a subclass of UIComponent, but it does. HTH, Derek -Original Message- From: [EMAIL PROTECTED]ups.com[mailto:[EMAIL PROTECTED]ups.com]On Behalf Of newLearner learner Sent: Tuesday, October 10, 2006 8:10 AM To: [EMAIL PROTECTED]ups.com Subject: [flexcoders] sprites in MXML Hello , I have a very basic question Please can somebody tell me how should I use sprites in my mxmlfile i get errors everytime i try to something like:Canvas_instance.addChild(spriteInstace) Please tell me the way out -- Find out what India is talking about on - Yahoo! Answers India Send FREE SMS to your friend's mobile from Yahoo! MessengerVersion 8. Get it NOW __ NOD32 1.1796 (20061010) Information __ This message was checked by NOD32 antivirus system. http://www.eset.com--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 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: flexcoders-digest@yahoogroups.com mailto:flexcoders-fullfeat[EMAIL PROTECTED].com* To unsubscribe from this group, send an email to: flexcoders-unsubscr[EMAIL PROTECTED]com* Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ __ NOD32 1.1796 (20061010) Information __This message was checked by NOD32 antivirus system.http://www.eset.com __._,_.___ -- 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: Format a datatip.
yes, you can. It might help if you gave some sample code...make sure to include enough context for me to know where the code is being called from. Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jnewportSent: Tuesday, October 10, 2006 6:17 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Re: Format a datatip. Can you get direct access of horizontalAxis? No matter what I try itdoes not like horizontalAxis. Maybe giving it an id and directlyaccessing it by reference?J--- In [EMAIL PROTECTED]ups.com, "Ely Greenfield" [EMAIL PROTECTED]. wrote: Yup. If you don't specify an x value, it assumes the item's ordinal position in the data is its x value. The Cateogry Axis then lines up the value N to the nth category in _its_ data. The Axis objects all implement a function called formatForScreen(). Pass it a value (i.e., like the value in xValue) and it will return what it considers to be an appropriate string to represent that value on string (in this case, the category name). So get access to the horizontal axis, and call formatForScreen on it. Ely. From: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] On Behalf Of jnewport Sent: Friday, October 06, 2006 2:12 PM To: [EMAIL PROTECTED]ups.com Subject: [flexcoders] Re: Format a datatip. Ok, I have the revenue part working and formatting it. Thank you. But, I cannot get the MONTH to show. Month is my categoryField. categoryField="month:" Below is what I have for my formatDataTip, but I cannot seem to find the MONTH. I have tried useing hitData.element and hitData.item. I thought it would be LineSeriesItem(hitData.chartItem).xValue, but that just gives me 0, 1, 2, n (guessing it is the position of data in the ArrayCollection I am using to populate my graph. Any suggestions? private function formatDataTip(hitData:HitData):String{ //var months:String = LineSeries(hitData.element);//Not working var name:String = LineSeries(hitData.element).yField; var revenue:Object = LineSeriesItem(hitData.chartItem).yValue; return "b"+name+"/bbr"+months+"br"+cf.format(revenue); } --- In [EMAIL PROTECTED]ups.com mailto:flexcoders%40yahoogroups.com , "Ely Greenfield" egreenfi@ wrote: Sorry...try: LineSeriesItem(hitData.chartItem).y.value; Ely. From: [EMAIL PROTECTED]ups.com mailto:flexcoders%40yahoogroups.com [mailto:[EMAIL PROTECTED]ups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of jnewport Sent: Tuesday, October 03, 2006 12:47 PM To: [EMAIL PROTECTED]ups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] Re: Format a datatip. This throws an error."Cannot convert Object@ to mx.chart.series.items.LineSeriesItem" /Start of datatipcode/// private function formatDataTip(hitData:HitData):String{ var months:String = LineSeriesItem(hitData.item).yValue; var name:String = hitData.item.toString(); var revenue:Number = hitData.item.revenue; return "b"+name+"/bbr"+months+"br"+cf.format(revenue); }//End datatip codeAny suggestions? --- In [EMAIL PROTECTED]ups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com , "Ely Greenfield" egreenfi@ wrote: LineSeriesItem(hitData.item).yValue Ely. From: [EMAIL PROTECTED]ups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:[EMAIL PROTECTED]ups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of jnewport Sent: Friday, September 29, 2006 12:35 PM To: [EMAIL PROTECTED]ups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] Re: Format a datatip. I tried that, but didn't work correctly. LineSeries.(hitData.element).yField. which gave me the State name, but it won't give me the amount, which is what I am trying to get to do format. I have been trying to use chartItem, but no success. Flex can get me all the data on its own with the showDataTips=true, so it knows how to get the data out of my ArrayCollection. I just want to be able to get at what Flex knows. I need to get at what showDataTips is doing when set to True. Anyone know what it is? --- In [EMAIL PROTECTED]ups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com , "Mehdi, Agha" Agha.Mehdi@ wrote: J,Try event.hitData.element.yField/.xField Agha MehdiIDT - eBusiness Program Manager-Original Message-From: [EMAIL PROTECTED]ups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:[EMAIL
Re: [flexcoders] WebOrb for Rails
Clint, as I said I don't know what is going on in the .NET world with Adobe. I'm also curious how you are so sure of yourself when you say they aren't? As for overlap, how about the Java implementation? Overlap there? Also, did Midnight tell you/the community they wouldn't do a language that Adobe has already done? In other words, did they say they would stifle WebORB for the sake of not competing with Adobe? On 10/9/06, Clint Modien [EMAIL PROTECTED] wrote: Ahh man, you're off here but it is nothing but an opinion from both of us.Your opinions are based on speculation. Mine are based on facts. Competition helps the technology thrive. A lot of people in the community stated the Adobe merger took the competition out of the market due to overlapping technology (Fireworks-Photoshop, DW-Go Live, etc). Now, unless WebORB is said to NEVER overlap with the technologies Adobe is implementing then I will understand. If not, there is overlap. Oh yeah, you might want to change .NET to YES and YES according to Allen. I don't know if Adobe is working on one or not but I don't see why they wouldn't. There is no overlap. WebORB is doing this on purpose to stay out ofAdobe's space. Adobe is not doing a .NET version... Allen ismistaken. So, a question for you: if you build a product and someone else builds the same product, is that competition? I say yes. Is Fluourine a competitor to Adobe's $900 (or whatever it is) .NET implementation? Uhyeah. :-) Adobe doesn't have a .NET implementation and is not creating one. Disclaimer: I'm not here to argue. From a business point of view, I just don't agree with you Clint and, seemingly, Adobe doesn't either (based on your comment about Adobe being uncomfortable). The main premise for your argument is that Adobe is creating a .NETimplementation. They are not. WebORB is not competing in the samespace as Adobe's FDS. It complements the same space. On 10/5/06, Clint Modien [EMAIL PROTECTED] wrote: How is WebORB a competitor to FDS in the AMF3 space? Backends FDS WEBORB Java Yes No CF Yes No .NET No Yes Ruby No Yes PHP No Yes By promoting WebORB it would be good for the community it would be good for Flex. I would rather have flex support 5 remoting solutions instead of 2. Thinking of WebORB as competition has created the scenerio where Adobe is uncomfortable with promoting WebORB. Stop thinking this way. It's supressing the technology. From: [EMAIL PROTECTED] ups.com [mailto:flexcoders@ yahoogroups.com] On Behalf Of John C. Bland II Sent: Wednesday, October 04, 2006 4:15 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] WebOrb for Rails You make interesting points and I agree Adobe should think/act bigger in terms of other languages. Microsoft is even going it with .NET (IronPython, Ruby.NET; community driven but MSFT is supporting them/talking about them). I don't agree with every point though. WebORB is a competitor to FDS. Forget the implementation. The outcome is the same, right? That's all that matters. At least this is my opinion. If WebORB works just as good as FDS, I'd stick with ORB simply because I can change my backend and my front-end stay the same. I have yet to get it working (only tried once while I was in another preso so that doesn't count; lol) but I am highly interested in the Rails integration. Anyone open to give a preso on WebORB (with any backend language it supports) I can supply the Breeze room. :-) (hit me offlist) On 10/4/06, Clint Modien [EMAIL PROTECTED] wrote: I love how much buzz WebOrb is getting. Adobe is trying to keep the price of their java/flash remoting server high. Which is understandable. They need to make money on the product or we'll all be out of jobs. (Well I would be anyway.) But if Adobe were to aquire WebOrb how much do you think the .NET version would be? Would the ROR and PHP versions be GPL? Anyway licensing costs aside... Adobe is not making a .net version... as far as i know wondertwin (.net fds) was still born in 04'. I do however feel that Adobe is and has been making an enourmous mistake by only supporting Java/CF. How do they expect to reach a million developers by only supporting Java/CF? Adobe needs to hold up WebOrb to the public and say... Look Flex/Flash/Apollo can support remote objects for multiple backends!!! WebOrb isn't even producing a Java remoting implementation to stay out of Adobe's space and allow them to capitalize on the Java market of the large corporations. WEBORB IS NOT A COMPETITOR TO FDS BECAUSE WEBORB DOES NOT SUPPORT JAVA. IT COMPLEMENTS IT. Why isn't WebOrb all over the dev center? Why isn't Adobe pushing it? How many developers in the world use Java, CF, .NET, PHP, Ruby ?? 75% ? How many people is that in the world? 50 million? On 10/4/06, Allen Riddle [EMAIL PROTECTED] wrote:I've been looking at
Re: [flexcoders] Re: sprites in MXML
Thanks Dan, I understood how to use sprites; I would take some more time to perfectly understand how its been used in mxml to get more advantage, In Flash-As3 applications, there is no problem using it. But with mxml I really need to understand its tricks to use it. For now your example was a great help Thanks and Regards fl - Original Message From: Daniel Freiman [EMAIL PROTECTED]To: flexcoders@yahoogroups.comSent: Wednesday, 11 October, 2006 7:45:20 PMSubject: Re: [flexcoders] Re: sprites in MXML I think one of us is confused, but I think it's me. In any event, I can't find a way to add a sprite using pure mxml, but until someone shows us what we're missing, the actionscript is pretty easy:?xml version=" 1.0" encoding="utf-8"?mx:Application xmlns:mx="http://www.adobe. com/2006/ mxml" creationComplete="init()" mx:Script ![CDATA[ public function init():void { var sprite:Sprite = new Sprite(); // replace "Sprite" (both places) with class you want to add // drawing a rectangle on the sprite to prove adding the sprite worked in this example sprite.graphics. beginFill( 0); sprite.graphics. drawRect( 0,0,200,400) ; holder.addChild( sprite); // add the sprite to any UIComponent } ]] /mx:Script mx:UIComponent id="holder" //mx:ApplicationAdditionally, intead of creating a Flex Project, you could create an Actionscript Project which I think uses Sprite as it's base class instead of Application. - Dan On 10/11/06, flexlearner flexlearner@ yahoo.co. in wrote: Yes, Thanks Dan. I perfectly understand that Sprite class shouldextend UIComponent class to get added in UIcomponent by AddChildmethod. But its actually vice versa. But then How should try allthose samples which comes in Flex builder help and extends the class sprite.What I believe is if they have given example there should be some wayto use it also... How should I try all those code samples that isgiven in flex builder help.Regardsfl--- In [EMAIL PROTECTED] ups.com, "Daniel Freiman" [EMAIL PROTECTED] .wrote: Containers require all children to be a UIComponent (or maybe it'simplement IUIComponent) .I think all other objects that can have children require chlidren to be DisplayObjects.So you can add a DisplayObject as achild to a Sprite, UIComponent, DisplayObjectContai ner, etc.I mostly workwith Actionscript so I don't know about puting Sprites in MXML, but if you can, the Sprite would need to be the child of a UIComponent. - Dan On 10/10/06, flexlearner flexlearner@ ... wrote: No not in canvas only.. My general question is if at all we have to use sprites in ourmxml file..how should we do it.. what will the approach Regards, fl--- In [EMAIL PROTECTED] ups.com, "flex-guitar" flex@ wrote: I've had trouble with this as well. I ended up putting a UIComponent in the Canvas and adding children to it instead of to the Canvas. I don't know why Canvas throws an error, since it is a subclassof UIComponent, but it does. HTH, Derek -Original Message- From: [EMAIL PROTECTED] ups.com [mailto:[EMAIL PROTECTED] ups.com]On Behalf Of newLearner learner Sent: Tuesday, October 10, 2006 8:10 AM To: [EMAIL PROTECTED] ups.com Subject: [flexcoders] sprites in MXML Hello , I have a very basic questionPlease can somebody tell me how should I use sprites in my mxmlfile i get errors everytime i try to something like:Canvas_instance. addChild( spriteInstace) Please tell me the way out - - - - - --- -- Find out what India is talking about on - Yahoo! Answers India Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it NOW __ NOD32 1.1796 (20061010) Information __ This message was checked by NOD32 antivirus system.http://www.eset. com -- Flexcoders Mailing List FAQ:http://groups. yahoo.com/ group/flexcoders /files/flexcoder sFAQ.txt Search Archives: http://www.mail- archive.com/ flexcoders%40yahoogroups. com Yahoo! Groups Links --Flexcoders Mailing ListFAQ: http://groups. yahoo.com/ group/flexcoders /files/flexcoder sFAQ.txt Search Archives: http://www.mail- archive.com/ flexcoders% 40yahoogroups. comYahoo! 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: flexcoders-digest@ yahoogroups. commailto:flexcoders-fullfeat [EMAIL PROTECTED] .com* To unsubscribe from this group, send an email to:flexcoders-unsubscr [EMAIL PROTECTED] com* Your use of Yahoo! Groups is subject to:http://docs. yahoo.com/ info/terms/ Find out what India is talking about on - Yahoo! Answers India Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it NOW __._,_.___
RE: [flexcoders] WebOrb for Rails
One of the demo videos on Adobes site said that there are plans create a .NET implementation, now weather they pulled the plug on it is another story. But I disagree with the point that just because there arent overlapping implementations that they are not competing. I was evaluating and was going to use Adobes FDS, because a Java implementation is a viable option. However, since I found a Ruby implementation that will let me do the same things, Adobe lost they lost my business. If I owned a pizza shop that didnt make pizzas with thin crust, and I found another pizza shop that had a thing crust recipe, and there were a lot of people that wanted pizza, but would prefer to have thin crust, you better believe Id acquire that recipe. Just smart business practice. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Clint Modien Sent: Monday, October 09, 2006 11:29 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] WebOrb for Rails Ahh man, you're off here but it is nothing but an opinion from both of us. Your opinions are based on speculation. Mine are based on facts. Competition helps the technology thrive. A lot of people in the community stated the Adobe merger took the competition out of the market due to overlapping technology (Fireworks-Photoshop, DW-Go Live, etc). Now, unless WebORB is said to NEVER overlap with the technologies Adobe is implementing then I will understand. If not, there is overlap. Oh yeah, you might want to change .NET to YES and YES according to Allen. I don't know if Adobe is working on one or not but I don't see why they wouldn't. There is no overlap. WebORB is doing this on purpose to stay out of Adobe's space. Adobe is not doing a .NET version... Allen is mistaken. So, a question for you: if you build a product and someone else builds the same product, is that competition? I say yes. Is Fluourine a competitor to Adobe's $900 (or whatever it is) .NET implementation? Uhyeah. :-) Adobe doesn't have a .NET implementation and is not creating one. Disclaimer: I'm not here to argue. From a business point of view, I just don't agree with you Clint and, seemingly, Adobe doesn't either (based on your comment about Adobe being uncomfortable). The main premise for your argument is that Adobe is creating a .NET implementation. They are not. WebORB is not competing in the same space as Adobe's FDS. It complements the same space. On 10/5/06, Clint Modien [EMAIL PROTECTED]com wrote: How is WebORB a competitor to FDS in the AMF3 space? Backends FDS WEBORB Java Yes No CF Yes No .NET No Yes Ruby No Yes PHP No Yes By promoting WebORB it would be good for the community it would be good for Flex. I would rather have flex support 5 remoting solutions instead of 2. Thinking of WebORB as competition has created the scenerio where Adobe is uncomfortable with promoting WebORB. Stop thinking this way. It's supressing the technology. From: [EMAIL PROTECTED] ups.com [mailto:flexcoders@ yahoogroups.com] On Behalf Of John C. Bland II Sent: Wednesday, October 04, 2006 4:15 PM To: [EMAIL PROTECTED]ups.com Subject: Re: [flexcoders] WebOrb for Rails You make interesting points and I agree Adobe should think/act bigger in terms of other languages. Microsoft is even going it with .NET (IronPython, Ruby.NET; community driven but MSFT is supporting them/talking about them). I don't agree with every point though. WebORB is a competitor to FDS. Forget the implementation. The outcome is the same, right? That's all that matters. At least this is my opinion. If WebORB works just as good as FDS, I'd stick with ORB simply because I can change my backend and my front-end stay the same. I have yet to get it working (only tried once while I was in another preso so that doesn't count; lol) but I am highly interested in the Rails integration. Anyone open to give a preso on WebORB (with any backend language it supports) I can supply the Breeze room. :-) (hit me offlist) On 10/4/06, Clint Modien [EMAIL PROTECTED]com wrote: I love how much buzz WebOrb is getting. Adobe is trying to keep the price of their java/flash remoting server high. Which is understandable. They need to make money on the product or we'll all be out of jobs. (Well I would be anyway.) But if Adobe were to aquire WebOrb how much do you think the .NET version would be? Would the ROR and PHP versions be GPL? Anyway licensing costs aside... Adobe is not making a .net version... as far as i know wondertwin (.net fds) was still born in 04'. I do however feel that Adobe is and has been making an enourmous mistake by only supporting Java/CF. How do they expect to reach a million developers by only supporting Java/CF? Adobe needs to hold up
RE: [flexcoders] Re: Flex Marketing
I can tell you right now that we have 12 openings for Flex Developers. It's not a million but it's a start. ;) In all seriousness, we have that many openings today and that number only seems to increase with each passing day. We've hired some fantastic people over the last few months from this list and we'd love to talk to more of you. If any of you out there are interested in talking to us, we'd love to hear from you. You can get in touch me directly, Dave Wolf, who is frequently out on this list, or you can always send an email to our HR alias - [EMAIL PROTECTED]. Carson Carson HagerCynergy Systems, Inc.http://www.cynergysystems.comEmail: [EMAIL PROTECTED]Office: 866-CYNERGYMobile: 1.703.489.6466 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of DUANE NICKULLSent: Tuesday, October 10, 2006 4:10 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Re: Flex Marketing In the context of creating 1MM Flex developers, I think it is 1MM availableFlex jobs that will make it happen. How to get those jobs is the magic question. Whoever figures that out will make the 1MM developers happen. ;-) "Speaking only for myself" Blog - http://technoracle.blogspot.com Site - http://www.nickull.net My Music - http://www.mix2r.com/ On 10-Oct-06, at 12:12 PM, Clint Modien wrote: Isn't that the cart pulling the horse?You need to have companies know it's an option before they create the jobs? On 10/10/06, DUANE NICKULL [EMAIL PROTECTED]net wrote: What drives learning/adoption is jobs. When there are Flex jobs, there will be Flex coders taking those jobs. The metrics I used for Perl/Java/Flex are not perfect but I have found this method to be very accurate in the past to predicting trends in the market. Given Perl and Java are both incumbent programming languages, the odds are stacked against Flex which is really a programming model/platform rather than a language but I wanted to go up against the languages on an even basis to see where Flex stacks up. The results are encouraging: 1. How many hits are there on Google: Perl: 195MM Java: 551MM (Winner) Flex: 74MM 2. How many jobs have the keyword on Monster.com within 50 miles of Zip code 95110 ( San Jose) Perl: 360 Java: 442 (Winner) Flex: 28 3. How many searches on the keywords on Overture.com August 2006 Perl: 12,332 Java: 192,000 (Winner) Flex: 31,964 (Yes - we beat Perl!!!) 4. How many searches are returned on Google Blogsearch for the last month only: Perl: 531 Java: 450 Flex: 596 (Winner) 5. How many books on Amazon.com does a keyword search turn up? Perl: 13,758 Java: 38,657 Flex: 45, 894 (Winner) Of course, this is not very scientific given java also means coffee and there are books on Google on Golf Flex. To me, the number of books and blog mentions is really indicative of a trend just starting to rise. Cheers! D "Speaking only for myself" Blog - http://technoracle.blogspot.com Site - http://www.nickull.net My Music - http://www.mix2r.com/ On 10-Oct-06, at 5:51 AM, Ray wrote: Matt, One of the best ways in my opinion to market Flex is by having Flex applications in the wild. As a ColdFusion developer I am excited about the possibilities of using ColdFusion and Flex together. I do however think it would be nice to have a few more CF Flex-centric articles and tutorials available. The CF wizards that are available with Flex Builder are great but they do not quite get me where I want to go. I would like to see an example application that includes security using cflogin. A fully functioning Flex + CF application such as cfpetstore would be nice too. You have a pretty passionate and vocal community of ColdFusion developers. Get us to be as equally vocal and passionate about Flex. I think that would help in marketing Flex a great deal. Ray --- In [EMAIL PROTECTED]ups.com , "Matt Chotin" [EMAIL PROTECTED] wrote: Hey guys, I'm trying to get a better statement of our marketing plans and what we're doing currently so you can see that we're not exactly sitting idle here. In the meantime, I hear you guys say that none of your friends tend to hear of Flex, but they know other technologies. So where do they hear about other technologies? Are they reading certain publications? Blogs? When they talk about other technologies do they actually know what they're talking about
Re: [flexcoders] Code Hinting in Flex Builder 2
Hi,THis is one suggestion just becasue it has happened to me, do you have any XML in your code?Well, I really mean is this a class or mxml file. If a class, I have noticed that FB2 does not parse some literal XML string correctly all the times. Which then forces FB2 to think it's internal and code hinting stops working. Peace, MikeOn 10/11/06, Pete Capra [EMAIL PROTECTED] wrote: Hi there, I've been working on an app in Flex Builder 2 and my code hinting seems to have dropped out. Does anyone know how to turn this back on? Rgds, Pete Pete CapraInformation Systems CoordinatorNational Institute of Trainingp. (617) 3208 9455m. 0411 043 305f. (617) 3208 9855a. PO Box 1744 Springwood Q 4127www.niot.com.au [EMAIL PROTECTED] -- What goes up, does come down. __._,_.___ -- 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] Calculating Values on The Fly
Hi, Thanks a lot. Akash, . From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Clint Tredway Sent: Friday, October 13, 2006 12:07 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Calculating Values on The Fly a simple solution is to create a function that is called on the change events of the combo boxes and set the text of the label to the selected Item of those combo boxes. I can create you a quick show and tell if you would like.. On 10/12/06, Akash akash.chander@in.ness.com wrote: Hi, I have 2 comboBoxes, a text area and a label. Whenever a change occurs in any of the above said controls the resultant value of the label should come accordingly on the fly. Can anybody Tell me some example of this kind. Looking Forward to your cooperation, Akash Disclaimer This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom it is addressed. If you have received this communication in error, please immediately notify the [EMAIL PROTECTED]ness.com and destroy the original message. The recipient should check this email and any attachments for the presence of viruses. Ness has taken every reasonable precaution to minimize this risk, and accepts no liability for any damage caused by any virus transmitted in this email. Ness reserves the rights to monitor and review the content of all messages sent to or from this E-mail address, and store them on the Ness E-mail system. -- diabetic? http://www.diabetesforums.com Albert Einstein - It's not that I'm so smart, it's just that I stay with problems longer. __._,_.___ -- 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] Cairngorm commands - best practise
Just to clarify (mostly for myself), shouldnt the command execute a method located within ModelLocator which would updated the actual VO instead of directly update the VO from the command? If I understand it correctly, this is the way it was done in the Cairngorm store. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Ben Lucyk Sent: Wednesday, October 11, 2006 11:19 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Cairngorm commands - best practise I second this. Ben Lucyk http://esria.com p 1.877.TRY.ESRIA ext 718 c 1.408.489.3913 f 1.877.828.4436 [EMAIL PROTECTED] From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Ralf Bokelberg Sent: Wednesday, October 11, 2006 4:27 AM To: [EMAIL PROTECTED]ups.com Subject: Re: [flexcoders] Cairngorm commands - best practise My delegates don't know about the model locator, but my commands do. So I vote for commands. Cheers, Ralf. On 10/11/06, hank williams [EMAIL PROTECTED]com wrote: So we have Tom saying do it in the delegate and Bjorn saying do it in the command. Any tie breakers? Hank On 10/11/06, Tom Chiverton tom.chiverton@halliwells.com wrote: On Wednesday 11 October 2006 02:12, Robin Burrer wrote: However I also want to send the userID when I do my server request. Should the SearchDatabaseCommand get the userID from the model or from I reasoned that passing any parameters not connected with what to do was no business of the Command, and had the service delegate look up the additional parameters from the model: public function search(r:String,c:String,o:String,d:String,h:String):void { var call:Object = serviceInstance.search(model.sessionToken,r,c,o,d,h); call.resultHandler = responder.onResult; call.faultHandler = responder.onFault; } -- Tom Chiverton Helping to efficiently transform magnetic systems 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 -- Ralf Bokelberg ralf.bokelberg@gmail.com Flex Flash Consultant based in Cologne/Germany __._,_.___ -- 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 __,_._,___ -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.2/471 - Release Date: 10/10/2006 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.2/471 - Release Date: 10/10/2006
RE: [flexcoders] cairngorm .99 to cairngorm 2
Hi, Cairngorm 0.99 and 2.0 are very similar so I dont think there is anything to watch out for in particuliar. Perhaps you might want to read an article by Alex just in case: http://weblogs.macromedia.com/auhlmann/archives/2006/07/cairngorm_2_for.cfm Dimitrios Gianninas Optimal Payments Inc. -Original Message- From: flexcoders@yahoogroups.com on behalf of fuad_kamal Sent: Fri 10/13/2006 10:33 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] cairngorm .99 to cairngorm 2 I'm migrating a flex 1.5 ap to 2.0, for which the migration doc from Adobe is extremely useful. The app uses Cairngorm, I was wondering if there are any known issues to look out for or a guide for moving from Cairngorm 0.99 to the current version of Cairngorm. thanks -- 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/ winmail.dat
Re: [flexcoders] Flex / CF Session Variables
the quick answer is to use remoting to pass the session variables to the flex apps. On 10/13/06, lrlarsonny [EMAIL PROTECTED] wrote: Hello --- I have a CF application that will include some Flex pages within it. Is there any way that the flex application can have access to the current CF session variable scope? Either it is obvious and I don't see it, or it isn't possible. I appreciate any help and patience with a naive question... Larry Larson NYC -- diabetic? http://www.diabetesforums.comAlbert Einstein - It's not that I'm so smart, it's just that I stay with problems longer. __._,_.___ -- 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] Flex / CF Session Variables
depends on what you're trying to achieve. If you want to pass session variables to your flex app, use FlashVars If you want to change session variables you can call a cfm page, call a webservice or use remoting. Here's an example of using flashvars to pass a cf variable to flex. cfset topDomain = http://; CGI.SERVER_NAME : CGI.SERVER_PORT / / cfoutput script language=JavaScript type=text/javascript !-- AC_FL_RunContent( src, ClientOrder, width, 100%, height, 100%, align, middle, id, ClientOrder, quality, high, bgcolor, ##869ca7, name, ClientOrder, flashvars, topDomain=#topDomain#, allowScriptAccess, sameDomain, type, application/x-shockwave-flash, pluginspage, http://www.adobe.com/go/getflashplayer; ); // -- /script /cfoutput In the flex app you can then access topDomain like this: Application.application.parameters.topDomain); regards, Muzak - Original Message - From: lrlarsonny [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Saturday, October 14, 2006 4:24 AM Subject: [flexcoders] Flex / CF Session Variables Hello --- I have a CF application that will include some Flex pages within it. Is there any way that the flex application can have access to the current CF session variable scope? Either it is obvious and I don't see it, or it isn't possible. I appreciate any help and patience with a naive question... Larry Larson NYC -- 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] WebOrb for Rails
As for overlap, how about the Java implementation? Overlap there? Also, did Midnight tell you/the community they wouldn't do a language that Adobe has already done? In other words, did they say they would stifle WebORB for the sake of not competing with Adobe? They have said on this forum that they do not intend to do a Java version of their AMF3 product. For me, that is the equivalent of end of lifing their java product. They did not say the reason ( i.e. for the sake of not competing with adobe) but their reason isnt really that important. The fact is, according to them, they wont be doing any more java.RegardsHank On 10/9/06, Clint Modien [EMAIL PROTECTED] wrote: Ahh man, you're off here but it is nothing but an opinion from both of us.Your opinions are based on speculation. Mine are based on facts. Competition helps the technology thrive. A lot of people in the community stated the Adobe merger took the competition out of the market due to overlapping technology (Fireworks-Photoshop, DW-Go Live, etc). Now, unless WebORB is said to NEVER overlap with the technologies Adobe is implementing then I will understand. If not, there is overlap. Oh yeah, you might want to change .NET to YES and YES according to Allen. I don't know if Adobe is working on one or not but I don't see why they wouldn't. There is no overlap. WebORB is doing this on purpose to stay out ofAdobe's space. Adobe is not doing a .NET version... Allen ismistaken. So, a question for you: if you build a product and someone else builds the same product, is that competition? I say yes. Is Fluourine a competitor to Adobe's $900 (or whatever it is) .NET implementation? Uhyeah. :-) Adobe doesn't have a .NET implementation and is not creating one. Disclaimer: I'm not here to argue. From a business point of view, I just don't agree with you Clint and, seemingly, Adobe doesn't either (based on your comment about Adobe being uncomfortable). The main premise for your argument is that Adobe is creating a .NETimplementation. They are not. WebORB is not competing in the samespace as Adobe's FDS. It complements the same space. On 10/5/06, Clint Modien [EMAIL PROTECTED] wrote: How is WebORB a competitor to FDS in the AMF3 space? Backends FDS WEBORB Java Yes No CF Yes No .NET No Yes Ruby No Yes PHP No Yes By promoting WebORB it would be good for the community it would be good for Flex. I would rather have flex support 5 remoting solutions instead of 2. Thinking of WebORB as competition has created the scenerio where Adobe is uncomfortable with promoting WebORB. Stop thinking this way. It's supressing the technology. From: [EMAIL PROTECTED] ups.com [mailto:flexcoders@ yahoogroups.com] On Behalf Of John C. Bland II Sent: Wednesday, October 04, 2006 4:15 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] WebOrb for Rails You make interesting points and I agree Adobe should think/act bigger in terms of other languages. Microsoft is even going it with .NET (IronPython, Ruby.NET; community driven but MSFT is supporting them/talking about them). I don't agree with every point though. WebORB is a competitor to FDS. Forget the implementation. The outcome is the same, right? That's all that matters. At least this is my opinion. If WebORB works just as good as FDS, I'd stick with ORB simply because I can change my backend and my front-end stay the same. I have yet to get it working (only tried once while I was in another preso so that doesn't count; lol) but I am highly interested in the Rails integration. Anyone open to give a preso on WebORB (with any backend language it supports) I can supply the Breeze room. :-) (hit me offlist) On 10/4/06, Clint Modien [EMAIL PROTECTED] wrote: I love how much buzz WebOrb is getting. Adobe is trying to keep the price of their java/flash remoting server high. Which is understandable. They need to make money on the product or we'll all be out of jobs. (Well I would be anyway.) But if Adobe were to aquire WebOrb how much do you think the .NET version would be? Would the ROR and PHP versions be GPL? Anyway licensing costs aside... Adobe is not making a .net version... as far as i know wondertwin (.net fds) was still born in 04'. I do however feel that Adobe is and has been making an enourmous mistake by only supporting Java/CF. How do they expect to reach a million developers by only supporting Java/CF? Adobe needs to hold up WebOrb to the public and say... Look Flex/Flash/Apollo can support remote objects for multiple backends!!! WebOrb isn't even producing a Java remoting implementation to stay out of Adobe's space and allow them to capitalize on the Java market of the large corporations. WEBORB IS NOT A COMPETITOR TO FDS BECAUSE WEBORB DOES NOT SUPPORT JAVA. IT COMPLEMENTS IT. Why isn't WebOrb all over the dev center? Why isn't Adobe pushing it?
Re: [flexcoders] DataGrid HeaderRenderer and DataProvider
jelentz, Based on my limited experience I would suggest creating a custom AS3 class that extends DataGrid. You can then dynamically set the dataProvider, loop through whatever part of the data provider you need, and based on the values therein create the number of data grid columns you need. | Aaron West | aaron AT trajiklyhip DOT com | http://www.trajiklyhip.com/blog/ | Certified Advanced Adobe ColdFusion MX 7 Developer | Certified Macromedia FlashMX Developer | Adobe Community Expert On Oct 13, 2006, at 8:40 PM, jlentz2112 wrote: Hi, I've got an app where I need a DataGrid that will have a varying number of columns based on the value from a database query. I also need to be able to have each column header display a couple of images and the text provided by the database query. Is there a way to use a dataprovider to create a varying number of columns, and to use the dataprovider to pass in images and text? I've looked for examples and haven't had much luck finding any that I could follow. A simplified explanation would be greatly appreciated. Thank you, jelentz -- 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] Text Input color
Can anyone point me to the property that controls the color of selected text when a user clicks and drags over text entered in a text input color? Thanks Shawn -- 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: Horizontal alignment of inline checkbox in datagrid component
Over the last several days I've done tons of work with custom Checkboxes in DataGrid's. I have not tried the below recommendation from iko_knyphausen but I can offer my own experience. For me, I wanted to center the Checkbox in the DataGrid column. Using the DataGridColumn itself yield no positive results. So, like for many things an ItemRender was needed (just like you set up). However, when using the item renderer (serving as the renderer and the item editor: rendererIsEditor = true) I would get property errors when interacting with the Checkbox. The solution I employed was to create a custom item renderer class instead of a drop-in renderer. When doing this, you create a property of the class to hold the value of the Checkbox selection and then you bind this value to the grid column. The code looked like this (and it's the VBox that aids in centering): --Assume this mxml file is called CheckboxRenderer.mxml x-tad-smaller?xml version=1.0 encoding=utf-8?> mx:VBox xmlns:mx=http://www.adobe.com/2006/mxml horizontalAlign=center horizontalScrollPolicy=off verticalScrollPolicy=off> mx:Script> ![CDATA[ [Bindable] public var cbSelected:Boolean; ]]> /mx:Script> mx:CheckBox id=cbGeneric selected={cbSelected} click=cbSelected = cbGeneric.selected updateComplete=cbSelected = cbGeneric.selected/> /mx:VBox> Then, to bind the value of the cbSelected boolean to the grid column your datagrid column would look like this: mx/x-tad-smaller:Dx-tad-smallerataGridColumn id=yourID headerText=Column Header dataField=yourValue itemRenderer=CheckboxRenderer rendererIsEditor=true editorDataField=cbSelected/>/x-tad-smaller Now, we have a custom item renderer that also functions as our item editor (so there aren't 2 different states). The value of the editorDataField attribute - set to cbSelected - allows the datagrid column to keep up with the Checkbox selected value correctly. Implementing this custom mxml item renderer eliminated the error Property selected not found in blah blah and no default value is set. While this solved the problem of centering the Checkbox in the grid what happens if you want another column to use a centered Checkbox. Using the above method (mxml component) you cannot make the code generic enough where you can reuse it. I further solved this problem by dumping the mxml component and creating a custom ActionScript class that extended the Checkbox class. I essentially rewrote the mxml to equivalent AS3. This is prob. way more info than any of you wanted, but it's something that I struggled with for a few days and having figured out, may save you some time. | Aaron West | aaron AT trajiklyhip DOT com | http://www.trajiklyhip.com/blog/ | Certified Advanced Adobe ColdFusion MX 7 Developer | Certified Macromedia FlashMX Developer | Adobe Community Expert On Oct 13, 2006, at 11:37 PM, iko_knyphausen wrote: I finally got around to testing your suggestion. mx:DataGridColumn editable=false width=65 headerText=Member textAlign=center> mx:itemRenderer> mx:Component> mx:HBox> mx:CheckBox selected={data.member} change=data.member=selected /> /mx:HBox> /mx:Component> /mx:itemRenderer> …. The inline data.member works well but you have to switch editable property off, and update the listitem data manually via change event. Unfortunately, checkbox population fails the moment you wrap an HBOX around the checkbox. Works great without the HBOX. Any ideas? --- In flexcoders@yahoogroups.com, haravallabhan [EMAIL PROTECTED]> wrote: > > Iam just wondering How a Layout component has some affect on data?. > It works for me.. selected = {data.ColumnDataField} shoue populate > the value. > > > --- In flexcoders@yahoogroups.com, Iko Knyphausen iko@ wrote: > > > > I tried that, and indeed it will help align the checkbox, > unfortunately the > > data binding stops working. In other words, the moment you have an > hbox > > around the checkbox, the checkbox does not show as checked in > those rows > > that have true as data value. > > > > Hi, > > You can use HBox component or anoother layout compnent to say, > inside > > the itemRenderer like > > > > mx:DataGridColumn width=65 headerText=Member dataField=member > > textAlign=center > > > mx:itemRenderer> > > mx:Component> > > HBox> > > mx:CheckBox labelPlacement=left/> > > /HBox> > > /mx:Component> > > /mx:itemRenderer> > > /mx:DataGridColumn> > > > > thanks. > > > > --- In [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com> > ups.com, > > iko_knyphausen iko@> wrote: > > > > > > > > > Hi, > > > > > > I am trying to use checkboxes in my datagrid, and everything > works > > fine, > > > except I cannot vertically align the bugger. I played with > > > > > > textAlign= > > > horizontalCenter = > > > paddingLeft = > > > left= > > > etc. > > > > > > all the usual style candidates. The only thing that will make a > > > difference, is the labelPlacement attrribute. The values top and > > > bottom will center the checkbox
[flexcoders] Re: Now Shipping: ActionScript 3.0 Cookbook Solutions for Flash Platform and F
Update: I emailed Amazon and got a reply assuring me that they were processing my order and the December date shown was due to a technical glitch. They even upgraded me to 2 day shipping to make up for it. Its on its way! Can't wait to dig into that thing... Ben --- In flexcoders@yahoogroups.com, ben.clinkinbeard [EMAIL PROTECTED] wrote: Same here, except mine says it will ship Dec 12. I'm calling BS. --- In flexcoders@yahoogroups.com, Jeff Fleitz jfleitz@ wrote: You know, I just ordered this from Amazon this morning, which said it was released, but my order details then showed that the book wasn't going to ship until December 17. That just doesn't sound right. On 10/12/06, greg h flexsavvy@ wrote: fyi ... O'Reilly is now shipping: ActionScript 3.0 Cookbook Solutions for Flash Platform and Flex Application Developers By Joey Lott, Darron Schall, Keith Peters http://www.oreilly.com/catalog/actscpt3ckbk/#top -- v/r, Jeff Fleitz -- 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] cairngorm .99 to cairngorm 2
Just to add to Dimitios here, keep in mind that most of the migration effort described in my blog entry at point 3 was only related to the type of event dispatching we've used in previous Cairngorm beta versions during the Flex 2 beta. They don't apply when you're migrating from Flex 1. In fact, as Dimitios says, your migration should be easier. Alex Alex Uhlmann Consultant (Rich Internet Applications) Adobe Consulting Westpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UK p: +44 (0) 131 338 6969 m: +44 (0) 7917 428 951 [EMAIL PROTECTED] http://weblogs.macromedia.com/auhlmann -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dimitrios Gianninas Sent: 14 October 2006 14:09 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] cairngorm .99 to cairngorm 2 Hi, Cairngorm 0.99 and 2.0 are very similar so I dont think there is anything to watch out for in particuliar. Perhaps you might want to read an article by Alex just in case: http://weblogs.macromedia.com/auhlmann/archives/2006/07/cairngorm_2_for. cfm Dimitrios Gianninas Optimal Payments Inc. -Original Message- From: flexcoders@yahoogroups.com on behalf of fuad_kamal Sent: Fri 10/13/2006 10:33 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] cairngorm .99 to cairngorm 2 I'm migrating a flex 1.5 ap to 2.0, for which the migration doc from Adobe is extremely useful. The app uses Cairngorm, I was wondering if there are any known issues to look out for or a guide for moving from Cairngorm 0.99 to the current version of Cairngorm. thanks -- 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] Hiding backMonthButton and fwdMonthButton on DateChooser
It would be a little more elegant , and a little faster, to do if (disp is Button) instead of if (disp.toString().indexOf(Button) -1 - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mike Crowe Sent: Friday, October 13, 2006 6:52 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Hiding backMonthButton and fwdMonthButton on DateChooser Hi folks, Took me a while, but I accomplished hidding the back and forward buttons. Not to elegant, but works. Create this as a MXML Component and include such components:DateChooserNoYear / Cheers! Mike ?xml version=1.0 encoding=utf-8? mx:DateChooser xmlns:mx=http://www.adobe.com/2006/mxml width=160 height=140 creationComplete=initNoYear(); mx:Script ![CDATA[ import mx.controls.*; public function initNoYear():void { this.yearNavigationEnabled=false; var disp:DisplayObject; for ( var i:int = 0; i this.numChildren; i++ ) { disp = this.getChildAt(i); if ( disp.toString().indexOf(Button) -1 ) disp.visible = false; } } ]] /mx:Script /mx:DateChooser __._,_.___ -- 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] How to invalidate ViewStack Pages
Databinding is one way to accomplish this: mx:TextInput id=name text={someDataObject.name}/ Another would be to write a change handler on the ViewStack. Switch on the selectedIndex and re-initialize the pane you're changing to. - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jlentz2112 Sent: Friday, October 13, 2006 8:17 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] How to invalidate ViewStack Pages Hi, I've got a ViewStack that I navigate around using selectedIndex. It works fine the first time I go to a page, but when I leave and return to that same page, I need to have all the TextInput fields re-initialized. It doesn't seem to do that. Returning to a previously selected index displays the data that was there when I left that page - not the new data I have. Is there a way to force a child page to create or refresh its different fields? Thanks, jelentz __._,_.___ -- 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: Disappearing list items
lyon.james wrote: I saw very similar things happen with list and datagrid controls, and we found out that our database fields had hidden ASCII markup (/r,/n,etc.) We cleared out that data and haven't seen problems again. This might be it, I'll have to check on Monday the problem didn't start occuring until I switched the database for the application from our local SQL Server repository to the DB2 mainframe.. Rick -- 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: Text Area question
Below is an example of forcing text input to uppercase as the user types it. The trick is to handle the 'textInput' event, which is dispatched after the user presses a key but before the new text appears in the TextArea (or TextInput, or TextField). This is a cancelable event, which means that you can call event.preventDefault() to prevent the system from doing the default handling of this event;. For this event, calling preventDefault() means that the TextArea won't process the keystroke. Instead you process it yourself by uppercasing it, inserting it in the appropriate place in the TextArea's text string, and setting the insertion point to be after the new uppercase character. - Gordon ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml mx:Script ![CDATA[ private function textInputHandler(event:TextEvent):void { event.preventDefault(); var textArea:TextArea = TextArea(event.target); var oldText:String = textArea.text; var before:String = oldText.substring(0, textArea.selectionBeginIndex); var after:String = oldText.substring(textArea.selectionEndIndex); var newText:String = event.text.toUpperCase(); var newInsertionOffset:int = (before + newText).length; textArea.text = before + newText + after; textArea.setSelection(newInsertionOffset, newInsertionOffset); } ]] /mx:Script mx:TextArea id=ti textInput=textInputHandler(event)/ /mx:Application From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of brankosli Sent: Saturday, October 14, 2006 4:14 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Text Area question I have tried item.text = item.text.toUpperCase().and implemented on textArea component but is seems to change all previous typing to upperCase and that wasn't my need.I need to be able to change case when I type new line.Maybe the other solution will help but I hope that there is some other easier way to do that. If You have some idea please type it. --- In [EMAIL PROTECTED]ups.com, Karl Johnson karl.johnson@... wrote: You probably can not turn on CAPS Lock from your flex app, probably a bit of a security risk. I doubt the flash player has access and/or allows flash apps to get access to do that (correct me if I am wrong). If you need to ensure that everything they type is in all CAPS, then just set the text value like this: item.text = item.text.toUpperCase(). Or another possible way is to listen on the keypress and convert it as they press. I guess you could also listen on the change event and convert it then, but it might be a bit laggy with fast typing. Hope that helps some, feel free to reply back if you need more help with it. Karl Cynergy Systems, Inc. From: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] On Behalf Of brankosli Sent: Friday, October 13, 2006 2:39 PM To: [EMAIL PROTECTED]ups.com Subject: [flexcoders] Text Area question I will be more that thankful if someone could solve my problem.I'm working with textArea component and I have 2 questions: I need to know if there is any possibility to fix left and right margin in textArea component? And also I need to know if there is possibility to turn on and off capsLock by coding not by pressing keyboard? __._,_.___ -- 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] Re: Flex 2.0 And .net webservices Dataset retrieving problem
Here's the links to WebOrb and Fluorine: WebOrbFluorine -TH__ Tim Hoff Cynergy Systems, Inc. http://www.cynergysystems.com Office: 866-CYNERGY--- In flexcoders@yahoogroups.com, Sajid Hussain [EMAIL PROTECTED] wrote: Hi Tim, Thanks for ur informative words, I have been working with Flash Remoting with .net but adobe still amaze me why not Remote objcts for .netcould u tell me some links about working with Flourine and Flex 2. Tim Hoff [EMAIL PROTECTED] wrote: Hi Sajid, If you have a choice, I would definitely recommend that you use remoteObjects with Adobe products. Flex was built with tight integration to Cold Fusion and Flex Data Services. Understandably, working with these products will create fewer headaches. Some companies and developers, although, don't have a choice of the backend and/or middle tier; because of the investment in IT infrastructure. Fortunately, Flex accommodates other frameworks through webservices and HTTPService. If you are having trouble figuring out how to use webservices yourself, you can always look into using WebOrb or Flourine. These integrated products offer the use of remoteObjects with .Net. They also offer examples how to get you connected. Either way, you do have options that work. The help docs can help you considerably in this area. -TH __ Tim Hoff Cynergy Systems, Inc. http://www.cynergysystems.com Office: 866-CYNERGY --- In flexcoders@yahoogroups.com, Sajid Hussain enchanter_saj@ wrote: Hi ! as few days experince with flex and .net ..I am thinking to start flex with php or with JavaRemote Objects ,and infact as i think .net will be more strong with its new verssion of Interface XAML ...but i still misss Macromediaa word from my Start Menu :D Matias Nicolas Sommi nicosommi@ wrote: He!, the first problem was "metabase permission" on the iis, and I download a microsoft tool to fix it (aspnet_iisreg or something like that). I run the command for give to the iis to read acces to the metabase. After this, I've got an extrange error, it's like the iis was reading an extrange symbol in the asmx file. But after reinit, the problem was fixed :S... The only thing that I don't know is: when i pass more than one parameter from flex to a webservice, the Array class in flex separate the arguments with comma, and NET receive it in only one string comma separated... this is the normal way or something was wrong? Thanks. If someone has problems with asp webservice/IIS please ask me, if I can, I help. Bye.2006/10/12, Sajid Hussain enchanter_saj@ : Could u telll ...what was the problem ?? Matias Nicolas Sommi nicosommi@ wrote: Hello, I fix the IIS configuration problem. Now I can consume NET webservice without problem. Thanks to all for the help. PD: for the IIS, isn't related to flex, and for that reason I marked with "off topic". 2006/10/11, Tim Hoff TimHoff@: Hmmm, something about glass houses comes to mind. Matias, it's far more useful to make constructive comments. Concerning IIS configuration, there are plenty of resources online that can help you with this. I suggest Google. However, it sounds like your local path to the .Net framwork might be different than the framework path on the server. That's all I can offer since this really isn't related to Flex.Cheers, Tim Hoff--- In flexcoders@yahoogroups.com, "Matias Nicolas Sommi" nicosommi@ wrote: Tim, it's a joke, please don't hungry! I know that its only a simple code, and the best practices don't match with the article purpuoses. 2006/10/11, Matias Nicolas Sommi nicosommi@: In this page say "flex and NET don't play well together"... after I readedthe "ASP NET" code, I think that this flex programmer (who write the doc)don't play well with .NET... :P PD: I don't play very well with the english, sorry.--Matías Nicolás Sommi 2006/10/11, Tim Hoff TimHoff@:Hi Sajid, Datasets returned from .Net aren't natively recognized by Flex. To solve this, you can either use a stored procedure with FOR XML AUTO, or cast your dataset to a class. Here is a casting example: http://www.cflex.net/showFileDetails.cfm? ObjectID=418Object=FileChannelID=1 -TH P.S. Yes, WebOrb allows you to return datasets. --- In flexcoders@yahoogroups.com, Sajid Hussain enchanter_saj@ wrote: Hi to all . I am new to flex Development ,I am stuck with following concepts I have one webservice method who is returning DataSet ,What will be the best way to retrive Datafrom it I m getting player parsing error Is necceasry to get Data as Custom Objects from .net to flex I saw one example whos is getting data ftom .net but giving customs to Objects .. How we will bind Custom Objects attributes with Flex ?? Is there any way to get .net DataTable
RE: [flexcoders] Re: Flex 2.0 And .net webservices Dataset retrieving problem
don't mean to push this discussion off-track, but for the simplest case where i have a .NET-basedREST web service returning XML results, what is the easiest way to implement this mapping on the Flex side? i've been reviewing the YouTube and Flickr classes that use URLLoader to pull from their REST web services, and i see how those examples have AS3 value object classes that are populated when the web service result is received. is this a common approach that others are following, or are there other commonoptions i'm not seeing? given that theXML returned from the REST web serviceis actually serialized classes from my .NET back-end, do people typically just regenerate the AS3 classes by hand, or are there common tools to generate them? say, if i had an XSD from my .NET class, are there tools to generate the AS3 classes from the XSD? i wouldn't want to have to re-create everything by hand on the Flex side, because i already have that class layout in C#, so it would be nice to re-use some of that information. thanks, Kirk From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tim HoffSent: Saturday, October 14, 2006 3:02 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Re: Flex 2.0 And .net webservices Dataset retrieving problem Here's the links to WebOrb and Fluorine: WebOrbFluorine -TH__ Tim Hoff Cynergy Systems, Inc. http://www.cynergysystems.com Office: 866-CYNERGY--- In [EMAIL PROTECTED]ups.com, Sajid Hussain enchanter_saj@... wrote: Hi Tim, Thanks for ur informative words, I have been working with Flash Remoting with .net but adobe still amaze me why not Remote objcts for .netcould u tell me some links about working with Flourine and Flex 2. Tim Hoff [EMAIL PROTECTED] wrote: Hi Sajid, If you have a choice, I would definitely recommend that you use remoteObjects with Adobe products. Flex was built with tight integration to Cold Fusion and Flex Data Services. Understandably, working with these products will create fewer headaches. Some companies and developers, although, don't have a choice of the backend and/or middle tier; because of the investment in IT infrastructure. Fortunately, Flex accommodates other frameworks through webservices and HTTPService. If you are having trouble figuring out how to use webservices yourself, you can always look into using WebOrb or Flourine. These integrated products offer the use of remoteObjects with .Net. They also offer examples how to get you connected. Either way, you do have options that work. The help docs can help you considerably in this area. -TH __ Tim Hoff Cynergy Systems, Inc. http://www.cynergysystems.com Office: 866-CYNERGY --- In [EMAIL PROTECTED]ups.com, Sajid Hussain enchanter_saj@ wrote: Hi ! as few days experince with flex and .net ..I am thinking to start flex with php or with JavaRemote Objects ,and infact as i think .net will be more strong with its new verssion of Interface XAML ...but i still misss Macromediaa word from my Start Menu :D Matias Nicolas Sommi nicosommi@ wrote: He!, the first problem was "metabase permission" on the iis, and I download a microsoft tool to fix it (aspnet_iisreg or something like that). I run the command for give to the iis to read acces to the metabase. After this, I've got an extrange error, it's like the iis was reading an extrange symbol in the asmx file. But after reinit, the problem was fixed :S... The only thing that I don't know is: when i pass more than one parameter from flex to a webservice, the Array class in flex separate the arguments with comma, and NET receive it in only one string comma separated... this is the normal way or something was wrong? Thanks. If someone has problems with asp webservice/IIS please ask me, if I can, I help. Bye.2006/10/12, Sajid Hussain enchanter_saj@ : Could u telll ...what was the problem ?? Matias Nicolas Sommi nicosommi@ wrote: Hello, I fix the IIS configuration problem. Now I can consume NET webservice without problem. Thanks to all for the help. PD: for the IIS, isn't related to flex, and for that reason I marked with "off topic". 2006/10/11, Tim Hoff TimHoff@: Hmmm, something about glass houses comes to mind. Matias, it's far more useful to make constructive comments. Concerning IIS configuration, there are plenty of resources online that can help you with this. I suggest Google. However, it sounds like your local path to the .Net framwork might be different than the framework path on the server. That's all I can offer since this really isn't related to Flex. Cheers, Tim Hoff--- In [EMAIL PROTECTED]ups.com, "Matias Nicolas Sommi" nicosommi@ wrote: Tim, it's a joke, please don't hungry! I know that its only a simple code, and the best practices don't match with the article purpuoses. 2006/10/11,
RE: [flexcoders] Trash/bugs in Flashplayer 9 filters
I didn't hear back but will try again. Masks I suppose could have an affect. If you have code that we can use to reproduce we'll see what we can figure out. Matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of dj Sent: Tuesday, October 10, 2006 8:10 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Trash/bugs in Flashplayer 9 filters Matt: When flex uses relative values for x and y for placement it always uses an integers, right? I'm confused how this would show up then. Of course all images i load are height and width = integers, of course. Do masks behind images have any affect because i am using a mask behind the filters. That seems how this bug was introduced. Thanks, Patrick Matt Chotin wrote: The feedback I got from an engineer is that this can often happen when you're not using integers for values into the filters (or the x/y/width/height of the object being affected is not an integer). When you have non-integer values the object will not be on pixel boundaries, thus you see artifacts. Matt *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of [EMAIL PROTECTED] *Sent:* Friday, October 06, 2006 2:16 PM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] Trash/bugs in Flashplayer 9 filters Working with different filters, i noticed trash showing up in the glow filter and the drop shadow filter (haven't tried any others). Unfortunately, I have to remove these effects because they look poor. :( Thanks Team Flex, Patrick -- 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/
RE: [flexcoders] strange list error
Sorry for not responding earlier. If the data is all there then I would expect letting the app sit would not have much of an effect. As I mentioned to Dustin, if the data is coming remotely though and the app times out, it would make sense that things might get messed up. In your case maybe the drag and drop re-ordering of the dataProviders is causing a problem? Maybe not all collections are properly notifying the Lists/DGs of their changes? Sorry, hard to say without seeing the app. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Paul Hastings Sent: Tuesday, October 10, 2006 7:47 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] strange list error On 10/11/06, Matt Chotin [EMAIL PROTECTED]com wrote: How did you populate the list? remoting, cf query. we have one list but there are also 3 datagrids also populated by remoting cfquery. would datagrids throw that error as well? there's also a lot of dragging dropping occurring between the datagrids if that's related. 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 __,_._,___
RE: [flexcoders] modular apps trouble making swc's small and usable
Do you have the TextInput and its dependencies linked in to the application somehow? If everything is external you still need something to bring it in. So make sure your shell has the TextInput available. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Russell Munro Sent: Tuesday, October 10, 2006 9:38 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] modular apps trouble making swc's small and usable Hi I am trying to set up a modular Flex 2 application. I would like to have one single shell .swf application file that load many other .swc libraries. The shell would hold the core app files so the .swc's would only have to contain a minimum of data. So, to create a small library component I thought I could setting the default libraries (framework.swc, flex.swc, rpc.swc, etc.) to External. This would eliminate essentual data that can be found in the shell .swf at runtime. This is what I have done for my Cairngorm.swc as was discussed here: http://tech.groups.yahoo.com/group/flexcoders/message/51044 I am using a simple test file, TestComp.as: package { import mx.controls.TextInput; public class TestComp extends TextInput{ public function TestComp(){ super(); this.text = hello world; } } } Accept at runtime (with TestComp linked as an RSL in my shell .swf) I get this error in Flash player: VerifyError: Error #1014: Class mx.controls::TextInput could not be found. Is there anyway I can only include the mx.controls.TextInput class in my Library at compile time? Will this fix my problem? If there is a better way can you tell me how? PS: I using mostly Flex Builder and am only basically familiar with the command line and its options. Thanks, Russell Munro __._,_.___ -- 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] auto update of flash
There is an HTML wrapper that should have all of this in there, included in our resources if you're using the SDK I think (I forget the directory name). Express Install is what allows the Player to update quickly without having to navigate to adobe.com or anything. Matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton Sent: Wednesday, October 11, 2006 2:07 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] auto update of flash On Wednesday 11 October 2006 01:45, Matt Chotin wrote: Do you have express install checked on your Flex Builder compiler options? It is checked by default. What does that do ? What are the corresponding options for mxmlc and/or the HTML wrapper ? -- Tom Chiverton Helping to challengingly revolutionize 24/365 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 -- 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] Data binding issue
Are you relying on knowing when the 0th element of image changes? If not you can ignore the warning. If you do care you may need to write your own collectionChange event handler on the XMLListCollection to update correctly. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of John Mazzocchi Sent: Wednesday, October 11, 2006 12:11 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Data binding issue Has anyone had this warning come up? What did you do about it? Data binding will not be able to detect changes when using square bracket operator. For Array, please use ArrayCollection.getItemAt() instead. I don't have an Array but an XMLList(Collection) ... in my MXML, I tried replacing data.image[0][EMAIL PROTECTED] AND data.image[0] WITH data.image.getItemAt(0)[EMAIL PROTECTED] AND data.image.getItemAt(0) No errors, but it doesn't work either. Cheers John __._,_.___ -- 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] DataGrid change events
The valueCommit event will fire in this case, change is only when it was user-interaction that caused the selection, not programmatic changes. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Adam Royle Sent: Tuesday, October 10, 2006 6:31 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] DataGrid change events Hi all, I have implemented a select-all functionality for my datagrid when the user presses Ctrl-A. It works, however the change event is not being dispatched when I manually set the selectedIndices, therefore my listeners a not being notified the selection has changed. Is this a bug, or is there a better way to implement something like this? mx:Script public function captureDatagridKey(event:KeyboardEvent):void { var a:Array, i:Number; if (event.ctrlKey event.keyCode == 65){ var num:Number = event.target.dataProvider.length as Number; a = []; for (i=0;inum;i++) a[i] = i; event.target.selectedIndices = a; } } /mx:Script Cheers, Adam __._,_.___ -- 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: getDefinitionByName(): Variable ... is not defined.
You could also look into the includes compiler directive. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of gustavo.saume Sent: Wednesday, October 11, 2006 5:11 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: getDefinitionByName(): Variable ... is not defined. Hello Tobias, i recently had the same problem, the workarround i usesd was to create a class with a variable declaration of all the classes i might create eg. public class AllClasses { public var tmp1:classOne; public var tmp2:classTwo; } and then in my class where i call getDefinitionByName i created another varible of this type (eg. public var tmp:AllClasses)...you dont need to instanciate it... it´s almost the same but at least is a bit organized... if anyone have a more elegant solution please notify... Gus. --- In [EMAIL PROTECTED]ups.com, tobiaspatton tobias.patton@... wrote: Hello List; I'm trying to create an interface where a user's selection in a menu component results in other components being created. Right now I'm just prototyping, and experimenting with different ways I might do this. One way I've thought of is to use an XML data provider for the list where an attribute of each menu entry describes a class that should be instantiated when that item is selected. e.g. menu item label=classOne childClass=com.Kodak.Galiano.Test.classOne/ I'm running into a problem, though. Because classOne is never actually used in the source code, classOne is not being compiled and linked into the application. When I call getDefinitionByName ( com.Kodak.Galiano.Test.classOne ), there is an error: Variable classOne is not defined. Is there some trick I can use to force classOne to be compiled and linked into the application? Right now my solution is to add a private function that defines a local variable of the appropriate type. private function TrickCompiler() : void { var x : classOne; } This does the trick, but it sure seems hacky. Thanks. Tobias. __._,_.___ -- 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] Unable to pull up API in FlexBuilder with Ctrl + Spacebar
Ill ask the FB team. What happens if you backspace over readyTimer, then re-type? I think Ive found that often it needs to be typing as opposed to go to something that already exists. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of e_baggg Sent: Wednesday, October 11, 2006 2:50 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Unable to pull up API in FlexBuilder with Ctrl + Spacebar This has to be the most frustrating thing I've come across in a long time (more frustrating then when my computer got hosed trying to debug Flex 1.5 apps accidentally with the Flash 8.5 beta plugin). Anyway, I am no longer able to pull up the dynamic menu of class names and variable attributes when typing code in FlexBuilder and hitting Ctrl + Space bar. Right now, I have to manually copy and paste full class names to import a class, and ctrl + click around to get variable names. This has dramatically slowed my performance. Not to mention having to go to the docs to see the available functions. :-( If I type var s : S .. then the menu pops up and as I keep typing String it narrows down to String...but for existing lines of code like this: var readyTimer:Timer = new Timer(100, 0); readyTimer.addEventListener(TimerEvent.TIMER, timerHandler); If I put the cursor after the readyTimer. and hit Ctrl + Spacebar..I get nothing. I've tried all of the following to no luck: 1.) Running Project -- Clean 2.) Restarting my PC 3.) (From the beta days), Removing the Flex Project, then deleting the 'bin', 'html-template', and '.settings' directories and the .project, .flexProperties, and .actionScriptProperties files...then recreating the Flex project. 4.) Uninstalled my Flex Builder, downloaded the latest FB2 from adobe.com, and created the new project pointing to my files. Any ideas? I do not have any Problems (errors) in my Project. This problem exists for my AS files and MXML files. I know for a fact my Ctrl spacebar buttons work too b/c I can Ctrl Save. *sigh* __._,_.___ -- 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] Am I expecting too much from data binding?
There should be a collectionChange event coming from the XMLListCollection that you could use to re-trigger whats necessary in just the Repeater? From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Marlon Moyer Sent: Thursday, October 12, 2006 9:33 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Am I expecting too much from data binding? I've got an xml file that I read in as e4x format and create an interface from using repeaters. The interface looks like this: Accordion - Policy Accordion - Division TabNavigator - State Repeating Rows of classcodes Button to add a class code to the current state I've got the logic written so that once the button is pushed, a class code is added in the correct section of the xml document. This alone will not spark a change in the interface. I explicitly have to reset the value of the top databinding variable (an xmllistcollection) to a new xmllistcollection based on the e4x xml variable. This has the nasty side effect of resetting the interface to accordion 0, accordion 0, tab 0. Is this the way it works, or am I missing something Thanks -- Marlon __._,_.___ -- 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] binding to an element of an array (Flex 1.5)
Nope, with Arrays what you did is exactly the right thing. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of [EMAIL PROTECTED] Sent: Thursday, October 12, 2006 8:02 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] binding to an element of an array (Flex 1.5) Hi everyone, I saw in the documentation that one can't bind to elements of an arrays. Indeed, it seems that something like label text={someArray[1]}/ does nothing. I searched through the mailing list archive and made some tests myself, but couldn't find something really simple. - The first step seems to put : someArray.replaceItemAt(1, item) instead of someArray[1] = item The reason is that it will make someArray dispatch a modelChanged event. - I tried several things, including using mx:Model or mx:Binding tags to make the linkage, but then I doesn't work, and I couldn't find anyhting better than : someArray.addEventListener(modelChanged, this); With an event handling function that does the binding. Although it is working, it looks a bit dirty. I hope there is some way to do it without any actionscript lines, just like the other bindings. - Here is a little example of something that I took as a starting example. What can be done to make it work ? mx:Script ![CDATA[ var sourceArray = [ one, two, three ]; ]] /mx:Script mx:TextInput id=sourceText text=Replace It ! / mx:Button label=Update data click=sourceArray.replaceItemAt(1, sourceText.text); / mx:Label text=sourceArray.getItemAt(1)='{ sourceArray.getItemAt(1) }' / Thanks, Damien __._,_.___ -- 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] my event isn't sufficiently loaded to provide this information.
I see it. It may be that the deep recursive printing in the MouseEvent is hitting something it shouldnt be. Maybe try excluding some of the properties like target so it doesnt go too deep? From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of David Harris Sent: Thursday, October 12, 2006 1:24 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] my event isn't sufficiently loaded to provide this information. This is a bit weird. (Every other time I have said this it's been me but...) I have a custom event that I am broadcasting on a button click. The Button is clicked, which then calls a function. When I put a trace of the event.target I get the The loading object is not sufficiently loaded to provide this information. error. I am not sure why this is happening as the target is fully loaded before I click it. Any one else seen this? The below snippet causes this error for me. Do you see this error when you run the below code?: = ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml layout=absolute mx:Script ![CDATA[ import mx.utils.ObjectUtil; public function buttonClickHandler(event:MouseEvent):void { trace(ObjectUtil.toString(event)); } ]] /mx:Script mx:HBox mx:Button id=thisButton click=buttonClickHandler(event) / /mx:HBox /mx:Application __._,_.___ -- 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] Reusing Custom ItemRenderer in a DataGrid
You might want to look at the listData which will give you more info as to which column the checkbox represents. The data is shared across columns, so I think cbSelected will be true as soon as any of your properties is not null. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Aaron West Sent: Friday, October 13, 2006 7:37 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Reusing Custom ItemRenderer in a DataGrid All, I've just signed up for the list hoping to get some help on some Flex items and also contribute any way I can. I've been developing in ColdFusion for 6 years and recently started integrating Flex 2.0 development with my CF development. Anyhow, enough about me, on to my question. I'm attempting to setup a custom ItemRenderer (a checkbox) in multiple DataGrid columns. I've successfully done this with one column already but when trying to make my custom ItemRenderer generic enough so it can be used across multiple columns I've run into issues. Below is snippet of my DataGrid code as well as the code for the custom ItemRenderer. The behavior I'm seeing is selecting the checkbox in the groupOwner column affects - in odd ways - the checboxes in the other columns using the same renderer. I'm pretty sure it's because all the columns reference the same name for the editorDataField attribute. But, I'm not sure how to make the value of that attribute different across columns and still use the same custom ItemRenderer. Can anyone point me in the right direction? // Custom Checkbox ItemRenderer // NOTE: Much of the code in the overridden method is speculative and // probably all wrong. ?xml version=1.0 encoding=utf-8? mx:VBox xmlns:mx=http://www.adobe.com/2006/mxml horizontalAlign=center horizontalScrollPolicy=off verticalScrollPolicy=off mx:Script ![CDATA[ import mx.events.FlexEvent; import mx.controls.Alert; import mx.core.Application; [Bindable] public var cbSelected:Boolean; override public function set data(value:Object):void { if (value != null) { super.data = "" if (value.BISOWNER != null) { cbSelected = value.BISOWNER; } else if (value.BISEXPORTED != null) { mx.controls.Alert.show(bisexported); cbSelected = value.BISEXPORTED; } else if (value.ALLOWEDITS != null) { cbSelected = value.ALLOWEDITS; } else if (value.BISVINDECODE != null) { cbSelected = value.BISVINDECODE; } } dispatchEvent( new FlexEvent(FlexEvent.DATA_CHANGE)); } ]] /mx:Script mx:CheckBox id=cbGeneric selected={cbSelected} click=cbSelected = cbGeneric.selected updateComplete=cbSelected = cbGeneric.selected/ /mx:VBox // DataGrid Snippet mx:DataGrid id=dgGroupingSetup dataProvider={groupingSetup} itemEditEnd=processDGEdit(event) width=100% editable=true height=246 mx:columns mx:DataGridColumn id=groupID headerText=Group ID dataField=INVENTORYGROUPINGID editable=false width=60/ mx:DataGridColumn id=groupOwner headerText=Group Owner dataField=BISOWNER itemRenderer=ItemRenderers.GenericCheckboxRenderer rendererIsEditor=true editorDataField=cbSelected width=85/ mx:DataGridColumn id=exportData headerText=Export Data dataField=BISEXPORTED itemRenderer=ItemRenderers.GenericCheckboxRenderer rendererIsEditor=true editorDataField=cbSelected width=80/ mx:DataGridColumn id=allowEdits headerText=Allow Edits dataField=ALLOWEDITS itemRenderer=ItemRenderers.GenericCheckboxRenderer rendererIsEditor=true editorDataField=cbSelected width=75/ mx:DataGridColumn id=vinDecode headerText=VIN Decode dataField=BISVINDECODE itemRenderer=ItemRenderers.GenericCheckboxRenderer rendererIsEditor=true editorDataField=cbSelected width=80/ /mx:columns /mx:DataGrid | Aaron West | aaron AT trajiklyhip DOT com | http://www.trajiklyhip.com/blog/ | Certified Advanced Adobe ColdFusion MX 7 Developer | Certified Macromedia FlashMX Developer | Adobe Community Expert __._,_.___ -- 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)
RE: [flexcoders] Cannot get Accept-Language from HTTP header with httpService
Maybe you can just use ExternalInterface to read the browsers language? I think theres navigator.language or navigator.userLanguage? From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of jfournet Sent: Friday, October 13, 2006 12:46 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Cannot get Accept-Language from HTTP header with httpService I am trying to get the Accept-Language header by calling the following jsp with a flex httpService to get the locale of the client's browser for i18n purposes. When I execute the jsp standalone the Accept-Language header is there, but when I execute it by calling it with an httpService there is no Accept-Language header. Can anyone tell me why this is so and direct me to a method to get the browser's prefered locale? getlocale.jsp % String s = request.getHeader(Accept-Language); out.println(s.substring(0,2) + _ + s.substring(3,5)); % Flex Application: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml layout=absolute creationComplete=initApp(); mx:Script ![CDATA[ import flash.external.ExternalInterface; import mx.rpc.events.ResultEvent; public var clientLocale:String = new String(); [Bindable] public var localeSWF:String; import mx.controls.Alert; private function initApp():void { getClientLocale.send(); } public function setLocale (event:ResultEvent):void { //Alert.show(String (getClientLocale.lastResult)); localeSWF = helloworld_ + String (getClientLocale.lastResult) + .swf; } ]] /mx:Script mx:HTTPService id=getClientLocale useProxy=false resultFormat=text result=setLocale(event) showBusyCursor=true method=POST url="">jsp /mx:HTTPService mx:SWFLoader id=myLoader width=300 source={localeSWF}/ /mx:Application __._,_.___ -- 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] Re: Where to Download Eclipse 3.1.x?
I have some related questions. I will probably want eclipse for use besides flex. But flex uses a slightly older version of eclipse. Should I install flex with customized eclipse alongside the lastest eclipse, or standalone eclipse 3.1.2, and not worry about the slight version lag? Or can flex actually run in 3.2.1? At the eclipse download page, the sdk is the 'main' eclipse download, the ibm etc 'distros' are basic eclipse plus other stuff? Are the distros the way to go, or overkill for an eclipse and non-java programmer? The eclipse sdk always comes with the java dev tools, which I may not use? -- 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] Acceptance testing
If you're interested in functional testing with Mercury QTP I can get you on our beta, let me know off-list. Note that you need to be a QTP user (or talk to their sales about becoming one) for this to be of value. Matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dimitrios Gianninas Sent: Saturday, October 14, 2006 6:16 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Acceptance testing Hi, There are 2 things available. Well 2 different things :) 1) FlexUnit - this allows u to write test cases a la JUnit for your AS3 classes (http://labs.adobe.com/wiki/index.php/ActionScript_3:resources:apis:libr aries) 2) Mercury QuickTest Pro 9+ supports automated testing of applications built with Flex. This is type of thing where u record action, play them back and do some validation. For #2, you will have to contact Adobe about further info, or perhaps some Adobe employee can reply to this thread with further info. Dimitrios Gianninas Optimal Payments Inc. -Original Message- From: flexcoders@yahoogroups.com on behalf of Allen Riddle Sent: Fri 10/13/2006 12:24 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Acceptance testing Does anybody know of any functional or acceptance testing tools for Flex? I want to write acceptance testing scripts for my Flex app. Allen Riddle Sofware Development x3217 -- 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] NEEDED: Flex/flash developer for quick job
Hello, I have a small flex/flash job that I would like some help with. At its simplest, I need a flash web site that draws from a database for pics and text. It is 100% designed already. What I need from you is a simple Flex/Flash framework so I can drop stuff into the database and BOOM, we have a flash/flex website. Timeframe: Immediately. I think we could do this in a couple part time days, maybe faster. Bid: Tell me what you'd want. How we will work together: over the net, yahoo messenger and email. Phone if needed. Please tell me about your experience and send me some urls of your work. I look forward to hearing from you, Maya Wallach hosting at flyingmountain dot 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: Where to Download Eclipse 3.1.x?
I have some related questions (not sure what happened to my orig posting about an hour ago, hopfully doens't end up as a double post). I will probably want eclipse for use besides flex builder. But flex builder uses a slightly older version of eclipse. Should I install flex with customized eclipse alongside the lastest eclipse, or standalone eclipse 3.1.2, and not worry about the slight version lag? Or can flex builder actually run in 3.2.1? At the eclipse download page, the sdk is the 'main' eclipse download, the ibm etc 'distros' are basic eclipse plus other stuff? Are the distros the way to go, or overkill for an eclipse and non-java programmer? I take it the eclipse sdk always comes with the java dev tools? Thanks --- In flexcoders@yahoogroups.com, Dimitrios Gianninas [EMAIL PROTECTED] wrote: You can download Eclipse 3.1.2 from here: http://archive.eclipse.org/eclipse/downloads/drops/R-3.1.2-200601181600/index.php I recommend the SDK version (top of page), because it has the JDT already contained within it. Once you have that installed and working, then install the FlexBuilder plug-in and thats all you need. Sorry dont know about JBossIDE, dont use it. Hope that helps! Dimitrios Gianninas Optimal Payments Inc. -- 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: DataGrid HeaderRenderer and DataProvider
Thanks for the reply, but unfortunately I don't follow all of it. I'm new to Flex, so could you please explain more? I get the AS3 extending DataGrid. How can you dynamically set the dataProvider to pass in info to the headerRenderer? A small snippet of code would be greatly appreciated. Thanks again, jelentz --- In flexcoders@yahoogroups.com, Aaron West [EMAIL PROTECTED] wrote: jelentz, Based on my limited experience I would suggest creating a custom AS3 class that extends DataGrid. You can then dynamically set the dataProvider, loop through whatever part of the data provider you need, and based on the values therein create the number of data grid columns you need. | Aaron West | aaron AT trajiklyhip DOT com | http://www.trajiklyhip.com/blog/ | Certified Advanced Adobe ColdFusion MX 7 Developer | Certified Macromedia FlashMX Developer | Adobe Community Expert On Oct 13, 2006, at 8:40 PM, jlentz2112 wrote: Hi, I've got an app where I need a DataGrid that will have a varying number of columns based on the value from a database query. I also need to be able to have each column header display a couple of images and the text provided by the database query. Is there a way to use a dataprovider to create a varying number of columns, and to use the dataprovider to pass in images and text? I've looked for examples and haven't had much luck finding any that I could follow. A simplified explanation would be greatly appreciated. Thank you, jelentz -- 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: setting an external f9 swf's library symbols width
* bump *Could anyone help me please?2006/10/11, Bart Wttewaall [EMAIL PROTECTED]: Hi folks,This might be a basic question that might already have passed this list, but for the life of me I couldn't find any good keywords to search on. Help me out please!I'm using an external Flash9 swf as an assets-library. In the code below I created a class for one of the assets so I can add it as a child to a Canvas. All works well, but it seems I can't set the width. The original within the swf is 100x100 px, but I'd like to stretch it to 200x100 px. Actually I need it to be width=100% so it stretches to the canvas' width. However, it stays 100px in width. When I tried scaleX=2 it succeeded in streching the asset to double its width, but that's not very helpfull... So the question is; what should I do to be able to set the ShadowSymbol child to 100% its parents witdh?Thanks a lot!Bart Wttewaall// -- classes/ShadowSymbol.aspackage classes { import mx.core.UIComponent; [Embed(source=../assets/assets.swf, symbol=shadowSymbol)] public class ShadowSymbol extends UIComponent {public function ShadowSymbol() { super(); } }}// -- test.mxmlmx:Canvas xmlns:mx= http://www.adobe.com/2006/mxml xmlns:mm=classes.* width=400 height=300 backgroundColor=#99 mm:ShadowSymbol x=0 y=0 width=100% blendMode=darken//Canvas __._,_.___ -- 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: Where to Download Eclipse 3.1.x?
The FlexBuilder 2.0 plug-in only works with Eclipse 3.1.x. If you don't need the Java dev portion of Eclipse then just download the base called Platform Runtime Binary from this page: http://archive.eclipse.org/eclipse/downloads/drops/R-3.1.2-200601181600/index.php (scroll down a bit) I don't think there is any problem running FlexBuilder stand-alone with any other version of Eclipse, side-by-side. Just make sure they dont share the same workspace (ex.: C:\dev), I think there are problems with this. Dimitrios Gianninas Optimal Payments Inc. -Original Message- From: flexcoders@yahoogroups.com on behalf of MichaelS Sent: Sat 10/14/2006 12:52 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Where to Download Eclipse 3.1.x? I have some related questions. I will probably want eclipse for use besides flex. But flex uses a slightly older version of eclipse. Should I install flex with customized eclipse alongside the lastest eclipse, or standalone eclipse 3.1.2, and not worry about the slight version lag? Or can flex actually run in 3.2.1? At the eclipse download page, the sdk is the 'main' eclipse download, the ibm etc 'distros' are basic eclipse plus other stuff? Are the distros the way to go, or overkill for an eclipse and non-java programmer? The eclipse sdk always comes with the java dev tools, which I may not use? -- 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/ winmail.dat
[flexcoders] Re: How to invalidate ViewStack Pages
How do you reinitialize a pane? Is there some function that is called everytime you switch to a new child? I'm wanting to pass an object into a child each time I call it, so I need someway to have a function called automatically when a child is switched to, so I can reinitialize and use the data just passed in. Thanks, jelentz --- In flexcoders@yahoogroups.com, Gordon Smith [EMAIL PROTECTED] wrote: Databinding is one way to accomplish this: mx:TextInput id=name text={someDataObject.name}/ Another would be to write a change handler on the ViewStack. Switch on the selectedIndex and re-initialize the pane you're changing to. - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jlentz2112 Sent: Friday, October 13, 2006 8:17 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] How to invalidate ViewStack Pages Hi, I've got a ViewStack that I navigate around using selectedIndex. It works fine the first time I go to a page, but when I leave and return to that same page, I need to have all the TextInput fields re-initialized. It doesn't seem to do that. Returning to a previously selected index displays the data that was there when I left that page - not the new data I have. Is there a way to force a child page to create or refresh its different fields? Thanks, jelentz -- 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: Flex 2.0 And .net webservices Dataset retrieving problem
Hey Kirk, I can't speak for everyone, but typically the result from a service call is cast to Value Objects in the model (ModelLocator, if you're using Cairngorm). Yes, the VO's would be hand-coded andwould be populated in the onResult handler function. Unless you're useng FDS or WebOrb, I don't think that there is an automatic way to generate the VO's. However, others know more about this, Perhaps someone else can ellaborate further. -TH__ Tim Hoff Cynergy Systems, Inc. http://www.cynergysystems.com Office: 866-CYNERGY--- In flexcoders@yahoogroups.com, "Kirk Marple" [EMAIL PROTECTED] wrote: don't mean to push this discussion off-track, but for the simplest case where i have a .NET-based REST web service returning XML results, what is the easiest way to implement this mapping on the Flex side? i've been reviewing the YouTube and Flickr classes that use URLLoader to pull from their REST web services, and i see how those examples have AS3 value object classes that are populated when the web service result is received. is this a common approach that others are following, or are there other common options i'm not seeing? given that the XML returned from the REST web service is actually serialized classes from my .NET back-end, do people typically just regenerate the AS3 classes by hand, or are there common tools to generate them? say, if i had an XSD from my .NET class, are there tools to generate the AS3 classes from the XSD? i wouldn't want to have to re-create everything by hand on the Flex side, because i already have that class layout in C#, so it would be nice to re-use some of that information. thanks, Kirk _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tim Hoff Sent: Saturday, October 14, 2006 3:02 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Flex 2.0 And .net webservices Dataset retrieving problem Here's the links to WebOrb and Fluorine: WebOrb http://www.themidnightcoders.com/weborb/dotnetweborb.htm Fluorine http://fluorine.thesilentgroup.com/fluorine/index.html -TH __ Tim Hoff Cynergy Systems, Inc. http://www.cynergys http://www.cynergysystems.com/ ystems.com Office: 866-CYNERGY --- In flexcoders@yahoogroups.com, Sajid Hussain enchanter_saj@ wrote: Hi Tim, Thanks for ur informative words, I have been working with Flash Remoting with .net but adobe still amaze me why not Remote objcts for .netcould u tell me some links about working with Flourine and Flex 2. Tim Hoff TimHoff@ wrote: Hi Sajid, If you have a choice, I would definitely recommend that you use remoteObjects with Adobe products. Flex was built with tight integration to Cold Fusion and Flex Data Services. Understandably, working with these products will create fewer headaches. Some companies and developers, although, don't have a choice of the backend and/or middle tier; because of the investment in IT infrastructure. Fortunately, Flex accommodates other frameworks through webservices and HTTPService. If you are having trouble figuring out how to use webservices yourself, you can always look into using WebOrb or Flourine. These integrated products offer the use of remoteObjects with .Net. They also offer examples how to get you connected. Either way, you do have options that work. The help docs can help you considerably in this area. -TH __ Tim Hoff Cynergy Systems, Inc. http://www.cynergysystems.com Office: 866-CYNERGY --- In flexcoders@yahoogroups.com, Sajid Hussain enchanter_saj@ wrote: Hi ! as few days experince with flex and .net ..I am thinking to start flex with php or with JavaRemote Objects ,and infact as i think .net will be more strong with its new verssion of Interface XAML ...but i still misss Macromediaa word from my Start Menu :D Matias Nicolas Sommi nicosommi@ wrote: He!, the first problem was "metabase permission" on the iis, and I download a microsoft tool to fix it (aspnet_iisreg or something like that). I run the command for give to the iis to read acces to the metabase. After this, I've got an extrange error, it's like the iis was reading an extrange symbol in the asmx file. But after reinit, the problem was fixed :S... The only thing that I don't know is: when i pass more than one parameter from flex to a webservice, the Array class in flex separate the arguments with comma, and NET receive it in only one string comma separated... this is the normal way or something was wrong? Thanks. If someone has problems with asp webservice/IIS please ask me, if I can, I help. Bye. 2006/10/12, Sajid Hussain enchanter_saj@ : Could u telll ...what was the problem ?? Matias Nicolas Sommi nicosommi@ wrote:Hello, I fix the IIS configuration problem. Now I can consume NET webservice without problem.Thanks to all for the help. PD: for the IIS, isn't related to flex, and for that
[flexcoders] Re: Flex 2.0 And .net webservices Dataset retrieving problem
Hey Kirk, I can't speak for everyone, but typically the result from a service call is cast to Value Objects that reside in the model (ModelLocator, if you're using Cairngorm). Yes, the VO's would be hand-coded andwould be populated in the onResult handler function. Unless you're useng FDS or WebOrb, I don't think that there is an automatic way to generate the VO's. However, others know more about this, Perhaps someone else can ellaborate further. -TH__ Tim Hoff Cynergy Systems, Inc. http://www.cynergysystems.com Office: 866-CYNERGY--- In flexcoders@yahoogroups.com, "Kirk Marple" [EMAIL PROTECTED] wrote: don't mean to push this discussion off-track, but for the simplest case where i have a .NET-based REST web service returning XML results, what is the easiest way to implement this mapping on the Flex side? i've been reviewing the YouTube and Flickr classes that use URLLoader to pull from their REST web services, and i see how those examples have AS3 value object classes that are populated when the web service result is received. is this a common approach that others are following, or are there other common options i'm not seeing? given that the XML returned from the REST web service is actually serialized classes from my .NET back-end, do people typically just regenerate the AS3 classes by hand, or are there common tools to generate them? say, if i had an XSD from my .NET class, are there tools to generate the AS3 classes from the XSD? i wouldn't want to have to re-create everything by hand on the Flex side, because i already have that class layout in C#, so it would be nice to re-use some of that information. thanks, Kirk _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tim Hoff Sent: Saturday, October 14, 2006 3:02 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Flex 2.0 And .net webservices Dataset retrieving problem Here's the links to WebOrb and Fluorine: WebOrb http://www.themidnightcoders.com/weborb/dotnetweborb.htm Fluorine http://fluorine.thesilentgroup.com/fluorine/index.html -TH __ Tim Hoff Cynergy Systems, Inc. http://www.cynergys http://www.cynergysystems.com/ ystems.com Office: 866-CYNERGY --- In flexcoders@yahoogroups.com, Sajid Hussain enchanter_saj@ wrote: Hi Tim, Thanks for ur informative words, I have been working with Flash Remoting with .net but adobe still amaze me why not Remote objcts for .netcould u tell me some links about working with Flourine and Flex 2. Tim Hoff TimHoff@ wrote: Hi Sajid, If you have a choice, I would definitely recommend that you use remoteObjects with Adobe products. Flex was built with tight integration to Cold Fusion and Flex Data Services. Understandably, working with these products will create fewer headaches. Some companies and developers, although, don't have a choice of the backend and/or middle tier; because of the investment in IT infrastructure. Fortunately, Flex accommodates other frameworks through webservices and HTTPService. If you are having trouble figuring out how to use webservices yourself, you can always look into using WebOrb or Flourine. These integrated products offer the use of remoteObjects with .Net. They also offer examples how to get you connected. Either way, you do have options that work. The help docs can help you considerably in this area. -TH __ Tim Hoff Cynergy Systems, Inc. http://www.cynergysystems.com Office: 866-CYNERGY --- In flexcoders@yahoogroups.com, Sajid Hussain enchanter_saj@ wrote: Hi ! as few days experince with flex and .net ..I am thinking to start flex with php or with JavaRemote Objects ,and infact as i think .net will be more strong with its new verssion of Interface XAML ...but i still misss Macromediaa word from my Start Menu :D Matias Nicolas Sommi nicosommi@ wrote: He!, the first problem was "metabase permission" on the iis, and I download a microsoft tool to fix it (aspnet_iisreg or something like that). I run the command for give to the iis to read acces to the metabase. After this, I've got an extrange error, it's like the iis was reading an extrange symbol in the asmx file. But after reinit, the problem was fixed :S... The only thing that I don't know is: when i pass more than one parameter from flex to a webservice, the Array class in flex separate the arguments with comma, and NET receive it in only one string comma separated... this is the normal way or something was wrong? Thanks. If someone has problems with asp webservice/IIS please ask me, if I can, I help. Bye. 2006/10/12, Sajid Hussain enchanter_saj@ : Could u telll ...what was the problem ?? Matias Nicolas Sommi nicosommi@ wrote:Hello, I fix the IIS configuration problem. Now I can consume NET webservice without problem.Thanks to all for the help. PD: for the IIS, isn't related to flex, and
[flexcoders] Sr. Flex Technical Writer Position - Adobe San Fransicso
If you are interested, please send your resume to [EMAIL PROTECTED] Sr. Technical Writer - Flex The Flex documentation team has an opening for an experienced senior technical writer. The ideal candidate has a keen interest in web-based application development, online documentation delivery, emerging content delivery technologies, and the tools used by application developers. The candidate should also be adept at information architecture with the ability to analyze diverse information sources and develop unifying frameworks. Responsibilities: Gather information for the documentation by studying specs, working with products, and speaking with contacts in Engineering, Product Management, Product Marketing, Technical Support, and other organizations. Create conceptual, usage, and API documentation. Work with editors, other writers, production artists, instructional designers, and reviewers to refine content per each review. Facilitate strong and positive working relationships with various teams, including Product Management, Product Marketing, Engineering, and Technical Support. Knowledge Skills: Five to eight years experience writing/editing developer documentation. Excellent developmental editing, writing, and verbal communication skills. Ability to produce quality documentation with aggressive deadlines. Proven ability to work well independently and as part of a team. Ability to develop simple code examples. Comfortable with emerging technologies. Ideal Candidate: Familiar with Flex, ActionScript, and _javascript_. Familiar with server-side Java. Experience with web-based documentation delivery. Experience with XML, content management systems, and single-sourcing content. Experience with Eclipse or other Eclipse-based Integrated Development Environments (IDEs). Adobe believes personal fulfillment and company success go hand in hand, sustaining one another. In fact, our dynamic, rewarding working environment is well known including seven consecutive years on FORTUNE magazines 100 Best Companies to Work For and other, similar accolades. By hiring the very best and brightest, Adobe continues to be a simply better place to work creating a dynamic environment today and providing incentives for future achievement. Kim HoffmanGlobal Talent Recruiter Adobe Systems Incorporated345 Park Avenue San Jose, CA 95110-2704 USA408.536.6935p [EMAIL PROTECTED] www.adobecareers.com __._,_.___ -- 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: How to invalidate ViewStack Pages
There is no function on the child pane that is called when the ViewStack switches to it. All the ViewStack does is bring that child to the front. But if you write a handler for the ViewStack's change event, it will get called every time selectedIndex or selectedChild changes. So you can do something like this: mx:Script private function changeHandler(event:Event):void { if (viewStack.selectedChild == pane1) pane1.name = Gordon; } /mx:Script mx:ViewStack id=vs chage=changeHandler(event) mx:Canvas id=pane0 ... /mx:Canvas mx:Canvas id=pane1 mx:TextInput id=name/ /mx:Canvas /mx:ViewStack If each pane were a component with a reinitialzie() method that you wrote, you could simplify this so mx:ViewStack id=vs change=vs.selectedChild.reinitialize() ... mx:ViewStack But using databinding is even easier. - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jlentz2112 Sent: Saturday, October 14, 2006 2:59 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: How to invalidate ViewStack Pages How do you reinitialize a pane? Is there some function that is called everytime you switch to a new child? I'm wanting to pass an object into a child each time I call it, so I need someway to have a function called automatically when a child is switched to, so I can reinitialize and use the data just passed in. Thanks, jelentz --- In [EMAIL PROTECTED]ups.com, Gordon Smith [EMAIL PROTECTED] wrote: Databinding is one way to accomplish this: mx:TextInput id=name text={someDataObject.name}/ Another would be to write a change handler on the ViewStack. Switch on the selectedIndex and re-initialize the pane you're changing to. - Gordon From: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] On Behalf Of jlentz2112 Sent: Friday, October 13, 2006 8:17 PM To: [EMAIL PROTECTED]ups.com Subject: [flexcoders] How to invalidate ViewStack Pages Hi, I've got a ViewStack that I navigate around using selectedIndex. It works fine the first time I go to a page, but when I leave and return to that same page, I need to have all the TextInput fields re-initialized. It doesn't seem to do that. Returning to a previously selected index displays the data that was there when I left that page - not the new data I have. Is there a way to force a child page to create or refresh its different fields? Thanks, jelentz __._,_.___ -- 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] Re: Text Area question
Hey Gordon, you seem to have a knack for explaining things very clearly and concisely. Any chance we'll see tutorials or a book from you at some point? I'd buy it in a heartbeat. Thanks, Ben --- In flexcoders@yahoogroups.com, Gordon Smith [EMAIL PROTECTED] wrote: Below is an example of forcing text input to uppercase as the user types it. The trick is to handle the 'textInput' event, which is dispatched after the user presses a key but before the new text appears in the TextArea (or TextInput, or TextField). This is a cancelable event, which means that you can call event.preventDefault() to prevent the system from doing the default handling of this event;. For this event, calling preventDefault() means that the TextArea won't process the keystroke. Instead you process it yourself by uppercasing it, inserting it in the appropriate place in the TextArea's text string, and setting the insertion point to be after the new uppercase character. - Gordon ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; mx:Script ![CDATA[ private function textInputHandler(event:TextEvent):void { event.preventDefault(); var textArea:TextArea = TextArea(event.target); var oldText:String = textArea.text; var before:String = oldText.substring(0, textArea.selectionBeginIndex); var after:String = oldText.substring(textArea.selectionEndIndex); var newText:String = event.text.toUpperCase(); var newInsertionOffset:int = (before + newText).length; textArea.text = before + newText + after; textArea.setSelection(newInsertionOffset, newInsertionOffset); } ]] /mx:Script mx:TextArea id=ti textInput=textInputHandler(event)/ /mx:Application From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of brankosli Sent: Saturday, October 14, 2006 4:14 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Text Area question I have tried item.text = item.text.toUpperCase().and implemented on textArea component but is seems to change all previous typing to upperCase and that wasn't my need.I need to be able to change case when I type new line.Maybe the other solution will help but I hope that there is some other easier way to do that. If You have some idea please type it. --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Karl Johnson karl.johnson@ wrote: You probably can not turn on CAPS Lock from your flex app, probably a bit of a security risk. I doubt the flash player has access and/or allows flash apps to get access to do that (correct me if I am wrong). If you need to ensure that everything they type is in all CAPS, then just set the text value like this: item.text = item.text.toUpperCase(). Or another possible way is to listen on the keypress and convert it as they press. I guess you could also listen on the change event and convert it then, but it might be a bit laggy with fast typing. Hope that helps some, feel free to reply back if you need more help with it. Karl Cynergy Systems, Inc. From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of brankosli Sent: Friday, October 13, 2006 2:39 PM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] Text Area question I will be more that thankful if someone could solve my problem.I'm working with textArea component and I have 2 questions: I need to know if there is any possibility to fix left and right margin in textArea component? And also I need to know if there is possibility to turn on and off capsLock by coding not by pressing keyboard? -- 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