[flexcoders] resizing an image with actionscript/flex 2
Hi all, i'm devoloping an application that has an image uploader. I'm wondering if there is a way to resize an image (jpg) before uploading to the server. Any examples or suggests? Thanks in advance best reagrds Duccio Del Ministro -- 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: Multiline ComboBox
Have you tried playing around with PopUpButton? it might be what you're looking for, -sam On 10/17/06, Michael Labriola [EMAIL PROTECTED] wrote: Michael,Problem is that ComboBase uses a textInput control to display thecurrently selected item. The TextInput is limited to displaying asingle line of text.You could certianly change this, but, it seems as though it will require extending ComboBox, not just making an itemRenderer.--Mike--- In flexcoders@yahoogroups.com, Michael [EMAIL PROTECTED] wrote: Does anyone know how I can get my combobox to display 2 lines asopposed to only one line. I can display 2 lines in the dropdown area, but not in the main combobox display.Here is what I have so far:public function initRenderer():void { var myRenderer:ClassFactory = new ClassFactory( mx.controls.Text); myRenderer.properties = {maxHeight:60}; this.cb.itemRenderer = myRenderer; }mx:ComboBox id=cb fontSize=18 maxWidth={ this.width} dataProvider={cbData} labelField={cbLabelField} selectedIndex={getSelectedIndex()} change=comboBoxChange( cb.selectedItem)/Thanks in advance,Michael __._,_.___ -- 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] does FLEX2 support text direction right to left?
hello, can someone tell me if flex2 have an option of RTL text? i need to use hebrew and arabic in my flex app but i know the flash player do not have support for RTL text. or does it? is there any way to work with RTL texts ? -- 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] Bug in Date() class math
Hi folks, I submitted this bug to Adobe today. I was trying to figure out why my Date routines wouldn't work. Here's a test function which fails: The following code appears to mis-compute the result date. This is adding 16 days to the current date: public function testMike():void { var tday:Date; var res:Date; var test:Date; tday = new Date(2006,9,16,22,49,18,0); res = new Date(tday.getTime() + 16*24*60*60*1000); test = new Date(2006,10,1,22,49,18,0); assertTrue( Test: 16 via addDays(),\nNeed: 2006-11-01 22:49:18\nComp: +res+\nTest: +test+\n, res==test); } Results: Error: Test: 16 via addDays(), Need: 2006-11-01 22:49:18 Comp: Wed Nov 1 21:49:18 GMT-0500 2006 Test: Wed Nov 1 22:49:18 GMT-0500 2006 - expected true but was false My unit-test goes from 1-100 days (by 5), All dates below 16 days work. Anybody else see this? TIA Mike -- 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] writing and using classes
Hello, I want to make a class with a function I want to reuse in my application. This is new for me, so I need some help ... I've created a file CommonFunctions.as in the root of my application with this code: package { public class CommonFunctions { public function String2Date(doString:String):Date { var doYear:int = Number(doString.substr(0,4)); var doMonth:int = Number(doString.substr(5,2)); var doDay:int = Number(doString.substr(8,2)); var doHour:int = Number(doString.substr(11,2)); var doMin:int = Number(doString.substr(14,2)); var doSec:int = Number(doString.substr(17,2)); var myDate:Date = new Date(doYear, doMonth, doDay, doHour, doMin, doSec); // showErrorDialog(doString + + + doYear + + + doMonth + + + doDay + + + doHour + + + doMin + + + doSec); return myDate; } } } Now, how do I use in it on an other mxml-file in that application ? This does not work: dfShipping.selectedDate = String2Date(x.result[0].shipdatum[0].toString()); Thanks a lot, Frank -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Flex modules
Thats what I like to hear! Thanks! Dimitrios Gianninas Optimal Payments Inc. -Original Message- From: flexcoders@yahoogroups.com on behalf of Matt Chotin Sent: Tue 10/17/2006 12:20 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex modules It's finished in the next release, timing not yet announced. Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dimitrios Gianninas Sent: Monday, October 16, 2006 5:20 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex modules Hi, This is for Roger Gonzales the author of Modular Applications (http://blogs.adobe.com/rgonzalez/2006/06/modular_applications_part_2.html http://blogs.adobe.com/rgonzalez/2006/06/modular_applications_part_2.html ). I've download and played with the code in the last couple days and although it is raw stuff, it definitly shows the potiental of were this might go. Combined with RSLs this will make Flex apps lean and mean. Question, when will it be finished ?!:) Here is some feedback: 1) the module loaded, doesn't take on its full size (it seems to be shrunk) 2) doesn't work when the module's main container is a TitleWindow 3) The Module class extends VBox. Now the root container of every module will be either VBox, Panel, Canvas, whatever. Seems to me like thats heavy, since the outer container isn't really doing anything.. unless of course I am missing something. If it has to be a container, why not something lighter like Canvas? Or is it really not important? I was using your MXML sample more than the AS one. Thanks Roger and looking forward to more. Dimitrios Gianninas RIA Developer Optimal Payments Inc. AVIS IMPORTANT WARNING Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé. L'expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s'il est retransmis sans son autorisation. Si vous n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre système. La lecture, la distribution, la copie ou tout autre usage du présent message ou de ses pièces jointes par des personnes autres que le destinataire visé ne sont pas autorisés et pourraient être illégaux. Si vous avez reçu ce courrier électronique par erreur, veuillez en aviser l'expéditeur. This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient. No privilege or other rights are waived by any unintended transmission or unauthorized retransmission of this message. If you are not the intended recipient of this message, or if you have received it in error, you should immediately stop reading this message and delete it and all attachments from your system. The reading, distribution, copying or other use of this message or its attachments by unintended recipients is unauthorized and may be unlawful. If you have received this e-mail in error, please notify the sender. -- WARNING --- This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient. No privilege or other rights are waived by any unintended transmission or unauthorized retransmission of this message. If you are not the intended recipient of this message, or if you have received it in error, you should immediately stop reading this message and delete it and all attachments from your system. The reading, distribution, copying or other use of this message or its attachments by unintended recipients is unauthorized and may be unlawful. If you have received this e-mail in error, please notify the sender. AVIS IMPORTANT -- Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé. L'expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s'il est retransmis sans son 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
[flexcoders] Re: load date for DateField from database in correct format
Ok, wrote a simple solution myself for a string in this format: -mm-dd hh:mm:ss public function String2Date(doString:String):Date { var doYear:int = Number(doString.substr(0,4)); var doMonth:int = Number(doString.substr(5,2)); var doDay:int = Number(doString.substr(8,2)); var doHour:int = Number(doString.substr(11,2)); var doMin:int = Number(doString.substr(14,2)); var doSec:int = Number(doString.substr(17,2)); var myDate:Date = new Date(doYear, doMonth, doDay, doHour, doMin, doSec); return myDate; } --- In flexcoders@yahoogroups.com, Michael Labriola [EMAIL PROTECTED] wrote: Frank, The problem is that the dateField is looking for a Flex Date object. Guessing from the conversion to XML, the x.result[0].arrivaldate[0] is an XML node which contains a String. This String needs to be made into a Flex Date Object. There are a few ways to do this: var myDate:Date = new Date( y, m, d, h, m, s ); and parse it manually. Many people have spun there own code to do this, however, this might also be a resource for you: http://labs.adobe.com/wiki/index.php/ActionScript_3:resources:apis:libraries There are a few methods in DateUtil for parsing a string into dates. --Mike --- In flexcoders@yahoogroups.com, amigo_fd frank@ wrote: Hello, I have a webservice which loads from a database with ASP.NET C#. Dates are converted into the following format: ToString(/MM/dd HH:mm:ss) For instance: 2002/09/01 00:00:00 Within Flex they are assigned to a DateField with: var x:XML = new XML(WsImports.WsGetImportData.lastResult); dfArrival.selectedDate = x.result[0].arrivaldate[0]; But I get the error: cannot convert [EMAIL PROTECTED] element arrivaldate to Date Any ideas what would be the correct dateformat to use them in Flex ? Thanks a lot, Frank -- 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] Wrapping components within a container
Can we embed an Iframe in these fbox. I havnt tried this out but if we can I will surely give it a shot.. Thanks Kumar From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Brian Dunphy Sent: Tuesday, October 03, 2006 9:14 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Wrapping components within a container Trying to create a tag cloud eh? Maybe... :) Anyway, I created an FBox container based on some example code in the documentation (and some code from Flex 1 that I found), you can find the code in here: http://tech.groups.yahoo.com/group/flexcoders/message/40947 Best of luck. Brian On 10/3/06, David Katz [EMAIL PROTECTED]darden.edu wrote: Does anyone know if it's possible to wrap components within a container in Flex 2.0? I need to dynamically create a series of LinkButtons, for example, and have them wrap when they reach the right edge of their container. (Imagine a long clickable breadcrumb trail that wraps to a second line if the items get too long to fit within their container.) This is trivial to do in html by placing the elements in a div, but I can't figure out how to do it in Flex. Any help is appreciated. thanks, David -- David Katz [EMAIL PROTECTED]com -- Brian Dunphy __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
[flexcoders] resizing an image with actionscript/flex 2
Hi all, i'm devoloping a flex application that has an image uploader. I'm wondering if there is a way to resize an image (jpg) before uploading to the server. Any examples or suggests? Thanks in advance best reagrds Duccio Del Ministro -- 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: How do I recompile charts?
On Monday 16 October 2006 08:34, d.tuppeny wrote: I've modified the defaultColors list in the HaloDefaults.as, to customise the colours that appear in pie chart wedges, but it Would it not be better to create your own skin rather than mucking with the defaults of an existing one ? -- Tom Chiverton Helping to ambassadorially empower efficient deliverables This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Bug in Date() class math
Daylight saving time btw Oct 16 .. Nov 1?? BR, Pekka -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mike Crowe Sent: 17. lokakuuta 2006 6:32 To: flexcoders@yahoogroups.com Subject: [flexcoders] Bug in Date() class math Hi folks, I submitted this bug to Adobe today. I was trying to figure out why my Date routines wouldn't work. Here's a test function which fails: The following code appears to mis-compute the result date. This is adding 16 days to the current date: public function testMike():void { var tday:Date; var res:Date; var test:Date; tday = new Date(2006,9,16,22,49,18,0); res = new Date(tday.getTime() + 16*24*60*60*1000); test = new Date(2006,10,1,22,49,18,0); assertTrue( Test: 16 via addDays(),\nNeed: 2006-11-01 22:49:18\nComp: +res+\nTest: +test+\n, res==test); } Results: Error: Test: 16 via addDays(), Need: 2006-11-01 22:49:18 Comp: Wed Nov 1 21:49:18 GMT-0500 2006 Test: Wed Nov 1 22:49:18 GMT-0500 2006 - expected true but was false My unit-test goes from 1-100 days (by 5), All dates below 16 days work. Anybody else see this? TIA Mike -- 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: Multiple classes per package
--- In flexcoders@yahoogroups.com, Claus Wahlers [EMAIL PROTECTED] wrote: Use the 'internal' access modifier: // File mypackage/MainClass.as package mypackage { public class MainClass { // .. } } // File mypackage/HelperClass.as package mypackage { internal class HelperClass { // .. } } Thanks Claus I was meaning more whether it is possible to put 2 classes in 1 .as file, within a single package definition. So far, it looks like this is not possible. Regards Tracy -- 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] resizing an image with actionscript/flex 2
quick demo http://www.muzakdeezign.com/flex2/image_resizer/ source view: http://www.muzakdeezign.com/flex2/image_resizer/srcview/index.html Saving file to server is disabled online. regards, Muzak - Original Message - From: duccio del ministro [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, October 17, 2006 9:26 AM Subject: [flexcoders] resizing an image with actionscript/flex 2 Hi all, i'm devoloping an application that has an image uploader. I'm wondering if there is a way to resize an image (jpg) before uploading to the server. Any examples or suggests? Thanks in advance best reagrds Duccio Del Ministro -- 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] Complex container sizing problem (100% height and measured maxHeight)
Hi All! I want my container (e. g. Panel) to be sized by its children, though its height should not be greater than 100%. When I don't set height, the container is sized by its children endlessly, but when I set it to 100% it occupies all the space available, so that there is emptiness below the container content. How to solve my problem? I think it's necessary to set height to 100% and bind maxHeight to getter that would calculate the space required, considering the current content of container. Is there any transparent way to calculate it properly regardless of container class? Are there any other solutions? Thank you in advance! Sergey. -- 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] Complex container sizing problem (100% height and measured maxHeight)
Hi,I 'think' I just had the same issue as you although I don't quite understand what you wrote.Try setting your parent containers minWidth=100 and minHeight=100;See the long thread on the flexcomponents yahoo mailing list as it is to lengthy to describe what is happening. topLevelSystemManager.getObjectsUnderPoint() :: Scroll BogYeah, bog is supposed to be bug ;-)This might not solve your problem if I am misunderstanding you. Peace, MikeOn 10/17/06, Sergey Kovalyov [EMAIL PROTECTED] wrote: Hi All! I want my container (e. g. Panel) to be sized by its children, though its height should not be greater than 100%. When I don't set height, the container is sized by its children endlessly, but when I set it to 100% it occupies all the space available, so that there is emptiness below the container content. How to solve my problem? I think it's necessary to set height to 100% and bind maxHeight to getter that would calculate the space required, considering the current content of container. Is there any transparent way to calculate it properly regardless of container class? Are there any other solutions? Thank you in advance! Sergey. -- 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] resizing an image with actionscript/flex 2
Thanks a lot Muzak!!!Regards,Duccio2006/10/17, Muzak [EMAIL PROTECTED]: quick demo http://www.muzakdeezign.com/flex2/image_resizer/ source view: http://www.muzakdeezign.com/flex2/image_resizer/srcview/index.html Saving file to server is disabled online. regards, Muzak - Original Message - From: duccio del ministro [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, October 17, 2006 9:26 AM Subject: [flexcoders] resizing an image with actionscript/flex 2 Hi all, i'm devoloping an application that has an image uploader. I'm wondering if there is a way to resize an image (jpg) before uploading to the server. Any examples or suggests? Thanks in advance best reagrds Duccio Del Ministro __._,_.___ -- 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] Listen to changes of a bindable variable
Hi, Were using the riawave pattern (lightweight version of cairngorm), and Im trying to listen to changes to our ModelLocator. When I use a textfield that contains a direct reference to our model, everything is working fine: mycomp text= {model.currentUser.name} / .. Now I need to have a function that gets triggered when our model changes We tried something like model.addEventListener(FlexEvent.DATA_CHANGE); but that gave no success. Anyone know which event is being dispatched when a binded variable changes? Or is it not accessible? The only other solution I see is using a getter and setter for every variable in our modellocator, and in the setter we could dispatch an event, but I want a cleaner solution. Thanks for the tips! Jonas Windey Web Developer T. +32 3 216 86 47 Pixco Interactive Division T. +32 3 216 86 40 F. +32 3 216 86 49 http://www.pixco.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] Complex container sizing problem (100% height and measured maxHeight)
Ok, in other words I want my panel to be sized by its children (no emptiness inside below the children), but this panel height must not be greater than 100% (vertical scroll would appear inside it when there are too much children). On 10/17/06, Michael Schmalle [EMAIL PROTECTED] wrote: Hi,I 'think' I just had the same issue as you although I don't quite understand what you wrote.Try setting your parent containers minWidth=100 and minHeight=100;See the long thread on the flexcomponents yahoo mailing list as it is to lengthy to describe what is happening. topLevelSystemManager.getObjectsUnderPoint() :: Scroll BogYeah, bog is supposed to be bug ;-)This might not solve your problem if I am misunderstanding you. Peace, Mike __._,_.___ -- 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] Listen to changes of a bindable variable
Use Paul William's solution. It helps me alot. check it here http://weblogs.macromedia.com/paulw/ hope it helps Street - Original Message From: Jonas Windey [EMAIL PROTECTED]To: flexcoders@yahoogroups.comSent: Tuesday, October 17, 2006 4:39:01 PMSubject: [flexcoders] Listen to changes of a bindable variable Hi, We’re using the riawave pattern (lightweight version of cairngorm), and I’m trying to listen to changes to our ModelLocator. When I use a textfield that contains a direct reference to our model, everything is working fine: mycomp text=” {model.currentUser.name}” / .. Now I need to have a function that gets triggered when our model changes We tried something like model.addEventListener(FlexEvent.DATA_CHANGE); but that gave no success. Anyone know which event is being dispatched when a binded variable changes? Or is it not accessible? The only other solution I see is using a getter and setter for every variable in our modellocator, and in the setter we could dispatch an event, but I want a cleaner solution. Thanks for the tips! Jonas Windey Web Developer T. +32 3 216 86 47 Pixco Interactive Division T. +32 3 216 86 40 F. +32 3 216 86 49 http://www.pixco.com
Re: [flexcoders] Grouping result set output
So nest your TileList's, add styles where needed to move it further left/right in the indent. Or use a tree control. -- Tom Chiverton Helping to enthusiastically synthesize 24/365 clusters This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Bug in Date() class math
While I'm not sure on the status of this as a bug, I would suggest anyway to use the setDate() and getDate() methods instead. On a date object, you can call setDate() with an arbitrary value and have the date automatically adjust to stay consistent. That is, consider this example: var today:Date = new Date( 2006, 9, 16, 22, 49, 18, 0 ); var result:Date = new Date( 2006, 9, today.getDate() + 16, 22, 49, 18, 0 ); trace( today ); // Mon Oct 16 22:49:18 GMT-0400 2006 trace( result ); // Wed Nov 1 22:49:18 GMT-0500 2006 Since October 32nd doesn't exist, he Date object was smart enough to know to roll over to November when you try to set a date value more than the number of days in the month. Note in this example, the timezone changes as well, but thats because of daylight savings time. As a general rule, if you want to add days to a date, just use setDate( getDate() + value ).. value can be positive or negative, it doesn't matter. -d Mike Crowe wrote: Hi folks, I submitted this bug to Adobe today. I was trying to figure out why my Date routines wouldn't work. Here's a test function which fails: The following code appears to mis-compute the result date. This is adding 16 days to the current date: public function testMike():void { var tday:Date; var res:Date; var test:Date; tday = new Date(2006,9,16,22,49,18,0); res = new Date(tday.getTime() + 16*24*60*60*1000); test = new Date(2006,10,1,22,49,18,0); assertTrue( Test: 16 via addDays(),\nNeed: 2006-11-01 22:49:18\nComp: +res+\nTest: +test+\n, res==test); } Results: Error: Test: 16 via addDays(), Need: 2006-11-01 22:49:18 Comp: Wed Nov 1 21:49:18 GMT-0500 2006 Test: Wed Nov 1 22:49:18 GMT-0500 2006 - expected true but was false My unit-test goes from 1-100 days (by 5), All dates below 16 days work. Anybody else see this? TIA Mike -- 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] Complex container sizing problem (100% height and measured maxHeight)
Yeah,that is what I thought.Did you try setting the Panel's minWidth and minHeight like I said? I know this sounds backwards but Alex explains why Adobe did this.I had the same problem, I wanted my workspace container to be the '100%' view. thinking a bit more...Now that I think about what you said, you actually don't want the Panel to be 100% if the children are less then the viewable 100% height right? If that is the case, your right there probably has to be more complex sizing rules programmed. Seems like this is a chicken and egg scenario. :)Just from thinking about it, you might be able to add a RESIZE handler to the Panel, then in that if the Panel's measuredHeight parents height - padding and borderMetrics, call Panel.percentHeight = 100, if it is less than the last calculation, call Panel.height = Panel.measuredHeight.That might work, I don't know just a guess.Peace, MikePeace, Mike On 10/17/06, Sergey Kovalyov [EMAIL PROTECTED] wrote: Ok, in other words I want my panel to be sized by its children (no emptiness inside below the children), but this panel height must not be greater than 100% (vertical scroll would appear inside it when there are too much children). On 10/17/06, Michael Schmalle [EMAIL PROTECTED] wrote: Hi,I 'think' I just had the same issue as you although I don't quite understand what you wrote.Try setting your parent containers minWidth=100 and minHeight=100;See the long thread on the flexcomponents yahoo mailing list as it is to lengthy to describe what is happening. topLevelSystemManager.getObjectsUnderPoint() :: Scroll BogYeah, bog is supposed to be bug ;-)This might not solve your problem if I am misunderstanding you. Peace, Mike -- 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 __,_._,___
[flexcoders] Binary Sockets, and Folder Browser
Hello I have some questions on Flex. 1. Is it possible to create a socket on a flash client? 2. Is it possible to open a file from the users OS and upload it? 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/
[flexcoders] CairngormStore for Flex 2
I am trying to download CairngormStore for Flex 2from http://www.iterationtwo.com/cairngormstore/CairngormStoreWeb.war but the link is not working. If someone has a copy of this war, please email it to me at [EMAIL PROTECTED] TIA __._,_.___ -- 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] Binary Sockets, and Folder Browser
On Tuesday 17 October 2006 11:11, grunz1234 wrote: 1. Is it possible to create a socket on a flash client? Yes. 2. Is it possible to open a file from the users OS and upload it? Not without asking them first. -- Tom Chiverton Helping to ambassadorially reinvent second-generation developments This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: does FLEX2 support text direction right to left?
Unfortunately, no. This is an area where I have spent countless hours trying to work around. Flash player has absolutely no support for right to left natively. Further, while you can manually do *some* things to fix this, ultimately none of the text components (input, area, etc) allow editing in RTL. So, you can *display* RTL text, however, you can not actually edit it. Adobe has some suggestions for workarounds. However, they all require a significant amount of work and none can be accomplished directly in flash player in a real-time environment. Sorry. This is an issue which has been the subject of countless debates and is really limiting the ability to use Flash as a serious development platform for true international solutions. Adobe is aware and we are all hoping that this can be resolved within the next few releases. --Mike --- In flexcoders@yahoogroups.com, shemeshkale [EMAIL PROTECTED] wrote: hello, can someone tell me if flex2 have an option of RTL text? i need to use hebrew and arabic in my flex app but i know the flash player do not have support for RTL text. or does it? is there any way to work with RTL texts ? -- 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] Grouping result set output
On 10/16/06, rachelmaxim [EMAIL PROTECTED] wrote: Hello,I have a query result set that I am displaying with TileLists. I haveit working fine where the entire result set is in one tile list, butwhat I really need is to group the output into separate tile lists by a certain field.Something likeUser1 - record a - record b...User2 - record a - record b...If this were just HTML I would be grouping the results in cfoutput.What is the best way to handle it with Flex TileLists? Should I send my query results back as an array of arrays of objects?I'd have to agree here. If you returned a Array of composite objects, this would should be easy. Just a repeater over the Array spitting out TileLists. Thanks for any advice!Rachel Maxim--Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 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:[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/-- Douglas Knudsen http://www.cubicleman.comthis is my signature, like it? __._,_.___ -- 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: writing and using classes
Frank, I think you might be approaching this from the wrong perspective. In particular, if you don't have object oriented programming experience, you may want to take a few minutes and read some of the many tutorials available online. As Flex is a pretty OO heavy environment, without this knowledge, I think you are going to get stuck on a lot of issues. That said, you have two choices in the code you wrote below: You could make your method static: public function String2Date becomes- public static function String2Date Then you could access it as: dfShipping.selectedDate = CommonFunctions.String2Date(x.result[0].shipdatum[0].toString()); Or you need to create an instance of this class first. var cf:CommonFunctions = new CommonFunctions(); dfShipping.selectedDate = cf.String2Date(x.result[0].shipdatum[0].toString()); I do encourage you to spend a little time reading about Object Oriented programming, either from an Adobe resource or just an online tutorial. It will help you immensly. --Mike --- In flexcoders@yahoogroups.com, amigo_fd [EMAIL PROTECTED] wrote: Hello, I want to make a class with a function I want to reuse in my application. This is new for me, so I need some help ... I've created a file CommonFunctions.as in the root of my application with this code: package { public class CommonFunctions { public function String2Date(doString:String):Date { var doYear:int = Number(doString.substr(0,4)); var doMonth:int = Number(doString.substr(5,2)); var doDay:int = Number(doString.substr(8,2)); var doHour:int = Number(doString.substr(11,2)); var doMin:int = Number(doString.substr(14,2)); var doSec:int = Number(doString.substr(17,2)); var myDate:Date = new Date(doYear, doMonth, doDay, doHour, doMin, doSec); // showErrorDialog(doString + + + doYear + + + doMonth + + + doDay + + + doHour + + + doMin + + + doSec); return myDate; } } } Now, how do I use in it on an other mxml-file in that application ? This does not work: dfShipping.selectedDate = String2Date(x.result[0].shipdatum[0].toString()); Thanks a lot, Frank -- 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] Listen to changes of a bindable variable
Thanks man, that did the trick! From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dima Ulich Sent: dinsdag 17 oktober 2006 14:54 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Listen to changes of a bindable variable Use Paul William's solution. It helps me alot. check it here http://weblogs.macromedia.com/paulw/ hope it helps Street - Original Message From: Jonas Windey [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, October 17, 2006 4:39:01 PM Subject: [flexcoders] Listen to changes of a bindable variable Hi, Were using the riawave pattern (lightweight version of cairngorm), and Im trying to listen to changes to our ModelLocator. When I use a textfield that contains a direct reference to our model, everything is working fine: mycomp text= {model.currentUser.name} / .. Now I need to have a function that gets triggered when our model changes We tried something like model.addEventListener(FlexEvent.DATA_CHANGE); but that gave no success. Anyone know which event is being dispatched when a binded variable changes? Or is it not accessible? The only other solution I see is using a getter and setter for every variable in our modellocator, and in the setter we could dispatch an event, but I want a cleaner solution. Thanks for the tips! Jonas Windey Web Developer T. +32 3 216 86 47 Pixco Interactive Division T. +32 3 216 86 40 F. +32 3 216 86 49 http://www.pixco.com __ NOD32 1.1805 (20061016) 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] CairngormStore for Flex 2
You can find it on Andy Raynes blog: http://weblogs.macromedia.com/arayne/archives/2006/08/cairngormstore.cfm From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Bhuvan Sent: Tuesday, October 17, 2006 5:19 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] CairngormStore for Flex 2 I am trying to download CairngormStore for Flex 2 from http://www.iterationtwo.com/cairngormstore/CairngormStoreWeb.war but the link is not working. If someone has a copy of this war, please email it to me at [EMAIL PROTECTED]com TIA __._,_.___ -- 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.4/477 - Release Date: 10/16/2006 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.4/477 - Release Date: 10/16/2006
Re: [flexcoders] Grouping result set output
Thanks - it seems so obvious yet I didn't think of that :) yes, I'm a total noob at Flex!ROn 10/17/06, Tom Chiverton [EMAIL PROTECTED] wrote:So nest your TileList's, add styles where needed to move it further left/right in the indent.Or use a tree control.--Tom ChivertonHelping to enthusiastically synthesize 24/365 clustersThis 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. CONFIDENTIALITYThis 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 ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 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:[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 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] Loosing focusedcell in datagrid
Title: Loosing focusedcell in datagrid Hi all coders I have a problem with a checkboxrenderer in a datagrid. Situation: One datagrid with a xx number of columns, where the last two colums are checkboxrenderers changed and delete; When a cell in the grid is edited the checkbox changed for that row is set to true. So far so good. Unfortunelly the checkbox isn't redrawed at once so we force that in with a dataProvider = dataProvider See code: private function edited(event:Object):Void { var record:Object = datagrid.dataProvider[event.itemIndex]; snip... var obj:Object = datagrid.focusedCell ; if(oldValue != newValue) { if(datagrid.dataProvider[event.itemIndex].changed == false ){ Setting CB to true -- datagrid.dataProvider[event.itemIndex].changed = true; Force redraw -- datagrid.dataProvider = datagrid.dataProvider; } } datagrid.focusedCell = obj; At this point the focusedcell looses focus, i tried to set in back by using the propertie focusedCell but thats not working. No cells in the grid has focus but the datagrid frame itself has. We also tried by set selection.getFocused and selection.setFocus. This also failed Any hint or help more than welcome. Regards Tommy Deze e-mail en alle gekoppelde bestanden zijn officiele documenten van het Gemeentelijk Havenbedrijf Antwerpen en kunnen vertrouwelijke of persoonlijke informatie bevatten. Gelieve de afzender onmiddellijk via e-mail of telefonisch te verwittigen als u deze e-mail per vergissing heeft ontvangen en verwijder vervolgens de e-mail zonder deze te lezen, te reproduceren, te verspreiden of te ontsluiten naar derden. Het Gemeentelijk Havenbedrijf Antwerpen is op geen enkele manier verantwoordelijk voor fouten of onnauwkeurigheden in de inhoud van deze e-mail. Het Gemeentelijk Havenbedrijf Antwerpen kan niet aansprakelijk gesteld worden voor directe of indirecte schade, verlies of ongemak veroorzaakt als gevolg van een onnauwkeurigheid of fout in deze e-mail. English Translation: This e-mail and all attached files are official documents of Antwerp Port Authority and may contain confidential or personal information. If you have received this e-mail in error, you are asked to inform the sender by e-mail or telephone immediately, and to remove it from your system without reading or reproducing it or passing it on to other parties. Antwerp Port Authority is in no way responsible for any errors or inaccuracies in the contents of this e-mail, nor can it be held liable for any direct or indirect loss, damage or inconvenience arising from any such errors or inaccuracies. [GHA#Disclaimer] __._,_.___ -- 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] Binding a List to an Array
I have a binding problem that seems simple, but I can't figure it out. Here's the deal: I have a class that I'm using as my model. It looks like this: [Bindable] public class MyModel { public var items:Array = new Array(); } I have a class whose objects populate the array: [Bindable] public class MyItem { public var name:String; } I declare an appModel variable in the MXML (with the appropriate xmlns:local=* to make it work): local:ChoreAppModel id=appModel/ When the app starts up I put a few test items in the array: var anItem:MyItem = new MyItem(); anItem.name = Test 1; appModel.items.push(anItem); anItem:MyItem = new MyItem(); anItem.name = Test 2; appModel.items.push(anItem); Now, if I create a ComboBox and bind it thusly: mx:ComboBox labelField=name dataProvider={appModel.items}/ It works: I see Test 1 and Test 2 in my ComboBox. But if I bind it to a List: mx:List dataProvider={appModel.items} labelField=name/ I see nothing. Funny thing is, if I create a global array and bind the list to that, it works. So it seems to have something to do with the fact that the array is a property of appModel. What am I missing? Thanks. -- Steve Tibbett [EMAIL PROTECTED] -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * 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] DataGrid CheckBox itemRenderer select all
I have a DataGrid and the first columns item renderer is mx.controls.CheckBox. I would like to be able to have a select all button that sets all of the CheckBox selected = true. I also need to be able to check which CheckBoxs are selected. Any suggestions? CHAD CALLAHAN PROGRAMMER T8DESIGN.COM | P 319.266.7574 - x195 | 877.T8IDEAS | F 888.290.4675 This e-mail, including attachments, is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential, and may be legally privileged. If you are not the intended recipient, you are hereby notified that any retention, dissemination, distribution, or copying of this communication is strictly prohibited. Please reply to the sender that you have received the message in error, and then please delete it. Thank you. __._,_.___ -- 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] Drag and Drop tutorials/Samples of mixed types of dragging
John, here are a few examples that might be helpful. Adding drag-and-drop supporthttp://www.adobe.com/devnet/flex/quickstart/adding_drag_and_drop/ Adding Drag-and-Drop Drop Deny to DataGridhttp://thanksmister.com/?p=21 Simple Flex 2.0 Drag Examplehttp://www.tink.ws/blog/simple-flex-20-drag-example/ Hua From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of John GrdenSent: Tuesday, October 17, 2006 9:57 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Drag and Drop tutorials/Samples of mixed types of dragging I'm just getting into DragManager, and I can succesfully drag a component to another and remove it from one display list to add it to another.but just simply dragging around on stage with DragManager.doDrag - I can't seem to make it work like a simple startDrag() when it just "moves" to that location I drop it to x/y. if I use the object as it's own proxy, the object disappears, if I don't it just stays in place while the ghost image is dragged around. so, I'm just trying to understand more about when I should use what with regards to DragManager and startDrag/stopDrag scenarios etc.Any tuts/demos/sample code would be awesomePS I'm moving items around in a Canvas container - should I not be using a Canvas? -- [JPG] __._,_.___ -- 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: Bug in Date() class math
Dude, you may be my new hero. I need to figure out how to handle this. Anybody coded for DST before? Pointers? Mike --- In flexcoders@yahoogroups.com, Pekka Kola [EMAIL PROTECTED] wrote: Daylight saving time btw Oct 16 .. Nov 1?? BR, Pekka -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mike Crowe Sent: 17. lokakuuta 2006 6:32 To: flexcoders@yahoogroups.com Subject: [flexcoders] Bug in Date() class math Hi folks, I submitted this bug to Adobe today. I was trying to figure out why my Date routines wouldn't work. Here's a test function which fails: The following code appears to mis-compute the result date. This is adding 16 days to the current date: public function testMike():void { var tday:Date; var res:Date; var test:Date; tday = new Date(2006,9,16,22,49,18,0); res = new Date(tday.getTime() + 16*24*60*60*1000); test = new Date(2006,10,1,22,49,18,0); assertTrue( Test: 16 via addDays(),\nNeed: 2006-11-01 22:49:18\nComp: +res+\nTest: +test+\n, res==test); } Results: Error: Test: 16 via addDays(), Need: 2006-11-01 22:49:18 Comp: Wed Nov 1 21:49:18 GMT-0500 2006 Test: Wed Nov 1 22:49:18 GMT-0500 2006 - expected true but was false My unit-test goes from 1-100 days (by 5), All dates below 16 days work. Anybody else see this? TIA Mike -- 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: Drag and Drop tutorials/Samples of mixed types of dragging
There is a decent sample in the online Flex docs of dragging an image around. http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=0967.html General overview of the drag manager and usage http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=0967.html I have found the drag manager to be pretty easy to use and useful, however when using the datagrid/lists and dragging between them, using anything other than the default drag proxy becomes painful. You can work around it by extending the datagrid class and overwriting the dragProxy setter/getter to use a different one instead. Good luck, Derrick -- Derrick Grigg [EMAIL PROTECTED] www.dgrigg.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] Font Embeding Problem
I realize this topic is over discussed , but I have searched the archives and the documentation and could not find anything usefull. It seems to me embeding is a little bit problematic? I have manage to use my embeded fonts within the htmlText property and use them with the setStyle method. When I use my embeded fonts within htmlText , I can use only embeded fonts , otherwise ,if i also use system fonts , my text gets rendered with a standard font or vanishes. When I try to use a TextFormat object with a TextField , it doesn't work at all. (embedFonts is set to true) for example : ... [Embed(mimeType='application/x-font', source='path/FOO.TTF', fontName='My Custom Font')] private var myCustomFont:Class; var label:UITextField = new UITextField(); label.embedFonts = true; label.autoSize = TextFieldAutoSize.LEFT; label.background = true; label.border = true; label.text = Some test; var format:TextFormat = new TextFormat(); format.font = My Custom Font; format.color = 0xFF; format.size = 10; label.defaultTextFormat = format; addChild(label); ... This piece of code displays standard text , but if I create a label and I do something like: lbl2.setStyle( 'fontFamily','My Custom Font'); lbl2.setStyle('fontSize','64'); .. It works. The embeding examples in the documentation show how to use the fonts with setStyle aproach , but I have found no valid example(or missed) in the documentation about how to do this without the setStyle method. The TextField and TextFormat API look like embeding is not a problem and it is available ... but , it is not ? Regards. -- 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] CairngormStore for Flex 2
the link is broke there alsoOn 10/17/06, Evan Gifford [EMAIL PROTECTED] wrote: You can find it on Andy Raynes blog: http://weblogs.macromedia.com/arayne/archives/2006/08/cairngormstore.cfm From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Bhuvan Sent: Tuesday, October 17, 2006 5:19 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] CairngormStore for Flex 2 I am trying to download CairngormStore for Flex 2 from http://www.iterationtwo.com/cairngormstore/CairngormStoreWeb.war but the link is not working. If someone has a copy of this war, please email it to me at [EMAIL PROTECTED] TIA -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.4/477 - Release Date: 10/16/2006 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.4/477 - Release Date: 10/16/2006 __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
[flexcoders] Re: How do I recompile charts?
That's what I thought - and then I looked at the code :) The chart classes are littered with code referencing the Halo skin, so I wasn't sure applying a new skin would be easy, and this wasn't something I wanted to spend time on, it was just a it'd be nice if With some changes to the Chart Sampler on Ely's blog, I found I could do it very easily with some CSS: mx:Style PieSeries { fills: #FFD700,#66,[rest of colours, copied from Halo] } /mx:Style I haven't done the BarChart yet, but I assume it'll be similarly easy :) --- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Monday 16 October 2006 08:34, d.tuppeny wrote: I've modified the defaultColors list in the HaloDefaults.as, to customise the colours that appear in pie chart wedges, but it Would it not be better to create your own skin rather than mucking with the defaults of an existing one ? -- Tom Chiverton Helping to ambassadorially empower efficient deliverables This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Grouping result set output
On Tuesday 17 October 2006 14:44, Rachel Maxim wrote: Thanks - it seems so obvious yet I didn't think of that Heh :-) Takes a while to adjust to the flex way if you've come from HTML. -- Tom Chiverton Helping to widespreadedly implement transparent deliverables This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] CairngormStore for Flex 2
Doh :^) Thats exciting .. . it probably means theyre updating the store. Ive posted it in a temporary location, you can download here for the next 24 hours http://www.cairngormdocs.org/CairngormStoreWeb.zip From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Greg Morphis Sent: Tuesday, October 17, 2006 9:22 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] CairngormStore for Flex 2 the link is broke there also On 10/17/06, Evan Gifford [EMAIL PROTECTED]ams.com wrote: You can find it on Andy Raynes blog: http://weblogs.macromedia.com/arayne/archives/2006/08/cairngormstore.cfm From: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] On Behalf Of Bhuvan Sent: Tuesday, October 17, 2006 5:19 AM To: [EMAIL PROTECTED]ups.com Subject: [flexcoders] CairngormStore for Flex 2 I am trying to download CairngormStore for Flex 2 from http://www.iterationtwo.com/cairngormstore/CairngormStoreWeb.war but the link is not working. If someone has a copy of this war, please email it to me at [EMAIL PROTECTED]com TIA -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.4/477 - Release Date: 10/16/2006 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.4/477 - Release Date: 10/16/2006 __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___ -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.4/477 - Release Date: 10/16/2006 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.4/477 - Release Date: 10/16/2006
[flexcoders] LinkBar ViewStack Problem
Hello all! I've been having this particular problem, I have 2 canvas inside a viewStack, lest say something like: mx:ViewStack id=viewStack width=100% height=100% mx:Canvas id=list label=List mx:DataGrid doubleClickEnabled=true doubleClick=viewStack.selectedIndex = 1; input.text=list.selectedItem.someValue /mx:DataGrid /mx:Canvas mx:Canvas id=form label=Form mx:TextInput id=input/ /mx:Canvas /mx:ViewStack Its simple, but whenever I double-click on the DataGrid, Flex gives an error saying that it can't access a null object (referring to the textinput input that is defined inside the second Canvas and is hidden). I've noticed that when one uses viewstacks or accordions and wants to access to an object inside a container that is hidden to initialize it, there is no way to access it. I've tried selecting the canvas first and then assinging the data, like I did in the code above, but doesn't work either. I really need help with this, otherwise Im gonna have to change the layout of the hall application. Thanks in advance! -- 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] LinkBar ViewStack Problem
This is a creation issue. Basically, the input text field is not 'created' yet. You have a couple of options. The simplest, is just bind the text of the input to the value you want to store there.mx:TextInput text={ list.selectedItem.somevalue}/There are other options, but that should get you going.On 10/17/06, Daniel [EMAIL PROTECTED] wrote: Hello all! I've been having this particular problem, I have 2 canvas inside a viewStack, lest say something like: mx:ViewStack id=viewStack width=100% height=100% mx:Canvas id=list label=List mx:DataGrid doubleClickEnabled=true doubleClick=viewStack.selectedIndex = 1; input.text=list.selectedItem.someValue /mx:DataGrid /mx:Canvas mx:Canvas id=form label=Form mx:TextInput id=input/ /mx:Canvas /mx:ViewStack Its simple, but whenever I double-click on the DataGrid, Flex gives an error saying that it can't access a null object (referring to the textinput input that is defined inside the second Canvas and is hidden). I've noticed that when one uses viewstacks or accordions and wants to access to an object inside a container that is hidden to initialize it, there is no way to access it. I've tried selecting the canvas first and then assinging the data, like I did in the code above, but doesn't work either. I really need help with this, otherwise Im gonna have to change the layout of the hall application. Thanks in advance! -- 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] Re: Is there a way to find an object if you know the name
Yes, you should probably back up a little and think about what you are trying to do. Directly accessing elements of data-driven controls is usually a bad idea, mainly because the controls re-use the visual elements when you scroll. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michael Labriola Sent: Monday, October 16, 2006 8:19 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Is there a way to find an object if you know the name ..one more note.. You may want to also check out Referencing repeated child components in the help docs, which is specifically about components within a repeater. --Mike --- In [EMAIL PROTECTED]ups.com, Marlon Moyer marlon.moyer@... wrote: sorry, I didn't phrase the question correctly. I have the name of a component in a string variable (e.g. I've named a component 'name=repeater_state_{divisionRepeater.currentItem.id}) and now I want to be able to refer to that component dynamically. On 10/16/06, Gordon Smith [EMAIL PROTECTED] wrote: You simply refer to components by their id. You don't have to look them up by it. For example, if you have MyApp.mxml: mx:Application mx::Canvas id=c1 mx:Button id=b1 ... then in the Application's mx:Script methods you can write expressions like b1.label. Technically, what is happening is that the MXML compiler autogenerates var c1:Canvas; var b1:Button; as instance vars of a MyApp class which extends Application. The methods you write in the mx:Script become methods of this MyApp class, so they can acess these instance vars. To access components inside components, you simply use the dot operator. - Gordon -- *From:* [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] *On Behalf Of *Marlon Moyer *Sent:* Sunday, October 15, 2006 7:03 PM *To:* [EMAIL PROTECTED]ups.com *Subject:* [flexcoders] Is there a way to find an object if you know the name What's the equivalent of _javascript_'s getElementById in Flex? I've searched the help files numerous times and can't seem to find it. Thanks -- Marlon -- 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 __,_._,___
[flexcoders] Consuming .NET Web Services with params
Hey all, Just though I would share with you all the answer to a problem I have been trying to solve for days. Problem: When my FLEX application connects to my .NET Web Service I could only read the values from the lastResult object for the first method in the service. All other methods would trigger the result event but would not have a value in the lastResult object. Solution: After a great deal of hair pulling I finally noticed that my first method had its parameters declared ByRef. All the other methods were declared ByVal. A quick test showed that FLEX has a problem with Visual Basic.Net web services if the parameters are declared ByVal. So if you run into this problem check that all your in params are declared ByRef. I am not sure why this is but it solved the problem WickedMonkey. __._,_.___ -- 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 CheckBox itemRenderer select all
I also need to be able to check which CheckBoxs are selected This is wath you are looking for. I have a grid with a columnnamed "deleted".By clicking the checkbox you mark the item todelete (webmail style) This method pushes all marked items fromthe grid into a new array todelete. all items in the array todelete will be deleted later on. Good luck . Tommy private function collectForDelete():Array{ var todelete:Array = new Array(); var obj:Object = new Object(); for (var i:Number =0 ; i table_grids.datagrid.dataProvider.length ; i ++){ obj = table_grids.datagrid.dataProvider[i]; if (obj.deleted) { var record:RecordDTO = new RecordDTO();record.setColumns(obj); todelete.push( record ); } }return todelete; } Van: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Namens Chad CallahanVerzonden: dinsdag 17 oktober 2006 16:52Aan: flexcoders@yahoogroups.comOnderwerp: [flexcoders] DataGrid CheckBox itemRenderer select all I have a DataGrid and the first columns item renderer is mx.controls.CheckBox. I would like to be able to have a select all button that sets all of the CheckBox selected = true. I also need to be able to check which CheckBoxs are selected. Any suggestions? CHAD CALLAHANPROGRAMMER T8DESIGN.COM | P 319.266.7574 - x195 | 877.T8IDEAS | F 888.290.4675 This e-mail, including attachments, is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential, and may be legally privileged. If you are not the intended recipient, you are hereby notified that any retention, dissemination, distribution, or copying of this communication is strictly prohibited. Please reply to the sender that you have received the message in error, and then please delete it. Thank you. __._,_.___ -- 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: Binary Sockets, and Folder Browser
--- In flexcoders@yahoogroups.com, grunz1234 [EMAIL PROTECTED] wrote: Hello I have some questions on Flex. 1. Is it possible to create a socket on a flash client? 2. Is it possible to open a file from the users OS and upload it? thanks Looks like the Socket class in the flash.net package will be able to handle the first part of your question. For the second part, if I understand correctly, I believe there are a couple of ways to accomplish this. Any one have any insight on implementation techniques that were successfull for them? 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/
[flexcoders] Re: LinkBar ViewStack Problem
--- In flexcoders@yahoogroups.com, Clint Tredway [EMAIL PROTECTED] wrote: Thanks, binding is a solution. However, I keep thinking how is that the text field is not created 'yet'? Is there another way? Thanks again. This is a creation issue. Basically, the input text field is not 'created' yet. You have a couple of options. The simplest, is just bind the text of the input to the value you want to store there. mx:TextInput text={list.selectedItem.somevalue}/ There are other options, but that should get you going. On 10/17/06, Daniel [EMAIL PROTECTED] wrote: Hello all! I've been having this particular problem, I have 2 canvas inside a viewStack, lest say something like: mx:ViewStack id=viewStack width=100% height=100% mx:Canvas id=list label=List mx:DataGrid doubleClickEnabled=true doubleClick=viewStack.selectedIndex = 1; input.text=list.selectedItem.someValue /mx:DataGrid /mx:Canvas mx:Canvas id=form label=Form mx:TextInput id=input/ /mx:Canvas /mx:ViewStack Its simple, but whenever I double-click on the DataGrid, Flex gives an error saying that it can't access a null object (referring to the textinput input that is defined inside the second Canvas and is hidden). I've noticed that when one uses viewstacks or accordions and wants to access to an object inside a container that is hidden to initialize it, there is no way to access it. I've tried selecting the canvas first and then assinging the data, like I did in the code above, but doesn't work either. I really need help with this, otherwise Im gonna have to change the layout of the hall application. Thanks in advance! -- 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 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: Drag and Drop tutorials/Samples of mixed types of dragging
There is a Quick-Start that covers Drag and Drop: http://www.adobe.com/devnet/flex/quickstart/adding_drag_and_drop/ Also, the Flex 2 Developer's Guide has a chapter, starting on http://livedocs.macromedia.com/flex/2/docs/0954.html HTH, Randy Nielsen Flex Documentation Manager -- 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] Drag and Drop tutorials/Samples of mixed types of dragging
awesome thanks for the links everyone, I'll do some homework and let you know how it pans outThanks very much!\m/On 10/17/06, Hua Wei [EMAIL PROTECTED] wrote: John, here are a few examples that might be helpful. Adding drag-and-drop support http://www.adobe.com/devnet/flex/quickstart/adding_drag_and_drop/ Adding Drag-and-Drop Drop Deny to DataGridhttp://thanksmister.com/?p=21 Simple Flex 2.0 Drag Example http://www.tink.ws/blog/simple-flex-20-drag-example/ Hua From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of John GrdenSent: Tuesday, October 17, 2006 9:57 AMTo: [EMAIL PROTECTED]ups.comSubject: [flexcoders] Drag and Drop tutorials/Samples of mixed types of dragging I'm just getting into DragManager, and I can succesfully drag a component to another and remove it from one display list to add it to another.but just simply dragging around on stage with DragManager.doDrag - I can't seem to make it work like a simple startDrag() when it just moves to that location I drop it to x/y. if I use the object as it's own proxy, the object disappears, if I don't it just stays in place while the ghost image is dragged around. so, I'm just trying to understand more about when I should use what with regards to DragManager and startDrag/stopDrag scenarios etc.Any tuts/demos/sample code would be awesomePS I'm moving items around in a Canvas container - should I not be using a Canvas? -- [JPG] -- [JPG] __._,_.___ -- 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: How do I recompile charts?
Thanks Ely, That's just the response I wanted - I know it's not nice modifying the source, but it seemed the easiest way! I did try your site, but couldn't anything (though I didn't really know what I was looking for), but I'll check again later. Thanks, Danny --- In flexcoders@yahoogroups.com, Ely Greenfield [EMAIL PROTECTED] wrote: Hi Daniel. - the charts all have a style called chartSeriesStyles. This style is an array of strings, each mapping to the name of a CSS selector. These are the selectors that the chart applies to each series, in turn, to get different colors, strokes, etc. per series. - each chart type sets up a set of default selectors, and stuffs the names of those selectors into the chartSeriesStyles style. This is how LineCharts give different strokes to each line series, while columnCharts give different fills to each column series. - the default styles set up by each chart type uses that default halo colors array as a basis for setting up those selectors. So rather than modifying the defaultColors array, I'd suggest you instead just set up your own chartSeriesStyles selectors, with your own colors. I believe there's an example in my chart sampler at http://www.quietlyscheming.com/ Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Daniel Tuppeny Sent: Monday, October 16, 2006 4:56 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] How do I recompile charts? I've modified the defaultColors list in the HaloDefaults.as, to customise the colours that appear in pie chart wedges, but it seems my app is using a pre-compiled version, and I don't see the changes. I can't find any way to rebuild the charts (without a lot of faffing around), as there's no build file, and when I try referencing the source folders and removing the reference to charts.swc, I just get loads of errors (such as mx:Application and mx:PieChart not being valid, even though they still appear in the intellisense. How can I get these changes to the default colours into my project? If there's a better way (I'd rather not modify the source on 5 developer machines, but I don't want to have to write loads of code either). Thanks The information contained in this e-mail and/or any attachments is confidential and intended only for the individual(s) to which it is addressed. If you are not named as an addressee you must not disclose, copy or take any action in reliance of this transmission. This e- mail and its attachments have been scanned for viruses by MessageLabs Ltd. _ _ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email _ _ -- 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: LinkBar ViewStack Problem
the canvas that holds the text input is a child of the Viewstack and the creationPolicy, I believe, auto sets to auto. this means that they get created when they are needed, not before. You can set the creation Policy to 'all', but that can get intensive as your app grows. On 10/17/06, Daniel [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com, Clint Tredway [EMAIL PROTECTED] wrote: Thanks, binding is a solution. However, I keep thinking how is that the text field is not created 'yet'? Is there another way? Thanks again. This is a creation issue. Basically, the input text field is not 'created' yet. You have a couple of options. The simplest, is just bind the text of the input to the value you want to store there. mx:TextInput text={list.selectedItem.somevalue}/ There are other options, but that should get you going. On 10/17/06, Daniel [EMAIL PROTECTED] wrote: Hello all! I've been having this particular problem, I have 2 canvas inside a viewStack, lest say something like: mx:ViewStack id=viewStack width=100% height=100% mx:Canvas id=list label=List mx:DataGrid doubleClickEnabled=true doubleClick=viewStack.selectedIndex = 1; input.text=list.selectedItem.someValue /mx:DataGrid /mx:Canvas mx:Canvas id=form label=Form mx:TextInput id=input/ /mx:Canvas /mx:ViewStack Its simple, but whenever I double-click on the DataGrid, Flex gives an error saying that it can't access a null object (referring to the textinput input that is defined inside the second Canvas and is hidden). I've noticed that when one uses viewstacks or accordions and wants to access to an object inside a container that is hidden to initialize it, there is no way to access it. I've tried selecting the canvas first and then assinging the data, like I did in the code above, but doesn't work either. I really need help with this, otherwise Im gonna have to change the layout of the hall application. Thanks in advance! -- diabetic? http://www.diabetesforums.com Albert Einstein - It's not that I'm so smart, it's just that I stay with problems longer. -- 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 __,_._,___
[flexcoders] Re: VO Mapping, some basic questions
Julian, Thanks for clarifying. _explicitType is an AMFPHP only implementation. AMFPHP uses it to type the return value and then actually deletes the reference of _explicitType right off the object. For the AS3 side the BookVO looks like this: package com.renaun.samples.login.vo { import com.adobe.cairngorm.vo.ValueObject; import flash.net.registerClassAlias; [RemoteClass(alias=com.renaun.samples.login.vo.BookVO)] [Bindable] public class BookVO implements ValueObject { public var name : String; public var bookid : String; public var publishdate : String; public var createddate : Date; } } The source for all the snippets I have posted are at http://renaun.com/blog/flex-components/remoteobjectamf0/ Hope that helps, Renaun http://renaun.com/blog/ --- In flexcoders@yahoogroups.com, Julian Sander [EMAIL PROTECTED] wrote: It seems like we are speaking right past eachother :) It is not the server side of the equation I am missing. In the AMF0 payload the parameter _explicitType is passed. In AS2 I use Object.registerClass to map the class writen as a String in _explicitType (ie com.renaun.samples.login.vo.BookVO ) to a AS2 Class found at com.renaun.samples.login.vo.BookVO. What I want to know is if the parameter _explicitType works in Flex as well? Cheers, Julian Julian Sander BurbacherstraÃe 58 53129 Bonn t/f +49 228 21 27 15 m +49 172 250 6524 http://abstractfactory.de  On 17.10.2006, at 00:06, Renaun Erickson wrote: AMFPHP's _explicitType implementation is used to define it however you want. So for my example of the BookVO, the php VO would look like: class BookVO { public $_explicitType = com.renaun.samples.login.vo.BookVO; public $name; public $bookid; public $publishdate; public $createddate; } And the PHP service class is: include ../vo/BookVO.php; class Login { function Login() { $this-methodTable = array( checkLogin = array( description = Simple Login, access = remote, arguments = array () ) ); // Initialize db connection } function checkLogin() { $arr = array(); $book = new BookVO(); $book-name = Adobe Flex 2: Training from the Source; $book-bookid = 032142316X; $book-publishdate = date( F j, Y, g:i a, mktime(0, 0, 0, 8, 31, 2006) ); $arr[] = $book; $book = new BookVO(); $book-name = ActionScript 3.0 Cookbook : Solutions and Examples for Flash Developers; $book-bookid = 0596526954; $book-publishdate = date( F j, Y, g:i a, mktime(0, 0, 0, 9, 1, 2006) ); $arr[] = $book; $book = new BookVO(); $book-name = Programming Flex 2 : The Comprehensive Guide to Creating Rich Media Applications with Adobe Flex; $book-bookid = 059652689X; $book-publishdate = date( F j, Y, g:i a, mktime(0, 0, 0, 11, 1, 2006) ); $arr[] = $book; return $arr; } } Renaun --- In flexcoders@yahoogroups.com, Julian Sander dr.swank@ wrote: Hi Renaun, thanx for the responce! I have gotten this far as well. What I am not clear on is what is being passed int eh responce from the server to Flex that makes the alias work? Is it still the _explicitType property or is there something else? cheers, Julian Julian Sander Burbacherstraße 58 53129 Bonn t/f +49 228 21 27 15 m +49 172 250 6524 http://sander-is.com  On 16.10.2006, at 21:24, Renaun Erickson wrote: AMFPHP uses _excplicitType or advancedmappings.php to make mapping easier. With PHP 5 there is some class introspection code that makes it possible to find the object mapping automacitally. Both SabreAMF and WebORB for PHP supports the auto object mapping. As FDS and Coldfusion connectivity is based on Java it also is very capable of class introspection and auto mapping. Basically the mapping as nothing to do with Flex. Now in regards to your question about Flex side of the VO mapping. Here is a sample AS VO file I use in my WebORB for PHP example. package com.renaun.samples.login.vo { import flash.net.registerClassAlias; [RemoteClass(alias=com.renaun.samples.login.vo.BookVO)] [Bindable] public class BookVO { public var name : String; public var bookid : String; public var publishdate : String; public var createddate : Date; } } You can even type the objects in ArrayCollections by this code: [Bindable] [ArrayElementType(com.renaun.samples.vo.BookVO)] private var books:ArrayCollection; Renaun --- In flexcoders@yahoogroups.com, dr.swank dr.swank@ wrote: Hi List, I am working with CakePHP 1.2, CakeAMFPHP, and Flex2 SDK to develop a fairly complex community portal. I can't say too much due to client restrictions,
Re: [flexcoders] Re: Drag and Drop tutorials/Samples of mixed types of dragging
Yeah I had wondered about what was going on with the drag proxy - I'm just getting into it, but this really helps DerrickOn 10/17/06, Derrick Grigg [EMAIL PROTECTED] wrote: There is a decent sample in the online Flex docs of dragging an image around. http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=0967.html General overview of the drag manager and usage http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=0967.html I have found the drag manager to be pretty easy to use and useful, however when using the datagrid/lists and dragging between them, using anything other than the default drag proxy becomes painful. You can work around it by extending the datagrid class and overwriting the dragProxy setter/getter to use a different one instead. Good luck, Derrick -- Derrick Grigg [EMAIL PROTECTED] www.dgrigg.com -- [JPG] __._,_.___ -- 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] LinkBar ViewStack Problem
Try setting creationPolicy=all on your viewstack. This will ensure that the child components have been created. FYI You do not want to use this approach too often, especially on deeply nested components. It can drastically increase the initialization time of your applications. It might be a better approach to bind the textinput text value to the datagrids selected item mx:TextInput id=input text={list.selectedItem.someValue} / _ Andrew Trice Cynergy Systems, Inc. http://www.cynergysystems.com Blog: http://www.cynergysystems.com/blogs/page/andrewtrice Email: [EMAIL PROTECTED] Office: 866-CYNERGY From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Daniel Sent: Tuesday, October 17, 2006 11:41 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] LinkBar ViewStack Problem Hello all! I've been having this particular problem, I have 2 canvas inside a viewStack, lest say something like: mx:ViewStack id=viewStack width=100% height=100% mx:Canvas id=list label=List mx:DataGrid doubleClickEnabled=true doubleClick=viewStack.selectedIndex = 1; input.text=list.selectedItem.someValue /mx:DataGrid /mx:Canvas mx:Canvas id=form label=Form mx:TextInput id=input/ /mx:Canvas /mx:ViewStack Its simple, but whenever I double-click on the DataGrid, Flex gives an error saying that it can't access a null object (referring to the textinput input that is defined inside the second Canvas and is hidden). I've noticed that when one uses viewstacks or accordions and wants to access to an object inside a container that is hidden to initialize it, there is no way to access it. I've tried selecting the canvas first and then assinging the data, like I did in the code above, but doesn't work either. I really need help with this, otherwise Im gonna have to change the layout of the hall application. Thanks in advance! __._,_.___ -- 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] Predicting final swf size after embedding a SVG file ?
I am looking for some guidlines for predicting how many kb embedding a svg will add to a swf ? I did a quick test just now here http://www.dehash.com/?p=35 and found it to be quite varied. Hoping that there are some tips that people can share. - d -- 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] CairngormStore for Flex 2
Thanks alot. - Original Message - From: Evan Gifford To: flexcoders@yahoogroups.com Sent: Tuesday, October 17, 2006 9:03 PM Subject: RE: [flexcoders] CairngormStore for Flex 2 D’oh :^) That’s exciting .. . it probably means they’re updating the store. I’ve posted it in a temporary location, you can download here for the next 24 hours http://www.cairngormdocs.org/CairngormStoreWeb.zip From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Greg MorphisSent: Tuesday, October 17, 2006 9:22 AMTo: [EMAIL PROTECTED]ups.comSubject: Re: [flexcoders] CairngormStore for Flex 2 the link is broke there also On 10/17/06, Evan Gifford [EMAIL PROTECTED]ams.com wrote: You can find it on Andy Raynes blog: http://weblogs.macromedia.com/arayne/archives/2006/08/cairngormstore.cfm From: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] On Behalf Of BhuvanSent: Tuesday, October 17, 2006 5:19 AMTo: [EMAIL PROTECTED]ups.comSubject: [flexcoders] CairngormStore for Flex 2 I am trying to download CairngormStore for Flex 2from http://www.iterationtwo.com/cairngormstore/CairngormStoreWeb.war but the link is not working. If someone has a copy of this war, please email it to me at [EMAIL PROTECTED]com TIA --No virus found in this incoming message.Checked by AVG Free Edition.Version: 7.1.408 / Virus Database: 268.13.4/477 - Release Date: 10/16/2006 --No virus found in this outgoing message.Checked by AVG Free Edition.Version: 7.1.408 / Virus Database: 268.13.4/477 - Release Date: 10/16/2006 --No virus found in this incoming message.Checked by AVG Free Edition.Version: 7.1.408 / Virus Database: 268.13.4/477 - Release Date: 10/16/2006 --No virus found in this outgoing message.Checked by AVG Free Edition.Version: 7.1.408 / Virus Database: 268.13.4/477 - Release Date: 10/16/2006 __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
[flexcoders] Re: CairngormStore for Flex 2
Looks like all links to iterationtwo.com are no good, its like they dropped off the face of the earth. --- In flexcoders@yahoogroups.com, Greg Morphis [EMAIL PROTECTED] wrote: the link is broke there also On 10/17/06, Evan Gifford [EMAIL PROTECTED] wrote: You can find it on Andy Raynes blog: http://weblogs.macromedia.com/arayne/archives/2006/08/cairngormstore. cfm -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Bhuvan *Sent:* Tuesday, October 17, 2006 5:19 AM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] CairngormStore for Flex 2 I am trying to download CairngormStore for Flex 2 from http://www.iterationtwo.com/cairngormstore/CairngormStoreWeb.war but the link is not working. If someone has a copy of this war, please email it to me at [EMAIL PROTECTED] TIA -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.4/477 - Release Date: 10/16/2006 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.4/477 - Release Date: 10/16/2006 -- 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] RSL
I am trying to work out our strategy for breaking our client into separate modules that load when needed. I see mention of RSLs in the documentation but the documentation seems limited. For example, when exactly does the RSL get loaded? Is there a way to detect when it is loaded? In particular I am wondering if there is a sample out there (actual code). Thank you, -Vito -- 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: LinkBar ViewStack Problem
Thank you very much Andrew. --- In flexcoders@yahoogroups.com, Andrew Trice [EMAIL PROTECTED] wrote: Try setting creationPolicy=all on your viewstack. This will ensure that the child components have been created. FYI... You do not want to use this approach too often, especially on deeply nested components. It can drastically increase the initialization time of your applications. It might be a better approach to bind the textinput text value to the datagrid's selected item ... mx:TextInput id=input text={list.selectedItem.someValue} / _ Andrew Trice Cynergy Systems, Inc. http://www.cynergysystems.com Blog: http://www.cynergysystems.com/blogs/page/andrewtrice Email: [EMAIL PROTECTED] Office: 866-CYNERGY From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Daniel Sent: Tuesday, October 17, 2006 11:41 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] LinkBar ViewStack Problem Hello all! I've been having this particular problem, I have 2 canvas inside a viewStack, lest say something like: mx:ViewStack id=viewStack width=100% height=100% mx:Canvas id=list label=List mx:DataGrid doubleClickEnabled=true doubleClick=viewStack.selectedIndex = 1; input.text=list.selectedItem.someValue /mx:DataGrid /mx:Canvas mx:Canvas id=form label=Form mx:TextInput id=input/ /mx:Canvas /mx:ViewStack Its simple, but whenever I double-click on the DataGrid, Flex gives an error saying that it can't access a null object (referring to the textinput input that is defined inside the second Canvas and is hidden). I've noticed that when one uses viewstacks or accordions and wants to access to an object inside a container that is hidden to initialize it, there is no way to access it. I've tried selecting the canvas first and then assinging the data, like I did in the code above, but doesn't work either. I really need help with this, otherwise Im gonna have to change the layout of the hall application. Thanks in advance! -- 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] Not Receiving Flexcoder Posts
Moderator: I have not received any flexcoder posts since Sat. I have reverified my Yahoo Groups email address several times. Everything seems to be OK, yet I still do not get any posts. Can you assist? Or direct me to someone who can? This continues to happen at least once a month. Thanks, Jack -- 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: Is there a way to find an object if you know the name
believe me, I've tried to attack this problem from a number of ways :)here's the quick description:My form design:Policy 1: accordionDivision 1: accordionState 1: TabVBox Code 1: text inputCode 2: text inputCode 3: text inputAdd Code: button/VBoxState 2: TabVBoxCode 1: text inputCode 2: text input /VboxState 3: TabDivision 2: accordionState 1: tabState 2: tab .etcThis is directly created from an XML doc read in the e4x format. I've got the code working so that I'm able to add code via the button in the state tab. Whendebugging,Icanseethatthevbox'srepeateritemnowreflectsthechangedXML,butthescreenisnotredrawntoreflectthenewlineforthecode. My first plan was to just reset the dataProvider for the the entire form. Bad idea, it causes the whole form to redraw and loses the current location within the form. My next plan was to reference the vbox's repeater and reset it's dataProvider to be mine XML snippet. So far no go :( My next planistotrytofigureouthowtocreateadatamodelforadynamicxmldocument.Ifigurethisisgoingtobejustassuccessfulasthefirsttwoplans.:) MarlonOn 10/17/06, Tracy Spratt [EMAIL PROTECTED] wrote: Yes, you should probably back up a little and think about what you are trying to do. Directly accessing elements of data-driven controls is usually a bad idea, mainly because the controls re-use the visual elements when you scroll. Tracy From: [EMAIL PROTECTED]ups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of Michael LabriolaSent: Monday, October 16, 2006 8:19 PM To: [EMAIL PROTECTED]ups.comSubject: [flexcoders] Re: Is there a way to find an object if you know the name ..one more note.. You may want to also check out Referencing repeated child components in the help docs, which is specifically about components within a repeater. --Mike --- In flexcoders@yahoogroups.com , Marlon Moyer [EMAIL PROTECTED] wrote: sorry, I didn't phrase the question correctly. I have the name of a component in a string variable (e.g. I've named a component 'name=repeater_state_{divisionRepeater.currentItem.id}) and now I want to be able to refer to that component dynamically. On 10/16/06, Gordon Smith [EMAIL PROTECTED] wrote: You simply refer to components by their id. You don't have to look them up by it. For example, if you have MyApp.mxml: mx:Application mx::Canvas id=c1 mx:Button id=b1 ... then in the Application's mx:Script methods you can write expressions like b1.label. Technically, what is happening is that the MXML compiler autogenerates var c1:Canvas; var b1:Button; as instance vars of a MyApp class which extends Application. The methods you write in the mx:Script become methods of this MyApp class, so they can acess these instance vars. To access components inside components, you simply use the dot operator. - Gordon -- *From:* flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] *On Behalf Of *Marlon Moyer *Sent:* Sunday, October 15, 2006 7:03 PM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] Is there a way to find an object if you know the name What's the equivalent of _javascript_'s getElementById in Flex? I've searched the help files numerous times and can't seem to find it. Thanks -- Marlon -- Marlon -- 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 __,_._,___
[flexcoders] Re: LinkBar ViewStack Problem
Thank you Clint. --- In flexcoders@yahoogroups.com, Clint Tredway [EMAIL PROTECTED] wrote: the canvas that holds the text input is a child of the Viewstack and the creationPolicy, I believe, auto sets to auto. this means that they get created when they are needed, not before. You can set the creation Policy to 'all', but that can get intensive as your app grows. On 10/17/06, Daniel [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Clint Tredway grumpee@ wrote: Thanks, binding is a solution. However, I keep thinking how is that the text field is not created 'yet'? Is there another way? Thanks again. This is a creation issue. Basically, the input text field is not 'created' yet. You have a couple of options. The simplest, is just bind the text of the input to the value you want to store there. mx:TextInput text={list.selectedItem.somevalue}/ There are other options, but that should get you going. On 10/17/06, Daniel danboh@ wrote: Hello all! I've been having this particular problem, I have 2 canvas inside a viewStack, lest say something like: mx:ViewStack id=viewStack width=100% height=100% mx:Canvas id=list label=List mx:DataGrid doubleClickEnabled=true doubleClick=viewStack.selectedIndex = 1; input.text=list.selectedItem.someValue /mx:DataGrid /mx:Canvas mx:Canvas id=form label=Form mx:TextInput id=input/ /mx:Canvas /mx:ViewStack Its simple, but whenever I double-click on the DataGrid, Flex gives an error saying that it can't access a null object (referring to the textinput input that is defined inside the second Canvas and is hidden). I've noticed that when one uses viewstacks or accordions and wants to access to an object inside a container that is hidden to initialize it, there is no way to access it. I've tried selecting the canvas first and then assinging the data, like I did in the code above, but doesn't work either. I really need help with this, otherwise Im gonna have to change the layout of the hall application. Thanks in advance! -- diabetic? http://www.diabetesforums.com Albert Einstein - It's not that I'm so smart, it's just that I stay with problems longer. -- 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 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] Datagrid Drag Row
Hi All, I have a datagrid which contains around ten rows I have drag enabled on datagrid and due to which I am able to drag corresponding rows. What should I do to remove particular row on to which I am dropping my current row which is selected. Thanks Kumar __._,_.___ -- 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: Not Receiving Flexcoder Posts
Yahoo's mail can be flaky, I started using a RSS reader to get better access to all the posts. RSS Feed URL: http://rss.groups.yahoo.com/group/flexcoders/rss Renaun http://renaun.com/blog/ --- In flexcoders@yahoogroups.com, jwc_wensan [EMAIL PROTECTED] wrote: Moderator: I have not received any flexcoder posts since Sat. I have reverified my Yahoo Groups email address several times. Everything seems to be OK, yet I still do not get any posts. Can you assist? Or direct me to someone who can? This continues to happen at least once a month. Thanks, Jack -- 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: Drag and Drop tutorials/Samples of mixed types of dragging
So, what I'm realizing is that DragManager and Drag and Drop is just that - you're moving data to another container - whatever that data might be.In this case, I'm moving a Component around on stage and might possibly drop it onto another component. The idea would be to move the dropped component into the display list of the target (which works). But must moving the object around with in the Canvas only works with startDrag()/stopDrag(). Is there a way to allow the object to be moved to different coordinates using the DragManager.doDrag() method?I've looked through the tutorials and somethings were cleared up, but none of them showed an example of just dragging something around on stage using DragManager. Seems like I'm barking up the wrong tree on this one. thoughts?On 10/17/06, John Grden [EMAIL PROTECTED] wrote: Yeah I had wondered about what was going on with the drag proxy - I'm just getting into it, but this really helps DerrickOn 10/17/06, Derrick Grigg [EMAIL PROTECTED] wrote: There is a decent sample in the online Flex docs of dragging an image around. http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=0967.html General overview of the drag manager and usage http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=0967.html I have found the drag manager to be pretty easy to use and useful, however when using the datagrid/lists and dragging between them, using anything other than the default drag proxy becomes painful. You can work around it by extending the datagrid class and overwriting the dragProxy setter/getter to use a different one instead. Good luck, Derrick -- Derrick Grigg [EMAIL PROTECTED] www.dgrigg.com -- [JPG] -- [JPG] __._,_.___ -- 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: Binding a List to an Array
Steve, Do me a favor and test something out. Make the items Array an ArrayCollection on your own. Here is the gist: When you pass an Array to either ComboBox or List it makes an ArrayCollection out of it for the purposes of binding. List does something slightly different in that it stops listening to the existing collection first. This may mean nothing at all. However, I am concerned that you are getting lucky on the timing of the ComboBox. This is just a guess, but try it and post back some code if it does not work, I will be glad to look at it. Mike --- In flexcoders@yahoogroups.com, stevex [EMAIL PROTECTED] wrote: I have a binding problem that seems simple, but I can't figure it out. Here's the deal: I have a class that I'm using as my model. It looks like this: [Bindable] public class MyModel { public var items:Array = new Array(); } I have a class whose objects populate the array: [Bindable] public class MyItem { public var name:String; } I declare an appModel variable in the MXML (with the appropriate xmlns:local=* to make it work): local:ChoreAppModel id=appModel/ When the app starts up I put a few test items in the array: var anItem:MyItem = new MyItem(); anItem.name = Test 1; appModel.items.push(anItem); anItem:MyItem = new MyItem(); anItem.name = Test 2; appModel.items.push(anItem); Now, if I create a ComboBox and bind it thusly: mx:ComboBox labelField=name dataProvider={appModel.items}/ It works: I see Test 1 and Test 2 in my ComboBox. But if I bind it to a List: mx:List dataProvider={appModel.items} labelField=name/ I see nothing. Funny thing is, if I create a global array and bind the list to that, it works. So it seems to have something to do with the fact that the array is a property of appModel. What am I missing? Thanks. -- Steve Tibbett [EMAIL PROTECTED] -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * 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: LinkBar ViewStack Problem
no problem. hope it helps...On 10/17/06, Daniel [EMAIL PROTECTED] wrote: Thank you Clint. --- In flexcoders@yahoogroups.com, Clint Tredway [EMAIL PROTECTED] wrote: the canvas that holds the text input is a child of the Viewstack and the creationPolicy, I believe, auto sets to auto. this means that they get created when they are needed, not before. You can set the creation Policy to 'all', but that can get intensive as your app grows. On 10/17/06, Daniel [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Clint Tredway grumpee@ wrote: Thanks, binding is a solution. However, I keep thinking how is that the text field is not created 'yet'? Is there another way? Thanks again. This is a creation issue. Basically, the input text field is not 'created' yet. You have a couple of options. The simplest, is just bind the text of the input to the value you want to store there. mx:TextInput text={list.selectedItem.somevalue}/ There are other options, but that should get you going. On 10/17/06, Daniel danboh@ wrote: Hello all! I've been having this particular problem, I have 2 canvas inside a viewStack, lest say something like: mx:ViewStack id=viewStack width=100% height=100% mx:Canvas id=list label=List mx:DataGrid doubleClickEnabled=true doubleClick=viewStack.selectedIndex = 1; input.text=list.selectedItem.someValue /mx:DataGrid /mx:Canvas mx:Canvas id=form label=Form mx:TextInput id=input/ /mx:Canvas /mx:ViewStack Its simple, but whenever I double-click on the DataGrid, Flex gives an error saying that it can't access a null object (referring to the textinput input that is defined inside the second Canvas and is hidden). I've noticed that when one uses viewstacks or accordions and wants to access to an object inside a container that is hidden to initialize it, there is no way to access it. I've tried selecting the canvas first and then assinging the data, like I did in the code above, but doesn't work either. I really need help with this, otherwise Im gonna have to change the layout of the hall application. Thanks in advance! -- diabetic? http://www.diabetesforums.com Albert Einstein - It's not that I'm so smart, it's just that I stay with problems longer. -- diabetic? http://www.diabetesforums.com Albert Einstein - It's not that I'm so smart, it's just that I stay with problems longer. -- 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 __,_._,___
[flexcoders] Re: Bug in Date() class math
The root problem here is the assumption that a day is always 24 hours. In timezones that support DST, a day can actually be 23, 24, or 25 hours long. Your posted code is adding 24-hour periods to a given date, so assuming you want to keep it that way you can just add the difference between the timezone offsets of the two dates to your projected date: tday = new Date(2006,9,16,22,49,18,0); res = new Date(tday.getTime() + 16*24*60*60*1000); test = new Date(2006,10,1,22,49,18,0); test.setTime(test.getTime() + (tday.getTimezoneOffset() - res.getTimezoneOffset()) * 6); assertTrue( Test: 16 via addDays(),\nNeed: 2006-11-01 22:49:18 (plus or minus 1 hour due to DST)\nComp: +res+\nTest: +test+\n, res.getTime()==test.getTime()); --- In flexcoders@yahoogroups.com, Mike Crowe [EMAIL PROTECTED] wrote: Dude, you may be my new hero. I need to figure out how to handle this. Anybody coded for DST before? Pointers? Mike --- In flexcoders@yahoogroups.com, Pekka Kola pekka.kola@ wrote: Daylight saving time btw Oct 16 .. Nov 1?? BR, Pekka -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mike Crowe Sent: 17. lokakuuta 2006 6:32 To: flexcoders@yahoogroups.com Subject: [flexcoders] Bug in Date() class math Hi folks, I submitted this bug to Adobe today. I was trying to figure out why my Date routines wouldn't work. Here's a test function which fails: The following code appears to mis-compute the result date. This is adding 16 days to the current date: public function testMike():void { var tday:Date; var res:Date; var test:Date; tday = new Date(2006,9,16,22,49,18,0); res = new Date(tday.getTime() + 16*24*60*60*1000); test = new Date(2006,10,1,22,49,18,0); assertTrue( Test: 16 via addDays(),\nNeed: 2006-11-01 22:49:18\nComp: +res+\nTest: +test+\n, res==test); } Results: Error: Test: 16 via addDays(), Need: 2006-11-01 22:49:18 Comp: Wed Nov 1 21:49:18 GMT-0500 2006 Test: Wed Nov 1 22:49:18 GMT-0500 2006 - expected true but was false My unit-test goes from 1-100 days (by 5), All dates below 16 days work. Anybody else see this? TIA Mike -- 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] Re: Not Receiving Flexcoder Posts
Renaun: Thanks . . . I'll give that a shot. Jack From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Renaun EricksonSent: Tuesday, October 17, 2006 12:47 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Re: Not Receiving Flexcoder Posts Yahoo's mail can be flaky, I started using a RSS reader to get betteraccess to all the posts.RSS Feed URL:http://rss.groups.yahoo.com/group/flexcoders/rssRenaunhttp://renaun.com/blog/--- In [EMAIL PROTECTED]ups.com, "jwc_wensan" jwcaldwell@... wrote: Moderator: I have not received any flexcoder posts since Sat. I have reverified my Yahoo Groups email address several times. Everything seems to be OK, yet I still do not get any posts. Can you assist? Or direct me to someone who can? This continues to happen at least once a month. Thanks, Jack __._,_.___ -- 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: DataGrid CheckBox itemRenderer select all
I posted my solution for seeing which checkboxes are selected and how to preselect them on the Adobe Flex 2 forum. You can take the logic in that code and modify it to fit your needs I am sure. Only downside is the post took three posts to get all of the code uploaded. You can do a search in the Adobe Flex 2 forum for checkbox example or just follow this link. http://www.adobe.com/cfusion/webforums/forum/messageview.cfm? forumid=60catid=585threadid=1190918highlight_key=y Have an Ordinary Day... KomputerMan ~|:-) --- In flexcoders@yahoogroups.com, Tommy Mestdagh [EMAIL PROTECTED] wrote: I also need to be able to check which CheckBoxs are selected This is wath you are looking for. I have a grid with a column named deleted . By clicking the checkbox you mark the item to delete (webmail style) This method pushes all marked items from the grid into a new array todelete. all items in the array todelete will be deleted later on. Good luck . Tommy private function collectForDelete():Array{ var todelete:Array = new Array(); var obj:Object = new Object(); for (var i:Number =0 ; i table_grids.datagrid.dataProvider.length ; i ++){ obj = table_grids.datagrid.dataProvider[i]; if (obj.deleted) { var record:RecordDTO = new RecordDTO(); record.setColumns(obj); todelete.push( record ); } } return todelete; } Van: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Namens Chad Callahan Verzonden: dinsdag 17 oktober 2006 16:52 Aan: flexcoders@yahoogroups.com Onderwerp: [flexcoders] DataGrid CheckBox itemRenderer select all I have a DataGrid and the first column's item renderer is mx.controls.CheckBox. I would like to be able to have a select all button that sets all of the CheckBox selected = true. I also need to be able to check which CheckBoxs are selected. Any suggestions? CHAD CALLAHAN PROGRAMMER T8DESIGN.COM | P 319.266.7574 - x195 | 877.T8IDEAS | F 888.290.4675 This e-mail, including attachments, is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential, and may be legally privileged. If you are not the intended recipient, you are hereby notified that any retention, dissemination, distribution, or copying of this communication is strictly prohibited. Please reply to the sender that you have received the message in error, and then please delete it. Thank you. -- 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] Charting Trial stamp is stubborn
Hi, just got and entered my license keys for Builder and Charting, but charts still display Charting Trial stamp. Manage Licenses shows both modules as valid commercial licenses. I did restart the IDE but still the same. What else do I need to get rid of the trial stamp? Thanks -Iko -- 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] FlexBuilder won't launch browser anymore
Everything worked great until today when I fired up FB2 again, now suddenly it won't run my app (or any other mxml). I'm using ColdFusion locally and if I type in the URL in my browser (http://localhost:8500/[etc]) that works fine. Any ideas? I did a clean and rebuilt the workspace to no avail. Thanks in advance. -- 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] Question: Linking a Web Service to a Progress Bar
Question: Web Service Progress Bar I am still a bit new to FLEX but I dont see any way to link a Status Bar to a Web Services Progress. I know that the size of a SOAP message is set in the message header. Is there a way to determine the progress of a Web Service sending and receiving data? Such as Sending 1560 of 30023 bites . Waiting for server response . Receiving headers. Receiving 4302 of 30440 bites Done. ( I know that done fires the Results event ) Like to be able to give Visual Feedback to my users whats going on in the data exchange process. The mx:WebService and mx:operation objects do not seem to have any properties related to it status. Thanks for any incite. WickedMonkey [EMAIL PROTECTED] __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
[flexcoders] Re: VO Mapping, some basic questions
Straight from the AMFPHP code. AMFSerializer.php (line ~346) if(isset($d-_explicitType)) { $classname = $d-_explicitType; unset($d-_explicitType); } AMFPHP uses it on the Serialization side to set the classname and then unset's the value. Renaun --- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED] wrote: Nope, AMFPHP must internally be doing this work for you (isn't it the one that actually produces the AMF binary for the response and not your code?). Pete From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Julian Sander Sent: Tuesday, October 17, 2006 11:35 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: VO Mapping, some basic questions Hi Peter, thanx for your insite. It reafirms what I though was happening. None the less, I am curious how the mechanism works now. In AmfPHP there is a wrapper that will convert a simple array to a RecordSet called Arrayf. Among other things it passes the _explicitType property back. I assume that AS 2, or the flash player then reads that and casts the data to an instance of RecordSet. It must be this way as I have never written any parsing engines for returned data using AmfPHP. Should I assume that the Flash 9 player does this as well, or more specificaly that the Flash VM for AS3 does this? I get the feeling as if there is some very basic block of info I am missing cheers, Julian Julian Sander BurbacherstraÃe 58 53129 Bonn t/f +49 228 21 27 15 m +49 172 250 6524 http://sander-is.com On 17.10.2006, at 17:10, Peter Farland wrote: Julian, remember that the client deserialization of AMF responses is controlled by native code in the Flash Player - unless there is specific handling code written in ActionScript to preprocess the result before it is returned to you, the presence of _explicitType would not cause a typed object to be created on the client automatically. I haven't seen the PHP code, but I would imagine that the presence of an _explicitType property causes the serialized AMF object to the include extra information for the class name in the binary definition of the object... it is only through this mechanism that the native code in the Flash Player will create a typed object for a registered class on deserializing a response. Flex is built on top of ActionScript so it too relies on the native deserialization behavior of the Flash Player. The _explicitType property must be a way for PHP to allow untyped PHP objects be returned as typed ActionScript objects (or perhaps also an alias mechanism for those that possess type information already?). Either way this is a copy of the _remoteClass property mechanism from Flex 1.0/Flex 1.5 (though note this approach was abandonded in Flex 2.0). From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Julian Sander Sent: Tuesday, October 17, 2006 3:41 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: VO Mapping, some basic questions It seems like we are speaking right past eachother :)? It is not the server side of the equation I am missing.? In the AMF0 payload the parameter _explicitType is passed.? In AS2 I use Object.registerClass to map the class writen as a String in _explicitType (ie com.renaun.samples.login.vo.BookVO ) to a AS2 Class found at?com.renaun.samples.login.vo.BookVO.? What I want to know is if the parameter _explicitType works in Flex as well? Cheers, Julian Julian Sander Burbacherstra58ߥ 53129 Bonn t/f ? ? +49 228 21 27 15 m? ? ? +49 172 250 6524 http://abstractfactory.de http://abstractfactory.de/ 438570115 On 17.10.2006, at 00:06, Renaun Erickson wrote: AMFPHP's _explicitType implementation is used to define it however you want. So for my example of the BookVO, the php VO would look like: class BookVO { public $_explicitType = com.renaun.samples.login.vo.BookVO; public $name; public $bookid; public $publishdate; public $createddate; } And the PHP service class is: include ../vo/BookVO.php; class Login { function Login() { $this-methodTable = array( checkLogin = array( description = Simple Login, access = remote, arguments = array () ) ); // Initialize db connection } function checkLogin() { $arr = array(); $book = new BookVO(); $book-name = Adobe Flex 2: Training from the Source; $book-bookid = 032142316X; $book-publishdate = date( F j, Y, g:i a, mktime(0, 0, 0, 8,
[flexcoders] Re: Binary Sockets, and Folder Browser
thanks for your replys. 1. so it should be possible to create a connection between 2 flash users from the same domain(website)? 2. would be pleased to hear more :) thanks --- In flexcoders@yahoogroups.com, grunz1234 grunz1234@ wrote: Hello I have some questions on Flex. 1. Is it possible to create a socket on a flash client? 2. Is it possible to open a file from the users OS and upload it? thanks Looks like the Socket class in the flash.net package will be able to handle the first part of your question. For the second part, if I understand correctly, I believe there are a couple of ways to accomplish this. Any one have any insight on implementation techniques that were successfull for them? 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/
[flexcoders] Stack Overflow in swf to swf include
HI, I'm trying to include an swf file (generated from FlexBuilder) within another swf file using mx:image. The included file is located on a different server, and the include works fine. Now, if a HTTPService is added to the included file, the call fails with the following exception. Error: Error #1023: Stack overflow occurred.at Object$/Object::_hasOwnProperty()at Object/http://adobe.com/AS3/2006/builtin::hasOwnProperty()at Object$/Object::_hasOwnProperty().at Object$/Object::_hasOwnProperty() is repeated many times. It appears like an infinite loop that's triggered internally and terminates with a stack overflow. The mxml for the caller swf (located on www.abc.com) is as follows : == ?xml version=1.0 encoding=utf-8?mx:Application xmlns:mx=http://www.adobe.com/2006/mxml layout=horizontal mx:Script![CDATA[import flash.system.Security; Security.allowDomain(www.xyz.com); ]]/mx:Scriptmx:Image source=http://www.xyz.com/test/Loadee.swf x=300 y=350 showBusyCursor=true/ /mx:Application mxml for the called swf (Loadee.swf) == ?xml version=1.0 encoding=utf-8?mx:Application xmlns:mx=http://www.adobe.com/2006/mxml layout=horizontal width=270 height=54 creationComplete= getState.send();mx:Text text=Initial Text x=300 y=300 id=thisText/mx:HTTPService url="" href="http://www.xyz.com/ServersideScript.do">http://www.xyz.com/ServersideScript.do id=getState result=chgState()/mx:Script![CDATA[function chgState() {// ideally do something with the HTTP response here,thisText.text= HTTP call succeeded;}]]/mx:Script /mx:Application Any inputs here will be greatly helpful. Thanks, Joseph __._,_.___ -- 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: CairngormStore for Flex 2
Thanks Evan On 10/17/06, greggohlke [EMAIL PROTECTED] wrote: Looks like all links to iterationtwo.com are no good, its like they dropped off the face of the earth. --- In flexcoders@yahoogroups.com, Greg Morphis [EMAIL PROTECTED] wrote: the link is broke there also On 10/17/06, Evan Gifford [EMAIL PROTECTED] wrote: You can find it on Andy Raynes blog: http://weblogs.macromedia.com/arayne/archives/2006/08/cairngormstore. cfm -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Bhuvan *Sent:* Tuesday, October 17, 2006 5:19 AM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] CairngormStore for Flex 2 I am trying to download CairngormStore for Flex 2 from http://www.iterationtwo.com/cairngormstore/CairngormStoreWeb.war but the link is not working. If someone has a copy of this war, please email it to me at [EMAIL PROTECTED] TIA -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.4/477 - Release Date: 10/16/2006 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.4/477 - Release Date: 10/16/2006 -- 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: [Junk E-Mail - LOW] [flexcoders] Re: Binary Sockets, and Folder Browser
1. Yes, and there are server-side products already out there that do this. Adobe's product is called Flex Data Services. There are other alternatives out there, and I'm sure others will point them out. 2. You can't do anything without the user's permission, but you can have them select one or more files usingthe OS'sstandard file open dialog box (including filtering what types of files you'll accept), and then upload the file to the server to do with it as you please. Shan From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of grunz1234Sent: Tuesday, October 17, 2006 1:50 PMTo: flexcoders@yahoogroups.comSubject: [Junk E-Mail - LOW] [flexcoders] Re: Binary Sockets, and Folder Browser thanks for your replys.1. so it should be possible to create a connection between 2 flash users from the same domain(website)?2. would be pleased to hear more :)thanks --- In [EMAIL PROTECTED]ups.com, "grunz1234" grunz1234@ wrote: Hello I have some questions on Flex.1. Is it possible to create a socket on a flash client? 2. Is it possible to open a file from the users OS and upload it?thanks Looks like the Socket class in the flash.net package will be able to handle the first part of your question. For the second part, if I understand correctly, I believe there are a couple of ways to accomplish this. Any one have any insight on implementation techniques that were successfull for them? Thanks. --No virus found in this incoming message.Checked by AVG Free Edition.Version: 7.1.408 / Virus Database: 268.13.4 - Release Date: 10/13/2006 __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___ -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.4 - Release Date: 10/13/2006
[Junk E-Mail - LOW] [flexcoders] Re: Binary Sockets, and Folder Browser
thanks for point 1. I know FDS, but I want a connection directly between the clients, i.e. p2p. 1. Yes, and there are server-side products already out there that do this. Adobe's product is called Flex Data Services. There are other alternatives out there, and I'm sure others will point them out. 2. You can't do anything without the user's permission, but you can have them select one or more files using the OS's standard file open dialog box (including filtering what types of files you'll accept), and then upload the file to the server to do with it as you please. Shan _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of grunz1234 Sent: Tuesday, October 17, 2006 1:50 PM To: flexcoders@yahoogroups.com Subject: [Junk E-Mail - LOW] [flexcoders] Re: Binary Sockets, and Folder Browser thanks for your replys. 1. so it should be possible to create a connection between 2 flash users from the same domain(website)-? 2. would be pleased to hear more :) thanks --- In HYPERLINK mailto:flexcoders%40yahoogroups.com[EMAIL PROTECTED], grunz1234 grunz1234@ wrote: Hello I have some questions on Flex. 1. Is it possible to create a socket on a flash client? 2. Is it possible to open a file from the users OS and upload it? thanks Looks like the Socket class in the flash.net package will be able to handle the first part of your question. For the second part, if I understand correctly, I believe there are a couple of ways to accomplish this. Any one have any insight on implementation techniques that were successfull for them? Thanks. -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.4 - Release Date: 10/13/2006 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.4 - Release Date: 10/13/2006 -- 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] Charting Trial stamp is stubborn
I got the same thing when I entered my license in the demo, but I think recompiling those MXML documents fixed it. ROn 10/17/06, iko_knyphausen [EMAIL PROTECTED] wrote:Hi,just got and entered my license keys for Builder and Charting, but charts still display Charting Trial stamp. Manage Licenses showsboth modules as valid commercial licenses. I did restart the IDE butstill the same. What else do I need to get rid of the trial stamp? Thanks-Iko--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: [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 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] custom itemRenderer creation
Hi, i have a bar chart and i would like to define colors of the bars based on some runtime values in arraycollection. can anybody please point me on how to create a custom itemRenderer for a bar series? thanks suri -- 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] flash is not inthe center of my app
i have been trying to do this by my self with no good results for the last 2 weeks, since flex doesn't have a projector option like flash mx i downloaded mdm and jugglor (both support flash 9) in both programs when i compile and run the aplication with my flashproject it only shows the top left corner of flash can somedbody tell me why is this happening i even tried to do it with a simple app with now resizable panel or canvas and still have the same problem here is the link so you can see it http://mx.geocities.com/tonyx_788/prueba.zip copy and paste -- 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] Viewstack and creation policy
Hello all. I was wondering if I can get some help on a viewstack issue? In my main app file I have an applicationcontrolbar, which contains a combobox. The combobox is being used to navigate my viewstack. In my viewstack I have four custom canvas components. So something like the following (short hand). VS Canvas1 LineChartA/ /Canvas1 Canvas2 LineChartB/ /Canvas1 Canvas3 LineChartC/ /Canvas1 Canvas4 LineChartD/ /Canvas1 VS/ The viewstacks initial selectedIndex is set to 0 which is Canvas1. The Canvas1 shows my LineChart without the linedata, so no actual graph. If you use the comboBox navigation to go to any of the other 3 canvas's the graphs show. The LineChart is getting its data via binding. I am assuming it has to do with the creation policy, but I have tried using creationPolicy=all and creationIndex, but no luck. I have tried swaping canvas1 and canvas2 in the view stack (so canvas2 is the initial view), but then canvas2's graph is blank and canvas1 is showing corretcly. Any ideas? Thanks, in advance. J -- 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] Whats the best way of adding print/pdf output to a flex app?
Assume you were producing reports with columns, summaries, charts, that sort of thing, is there a good way of getting this to a printer or pdf file? Any components out there that will help dimensions, page breaks, etc. Thanks Iko -- 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: Is there a way to find an object if you know the name
There should be no need to set the 'name' property to a different value on each instance of a repeated component so that you can retrieve that instance. If you have mx:Repeater ... mx:Button id=b ... / /mx:Repeater then the various repeated Button instances are accessible as b[0], b[1]. Using this indexed id access is faster than using getChildByName(), and you don't waste memory storing names. - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michael Labriola Sent: Monday, October 16, 2006 5:17 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Is there a way to find an object if you know the name Marlon, So long as you know the container where the child exists, you can say: container.getChildByName(name:String):DisplayObject or container.getChildIndex(child:DisplayObject):int Hope that helps, Mike --- In [EMAIL PROTECTED]ups.com, Marlon Moyer marlon.moyer@... wrote: sorry, I didn't phrase the question correctly. I have the name of a component in a string variable (e.g. I've named a component 'name=repeater_state_{divisionRepeater.currentItem.id}) and now I want to be able to refer to that component dynamically. On 10/16/06, Gordon Smith [EMAIL PROTECTED] wrote: You simply refer to components by their id. You don't have to look them up by it. For example, if you have MyApp.mxml: mx:Application mx::Canvas id=c1 mx:Button id=b1 ... then in the Application's mx:Script methods you can write expressions like b1.label. Technically, what is happening is that the MXML compiler autogenerates var c1:Canvas; var b1:Button; as instance vars of a MyApp class which extends Application. The methods you write in the mx:Script become methods of this MyApp class, so they can acess these instance vars. To access components inside components, you simply use the dot operator. - Gordon -- *From:* [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] *On Behalf Of *Marlon Moyer *Sent:* Sunday, October 15, 2006 7:03 PM *To:* [EMAIL PROTECTED]ups.com *Subject:* [flexcoders] Is there a way to find an object if you know the name What's the equivalent of _javascript_'s getElementById in Flex? I've searched the help files numerous times and can't seem to find it. Thanks -- Marlon -- 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 __,_._,___
[flexcoders] Re: FlexBuilder won't launch browser anymore
Found the problem. Somehow the setting in Preferences/General/Web Browser got switched from Firefox to Mozilla, which I don't even have! Go figure. --- In flexcoders@yahoogroups.com, jack_freud [EMAIL PROTECTED] wrote: Everything worked great until today when I fired up FB2 again, now suddenly it won't run my app (or any other mxml). I'm using ColdFusion locally and if I type in the URL in my browser (http://localhost:8500/[etc]) that works fine. Any ideas? I did a clean and rebuilt the workspace to no avail. Thanks in advance. -- 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] Whats the best way of adding print/pdf output to a flex app?
This is a server side game right now... flex doesn't support printing (very well) yet...Some good info here if you don't already have a backend reporting solution setup. http://ask.slashdot.org/article.pl?sid=06/03/08/2259203On 10/17/06, iko_knyphausen [EMAIL PROTECTED] wrote: Assume you were producing reports with columns, summaries, charts, that sort of thing, is there a good way of getting this to a printer or pdf file? Any components out there that will help dimensions, page breaks, etc. Thanks Iko __._,_.___ -- 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] Whats the best way of adding print/pdf output to a flex app?
I would say your best bet is likely to store your data into a database (which you're likely already doing) then use a backend PDF writer or report generation script in whatever backend language you're using. Coldfusion has this built in I know, and I know there are components available for .Net that allow quite a bit of flexibility. On 10/17/06, iko_knyphausen [EMAIL PROTECTED] wrote: Assume you were producing reports with columns, summaries, charts, that sort of thing, is there a good way of getting this to a printer or pdf file? Any components out there that will help dimensions, page breaks, etc. Thanks Iko __._,_.___ -- 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] Stack Overflow in swf to swf include
I could reproduce your problem- I'll log a bug on your behalf. Out of curiosity, does your HTTPService return XML? If so, any chance you could show us what the XML looks like? As a work around for now you could either set makeObjectsBinadble="false" on your HTTPService tag or set resultFormat="e4x" or resultFormat="text" (instead of the default, which is "object"). Thanks, Pete From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Flex LearnerSent: Tuesday, October 17, 2006 2:45 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Stack Overflow in swf to swf include HI, I'm trying to include an swf file (generated from FlexBuilder) within another swf file using mx:image. The included file is located on a different server, and the include works fine. Now, if a HTTPService is added to the included file, the call fails with the following exception. Error: Error #1023: Stack overflow occurred.at Object$/Object::_hasOwnProperty()at Object/http://adobe.com/AS3/2006/builtin::hasOwnProperty()at Object$/Object::_hasOwnProperty().at Object$/Object::_hasOwnProperty() is repeated many times. It appears like an infinite loop that's triggered internally and terminates with a stack overflow. The mxml for the caller swf (located on www.abc.com) is as follows : == ?xml version="1.0" encoding="utf-8"?mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="horizontal" mx:Script![CDATA[import flash.system.Security; Security.allowDomain("www.xyz.com"); ]]/mx:Scriptmx:Image source="http://www.xyz.com/test/Loadee.swf" x="300" y="350" showBusyCursor="true"/ /mx:Application mxml for the called swf (Loadee.swf) == ?xml version="1.0" encoding="utf-8"?mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="horizontal" width="270" height="54" creationComplete=" getState.send();"mx:Text text="Initial Text" x="300" y="300" id="thisText"/mx:HTTPService url=""http://www.xyz.com/ServersideScript.do">http://www.xyz.com/ServersideScript.do " id="getState" result="chgState()"/mx:Script![CDATA[function chgState() {// ideally do something with the HTTP response here,thisText.text= "HTTP call succeeded";}]]/mx:Script /mx:Application Any inputs here will be greatly helpful. Thanks, Joseph __._,_.___ -- 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: Is there a way to find an object if you know the name
My next plan was to reference the vbox's repeater and reset it's dataProvider That sounds right. What problem did you have? Just thinking, not having actually done it, that you coud do something like: var xlSubset:XMLList = mainXML.somenode.othernode.xmllistexpressionofsomekind; myRepeater.dataProvider = xlSubset; Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Marlon Moyer Sent: Tuesday, October 17, 2006 1:00 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Is there a way to find an object if you know the name believe me, I've tried to attack this problem from a number of ways :) here's the quick description: My form design: Policy 1: accordion Division 1: accordion State 1: Tab VBox Code 1: text input Code 2: text input Code 3: text input Add Code: button /VBox State 2: Tab VBox Code 1: text input Code 2: text input /Vbox State 3: Tab Division 2: accordion State 1: tab State 2: tab .etc This is directly created from an XML doc read in the e4x format. I've got the code working so that I'm able to add code via the button in the state tab. Whendebugging,Icanseethatthevbox'srepeateritemnowreflectsthechangedXML,butthescreenisnotredrawntoreflectthenewlineforthecode. My first plan was to just reset the dataProvider for the the entire form. Bad idea, it causes the whole form to redraw and loses the current location within the form. My next plan was to reference the vbox's repeater and reset it's dataProvider to be mine XML snippet. So far no go :( My next planistotrytofigureouthowtocreateadatamodelforadynamicxmldocument.Ifigurethisisgoingtobejustassuccessfulasthefirsttwoplans.:) Marlon On 10/17/06, Tracy Spratt [EMAIL PROTECTED]com wrote: Yes, you should probably back up a little and think about what you are trying to do. Directly accessing elements of data-driven controls is usually a bad idea, mainly because the controls re-use the visual elements when you scroll. Tracy From: [EMAIL PROTECTED]ups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of Michael Labriola Sent: Monday, October 16, 2006 8:19 PM To: [EMAIL PROTECTED]ups.com Subject: [flexcoders] Re: Is there a way to find an object if you know the name ..one more note.. You may want to also check out Referencing repeated child components in the help docs, which is specifically about components within a repeater. --Mike --- In [EMAIL PROTECTED]ups.com , Marlon Moyer marlon.moyer@... wrote: sorry, I didn't phrase the question correctly. I have the name of a component in a string variable (e.g. I've named a component 'name=repeater_state_{divisionRepeater.currentItem.id}) and now I want to be able to refer to that component dynamically. On 10/16/06, Gordon Smith [EMAIL PROTECTED] wrote: You simply refer to components by their id. You don't have to look them up by it. For example, if you have MyApp.mxml: mx:Application mx::Canvas id=c1 mx:Button id=b1 ... then in the Application's mx:Script methods you can write expressions like b1.label. Technically, what is happening is that the MXML compiler autogenerates var c1:Canvas; var b1:Button; as instance vars of a MyApp class which extends Application. The methods you write in the mx:Script become methods of this MyApp class, so they can acess these instance vars. To access components inside components, you simply use the dot operator. - Gordon -- *From:* [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] *On Behalf Of *Marlon Moyer *Sent:* Sunday, October 15, 2006 7:03 PM *To:* [EMAIL PROTECTED]ups.com *Subject:* [flexcoders] Is there a way to find an object if you know the name What's the equivalent of _javascript_'s getElementById in Flex? I've searched the help files numerous times and can't seem to find it. Thanks -- Marlon -- Marlon -- 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
[flexcoders] Overriding center control when removing children in an HBox
I have an HBox that displays a list of children, I want to remove the Children and override the center positioning when I remove the children but for adding it's ok. Is this possible by overriding whatever the HBox does to do this? Thanks, 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 * 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: Multiple classes per package
I was meaning more whether it is possible to put 2 classes in 1 .as file, within a single package definition. So far, it looks like this is not possible. Yes, you can do that, but then the second class has to be defined outside the package, and is only visible to the first class (and not to other classes in the same package). Afaik. // File mypackage/MainClass.as package mypackage { public class MainClass { // .. } } class HelperClass { // .. } Cheers, Claus. -- claus wahlers côdeazur brasil http://codeazur.com.br -- 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 2 API and AS3 posters....
FYI: http://www.onflex.org/ted/2006/10/cube-wallpaper-as3-and-flex-api.php Hope to see many of you at MAX. -David -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] (Cairngorm App) Advice on Deleting a VO, from a DataGrid containing an Array of VO's
Hello All, I have a Cairngorm-based application. On a particular screen within this App, I have a Products DataGrid with a DataProvider (from my Model) assigned to it. The variable from my Model, is productsList - which is an ArrayCollection populated with ProductVO's returned from the CF Server. With any typical Cairngorm Application, you assign your DataProvider properties to the Model Variables - in order to keep everything centralized controllable. If I have a Row selected in this DataGrid, and I want to delete this particular Record, what is the best way to accomplish this? On the surface, this sounds like a really simple/stupid question - BUT, there is more to it than that. I want to make sure that I'm doing this in a politically correct manner - following the rules of well-written application practices. Instead of simply blowing away the Record from the DataGrid, I want to broadcast a Cairngorm Event, which removes the ProductsDataGrid 'selectedItem' (as a VO possibly??) from the productsList ArrayCollection. Since the productsDataGrid.dataProvider is bound to model.productsList, the changes will obviously be reflected in the DataGrid, once I remove the item from the ArrayCollection. BUT, I don't want this to happen, until I get a validated True or False response from the ColdFusion Server - otherwise, I will get potential consistency issues. Like - if the server is unreachable at the moment. It would be confusing to the User, if the record got deleted from the DataGrid, but not from the actual DataBase. What would be the best Full Circle solution, to attack this problem? Thanks in advance, for any advice on this. Mike -- 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] Whats the best way of adding print/pdf output to a flex app?
Continuing this thread - Since FlashPaper is native to the whole "Macromedia and Adobe" suite of products, would FlashPaper be just as good of a solution as a PDF? And with that said, if FlashPaper is an acceptable solution for some users, could a FlashPaper document be created directly within a Flex Application? This would give a user, a ton of power, if they wanted to create documents for distribution, or for hard copy / archival purposes. I'd love to hear more regarding this topic, and I hope you don't mind me chiming in on your original thread Iko - I am sure any further information will benefit both of us :) Thanks, Mike From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Nick CollinsSent: Tuesday, October 17, 2006 5:45 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Whats the best way of adding print/pdf output to a flex app? I would say your best bet is likely to store your data into a database (which you're likely already doing) then use a backend PDF writer or report generation script in whatever backend language you're using. Coldfusion has this built in I know, and I know there are components available for .Net that allow quite a bit of flexibility. On 10/17/06, iko_knyphausen [EMAIL PROTECTED] wrote: Assume you were producing reports with columns, summaries, charts, thatsort of thing, is there a good way of getting this to a printer or pdffile? Any components out there that will help dimensions, page breaks,etc.ThanksIko __._,_.___ -- 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] Image complete and init event problem
I'm loading images using the Image class, and I'm trying to analyze their height and width after they load for sizing purposes. Problem is, sometimes (not always but sometimes) someImage.width and someImage.height are still 0 when the complete event gets handled. Same problem with the init event, even though according to the docs, it's not supposed to be fired until the properties of the loaded object are available. Am I missing something? Anyone having similar issues and/or solutions? I seem to recall Flash having similar problems with inconsistent event firings when it comes to swf / image loading...--Brian __._,_.___ -- 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: Viewstack and creation policy
I have done some digging and it appears it is that my dataprovider of all the canvas's (Canvas1, Canvas2, etc...), which is the same for all four canvas's isn't being created before my viewstack is created. Is there a way to tell the Viewstack to wait to be created last and then tell Canvas1 inside the Viewstack to be created 2nd? I put another canvas in front of Canvas1 and so Canvas0 and now Canvas1 correctly populates with the data. J --- In flexcoders@yahoogroups.com, jnewport [EMAIL PROTECTED] wrote: Hello all. I was wondering if I can get some help on a viewstack issue? In my main app file I have an applicationcontrolbar, which contains a combobox. The combobox is being used to navigate my viewstack. In my viewstack I have four custom canvas components. So something like the following (short hand). VS Canvas1 LineChartA/ /Canvas1 Canvas2 LineChartB/ /Canvas1 Canvas3 LineChartC/ /Canvas1 Canvas4 LineChartD/ /Canvas1 VS/ The viewstacks initial selectedIndex is set to 0 which is Canvas1. The Canvas1 shows my LineChart without the linedata, so no actual graph. If you use the comboBox navigation to go to any of the other 3 canvas's the graphs show. The LineChart is getting its data via binding. I am assuming it has to do with the creation policy, but I have tried using creationPolicy=all and creationIndex, but no luck. I have tried swaping canvas1 and canvas2 in the view stack (so canvas2 is the initial view), but then canvas2's graph is blank and canvas1 is showing corretcly. Any ideas? Thanks, in advance. J -- 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] Image complete and init event problem
I'm loading images using the Image class, and I'm trying to analyze their height and width after they load for sizing purposes. Problem is, sometimes (not always but sometimes) someImage.width and someImage.height are still 0 when the complete event gets handled. Same problem with the init event, even though according to the docs, it's not supposed to be fired until the properties of the loaded object are available. Am I missing something? Anyone having similar issues and/or solutions? I supposed I can set up a Timer to poll the width and fire a proper event when the widt is 0 - but I assumed the native events were consistent and reliable. Also, I seem to recall Flash having similar problems with inconsistent event firings when it comes to swf / image loading... --Brian -- 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/