[flexcoders] ColdFusion vs. PHP as the back-end
Im using a CF backend in my personal flex joints. Its very easy to set-up and the wizards are a nice touch for the UI guys. If you want to go hardcore though, Java is your best option. I dont need Php, Im not poor. Regards, Bjorn Schultheiss Senior Flash Developer QDC Technologies From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Ville Walveranta Sent: Thursday, 6 July 2006 9:44 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] ColdFusion vs. PHP as the back-end I started my quest to explore Flex rather recently; I never did much with v1.5, mostly because the cost involved to launch any commercial solution created with it. Now, with 2.0 its pretty exciting to see everything that is now, rather easily (and inexpensively!), possible to do. But one thing Im not quite clear on yet: what is the difference, or benefit from, between basic remoting as is possible with PHP/CF/ASP.NET, and the extended interaction with ColdFusion which makes it possible to pass actual instances of Actionscript Classes and have them map directly into a CFC Instances and vice versa (a quote from Tim Buntels blog)? Thanks for any insights! Ville __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Re: Webservice Results Format
Hi Will, It's much easier to work with one-to-many data relationships, if the xml is in a hiarchical format. In your example, the header node is at the same level as the lines node. That makes themsiblings. Since an order has only one header, you can move the header node items into the order node (attributes work here too). This will make it easier toassociate the children with the parent. If you're interested, here is a similar one-to-manyexample; that also illustrates DataGrid expansion-in-place. http://www.cflex.net/showfiledetails.cfm?ChannelID=1Object=FileobjectID=472 I hope that this helps you,Tim Hoff--- In flexcoders@yahoogroups.com, "Will Morgan" [EMAIL PROTECTED] wrote: Hi All, The results from the webservice I'm using look something like this: order header order12345/order /header /headers lines line /line /order It's similar to a master / detail view. I can only bind to either headers or orders. headersDataGrid.dataprovider = "{webservice.getOrder.lastResult.headers}" I was hoping I could use headersDataGrid.selectedItem.lines to show the lines detail in another dataGrid, but because it is only bound to headers, I can't do it. Is there a simple way to do this within Flex or would you suggest changing the way the results are returned? __._,_.___ -- 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 Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Request-Response time
Hi I am looking to capture the entire request-response time from an MXML - Java - MXML. Basically its a Search Application. I want to not the time it takes from hitting the Search button till the results are rendered on the screen. Is there any API to record this(on client side)? Pls share any info that you may have. Regards Rohan -- 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/ * 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: Request-Response time
Hi Rohan, You can use the timer API for this (see docs). Start the timer when you click the button, stop it when the result is returned. The difference between your start time and stop time will be in milliseconds. -TH --- In flexcoders@yahoogroups.com, tinywhistles [EMAIL PROTECTED] wrote: Hi I am looking to capture the entire request-response time from an MXML - Java - MXML. Basically its a Search Application. I want to not the time it takes from hitting the Search button till the results are rendered on the screen. Is there any API to record this(on client side)? Pls share any info that you may have. Regards Rohan Yahoo! Groups Sponsor ~-- Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM ~- -- 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/ * 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: Bug in printing with test case (was Re: [flexcoders] Flex print jobs)
On Wednesday 05 July 2006 15:09, Tom Chiverton wrote: If I try and print a dynamicaly instantiated GUI component, the job silently fails. If I create the same component in line in the page, the job works well. Even more oddness. If I pass the id of a page element that is present, but not currently displayed (different view stack, other tab) the print job silently fails as well. Someone wanna back me up here ? -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. Yahoo! Groups Sponsor ~-- Check out the new improvements in Yahoo! Groups email. http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM ~- -- 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/ * 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] Excel, Flex Database
On Wednesday 05 July 2006 16:47, Ritesh Jariwala wrote: Tom, can you redirect to me example or any tutorial on it? On what ? xls as a datasource shouldn't need one, and the Adobe DevNet has tons of FDS examples. -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. Yahoo! Groups Sponsor ~-- Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM ~- -- 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/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: Cairngorm Responder interface changes
On Tuesday 04 July 2006 15:28, JesterXL wrote: 2. Command callbacks. Sometimes, there is a legitimate need for a View to know when a Command is completed. In my consulting, we've added an In which case it should use data binding, and the event result updates something in the model. Remember you can bind to data via a function: selectedIndex={findOutIndexForMyViewFromModelState(model)} -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. Yahoo! Groups Sponsor ~-- Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM ~- -- 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/ * 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: Handle result/fault from webservice call in Cairngorm 2
On Thursday 06 July 2006 02:11, ben.clinkinbeard wrote: This obviously references the Delegate class from AS2, but what is the AS3/Cairngorm 2 equivalent? How do you write a delegate (lowercase 'd') in Cairngorm 2? package com.x.y.z.service { import mx.rpc.AbstractService; import mx.collections.ArrayCollection; import com.adobe.cairngorm.business.Responder; import com.adobe.cairngorm.business.ServiceLocator; import com.x.y.z.vo.FileVO; import com..x.y.z.model.ApplicationModel; public class StateDelegate { private var service:AbstractService; private var responder:com.adobe.cairngorm.business.Responder; private var model:ApplicationModel = ApplicationModel.getInstance(); public function StateDelegate(callingCommand:com.adobe.cairngorm.business.Responder) { service = ServiceLocator.getInstance().getService(stateService); responder = callingCommand; } public function callSomeRemoteMethod(thisFile:FileVO):void { var call:Object = service.someRemoteMethod(model.myUsername,thisFile); call.resultHandler = responder.onResult; call.faultHandler = responder.onFault; } } } -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. Yahoo! Groups Sponsor ~-- See what's inside the new Yahoo! Groups email. http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM ~- -- 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/ * 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] FDS on CFMX configuration problems
On Wednesday 05 July 2006 21:16, Tom Bray wrote: [RPC Fault faultString=Send failed faultCode=Client.Error.MessageSend faultDetail=Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Status 500] That's an internal server error, what's in the logs ? -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders 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/ * 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] [Flex2] Changes to the Cairngorm package structure
Hello list, I just came across a question of architecture and I'm not quite sure, if it is well... sort of allowed to do what I'm about to do. Thing is, for the particular situation that I'm dealing with, I'd need to refactor Cairngorm regarding its package structure. Now, since this is Adobe's thing here, I don't know whether that correspond their licensing in terms of usage. Maybe someone, maybe folks from Adobe, could give me some hint here. Thanks and cheers, Thomas Thomas Rühl Design, Programming Concepts akitogo OHG Hanauer Landstrasse 188 60314 Frankfurt Telefon +49 (0) 69 800 69 445 Fax +49 (0) 69 800 69 449 Mobil +49 (0) 179 750 75 87 E-Mail [EMAIL PROTECTED] Web http://www.akitogo.com Yahoo! Groups Sponsor ~-- Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM ~- -- 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/ * 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 2 - Adding icon to button
On Wednesday 05 July 2006 23:10, slangeberg wrote: Just a note that you must reference your 'bin' directory, to properly Embed an icon: Erm, as opposed to what ? -- Tom Chiverton, who puts his art assets in the model 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. Yahoo! Groups Sponsor ~-- Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM ~- -- 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/ * 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] [Flex2] Changes to the Cairngorm package structure
I believe Cairngorm is just Adobe's vision of architecture, there is no licensing on this and you can refactor it as you wish. But what do you need to do ? Before refactoring, make sure you really need to. Cairngorm has been created with the voice of large clients developping large Flex Apps, and i see it as very flexible. Right know, i cannot see any reason for refactoring. Anyway, i'm sure Adobe will be very interested in your thoughts ! Best, JL - Original Message - From: Thomas Rühl -akitogo- To: flexcoders@yahoogroups.com Sent: Thursday, July 06, 2006 11:52 AM Subject: [flexcoders] [Flex2] Changes to the Cairngorm package structure Hello list,I just came across a question of architecture and I'm not quite sure, if it is well... sort of "allowed" to do what I'm about to do. Thing is, for the particular situation that I'm dealing with, I'd need to refactor Cairngorm regarding its package structure. Now, since this is Adobe's thing here, I don't know whether that correspond their licensing in terms of usage. Maybe someone, maybe folks from Adobe, could give me some hint here.Thanks and cheers,ThomasThomas RühlDesign, Programming Conceptsakitogo OHGHanauer Landstrasse 18860314 FrankfurtTelefon +49 (0) 69 800 69 445Fax +49 (0) 69 800 69 449Mobil +49 (0) 179 750 75 87E-Mail thomas.ruehl@akitogo.comWeb http://www.akitogo.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 Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] [Flex2] Changes to the Cairngorm package structure
Yeah, I know and I really thought about it very well. Fact is - to narrow it down roughly - the customer wants it that way (for an unknown reason) and for me that means, I'm the one in charge... Thank you, Jean-Luc. Cheers, Thomas Thomas Rühl Design, Programming Concepts akitogo OHG Hanauer Landstrasse 188 60314 Frankfurt Telefon +49 (0) 69 800 69 445 Fax +49 (0) 69 800 69 449 Mobil +49 (0) 179 750 75 87 E-Mail [EMAIL PROTECTED] Web http://www.akitogo.com Jean-Luc ESSER wrote: I believe Cairngorm is just Adobe's vision of architecture, there is no licensing on this and you can refactor it as you wish. But what do you need to do ? Before refactoring, make sure you really need to. Cairngorm has been created with the voice of large clients developping large Flex Apps, and i see it as very flexible. Right know, i cannot see any reason for refactoring. Anyway, i'm sure Adobe will be very interested in your thoughts ! Best, JL - Original Message - *From:* Thomas Rühl -akitogo- mailto:[EMAIL PROTECTED] *To:* flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com *Sent:* Thursday, July 06, 2006 11:52 AM *Subject:* [flexcoders] [Flex2] Changes to the Cairngorm package structure Hello list, I just came across a question of architecture and I'm not quite sure, if it is well... sort of allowed to do what I'm about to do. Thing is, for the particular situation that I'm dealing with, I'd need to refactor Cairngorm regarding its package structure. Now, since this is Adobe's thing here, I don't know whether that correspond their licensing in terms of usage. Maybe someone, maybe folks from Adobe, could give me some hint here. Thanks and cheers, Thomas Thomas Rühl Design, Programming Concepts akitogo OHG Hanauer Landstrasse 188 60314 Frankfurt Telefon +49 (0) 69 800 69 445 Fax +49 (0) 69 800 69 449 Mobil +49 (0) 179 750 75 87 E-Mail [EMAIL PROTECTED] mailto:thomas.ruehl%40akitogo.com Web http://www.akitogo.com http://www.akitogo.com Yahoo! Groups Sponsor ~-- Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM ~- -- 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/ * 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] [Flex2] Changes to the Cairngorm package structure
On Thursday 06 July 2006 11:44, Thomas Rühl -akitogo- wrote: the customer wants it that way What way ? -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. Yahoo! Groups Sponsor ~-- See what's inside the new Yahoo! Groups email. http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM ~- -- 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/ * 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] cant set alpha for scrollbar
Is it possible to set the alpha for a scrollbar? Setting its alpha seems to have no effect.Hank __._,_.___ -- 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 Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] [Flex2] Changes to the Cairngorm package structure
No big a deal, they just want to change the package names so far. We'll see, what comes afterwards... I think it they want it to match with something else. Stragely enough, they won't really tell the reason Ahh, I'm confused. However, I hope, this will be the last project with them. Cheers, Thomas Thomas Rühl Design, Programming Concepts akitogo OHG Hanauer Landstrasse 188 60314 Frankfurt Telefon +49 (0) 69 800 69 445 Fax +49 (0) 69 800 69 449 Mobil +49 (0) 179 750 75 87 E-Mail [EMAIL PROTECTED] Web http://www.akitogo.com Tom Chiverton wrote: On Thursday 06 July 2006 11:44, Thomas Rühl -akitogo- wrote: the customer wants it that way What way ? Yahoo! Groups Sponsor ~-- Something is new at Yahoo! Groups. Check out the enhanced email design. http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM ~- -- 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/ * 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] defaultButton not working?
works for me. 2006/7/5, Shannon Hicks [EMAIL PROTECTED]: I've added a defaultButton property to my form, yet the enter key does nothing. If I click the button, it behaves as expected. Here's my code: mx:Form id=loginForm width=100% defaultButton={loginButton} mx:FormItem label=Username required=true mx:TextInput id=loginUsername text= //mx:FormItemmx:FormItem label=Password required=truemx:TextInput id=loginPassword text= displayAsPassword=true / /mx:FormItemmx:Spacer height=20/mx:FormItem horizontalAlign=right width=100%mx:Button id=loginButton label=Log In click=doLoginSubmit() / /mx:FormItem/mx:Form Pretty simple, not sure what I'm doing wrong. Shan --No virus found in this outgoing message.Checked by AVG Free Edition.Version: 7.1.394 / Virus Database: 268.9.9/382 - Release Date: 7/4/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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] me too event handling
I want to handle an event in a datagrid, specifically a rollover event, but I do not want to stop the internal rollover event handling from taking place. Right now what happens is that because I am handling the rollover event, the datagrid is not highlighting the item that the cursor is over. How do I do me too event handling. Hank __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] flex.messaging.httpFlexSession not found
Hi there, Im getting this error in my server instance logs. Any Ideias what might be? 06/07 12:41:27 error Error reading stored session data (ID=5a3030ad21b8113f7d40) java.lang.ClassNotFoundException: flex.messaging.HttpFlexSession That class is inside the flex-messaging.jar which is in my lib folder, dont understand why this happens (not always). thanks, João Fernandes Dep. Informática - Área de Desenvolvimento Cofina media Avenida João Crisóstomo, Nº 72 . 1069-043 Lisboa PORTUGAL Tel (+351) 213 185 200 . Fax (+351) 213 540 370 [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 Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Re: me too event handling
oops. Ignore this one.On 7/6/06, hank williams [EMAIL PROTECTED] wrote: I want to handle an event in a datagrid, specifically a rollover event, but I do not want to stop the internal rollover event handling from taking place. Right now what happens is that because I am handling the rollover event, the datagrid is not highlighting the item that the cursor is over. How do I do me too event handling. Hank __._,_.___ -- 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 Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] [Flex2] Changes to the Cairngorm package structure
On Thursday 06 July 2006 12:24, Thomas Rühl -akitogo- wrote: No big a deal, they just want to change the package names so far. We'll Much, much oddness. By definition, it can't because there is a package-space conflict, so beyond that why do they care ? Hmmm. Maybe their showing your code to someone, and want to say 'its all our work'. -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. Yahoo! Groups Sponsor ~-- Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM ~- -- 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/ * 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] logical transaction commit with multiple flex destinations
We have come to the realization that Flex is designed to commit per destination, and not per transaction. The problem is that we have multiple destinations involved in a logical transaction. Have any of you encountered this problem, and decided to live with it, or have you found a way to batch the commit of multiple destinations? Yahoo! Groups Sponsor ~-- Check out the new improvements in Yahoo! Groups email. http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM ~- -- 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/ * 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] Mixing and image and shapes
I am a newbie at Flex, Flash and ActionScript, so please bear with me. I am trying to mix a background image (loaded via mx: Image) with placing a scalable circle on top of the image using ActionScript, but I can not figure out how to do this after two days of going through the documentation. I can get the image on the canvas just fine, but I am wrapped up trying to figure out how to incorporate the drawcircle(). I know it must be simple, but I can't figure out the right combination. Can anyone help me? Thanks ahead of time. Yahoo! Groups Sponsor ~-- Something is new at Yahoo! Groups. Check out the enhanced email design. http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM ~- -- 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/ * 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] Compile flex on Mac--Problem is fixed!
Hi,Thanks to all you have offered help, and I am happy to say that the problem is fixed,and I can compile the final release of the flex SDK.my friend Chris has helped me figure out what was going on.in the flex-config.xml:!-- File containing cached system font licensing information produced via java -cp mxmlc.jar flex2.tools.FontsSnapshot (fontpath) Will default to winFonts.ser on Windows XP and macFonts.ser on Mac OS X, so is commented out by default.-- local-fonts-snapshotmacFonts.ser/local-fonts-snapshotI enabled the local-fonts-snapshot attribute and changed it to macFonts.ser from localFonts.serBoth the command line now compiled and my ANT task in Eclipse worked as well.This is a very happy day, as I can compile flex on the mac again`-`Thanks to all who helped`-`John How low will we go? Check out Yahoo! Messengers low PC-to-Phone call rates. __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Re: Shift-tabbing not working in Firefox with wmode=opaque
FYI: I have a logged a bug with Adobe, and given them sample application demo for testing. --- In flexcoders@yahoogroups.com, Angus Johnson [EMAIL PROTECTED] wrote: I built an IFrame app about a month ago using the excellent examples that others on this list provided. The one thing I found with firefox is that you have to have wmode otherwise the browser content will flicker. Sometimes the browser content will appear blank until you resize or scroll. I haven't found a work around for the key issues though. Angus On 06/07/06, Scott Romer [EMAIL PROTECTED] wrote: An additional problem that I noticed... droplists don't seem to use the correct key functions when wmode=opaque. For instance, the default key combination of using Ctrl-[Down Arrow] should open up a droplist on a combobox. When wmode=opaque, Ctrl doesn't seem to be recognized, but the Alt key seems to open the dropdown? I'm confused at why this has an impact. I'm going to try to convince team that we should not need wmode=opaque, but would still be nice to have a different work around. Thanks for any ideas. -Scott --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Scott Romer swromer@ wrote: I have wmode=opaque in my Object/Embed tag. When I tab through the dataGrid everything works fine. However, when I try to shift-tab (to tab backwards), it only tabs forwards (as if the shift key is not being held down). This seems to only be reproducible on FireFox (have not tried other Mozilla browsers). This is not a bug on Internet Explorer... (Tested on Windows XP) It sounds similar to someone else's issue about the mouse scrollWheel not working. (I'm guessing on the correlation here though) Any ideas? -- 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/ * 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] ColdFusion vs. PHP as the back-end
Thanks for that response; it was very helpful! Ill need to do some tries of my own as I generally end up being both the client and the back-end developer for many of the projects I work on. Ville From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of JesterXL Sent: Wednesday, July 05, 2006 19:23 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] ColdFusion vs. PHP as the back-end First, you CAN pass ValueObjects via Java and PHP. Java via OpenAMF, and PHP via AMFPHP. ColdFusion just now has the edge. Second, Remoting as we refer to it, allows you to: 1.call back-end services like you'd call regular methods 2.pass class objects instead of vanilla data (like Java POJO's), or XML or URL params for simple string / value pairs. Strong typing for server communication... pimp! 3.allow better communication between you, the client developer, and the back-end developer on what you are sending eachother 4.pass the data in binary So, myCFC.doStuff ( somePersonVO );. If you are sending a Person Class to some method, then the back-end guy knows exactly what you are really sending him. Same when he says to you, Yeah, it'll return a list of PersonVO's. That means, you'll get an array full of Person ValueObject class instances. Finally, usually, binary AMF communications is smaller than regular AJAX XML, WebService, and HTTP posts. Dave Wolf from Cynergy systems will have contentions with that 4th point, mainly because his tests with WebServices seems to have renderered good results in 1.5. Flash Player 9, however, has greatly improved upon AMF's size via AMF3 encoding, so it'd be good to hear if he has any new tests. - Original Message - From: Ville Walveranta To: flexcoders@yahoogroups.com Sent: Wednesday, July 05, 2006 7:43 PM Subject: [flexcoders] ColdFusion vs. PHP as the back-end I started my quest to explore Flex rather recently; I never did much with v1.5, mostly because the cost involved to launch any commercial solution created with it. Now, with 2.0 its pretty exciting to see everything that is now, rather easily (and inexpensively!), possible to do. But one thing Im not quite clear on yet: what is the difference, or benefit from, between basic remoting as is possible with PHP/CF/ASP.NET, and the extended interaction with ColdFusion which makes it possible to pass actual instances of Actionscript Classes and have them map directly into a CFC Instances and vice versa (a quote from Tim Buntels blog)? Thanks for any insights! Ville __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] file uploads
code from the docs. I am just trying to get a file upload working so I can make sure I understand it correctly.On 7/5/06, Carson Hager [EMAIL PROTECTED] wrote: What code are you referring to? Carson Carson HagerCynergy Systems, Inc.http://www.cynergysystems.comEmail: [EMAIL PROTECTED]Office: 866-CYNERGYMobile: 1.703.489.6466 From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Clint TredwaySent: Tuesday, July 04, 2006 11:32 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] file uploads I am using the code from the docs and Flex Builder is telling this 1120: Access of undefined property fileRef. and that the selectHandler and completeHandler are undefined properties as well. I am declaring the var fileRef, so i dont get why its doing this... very frustrating... -- diabetic? http://www.diabetesforums.com Bill Cosby - A word to the wise ain't necessary - it's the stupid ones that need the advice. -- diabetic? http://www.diabetesforums.comBill Cosby - A word to the wise ain't necessary - it's the stupid ones that need the advice. __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Possible Flex Builder internal error
Has anyone else encountered this error in Eclipse (with the Flex Builder final). I'm using Eclipse 3.2 (M20060629-1905).Occurs during debug:An internal error occurred during: Retrieving labels. Invalid thread accessI also occasionally get 'error removing compiler marker' on builds.Might be unrelated to Flex Builder itself just would like to know if someone has come across this before I start uninstalling plugins. CheersAngus __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Reused SWFLoader - 1034 error /bug
Me again :)So I have a Flex 2 (final) application that loads in the Adobe Dashboard example as a sub app. This is done using the SWFLoader class and setting it as a child into a canvas object. The first time it loads, everything is fine. However, if I remove it from the canvas and then try to reload it I get a 1034 error. I've confirmed it is removed as a child and even waited for it to be unloaded. Is this a bug?CheersAngusDashboard.swf - 763,756 bytes after decompressionhttpStatusHandler: [HTTPStatusEvent type=httpStatus bubbles=false cancelable=false eventPhase=2 status=200] completeHandler: [Event type=complete bubbles=false cancelable=false eventPhase=2]TypeError: Error #1034: Type Coercion failed: cannot convert mx.controls::[EMAIL PROTECTED] to mx.controls.ButtonBar . at mx.skins.halo::ButtonBarButtonSkin/mx.skins.halo:ButtonBarButtonSkin::updateDisplayList() at mx.skins::ProgrammaticSkin/validateDisplayList()[C:\dev\GMC\sdk\frameworks\mx\skins\ProgrammaticSkin.as:418] at mx.managers::LayoutManager/mx.managers:LayoutManager::validateDisplayList()[C:\dev\GMC\sdk\frameworks\mx\managers\LayoutManager.as:594] at mx.managers::LayoutManager/mx.managers:LayoutManager::doPhasedInstantiation ()[C:\dev\GMC\sdk\frameworks\mx\managers\LayoutManager.as:646] at Function/http://adobe.com/AS3/2006/builtin::apply() at mx.core::UIComponent/mx.core:UIComponent::callLaterDispatcher2()[C:\dev\GMC\sdk\frameworks\mx\core\UIComponent.as:7789] at mx.core::UIComponent/mx.core:UIComponent::callLaterDispatcher()[C:\dev\GMC\sdk\frameworks\mx\core\UIComponent.as:7732] __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Not a designer, need some advice
I am working on a flex real estate app. I am sooo not a designer, and design does not come natural to me. However the coding portion of flex does. Right now I am working on a section where I add agents/vendors/clients to a new listing, or an already existing listing. I already have the custom compoent created, I am just at a standstill on where to place it on the screen. I cant decide if it should be a popup tilewindow, or if I should have it all right on one screen. I am using a really simple setup to display agents to admins, It is just a DG with 3 columns.Here is a screenshot of the dg. Any help with this would be greatly appreciated. __._,_.___ -- 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 Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Binding in Flex 2.0, Cairngorm 2.0
When I reset the form and then reset the validators, the code seems take effect in reverse. For example, when I execute the following psuedo-code you would think that the new blank LastName would bind into the LastName textbox before the validation gets reset. 1. Clear ModelLocator.getInstance().Affiliate.LastName 2. Reset validator for LastName Instead, step one does clear the LastName in the ModelLocator but the change does not take effect in the form until sometime AFTER the validator is reset which causes validation to immediatly fail because the field is required. I know that one of the changes since Flex 1.5 is that validators are now bound to a property in a control as opposed to a property in the ModelLocator. Is that why this method of resetting the form doesn't work anymore? Thanks, Moishe Groger -- 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/ * 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] Excel, Flex Database
That's cool - does anyone know if this has been (is being) done for other MSOffice formats (namely PowerPoint and Word)? Cheers, Phil Darron J. Schall wrote: Yes, it's possible for Flex to load Microsoft Excel data. However, it's not easy. You have to write a custom parser for the .xls file format. You can pull the raw binary data in via URLLoader setting it's dataFormat to DataFormat.BINARY, and then parse the .xls data into something usable for the Flex client. See Jim Cheng's discussion on it here: http://www.psalterego.com/2006/05/17/parsing-excel-files-with-actionscript-30/ Simple demo here: http://dev.psalterego.com/xls/ExcelParser.html -d Ritesh Jariwala wrote: Hi All, I have question regarding application development. I need to develop little application which can load data from database using flex into Microsoft Excel. Is it possible that flex can load the excel data or suppose if I made changes in excel sheet and click on save it can save data into database using flex? I know, I already seen such video when fabridge introduced, I am not able to find the link of that video and examples. Can anyone tell me whether this is possible or not with flex? With Regards, Ritesh Jariwala (Actkid) Freelance Developer www.actkid.com http://www.actkid.com Company: www.synonymic.com http://www.synonymic.com Yahoo! Groups Sponsor ~-- Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM ~- -- 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/ * 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/ -- __ Phil Marston Learning Technologist Learning Technology Unit Edward Wright G33, University of Aberdeen, Aberdeen, AB24 3QY, UK [EMAIL PROTECTED] Tel: +44(0)1224 273329 / +44(0)7798 723660 http://www.abdn.ac.uk/diss/ltu/pmarston/ http://www.abdn.ac.uk/diss/ltu/ __ The University of Aberdeen Open Day 29th August 2006 Booking is essential www.abdn.ac.uk/openday email [EMAIL PROTECTED] or call 0800 027 1495 __._,_.___ -- 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 Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Re: Handle result/fault from webservice call in Cairngorm 2
Thanks Tom, I was actually able to see some similar code last night in Alex Uhlmann's latest article. I will ask you the same thing I asked him: would it look different when calling a WebService? I tried to modify his code but my handlers never fire. Thanks, Ben --- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Thursday 06 July 2006 02:11, ben.clinkinbeard wrote: This obviously references the Delegate class from AS2, but what is the AS3/Cairngorm 2 equivalent? How do you write a delegate (lowercase 'd') in Cairngorm 2? package com.x.y.z.service { import mx.rpc.AbstractService; import mx.collections.ArrayCollection; import com.adobe.cairngorm.business.Responder; import com.adobe.cairngorm.business.ServiceLocator; import com.x.y.z.vo.FileVO; import com..x.y.z.model.ApplicationModel; public class StateDelegate { private var service:AbstractService; private var responder:com.adobe.cairngorm.business.Responder; private var model:ApplicationModel = ApplicationModel.getInstance(); public function StateDelegate(callingCommand:com.adobe.cairngorm.business.Responder) { service = ServiceLocator.getInstance().getService(stateService); responder = callingCommand; } public function callSomeRemoteMethod(thisFile:FileVO):void { var call:Object = service.someRemoteMethod(model.myUsername,thisFile); call.resultHandler = responder.onResult; call.faultHandler = responder.onFault; } } } -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. Yahoo! Groups Sponsor ~-- Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM ~- -- 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/ * 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: Runtime CSS Styles Flex 2.0 B3
Hey Ben,Thanks for the info, i'll be sure to check it out when the repository is set out.I've not looked into it myself a great deal yet, but have started to play a little bit with a regex parser.Like i say, it's just dabbling at the moment, so don't have any benchmarks or anything, but i'll be sure to distribute what ever i come up with for you all to review.Matt From: "Ben Stucki" [EMAIL PROTECTED]Sent: 05 July 2006 20:46To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Re: Runtime CSS Styles Flex 2.0 B3Matt, I believe Im still waiting on osflash for the code repository. I put it on the project signup list, but if theres anything else I need to do someone let me know (I understand it can take a while for everything to get setup). Ill be sure to add you to the committers list so that you can get in on the mailing list and code repository. Im also planning to put together a page under my fusiox.com domain to hold the projects path, progress and documentation. Im not likely to spend much time on this specific project until next month, but the code I have so far is freely available for use and modification. When we get a single code base going well decide our path and take a look at integrating our work one at a time. My initial goals so far are outlined below. Compare CSS inheritance/weighting/specificity behavior against w3c spec and consider best implementation. (I think its critical to address this up front) Fix any remaining case sensitivity issues (I havent checked for improvements or alternatives in final release yet). If nothing else, I can write up a custom CSS text parser. Resolve remaining issues in shorthand implementation (possibly recursive shorthand?) Add features for styling states (similar to a:hover, but hopefully includes custom flex states) ??? Maybe add support for flex specific style items (using dynamic MXML?) ??? You tell me. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of matthew_brailsfordSent: Tuesday, July 04, 2006 4:57 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Re: Runtime CSS Styles Flex 2.0 B3 Hey guys,Is there any news on an osflash project for this? as it is something icould really use.I'm new to flex, but have been using flash and actionscript sinceflash 4, so if i can offer any assistance i'd be more than happy.Matt--- In [EMAIL PROTECTED]ups.com, "Michael Schmalle"teoti.graphix@... wrote: I just majorly refactored my classes and ported them into A3. The stuff is working good, I am running into some problems like setting paddingTop on a Panel with a TabNavigator gives the Panel a 1 mile long vertical scrollbar. Hopefully, I don't run into to much of this kind of stuff. I willwait for Ben, to see what the plan is before releasing any of this code. IEone code base. Peace, Mike On 6/6/06, Michael Schmalle teoti.graphix@... wrote: Michael, Jason Jeremy, perhaps we should open a project onosflash.comand start working on a common code base. I am interested in this, I would leave the whole config up to you.I have never done it, just tell me where I can get code and put code and I am there. Peace, Mike On 6/6/06, Ben Stucki [EMAIL PROTECTED] wrote: Well, it sounds like there is enough interest in this to warrant further work and some indication that it won't be available inthe 2.0release. Michael, Jason Jeremy, perhaps we should open aproject on osflash.com and start working on a common code base. If anyone is interested in contributing to this project, please email mepersonally. Thank you. -- *From:* [EMAIL PROTECTED]ups.com[mailto:[EMAIL PROTECTED]ups.com] *On Behalf Of *David Mendels *Sent:* Tuesday, June 06, 2006 7:38 AM *To:* [EMAIL PROTECTED]ups.com *Subject:* RE: [flexcoders] Runtime CSS Styles Flex 2.0 B3 Hi, This will not be in Flex 2.0. It is something we'd like to see in a future version of Flex(2.5? 3.0?) but we don't have a specific date or release planned yet. We'llget to that after we ship 2.0. Regards, David Adobe -- *From:* [EMAIL PROTECTED]ups.com[mailto:[EMAIL PROTECTED]ups.com] *On Behalf Of *Jeremy Lu *Sent:* Tuesday, June 06, 2006 6:51 AM *To:* [EMAIL PROTECTED]ups.com *Subject:* Re: [flexcoders] Runtime CSS Styles Flex 2.0 B3 Ely post in Ben's comment saying Adobe is working on this thing (although it might not make it to the v2 release). Maybe engineers from Adobe can confirm this ? On 6/6/06, *Michael Schmalle* teoti.graphix@... wrote: But to be able to do it with out going through every control and using the built in setStyle would be the cherry on the cake. yeah, it's nice. I agree with you on Adobe, and getting a timeline. That is why Ihave been dragging my feet on this. Knowing adobe, they did a goodjob and it's almost done ;-) Peace, Mike On 6/6/06, *Jason
[flexcoders] Re: Getting #1034 Type Coercion Error in FB2 GA - didn't happen in FB2B3.
Thank you, that did the trick. -Jeff --- In flexcoders@yahoogroups.com, Brendan Meutzner [EMAIL PROTECTED] wrote: Hey, Set makeObjectsBindable=false inside your HTTPService call... http://groups.yahoo.com/group/flexcoders/message/37852 Yahoo! Groups Sponsor ~-- See what's inside the new Yahoo! Groups email. http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM ~- -- 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/ * 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] Best way to round trip binary data from flex client to server and back
I want to save a ByteArray from a flex app to a web/http service, then later reload binary data from that service to a ByteArray in flex. On the server side I'm using rails. I hacked up a way using a base64 encoder/decoder written in in AS3and a http service, but I suspect I'm doing this the hard way. What's the best way? Thanks, David. PS: For context, in some cases the binary data is a PNG and I use the PNGEncoder sample from this site for that. Other times, the data is my very own homegrown binary data format. Yahoo! Groups Sponsor ~-- Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM ~- -- 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/ * 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] How to set object type coming from a webservice?
For set a object type coming form a webservice we've created in Flex 1.5 a objectToClass function: public static function objectToClass(obj:Object, constructorFunction:Function):Void{ obj.__proto__ = constructorFunction.prototype; constructorFunction.apply(obj, []);} The function call shows like that: objectToClass(this.Customer, project.vo.Customer); In this way we can always check if the object Customer is from type Customer. Is there in Flex 2 a way to do it similar? Have any one an idea? Thanks a lot, Artur __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Showing data in Datagrid
Hi all! I've just started with Flex and I have some doubts I hope you could solve. I have a Datagrid filled with the result of a Java Method (getRestaurants). This method returns a list of Restaurant objects with the fields name and adress. mx:DataGridColumn headerText=Name dataField=name/ mx:DataGridColumn headerText=Address dataField=address/ I have no problems doing this, but I need to show another property called position. This property is an instance of a Position class, whose properties are x and y. I mean: Restaurant { name: String; address: String; position: Position; // Contains x and y } In order to show x and y in the Datagrid, I'd need something like this: mx:DataGridColumn headerText=X dataField=position.x/ but it doesn´t work. I've tried in several ways, but with no results. I've checked the field position and it contains the correct values. So, I only need to show them!!.How could I do this? I'd be very pleased if you could help me! Thanks in advance! P.S: Sorry for my English :) Yahoo! Groups Sponsor ~-- See what's inside the new Yahoo! Groups email. http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM ~- -- 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/ * 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] Compiling Flex--thank you!
Hi Tom,thanks again for all your help`-`I could not get this to work.I put the flex sdk in the Applications folder,and I try:java -jar /Applications/flex/lib/mxmlc.jar -flexlib /Applications/flex/frameworks/Flex.mxmlerror--command line: Error: unknown configuration variable 'flexlib'Use 'mxmlc -help' for information about using the command line.However, a friend told me to use this command line:java -jar /Applications/flex/lib/mxmlc.jar --strict=true -load-config /Applications/flex/frameworks/flex-config.xml -file-specs /Users/johnbarrett/Hello.mxmlerror--Loading configuration file /Applications/flex/frameworks/flex-config.xmldefaults: Error: unable to open './macFonts.ser'Any thought?Thanks so much for your help,JohnTom Chiverton [EMAIL PROTECTED] wrote: On Wednesday 05 July 2006 14:28, John wrote: (3) java -jar {flex}/lib/mxmlc.jar -flexlib {flexdir}/frameworks/Flex.mxml This command line instructions came from: http://labs.adobe.com/wiki/index.php/Flex_Builder:tutorials:compiling_mxmlc ---Error--- Unable to access jarfile {flex}/lib/mxmlc.jarWhere it says {flex}you need to write the path (from /) that will take you to the thing it wants, not a literal set of curly braces around a string.Something likejava -jar /System/Library/lib/mxmlc.jar -flexlib /System/Library/frameworks/Flex.mxmlshould work better.-- Tom ChivertonThis 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.com Yahoo! Groups Links* To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/* To unsubscribe from this group, send an email to:[EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ Yahoo! Music Unlimited - Access over 1 million songs. Try it free. __._,_.___ -- 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 Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] [Flex2] Changes to the Cairngorm package structure
I completely agree and in fact I'm looking forward to talking to my project manager and convincing him to kick their a**es. Well, thanks everyone :o) Cheers, Thomas Thomas Rühl Design, Programming Concepts akitogo OHG Hanauer Landstrasse 188 60314 Frankfurt Telefon +49 (0) 69 800 69 445 Fax +49 (0) 69 800 69 449 Mobil +49 (0) 179 750 75 87 E-Mail [EMAIL PROTECTED] Web http://www.akitogo.com Tom Chiverton wrote: On Thursday 06 July 2006 12:24, Thomas Rühl -akitogo- wrote: No big a deal, they just want to change the package names so far. We'll Much, much oddness. By definition, it can't because there is a package-space conflict, so beyond that why do they care ? Hmmm. Maybe their showing your code to someone, and want to say 'its all our work'. Yahoo! Groups Sponsor ~-- Something is new at Yahoo! Groups. Check out the enhanced email design. http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM ~- -- 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/ * 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] SWF's not unloading
Hi,I have a canvas called parentView into which I add SWF child objects via...parentView.addChild(mySWF);mySWF.load();No problems loading. When I want to change the contents of parentView and swap out the loaded SWF I run... parentView.removeAllChildren();// get new mySWFparentView.addChild(mySWF);mySWF.load();Now I have noticed that the previous SWF's don't seem to unload. I have an example that runs a sound clip and I can still hear that playing even if I have replaced mySWF content in the parent several times. I also noticed that flash memory usage continues to increase with each load so something is wrong. Debug correctly shows only one child loaded. SWFLoader class does't have an unload() method. removeAllChildren() should work right?CheersAngus __._,_.___ -- 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 Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Re: Convert XML to Array(Collection)
Thanks! That's what I was looking for. Michael theflashist schreef: You can use the XML as an external data model that the Array Collection can use like mx:Model id=xmldata source=my.xml/ mx:ArrayCollection id=myAC source={xmldata.items.item}/ The value for source is the name of the model (*xmldata*), the name of the XML's root node (*items* in this example) and the child node that the array will be based on (*item*). HTH...:) P E A C E Hasan www.marxmedia.net http://www.marxmedia.net hasan.otuome.com http://hasan.otuome.com thesourcecode.org http://thesourcecode.org --- In flexcoders@yahoogroups.com, Michael van Leest [EMAIL PROTECTED] wrote: Hi, I need to display XML data in a datagrid, but using the XML directly as data provider doesn't work. Is there a easy way to convert a XML Object to an Array or ArrayCollection?? Or do I need to loop over the nodes and manual create a Array for the datagrid? Any info is appreciated. Thanks, Michael Yahoo! Groups Sponsor ~-- Something is new at Yahoo! Groups. Check out the enhanced email design. http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM ~- -- 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/ * 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] anyone out there in eclipse land?
No problem Brendan Maybe it was too much of a lob ball to resist ;-) The only reason I was asking is because I am trying to fix someone else's code and I think I know what the problem is. However the warnings are causing my Flex Builder to run so S L O W L Y (extra emphasis on the 'slow') that I can't even run my app in debug. I bumped up the memory in eclipse.ini, but the problem persists. I was hoping I could suppress the warnings just to fix this problem. Any thoughts or insight on the problem? Brendan MeutznerTo: flexcoders@yahoogroups.com [EMAIL PROTECTED] cc: Sent by: Subject: Re: [flexcoders] anyone out there in eclipse land? flexcoders@yahoogroups.com 07/05/2006 05:56 PM Please respond to flexcoders Hey, Well, you could fix the problems... :-) Sorry, couldn't resist Brendan On 7/5/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: know how to suppress the: warning: unable to bind to property ... and TypeError: Error #1009: Cannot access a property or method of a null object reference. in the eclipse console? -- This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, proprietary , confidential and exempt from disclosure. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender and erase this e-mail message immediately. -- --- This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, proprietary , confidential and exempt from disclosure. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender and erase this e-mail message immediately. --- Yahoo! Groups Sponsor ~-- Check out the new improvements in Yahoo! Groups email. http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM ~- -- 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/ * 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/ pic01926.gif Description: GIF image
Re: [flexcoders] file uploads
Hard to respond without seeing the code (a link or a paste of the text would be good). But I suspect the code presumes event handlers that are not implemented in the snippet you are using. fileRef needs at least one event handler to handle what the user does when he selects an item for upload, and lots of other stuff. You need some code that looks like this: p_fileReference.addEventListener(Event.CANCEL, onCancel); p_fileReference.addEventListener(Event.COMPLETE, onComplete); p_fileReference.addEventListener( IOErrorEvent.IO_ERROR, onIOError); p_fileReference.addEventListener(Event.OPEN, onOpen); p_fileReference.addEventListener(ProgressEvent.PROGRESS, onProgress);// p_fileReference.addEventListener( SecurityErrorEvent.SECURITY_ERROR, securityErrorHandler); p_fileReference.addEventListener(Event.SELECT, onSelect);This code should be called when you instantiate the fileRefrence.the on parameters above are references to functions that handle events. Their declarations look something like this: public function onSelect(p_event:Event) :void { public function onCancel(p_event:Event) :void { public function onOpen(p_event:Event) :void { public function onComplete (p_event:Event) :void { public function onProgress (p_event:ProgressEvent):void{ public function onIOError(p_event:IOErrorEvent) :void {Hope this helps.RegardsHankOn 7/6/06, Clint Tredway [EMAIL PROTECTED] wrote: code from the docs. I am just trying to get a file upload working so I can make sure I understand it correctly.On 7/5/06, Carson Hager [EMAIL PROTECTED] wrote: What code are you referring to? Carson Carson HagerCynergy Systems, Inc.http://www.cynergysystems.comEmail: [EMAIL PROTECTED]Office: 866-CYNERGYMobile: 1.703.489.6466 From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Clint TredwaySent: Tuesday, July 04, 2006 11:32 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] file uploads I am using the code from the docs and Flex Builder is telling this 1120: Access of undefined property fileRef. and that the selectHandler and completeHandler are undefined properties as well. I am declaring the var fileRef, so i dont get why its doing this... very frustrating... -- diabetic? http://www.diabetesforums.com Bill Cosby - A word to the wise ain't necessary - it's the stupid ones that need the advice. -- diabetic? http://www.diabetesforums.com Bill Cosby - A word to the wise ain't necessary - it's the stupid ones that need the advice. __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Applet running on Flex (production version)
Hi In my application I have Flex as the UI. Each of the client systems have a scanner attached. The requirement is that on hitting the scan button on the Flex UI, I should be able to scan the image and display it on the same Flex window. In this I have been able to achieve the following : On the hit of Scan button, my MXML calls an inline JavaScript function, which inturn opens up a new HTML window. The HTML page calls the applet which does the actual scanning. After scanning, the image is rendered in the HTML window itself. My concern is that I do not want to use an HTML page because taht ways I am taking the user out of the RIA look-n-feel. And as Flex does not provide APIs to read images from scanners, I need to use the applet as well. Can someone please tell me how to display the image in a Flex window, considering the image is coming as an output from an Applet? Or, is there a way to run the applet inside a Flex window totally? I have tried calling the Applet from the JS function directly, but it doesn't work. Pls give your inputs. Thanks Rohan Yahoo! Groups Sponsor ~-- Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM ~- -- 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/ * 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] [Flex2] Changes to the Cairngorm package structure
Thomas, I'm not a lawyer, but I see no reason you cannot rename the package structures if you have need to do so. Consult the license, but I would *expect* you are obliged to keep the (c) notice and the license file in any distributions, but you are free to use and modify the source. Reminder. I'm not a lawyer :) Best, Steven Steven WebsterPractice Director (Rich Internet Applications)Adobe ConsultingWestpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UKp: +44 (0) 131 338 6108 m: +44 (0)7917 428 947[EMAIL PROTECTED] From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Thomas Rühl -akitogo-Sent: 06 July 2006 10:53To: flexcoders@yahoogroups.comSubject: [flexcoders] [Flex2] Changes to the Cairngorm package structure Hello list,I just came across a question of architecture and I'm not quite sure, if it is well... sort of "allowed" to do what I'm about to do. Thing is, for the particular situation that I'm dealing with, I'd need to refactor Cairngorm regarding its package structure. Now, since this is Adobe's thing here, I don't know whether that correspond their licensing in terms of usage. Maybe someone, maybe folks from Adobe, could give me some hint here.Thanks and cheers,ThomasThomas RühlDesign, Programming Conceptsakitogo OHGHanauer Landstrasse 18860314 FrankfurtTelefon +49 (0) 69 800 69 445Fax +49 (0) 69 800 69 449Mobil +49 (0) 179 750 75 87E-Mail thomas.ruehl@akitogo.comWeb http://www.akitogo.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 Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] file uploads
Hi Clint, I've just this very moment solved that one! :-) I couldn't get what was going on either, but this is what I did: For the sake of trying it out a created a new application to do it. I left all the imports and var declarations where they were, but put all the rest of the method calls and functions inside another function and then called that function using the creationComplete application tag attribute. see below ?xml version="1.0" encoding="utf-8"? mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="initApplication()" mx:Script ![CDATA[ import flash.net.FileFilter; import flash.net.FileReference; import flash.net.URLRequest; public var imageTypes:FileFilter = new FileFilter("Images (*.jpg, *jpeg, *.gif, *.png)","*.jpg; *jpeg; *.gif; *.png"); public var textTypes:FileFilter = new FileFilter("Text Files (*.txt, *rtf)","*.txt; *.rtf"); public var allTypes:Array = new Array(imageTypes, textTypes); public var myFileRef:FileReference = new FileReference(); public function initApplication(): void { myFileRef.addEventListener(Event.SELECT, selectHandler); myFileRef.addEventListener(Event.COMPLETE, completeHandler); myFileRef.browse(allTypes); try { var success:Boolean = myFileRef.browse(); } catch (error:Error) { trace("unable to browse for files"); } function selectHandler (even:Event):void { try { var params:URLVariables = new URLVariables(); params.date = new Date(); var request:URLRequest = new URLRequest("http://www.myplace.com/FlexImageUpload.php"); request.method = URLRequestMethod.POST; request.data = ""> myFileRef.upload(request, "fileField"); } catch (error:Error) { trace("Unable to upload file"); } } function completeHandler(event:Event):void { trace("Uploaded"); } } ]] /mx:Script /mx:Application Clint Tredway wrote: code from the docs. I am just trying to get a file upload working so I can make sure I understand it correctly. On 7/5/06, Carson Hager [EMAIL PROTECTED] wrote: What code are you referring to? Carson Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com Email: [EMAIL PROTECTED] Office: 866-CYNERGY Mobile: 1.703.489.6466 From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Clint Tredway Sent: Tuesday, July 04, 2006 11:32 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] file uploads I am using the code from the docs and Flex Builder is telling this 1120: Access of undefined property fileRef. and that the selectHandler and completeHandler are undefined properties as well. I am declaring the var fileRef, so i dont get why its doing this... very frustrating... -- diabetic? http://www.diabetesforums.com Bill Cosby - A word to the wise ain't necessary - it's the stupid ones that need the advice. -- diabetic? http://www.diabetesforums.com Bill Cosby - A word to the wise ain't necessary - it's the stupid ones that need the advice. -- __ Phil Marston Learning Technologist Learning Technology Unit Edward Wright G33, University of Aberdeen, Aberdeen, AB24 3QY, UK [EMAIL PROTECTED] Tel: +44(0)1224 273329 / +44(0)7798 723660 http://www.abdn.ac.uk/diss/ltu/pmarston/ http://www.abdn.ac.uk/diss/ltu/ __ The University of Aberdeen Open Day 29th August 2006 Booking is essential www.abdn.ac.uk/openday email [EMAIL PROTECTED] or call 0800 027 1495 __._,_.___ -- 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 Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Flex release version: XML attribute string too long
Hi,No nasty characters - just escaped ones.It turns out that it is not that the string is too long - it is because it contains some escape sequences - it just happens to be that these strings are extra long. Something like lt;ligt; makes it break - amp; works though. Also, something like #60; fails. If you have something like #13; in your XML the app cannot even compile. All of these are perfectly good XML!The above is using the mx:XML source.../ construct where the XML is sucked in at compile time and the AS structure is created. Jonathan __._,_.___ -- 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 Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] Not a designer, need some advice
Quickly... shrink the dg to the left and as u select a record the details appear on the right. Encompass the details portion in a panel or something and move the save/cancel button to that panel... or wait, are the save cancel buttons for the tab navigator? Dimitrios Gianninas RIADeveloper Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy RottmanSent: Thursday, July 06, 2006 8:17 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Not a designer, need some advice I am working on a flex real estate app. I am sooo not a designer, and design does not come natural to me. However the coding portion of flex does. Right now I am working on a section where I add agents/vendors/clients to a new listing, or an already existing listing. I already have the custom compoent created, I am just at a standstill on where to place it on the screen. I cant decide if it should be a popup tilewindow, or if I should have it all right on one screen. I am using a really simple setup to display agents to admins, It is just a DG with 3 columns.Here is a screenshot of the dg. Any help with this would be greatly appreciated. AVIS IMPORTANT WARNING Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé. L'expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s'il est retransmis sans son autorisation. Si vous n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre système. La lecture, la distribution, la copie ou tout autre usage du présent message ou de ses pièces jointes par des personnes autres que le destinataire visé ne sont pas autorisés et pourraient être illégaux. Si vous avez reçu ce courrier électronique par erreur, veuillez en aviser l'expéditeur. This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient. No privilege or other rights are waived by any unintended transmission or unauthorized retransmission of this message. If you are not the intended recipient of this message, or if you have received it in error, you should immediately stop reading this message and delete it and all attachments from your system. The reading, distribution, copying or other use of this message or its attachments by unintended recipients is unauthorized and may be unlawful. If you have received this e-mail in error, please notify the sender. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] [Flex2] Changes to the Cairngorm package structure
Yeah, I thought so, too.. The copyright notice was out of question anyways... Cheers, Thomas Thomas Rühl Design, Programming Concepts akitogo OHG Hanauer Landstrasse 188 60314 Frankfurt Telefon +49 (0) 69 800 69 445 Fax +49 (0) 69 800 69 449 Mobil +49 (0) 179 750 75 87 E-Mail [EMAIL PROTECTED] Web http://www.akitogo.com Steven Webster wrote: Thomas, I'm not a lawyer, but I see no reason you cannot rename the package structures if you have need to do so. Consult the license, but I would *expect* you are obliged to keep the (c) notice and the license file in any distributions, but you are free to use and modify the source. Reminder. I'm not a lawyer :) Best, Steven *Steven Webster* Practice Director (Rich Internet Applications) Adobe Consulting Westpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UK p: +44 (0) 131 338 6108 m: +44 (0) 7917 428 947 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Thomas Rühl -akitogo- *Sent:* 06 July 2006 10:53 *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] [Flex2] Changes to the Cairngorm package structure Hello list, I just came across a question of architecture and I'm not quite sure, if it is well... sort of allowed to do what I'm about to do. Thing is, for the particular situation that I'm dealing with, I'd need to refactor Cairngorm regarding its package structure. Now, since this is Adobe's thing here, I don't know whether that correspond their licensing in terms of usage. Maybe someone, maybe folks from Adobe, could give me some hint here. Thanks and cheers, Thomas Thomas Rühl Design, Programming Concepts akitogo OHG Hanauer Landstrasse 188 60314 Frankfurt Telefon +49 (0) 69 800 69 445 Fax +49 (0) 69 800 69 449 Mobil +49 (0) 179 750 75 87 E-Mail [EMAIL PROTECTED] mailto:thomas.ruehl%40akitogo.com Web http://www.akitogo.com http://www.akitogo.com Yahoo! Groups Sponsor ~-- Check out the new improvements in Yahoo! Groups email. http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM ~- -- 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/ * 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] Tabbed Browsing support? htmlText, navigateToURL(), Javascript?
Nick, Thanks. After posting on Sunday I continued researching this. There is a CSS3 spec to add a target-new: tab property. To my knowledge, no browsers have yet implement target-new: tab. So true, until browsers implement some standard way for Flash Player to issue a new tab call, there may be nothing that Adobe can do. I originally posted my question following a designer asking whether we might use Flex for a site nav bar on a website. Can anyone suggest why Flex or Flash is so little used for website nav bars? (Two exceptions that I know of are Jeremy Allaire's new company BrightCove.com using a Flex nav, and Nike.com using Flash navs.) Any insight that others can provide would be appreciated. Best regards, g On 7/5/06, Nick Collins [EMAIL PROTECTED] wrote: I imagine it would be very difficult as not all browsers support tabs, and the implementations of those tabs are different in each. ie Firefox vs. IE7 vs. Safari vs Opera, etc.On 7/2/06, Greg Hamer [EMAIL PROTECTED] wrote: Has anyone here implemented tabbed browser support in Flex?i.e. links in Flex content that can be opened in a new browser tab? (Note: browser tab ... not Flex tab.) I see three possible options:1) navigateToURL(); 2) TextField with htmlText containing html anchors; and 3) _javascript_. For me the problems are ... 1) With navigateToURL(), how would you specify new tab? 2) With anchors in htmlText, Flash Player provides the context menu.The Flash Player browser plug-ins include in the context menu the option Open in new window. (The freestanding Flash Player omits this option.) 3) With _javascript_, as a Flex/ActionScript developer I currently do not possess the knowledge how to code a _javascript_ solution.(fyi ... I have done some google searches on this, but so far no luck.)If anyone can point me to a _javascript_ code solution, it would be much appreciated :-) Note: For those from Adobe that read this list ... With IE7's release and it's support for tabbed browsing, if Flash Player provides no support for opening links in tabs it will be increasing apparent that Flash Player is essentially unaware of tabbed browsers.) __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Binding in Flex 2.0, Cairngorm 2.0
On Thursday 06 July 2006 07:32, mgrogero wrote: ModelLocator. Is that why this method of resetting the form doesn't work anymore? It's not like it doesn't work - it's just it red-outlines all the required fields straight away. -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. Yahoo! Groups Sponsor ~-- Something is new at Yahoo! Groups. Check out the enhanced email design. http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM ~- -- 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/ * 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 release version: XML attribute string too long
hmm interesting - I wonder if this happens because its xml source sucked in (ie it escaped characters get parsed when it gets sucked it)what happens if you have that sort of stuff inline as opposed to pulled in from a file? just curious...PBHOn 7/6/06, Jonathan Bezuidenhout [EMAIL PROTECTED] wrote: Hi,No nasty characters - just escaped ones.It turns out that it is not that the string is too long - it is because it contains some escape sequences - it just happens to be that these strings are extra long. Something like lt;ligt; makes it break - amp; works though. Also, something like #60; fails. If you have something like #13; in your XML the app cannot even compile. All of these are perfectly good XML!The above is using the mx:XML source.../ construct where the XML is sucked in at compile time and the AS structure is created. Jonathan __._,_.___ -- 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 Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Using and image as a link
I have been trying to get and image to go to a URL on a click. I am sure that I am making this harder than it should be. However i would like to know how you guys/gals might be doing this. I was trying to use an actionscript function that is predefined in Flash, but that does not seem to work. Do I need to create my own actionscript for this?, or is there something i am missing that is super simple? Thanks so much for your help! Yahoo! Groups Sponsor ~-- See what's inside the new Yahoo! Groups email. http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM ~- -- 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/ * 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] WebService Cairngorm 2 Example
Ben wanted to see a WebService example via Cairngorm 2. I figured it'd benefit others as well. It utilizes the Amazon Search API to search for books. If you do not have an Amazon API key, you can get one for free at amazon.com; takes about 25 seconds to sign up. Source http://dev.jessewarden.com/flex/webserviceexample/srcview/WebService_Cairngorm2_Example.zip http://www.jessewarden.com/archives/2006/07/flex_2_webservice.html --JesterXL -- 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/ * 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: Webservice Results Format
Hi Tim - thanks for the reply. I'll check out the link you provided. I ended up using a filter function, which works well :) I've been begging our IT manager to fix the way he's returning operation results, but graphic designers like me don't get much say in technical matters around here! private function resultHandler(res:ResultEvent):void { myLinesAC = res.result.Lines; myHeadersAC = res.result.Headers; headersDG.dataProvider = myHeadersAC; } private function filterLinesOutOfHeader():void { myLinesAC.filterFunction = doFilter; myLinesAC.refresh(); } private function doFilter(item:Object):Boolean { return item.CustomerOrderNumber == headersDG.selectedItem.CustomerOrderNumber; } private function userChange():void { filterLinesOutOfHeader(); linesDG.dataProvider = myLinesAC ; }Will.On 7/6/06, Tim Hoff [EMAIL PROTECTED] wrote: Hi Will, It's much easier to work with one-to-many data relationships, if the xml is in a hiarchical format. In your example, the header node is at the same level as the lines node. That makes themsiblings. Since an order has only one header, you can move the header node items into the order node (attributes work here too). This will make it easier toassociate the children with the parent. If you're interested, here is a similar one-to-manyexample; that also illustrates DataGrid expansion-in-place. http://www.cflex.net/showfiledetails.cfm?ChannelID=1Object=FileobjectID=472 I hope that this helps you,Tim Hoff--- In flexcoders@yahoogroups.com, Will Morgan [EMAIL PROTECTED] wrote: Hi All, The results from the webservice I'm using look something like this: order header order12345/order /header /headers lines line /line /order It's similar to a master / detail view. I can only bind to either headers or orders. headersDataGrid.dataprovider = {webservice.getOrder.lastResult.headers} I was hoping I could use headersDataGrid.selectedItem.lines to show the lines detail in another dataGrid, but because it is only bound to headers, I can't do it. Is there a simple way to do this within Flex or would you suggest changing the way the results are returned? __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Tabbed Browsing support? htmlText, navigateToURL(), Javascript?
On Thursday 06 July 2006 14:11, Greg Hamer wrote: BrightCove.comhttp://www.brightcove.com/using a Flex nav, and Nike.com http://www.nike.com/ using Flash navs.) Adobe.com :-) -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. Yahoo! Groups Sponsor ~-- See what's inside the new Yahoo! Groups email. http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM ~- -- 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/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: Cairngorm Responder interface changes
Just what I need, 10 billion more state variables to keep track of... - Original Message - From: Tom Chiverton [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, July 06, 2006 5:41 AM Subject: Re: [flexcoders] Re: Cairngorm Responder interface changes On Tuesday 04 July 2006 15:28, JesterXL wrote: 2. Command callbacks. Sometimes, there is a legitimate need for a View to know when a Command is completed. In my consulting, we've added an In which case it should use data binding, and the event result updates something in the model. Remember you can bind to data via a function: selectedIndex={findOutIndexForMyViewFromModelState(model)} -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders 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 Yahoo! Groups Sponsor ~-- Something is new at Yahoo! Groups. Check out the enhanced email design. http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM ~- -- 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/ * 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] what are people using for as3 documentation generation?
Hi All, looking for doc generating tools for AS3/mxml, preferrably with the ability to provide intermediate XML output... just wondering what people are using? I tried VisDoc on some as3 files, but no dice... -- 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/ * 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: Handle result/fault from webservice call in Cairngorm 2
OK, if I do a describeType(responder) within my delegate class, I see that it does contain a reference to the correct command class, and it sees the onResult and onFault methods. I have tried many things to get these methods to fire (the service call is completing successfully), but none of them have worked. Here is my current incarnation: public function callSearchService( term : String ) : void { var token : AsyncToken = service.ItemSearch(); token.resultHandler = responder.onResult; token.faultHandler = responder.onFault; token.addEventListener(mx.rpc.events.FaultEvent.FAULT, responder.onFault); token.addEventListener(mx.rpc.events.ResultEvent.RESULT, responder.onResult); Any help will be enormously appreciated. thanks, Ben --- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Thursday 06 July 2006 02:11, ben.clinkinbeard wrote: This obviously references the Delegate class from AS2, but what is the AS3/Cairngorm 2 equivalent? How do you write a delegate (lowercase 'd') in Cairngorm 2? package com.x.y.z.service { import mx.rpc.AbstractService; import mx.collections.ArrayCollection; import com.adobe.cairngorm.business.Responder; import com.adobe.cairngorm.business.ServiceLocator; import com.x.y.z.vo.FileVO; import com..x.y.z.model.ApplicationModel; public class StateDelegate { private var service:AbstractService; private var responder:com.adobe.cairngorm.business.Responder; private var model:ApplicationModel = ApplicationModel.getInstance(); public function StateDelegate(callingCommand:com.adobe.cairngorm.business.Responder) { service = ServiceLocator.getInstance().getService(stateService); responder = callingCommand; } public function callSomeRemoteMethod(thisFile:FileVO):void { var call:Object = service.someRemoteMethod(model.myUsername,thisFile); call.resultHandler = responder.onResult; call.faultHandler = responder.onFault; } } } -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. Yahoo! Groups Sponsor ~-- See what's inside the new Yahoo! Groups email. http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM ~- -- 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/ * 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: Handle result/fault from webservice call in Cairngorm 2
On Thursday 06 July 2006 13:33, ben.clinkinbeard wrote: him: would it look different when calling a WebService? I tried to modify his code but my handlers never fire. I don't imagine very much so, no. -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. Yahoo! Groups Sponsor ~-- Check out the new improvements in Yahoo! Groups email. http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM ~- -- 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/ * 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: WebService Cairngorm 2 Example
You rock the freakin house dood. I've been banging my head for 2 days trying to get this to work. Seems like my missing pieces were the 'as WebService' in SearchDelegate and the local result handlers (searchBooks_onResult). I don't have time to play with the code much at the moment, so I am curious- are those necessary or are you just using them so you can run the result through your factory before sending back to the command class? none of the example code I saw had handlers inside the delegate. Thanks again! This is sooo helpful. Ben -- 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/ * 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] mx:HTTPService - relative url's - relative to swf vs relative to html wrapper
I'm new to Flex development. The problem I'm having is resolving relative urls within the swf, specificly in HTTPService calls. The url in the HTTPService for a html wrapped swf resolves from the html wrapper location, this causes a problem as the swf might be called from multiple html wrappers in different locations. Is there a way to force relative urls to resolve based on the swf location instead of the html wrapper location? Dave Hemke [EMAIL PROTECTED] Yahoo! Groups Sponsor ~-- See what's inside the new Yahoo! Groups email. http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM ~- -- 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/ * 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] Excel, Flex Database
Hi Phill, I remembered the video when fabridge introduced. Some how adobe has took off link from the website. That video clearly shows such thing is possible. I remembered there were source code links too. Not able to find now. With Regards, Ritesh Jariwala (Actkid) Freelance Developer www.actkid.com Company: www.synonymic.com From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Phil Marston Sent: Thursday, July 06, 2006 2:16 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Excel, Flex Database That's cool - does anyone know if this has been (is being) done for other MSOffice formats (namely PowerPoint and Word)? Cheers, Phil Darron J. Schall wrote: Yes, it's possible for Flex to load Microsoft Excel data. However, it's not easy. You have to write a custom parser for the .xls file format. You can pull the raw binary data in via URLLoader setting it's dataFormat to DataFormat.BINARY, and then parse the .xls data into something usable for the Flex client.See Jim Cheng's discussion on it here: http://www.psalterego.com/2006/05/17/parsing-excel-files-with-actionscript-30/Simple demo here: http://dev.psalterego.com/xls/ExcelParser.html-dRitesh Jariwala wrote: Hi All, I have question regarding application development. I need to develop little application which can load data from database using flex into Microsoft Excel. Is it possible that flex can load the excel data or suppose if I made changes in excel sheet and click on save it can save data into database using flex? I know, I already seen such video when fabridge introduced, I am not able to find the link of that video and examples. Can anyone tell me whether this is possible or not with flex? With Regards, Ritesh Jariwala (Actkid)Freelance Developerwww.actkid.com http://www.actkid.comCompany: www.synonymic.com http://www.synonymic.com Yahoo! Groups Sponsor ~-- Great things are happening at Yahoo! Groups. See the new email design.http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM~- --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 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/* 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/ -- __ Phil Marston Learning TechnologistLearning Technology Unit Edward Wright G33, University of Aberdeen, Aberdeen, AB24 3QY, UK[EMAIL PROTECTED] Tel: +44(0)1224 273329 / +44(0)7798 723660 http://www.abdn.ac.uk/diss/ltu/pmarston/http://www.abdn.ac.uk/diss/ltu/__The University of Aberdeen Open Day 29th August 2006Booking is essentialwww.abdn.ac.uk/opendayemail [EMAIL PROTECTED]or call 0800 027 1495 __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Re: WebService Cairngorm 2 Example
I did the as WebService because I like the code hinting. If I don't register for a result, I don't get one. I think you can hardcoded the whole event.token.resultHandler thing in the ServicesLocator, but... who the hell has default result handlers, know what I mean? You typically call a method, and want to know about the result in a specific function, so, I specifically utilized addEventListener. The factory is NOT necessary, but it makes it really easy to build View's that can show BookVO's vs. this XML text. You could have the Command do that, but typically, any server mess I always put in Delegates', Factories included. Commands should just call Delegates, and set data on ModelLocators. It can't do that if it has to massage data, so I let the Delegate's handle all that insanity. I do the same thing with Ruby on Rails and ColdFusion Pre-7.0.2. - Original Message - From: ben.clinkinbeard [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, July 06, 2006 10:01 AM Subject: [flexcoders] Re: WebService Cairngorm 2 Example You rock the freakin house dood. I've been banging my head for 2 days trying to get this to work. Seems like my missing pieces were the 'as WebService' in SearchDelegate and the local result handlers (searchBooks_onResult). I don't have time to play with the code much at the moment, so I am curious- are those necessary or are you just using them so you can run the result through your factory before sending back to the command class? none of the example code I saw had handlers inside the delegate. Thanks again! This is sooo helpful. Ben -- 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 Yahoo! Groups Sponsor ~-- Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM ~- -- 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/ * 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] why does rowCount in DataGrid not match number of visible lines in grid
I am trying to discover the number of lines visible in a DataGrid. The actual number is 5.75, meaning that the last row is 3/4 visible. The problem is that the rowCount property is 7. I would think that the answer would be either 5 or 6. but not 7. So I am wondering, how is this calculated? Am I interpeting this wrong? Hank __._,_.___ -- 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 Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] Using compc and localization
nvm, figure it out... time always solves everything. Dimitrios Gianninas RIADeveloper Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dimitrios GianninasSent: Wednesday, July 05, 2006 8:43 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Using compc and localization Hi,Using compc to create a SWC. No problem all working.Now I want to specify the location where compc can look for localeinfo. In my config life I specify the following:library-pathpath-elementc:/opt/sfc/path-element/library-pathBut when I run it, I get this error:[exec] Loading configuration fileC:\dev\libraries\fxcore\2.0\sdk\frameworks\flex-config.xml[exec] Loading configuration file C:\dev\fxcommon2\myconfig.xml[exec] Adobe Compc (Flex Component Compiler)[exec] Version 2.0 build 143452[exec] Copyright (c) 2004-2006 Adobe Systems, Inc. All rightsreserved.[exec] C:\dev\fxcommon2\myconfig.xml(49): Error: unknownconfiguration variable 'library-path'[exec] library-pathDo I have to specify it some other way?Dimitrios GianninasRIA DeveloperOptimal 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. __._,_.___ -- 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 Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: CF/Flex wizards (was Re: [flexcoders] Re: any disadvantages to using FDS + CF vs. FDS + Java?)
Speaking of these wizards, how can we modify the templates they are generated from? How difficult would it be to make them scriptable or add the ability for them to act on mulitple tables? DK On 7/5/06, Douglas Knudsen [EMAIL PROTECTED] wrote: On 7/5/06, Tom Jordahl [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com, Tom Bray [EMAIL PROTECTED] wrote: Since we have more CF developers in-house, we're wondering if there are any disadvantages or limitations of using CF with FDS instead of using Java. Just wanted to jump in here and say that using ColdFusion does have some advantages over Java. For one thing, not having to write Java code to do JDBC manipulation of your data is a big one. We believe that for RAD development, CFML (especially given the Flex Builder wizards we provide) will get you up and running much quicker. Speaking of these wizards, how can we modify the templates they are generated from? How difficult would it be to make them scriptable or add the ability for them to act on mulitple tables? DK A CF solution should scale very well, as you are offloading the processing of the DB operations on to the CF server. You do pay a small price in moving the result sets from CF to Flex over a network if CF and Flex are on different machines. We fully support the change object model of writing Assemblers as ColdFusion Components. The one thing we do not support writing in CFML is the 'server push' API which allows a Java application running in the Flex web application to 'push' changes to the data in to the Flex managed result sets. We are currently evaluating supporting this in a future release. I hope this (biased) information helps. -- Tom Jordahl Adobe CF Team -- 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 -- Douglas Knudsen http://www.cubicleman.com this is my signature, like it? -- Douglas Knudsen http://www.cubicleman.com this is my signature, like it? Yahoo! Groups Sponsor ~-- Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM ~- -- 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/ * 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] Trouble Getting Started
I am new to Flex and Coldfusion. I am trying to go through the tutorials that come with Flex Builder 2 and cannot get any custom components to work. Projects that have custom components defined in them compile OK but I get a run-time error: Error #1009 Cannot access a property or method of a null object reference... It works OK when I open the .swf file but fails when the .swf is embedded in an html wraper. If anyone has some idea of what I am doing wrong I would really apreciated hearing it. -- 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/ * 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] Graphics object properties
Hello, Is it possible to get the values set by a lineStyle or a beginFill call on a Graphics object? __._,_.___ -- 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 Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Re: ColdFusion vs. PHP as the back-end
Just one point to clarify: AMFPHP only supports AMF0 while ColdFusion supports the newer AMF3 specification. For those interested, Ben Forta has a good discussion on the two technologies here: http://www.forta.com/blog/index.cfm?mode=eentry=1265 Mike --- In flexcoders@yahoogroups.com, JesterXL [EMAIL PROTECTED] wrote: First, you CAN pass ValueObjects via Java and PHP. Java via OpenAMF, and PHP via AMFPHP. ColdFusion just now has the edge. Second, Remoting as we refer to it, allows you to: 1. call back-end services like you'd call regular methods 2. pass class objects instead of vanilla data (like Java POJO's), or XML or URL params for simple string / value pairs. Strong typing for server communication... pimp! 3. allow better communication between you, the client developer, and the back-end developer on what you are sending eachother 4. pass the data in binary So, myCFC.doStuff ( somePersonVO );. If you are sending a Person Class to some method, then the back-end guy knows exactly what you are really sending him. Same when he says to you, Yeah, it'll return a list of PersonVO's. That means, you'll get an array full of Person ValueObject class instances. Finally, usually, binary AMF communications is smaller than regular AJAX XML, WebService, and HTTP posts. Dave Wolf from Cynergy systems will have contentions with that 4th point, mainly because his tests with WebServices seems to have renderered good results in 1.5. Flash Player 9, however, has greatly improved upon AMF's size via AMF3 encoding, so it'd be good to hear if he has any new tests. - Original Message - From: Ville Walveranta To: flexcoders@yahoogroups.com Sent: Wednesday, July 05, 2006 7:43 PM Subject: [flexcoders] ColdFusion vs. PHP as the back-end I started my quest to explore Flex rather recently; I never did much with v1.5, mostly because the cost involved to launch any commercial solution created with it. Now, with 2.0 it's pretty exciting to see everything that is now, rather easily (and inexpensively!), possible to do. But one thing I'm not quite clear on yet: what is the difference, or benefit from, between basic remoting as is possible with PHP/CF/ASP.NET, and the extended interaction with ColdFusion which makes it possible to pass actual instances of Actionscript Classes and have them map directly into a CFC Instances - and vice versa (a quote from Tim Buntel's blog)? Thanks for any insights! Ville Yahoo! Groups Sponsor ~-- Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM ~- -- 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/ * 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] Working with CFC's
Hi, Im a complete newbie to flex, but have been charged with building a dashboard in flex. Our app. is ColdFusion and I would like to do some simple stuff like output query results from cfc in dashboard. Kinda following tutorial I wrote: mx:Application xmlns:mx=http://www.adobe.com/2006/mxml layout=absolute fillColors=[#2b5e9b, #ff] viewSourceURL=srcview/index.html mx:HTTPService id=feedRequest url=""> useProxy=false / mx:Canvas label=MyInfo width=100% height=100% activate=feedRequest.send() mx:DataGrid x=0 y=0 width=228 id=dgStories dataProvider={feedRequest.lastResult.name} height=338 editable=false enabled=true However the result set is populated in the grid. Is there something special that I should do? Can flex parse a cfquery object, or should the cfc output xml? Please help. Thanks, Bacardi Bryant regActionTM Programmer International Environmental Associates __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Re: why does rowCount in DataGrid not match number of visible lines in grid
The answer appear to be that rowCount includes the header. This seems weird to me, but thats the way it is.HankOn 7/6/06, hank williams [EMAIL PROTECTED] wrote:I am trying to discover the number of lines visible in a DataGrid. The actual number is 5.75, meaning that the last row is 3/4 visible. The problem is that the rowCount property is 7. I would think that the answer would be either 5 or 6. but not 7. So I am wondering, how is this calculated? Am I interpeting this wrong? Hank __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] How to properly subclass a component using mxml
I want to create a subclass of DataGrid. So far what I have done is to create a new MXML component that is based on DataGrid.The problem is that if I try to use the new component as if it was a dataGrid, certain things dont work. For example: myComp:BetterDataGrid mx:columns mx:DataGridColumn headerText=Song Name dataField=label/ mx:DataGridColumn headerText=Artist dataField=label/ /mx:columns/myComp:BetterDataGridin the above example, it doesnt like me using the columns construct to define the columns. In order to define columns in this way I need to put then in the actual BetterDataGrid component as opposed to in this instance. This makes it doggone hard to use BetterDataGrid as a generic better dataGrid since I cannot define its behavior on an instance by instance basis. I am sure what I am doing wrong here is simple, but I dont know what.Any insight appreciated.Hank __._,_.___ -- 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 Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Re: WebService Cairngorm 2 Example
Very cool. That all makes pretty much sense. I do have another question (shocking, huh?) about why you would have a single command support multiple events/use multiple delegates. Isn't the point of Commands to have a class that does one thing (and nothing else)? Thanks again, Ben Yahoo! Groups Sponsor ~-- Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM ~- -- 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/ * 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 (production) Slowness
I have an application written in F2B3 that uses ColdFusion. I installed Flex Builder 2 (production) and CF7.0.2. I recompiled the application in FB 2. It compiles with no errors and runs on Flash Player 9 but it runs significantly slower now then when on beta 3. No changes were made to the Flex app or to the CFC's between the beta 3 and production versions of Flex. Has anyone else noticed this or is it just me? 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/ * 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] arrayCollection to custom value object
I dont have enough information here to determine how you got an ArrayCollection in the first place? From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Shannon Hicks Sent: Wednesday, July 05, 2006 11:34 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] arrayCollection to custom value object So, how can I get my ArrayCollection row into my object? It's cool that I can test and see that it's not working using IS, but it doesn't solve the problem, just allows me to trapit:) Shan From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Peter Farland Sent: Wednesday, July 05, 2006 10:07 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] arrayCollection to custom value object The item may not be an instance of user, but rather an anonymous Object that contains the correct properties that match the public interface of the user class. The as operator returns null if the instance cannot be coerced into the requested type where as traditional casting syntax will throw an error. You can use getQualifiedClassName or the is operator to determine whether an instance is of a particular type before casting or using the as operator. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Shannon Hicks Sent: Wednesday, July 05, 2006 9:40 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] arrayCollection to custom value object So, I've got an ArrayCollection and a defined value object. The ArrayCollection has just one record in it, and the data matches the valueObject perfectly. Here's my code: If I do this, everything works: model.currentUser.userID = loginResult.getItemAt(0).userID; model.currentUser.username = loginResult.getItemAt(0).username; model.currentUser.name = loginResult.getItemAt(0).name; model.currentUser.email = loginResult.getItemAt(0).email; model.currentUser.city = loginResult.getItemAt(0).city; model.currentUser.state = loginResult.getItemAt(0).state; model.currentUser.country = loginResult.getItemAt(0).country; model.currentUser.approved = loginResult.getItemAt(0).approved; model.currentUser.lastLogin = loginResult.getItemAt(0).lastLogin; model.currentUser.createDate = loginResult.getItemAt(0).createDate; If I do EITHER OF THESE (not all at once), model.currentUser remains NULL: 1model.currentUser = loginResult.getItemAt(0) as user; 2model.currentUser = loginResult as user; Any ideas what I'm doing wrong? Shan -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.9.9/382 - Release Date: 7/4/2006 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.9.9/382 - Release Date: 7/4/2006 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.9.9/382 - Release Date: 7/4/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 Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Re: Cairngorm Responder interface changes
On Thursday 06 July 2006 14:49, JesterXL wrote: Just what I need, 10 billion more state variables to keep track of... Point taken, but they don't all have to be flat i.e. direct properties of the model. You can have model.viewHelpers.* , model.thingsAboutFoo.* etc. -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. Yahoo! Groups Sponsor ~-- See what's inside the new Yahoo! Groups email. http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM ~- -- 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/ * 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] arrayCollection to custom value object
The ArrayCollection was returned from a CFC (just a simple select * query). Shan From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Peter FarlandSent: Thursday, July 06, 2006 9:23 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] arrayCollection to custom value object I dont have enough information here to determine how you got an ArrayCollection in the first place? From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Shannon HicksSent: Wednesday, July 05, 2006 11:34 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] arrayCollection to custom value object So, how can I get my ArrayCollection row into my object? It's cool that I can test and see that it's not working using "IS", but it doesn't solve the problem, just allows me to trapit:) Shan From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Peter FarlandSent: Wednesday, July 05, 2006 10:07 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] arrayCollection to custom value object The item may not be an instance of user, but rather an anonymous Object that contains the correct properties that match the public interface of the user class. The as operator returns null if the instance cannot be coerced into the requested type where as traditional casting syntax will throw an error. You can use getQualifiedClassName or the is operator to determine whether an instance is of a particular type before casting or using the as operator. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Shannon HicksSent: Wednesday, July 05, 2006 9:40 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] arrayCollection to custom value object So, I've got an ArrayCollection and a defined value object. The ArrayCollection has just one record in it, and the data matches the valueObject perfectly. Here's my code: If I do this, everything works: model.currentUser.userID = loginResult.getItemAt(0).userID;model.currentUser.username = loginResult.getItemAt(0).username;model.currentUser.name = loginResult.getItemAt(0).name;model.currentUser.email = loginResult.getItemAt(0).email;model.currentUser.city = loginResult.getItemAt(0).city;model.currentUser.state = loginResult.getItemAt(0).state;model.currentUser.country = loginResult.getItemAt(0).country;model.currentUser.approved = loginResult.getItemAt(0).approved;model.currentUser.lastLogin = loginResult.getItemAt(0).lastLogin;model.currentUser.createDate = loginResult.getItemAt(0).createDate; If I do EITHER OF THESE (not all at once), model.currentUser remains NULL: 1model.currentUser = loginResult.getItemAt(0) as user;2model.currentUser = loginResult as user; Any ideas what I'm doing wrong? Shan --No virus found in this outgoing message.Checked by AVG Free Edition.Version: 7.1.394 / Virus Database: 268.9.9/382 - Release Date: 7/4/2006 --No virus found in this incoming message.Checked by AVG Free Edition.Version: 7.1.394 / Virus Database: 268.9.9/382 - Release Date: 7/4/2006 --No virus found in this outgoing message.Checked by AVG Free Edition.Version: 7.1.394 / Virus Database: 268.9.9/382 - Release Date: 7/4/2006 --No virus found in this incoming message.Checked by AVG Free Edition.Version: 7.1.394 / Virus Database: 268.9.9/382 - Release Date: 7/4/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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___ -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.9.9/382 - Release Date: 7/4/2006
RE: [flexcoders] Working with CFC's
There's a better way to call the CFC that does the needed conversions automatically... check out the source code for this (right-click, and hit view source): http://flex.work.iotashan.com/hlstatsx/hlstatsx.html Specifically, look at the mx:RemoteObject tag. Shan From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Bacardi BryantSent: Thursday, July 06, 2006 9:37 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Working with CFC's Hi, Im a complete newbie to flex, but have been charged with building a dashboard in flex. Our app. is ColdFusion and I would like to do some simple stuff like output query results from cfc in dashboard. Kinda following tutorial I wrote: mx:Application xmlns:mx=http://www.adobe.com/2006/mxml layout="absolute" fillColors="[#2b5e9b, #ff]" viewSourceURL="srcview/index.html" mx:HTTPService id="feedRequest" url="" useProxy="false" / mx:Canvas label="MyInfo" width="100%" height="100%" activate="feedRequest.send()" mx:DataGrid x="0" y="0" width="228" id="dgStories" dataProvider="{feedRequest.lastResult.name} height="338" editable="false" enabled="true" However the result set is populated in the grid. Is there something special that I should do? Can flex parse a cfquery object, or should the cfc output xml? Please help. Thanks, Bacardi Bryant regActionTM Programmer International Environmental Associates --No virus found in this incoming message.Checked by AVG Free Edition.Version: 7.1.394 / Virus Database: 268.9.9/382 - Release Date: 7/4/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 Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___ -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.9.9/382 - Release Date: 7/4/2006
[flexcoders] Re: WebService Cairngorm 2 Example
Darron Schall just posted a great article about Cairngorm's Responder interface and what he considers to be a better alternative. http://www.darronschall.com/weblog/archives/000234.cfm Yahoo! Groups Sponsor ~-- Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM ~- -- 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/ * 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: WebService Cairngorm 2 Example
Naw. Commands aren't necessarely needing to be created that way. You could, but for larger apps, you'd end up with a LOT of Commands. However, it's not too tough to re-factor because if you coelecsed many Commands into one, you'd really only need to change the Controller's addCommans function. So, if you want to start that way, sure, go for it. For smaller projects, it'll make it easier to identify what Command does what, and you won't have to use custom responders in your Command's either if your Delegate only does one thing. For larger projects, however, you'll end up having many Commands doing similiar things to similiar data; it's just easier to combine them in the same class so related code is nearby for reference and/or sharing. Same goes for Delegate's. A common strategy we've done is mapping our Delegate's to CFC's; some of our CFC's, have say, 8 methods. 1 Delegate will have 8 public methods. - Original Message - From: ben.clinkinbeard [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, July 06, 2006 10:37 AM Subject: [flexcoders] Re: WebService Cairngorm 2 Example Very cool. That all makes pretty much sense. I do have another question (shocking, huh?) about why you would have a single command support multiple events/use multiple delegates. Isn't the point of Commands to have a class that does one thing (and nothing else)? Thanks again, Ben -- 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/ * 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] arrayCollection to custom value object
This is controlled by CFQuery, so youd either have to change the data format in CF before you return it, or continue to do what youre doing on the client by copying each property across (although Id use a for/in loop and [propName]-styled syntax against the currentUser type rather than specifically writing a line to copy each item). You cant cast an Object into another type unless it is literally of that type to begin with as is the case with any strongly typed language. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Shannon Hicks Sent: Thursday, July 06, 2006 11:03 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] arrayCollection to custom value object The ArrayCollection was returned from a CFC (just a simple select * query). Shan From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Peter Farland Sent: Thursday, July 06, 2006 9:23 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] arrayCollection to custom value object I dont have enough information here to determine how you got an ArrayCollection in the first place? From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Shannon Hicks Sent: Wednesday, July 05, 2006 11:34 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] arrayCollection to custom value object So, how can I get my ArrayCollection row into my object? It's cool that I can test and see that it's not working using IS, but it doesn't solve the problem, just allows me to trapit:) Shan From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Peter Farland Sent: Wednesday, July 05, 2006 10:07 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] arrayCollection to custom value object The item may not be an instance of user, but rather an anonymous Object that contains the correct properties that match the public interface of the user class. The as operator returns null if the instance cannot be coerced into the requested type where as traditional casting syntax will throw an error. You can use getQualifiedClassName or the is operator to determine whether an instance is of a particular type before casting or using the as operator. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Shannon Hicks Sent: Wednesday, July 05, 2006 9:40 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] arrayCollection to custom value object So, I've got an ArrayCollection and a defined value object. The ArrayCollection has just one record in it, and the data matches the valueObject perfectly. Here's my code: If I do this, everything works: model.currentUser.userID = loginResult.getItemAt(0).userID; model.currentUser.username = loginResult.getItemAt(0).username; model.currentUser.name = loginResult.getItemAt(0).name; model.currentUser.email = loginResult.getItemAt(0).email; model.currentUser.city = loginResult.getItemAt(0).city; model.currentUser.state = loginResult.getItemAt(0).state; model.currentUser.country = loginResult.getItemAt(0).country; model.currentUser.approved = loginResult.getItemAt(0).approved; model.currentUser.lastLogin = loginResult.getItemAt(0).lastLogin; model.currentUser.createDate = loginResult.getItemAt(0).createDate; If I do EITHER OF THESE (not all at once), model.currentUser remains NULL: 1model.currentUser = loginResult.getItemAt(0) as user; 2model.currentUser = loginResult as user; Any ideas what I'm doing wrong? Shan -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.9.9/382 - Release Date: 7/4/2006 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.9.9/382 - Release Date: 7/4/2006 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.9.9/382 - Release Date: 7/4/2006 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.9.9/382 - Release Date: 7/4/2006 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.9.9/382 - Release Date: 7/4/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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice
Re: [flexcoders] anyone out there in eclipse land?
Hey Michael,In the problems pane, one of the top right buttons is for filters. You can filter out Flex issues all together there. Sorry, for the sarcasm earlier... I understand where you're coming from... it's just that some folks think that it's just as good to ignore the problem as to fix it. Those warnings are there for a reason BrendanOn 7/6/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: No problem Brendan Maybe it was too much of a lob ball to resist ;-) The only reason I was asking is because I am trying to fix someone else's code and I think I know what the problem is. However the warnings are causing my Flex Builder to run so S L O W L Y (extra emphasis on the 'slow') that I can't even run my app in debug. I bumped up the memory in eclipse.ini, but the problem persists. I was hoping I could suppress the warnings just to fix this problem. Any thoughts or insight on the problem? Brendan MeutznerTo: flexcoders@yahoogroups.com [EMAIL PROTECTED] cc: Sent by: Subject: Re: [flexcoders] anyone out there in eclipse land? flexcoders@yahoogroups.com 07/05/2006 05:56 PM Please respond to flexcoders Hey, Well, you could fix the problems... :-) Sorry, couldn't resist Brendan On 7/5/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: know how to suppress the: warning: unable to bind to property ... and TypeError: Error #1009: Cannot access a property or method of a null object reference. in the eclipse console? -- This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, proprietary , confidential and exempt from disclosure. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender and erase this e-mail message immediately. -- -- This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, proprietary , confidential and exempt from disclosure. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender and erase this e-mail message immediately. -- __._,_.___ -- 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 Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] How to properly subclass a component using mxml
This is just a shot in the dark: Does your subclass of DataGrid have any children defined? Ive never come across this myself, but Ive read in various places that if a component has children in its definition, its not possible to add children when instantiating it. Tobias. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of hank williams Sent: Thursday, July 06, 2006 7:50 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] How to properly subclass a component using mxml I want to create a subclass of DataGrid. So far what I have done is to create a new MXML component that is based on DataGrid. The problem is that if I try to use the new component as if it was a dataGrid, certain things dont work. For example: myComp:BetterDataGrid mx:columns mx:DataGridColumn headerText=Song Name dataField=label/ mx:DataGridColumn headerText=Artist dataField=label/ /mx:columns /myComp:BetterDataGrid in the above example, it doesnt like me using the columns construct to define the columns. In order to define columns in this way I need to put then in the actual BetterDataGrid component as opposed to in this instance. This makes it doggone hard to use BetterDataGrid as a generic better dataGrid since I cannot define its behavior on an instance by instance basis. I am sure what I am doing wrong here is simple, but I dont know what. Any insight appreciated. Hank __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Re: Handle result/fault from webservice call in Cairngorm 2
On Thursday 06 July 2006 14:19, ben.clinkinbeard wrote: Any help will be enormously appreciated. Can you knock up a quick test file against a public web service, and post that ? -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders 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/ * 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] arrayCollection to custom value object
The light bulb just went on! Thanks for pointing me in the right direction! Shan From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Peter FarlandSent: Thursday, July 06, 2006 10:18 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] arrayCollection to custom value object This is controlled by CFQuery, so youd either have to change the data format in CF before you return it, or continue to do what youre doing on the client by copying each property across (although Id use a for/in loop and [propName]-styled syntax against the currentUser type rather than specifically writing a line to copy each item). You cant cast an Object into another type unless it is literally of that type to begin with as is the case with any strongly typed language. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Shannon HicksSent: Thursday, July 06, 2006 11:03 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] arrayCollection to custom value object The ArrayCollection was returned from a CFC (just a simple select * query). Shan From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Peter FarlandSent: Thursday, July 06, 2006 9:23 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] arrayCollection to custom value object I dont have enough information here to determine how you got an ArrayCollection in the first place? From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Shannon HicksSent: Wednesday, July 05, 2006 11:34 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] arrayCollection to custom value object So, how can I get my ArrayCollection row into my object? It's cool that I can test and see that it's not working using "IS", but it doesn't solve the problem, just allows me to trapit:) Shan From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Peter FarlandSent: Wednesday, July 05, 2006 10:07 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] arrayCollection to custom value object The item may not be an instance of user, but rather an anonymous Object that contains the correct properties that match the public interface of the user class. The as operator returns null if the instance cannot be coerced into the requested type where as traditional casting syntax will throw an error. You can use getQualifiedClassName or the is operator to determine whether an instance is of a particular type before casting or using the as operator. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Shannon HicksSent: Wednesday, July 05, 2006 9:40 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] arrayCollection to custom value object So, I've got an ArrayCollection and a defined value object. The ArrayCollection has just one record in it, and the data matches the valueObject perfectly. Here's my code: If I do this, everything works: model.currentUser.userID = loginResult.getItemAt(0).userID;model.currentUser.username = loginResult.getItemAt(0).username;model.currentUser.name = loginResult.getItemAt(0).name;model.currentUser.email = loginResult.getItemAt(0).email;model.currentUser.city = loginResult.getItemAt(0).city;model.currentUser.state = loginResult.getItemAt(0).state;model.currentUser.country = loginResult.getItemAt(0).country;model.currentUser.approved = loginResult.getItemAt(0).approved;model.currentUser.lastLogin = loginResult.getItemAt(0).lastLogin;model.currentUser.createDate = loginResult.getItemAt(0).createDate; If I do EITHER OF THESE (not all at once), model.currentUser remains NULL: 1model.currentUser = loginResult.getItemAt(0) as user;2model.currentUser = loginResult as user; Any ideas what I'm doing wrong? Shan --No virus found in this outgoing message.Checked by AVG Free Edition.Version: 7.1.394 / Virus Database: 268.9.9/382 - Release Date: 7/4/2006 --No virus found in this incoming message.Checked by AVG Free Edition.Version: 7.1.394 / Virus Database: 268.9.9/382 - Release Date: 7/4/2006 --No virus found in this outgoing message.Checked by AVG Free Edition.Version: 7.1.394 / Virus Database: 268.9.9/382 - Release Date: 7/4/2006 --No virus found in this incoming message.Checked by AVG Free Edition.Version: 7.1.394 / Virus Database: 268.9.9/382 - Release Date: 7/4/2006 --No virus found in this outgoing message.Checked by AVG Free Edition.Version: 7.1.394 / Virus Database: 268.9.9/382 - Release Date: 7/4/2006 --No virus found in this incoming message.Checked by AVG Free Edition.Version: 7.1.394 / Virus Database: 268.9.9/382 - Release Date: 7/4/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
RE: [flexcoders] Working with CFC's
Shouldnt you use RemoteObject instead of httpService? If you want to use HTTPService you should invoke it as a webservice. If youre using CFMX7 I would advise you to use RemoteObjects and the new gateway so you can have your cfc objects translated directly to AS3 classes. João Fernandes Dep. Informática - Área de Desenvolvimento Cofina media Avenida João Crisóstomo, Nº 72 . 1069-043 Lisboa PORTUGAL Tel (+351) 213 185 200 . Fax (+351) 213 540 370 [EMAIL PROTECTED] From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Bacardi Bryant Sent: quinta-feira, 6 de Julho de 2006 15:46 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Working with CFC's Oops, as you can see, Im new to the list as well. The problem is the results ARE NOT being loaded into the datagrid. Thanks, Bacardi Bryant regActionTM Programmer [EMAIL PROTECTED] International Environmental Associates ph 713.623.5099 ext. 107 fx 713.623.5050 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Bacardi Bryant Sent: Thursday, July 06, 2006 9:37 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Working with CFC's Hi, Im a complete newbie to flex, but have been charged with building a dashboard in flex. Our app. is ColdFusion and I would like to do some simple stuff like output query results from cfc in dashboard. Kinda following tutorial I wrote: mx:Application xmlns:mx=http://www.adobe.com/2006/mxml layout=absolute fillColors=[#2b5e9b, #ff] viewSourceURL=srcview/index.html mx:HTTPService id=feedRequest url=""> useProxy=false / mx:Canvas label=MyInfo width=100% height=100% activate=feedRequest.send() mx:DataGrid x=0 y=0 width=228 id=dgStories dataProvider={feedRequest.lastResult.name} height=338 editable=false enabled=true However the result set is populated in the grid. Is there something special that I should do? Can flex parse a cfquery object, or should the cfc output xml? Please help. Thanks, Bacardi Bryant regActionTM Programmer International Environmental Associates __._,_.___ -- 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 Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] file.upload() set Content-Type?
Hi All, Now that I've got file upload working, does anyone know if it's possible to set the Content-Type to anything but the default of application/octet-stream? (Why Have Adobe done that?!) I've been using a PHP script to put files into mySQL tables and I always used to query the data in the POST for it's mime-type $fileType = $_FILES['fileData']['type']; and then use it when I fetched the file from the table so that the browser would know what to do with it - now I can't do that and all files will be treated the same. :-( Any ideas? (I'm guessing I'll just have to use the full filename to guess the mimetype (e.g. if (*.jpg||*.jpeg) {mime=image/jpeg}else{mime might be image/jpeg but who knows}) since everything apart from Mac files don't have a creator property) Cheers, Phil -- __ Phil Marston Learning Technologist Learning Technology Unit Edward Wright G33, University of Aberdeen, Aberdeen, AB24 3QY, UK [EMAIL PROTECTED] Tel: +44(0)1224 273329 / +44(0)7798 723660 http://www.abdn.ac.uk/diss/ltu/pmarston/ http://www.abdn.ac.uk/diss/ltu/ __ The University of Aberdeen Open Day 29th August 2006 Booking is essential www.abdn.ac.uk/openday email [EMAIL PROTECTED] or call 0800 027 1495 Yahoo! Groups Sponsor ~-- Check out the new improvements in Yahoo! Groups email. http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM ~- -- 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/ * 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 release version: XML attribute string too long
Loading a XML file via mx:XML... source= is pretty much the same as having it inline - it is converted into an AS structure at compile time and that is where things go wrong.It is easy to show that it fails. mx:XML id=test root test1 desc=this little piggy does work amp; / test2 desc=this little piggy does NOT work lt;ligt; for a list item at runtime / test3 desc=this little piggy does NOT even compile #13; / /root/mx:XMLIt works fine with loading the XML via HTTPService using the exact same XML - so I think it is a bug with the XML being converted at compile time. I think I remember there was a similar bug at the begining of time - like version 1.0 or something very very long ago.J. On 7/6/06, Paul BH [EMAIL PROTECTED] wrote: hmm interesting - I wonder if this happens because its xml source sucked in (ie it escaped characters get parsed when it gets sucked it)what happens if you have that sort of stuff inline as opposed to pulled in from a file? just curious...PBHOn 7/6/06, Jonathan Bezuidenhout [EMAIL PROTECTED] wrote: Hi,No nasty characters - just escaped ones.It turns out that it is not that the string is too long - it is because it contains some escape sequences - it just happens to be that these strings are extra long. Something like lt;ligt; makes it break - amp; works though. Also, something like #60; fails. If you have something like #13; in your XML the app cannot even compile. All of these are perfectly good XML!The above is using the mx:XML source.../ construct where the XML is sucked in at compile time and the AS structure is created. Jonathan __._,_.___ -- 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 Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] How to properly subclass a component using mxml
Nope there are no children.Also, the specific error message is could not resolve mx:columns to a component implementation.It provides the same error message when trying to add a dataprovider too. HankOn 7/6/06, Tobias Patton [EMAIL PROTECTED] wrote: This is just a shot in the dark: Does your subclass of DataGrid have any children defined? I've never come across this myself, but I've read in various places that if a component has children in its definition, it's not possible to add children when instantiating it. Tobias. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of hank williams Sent: Thursday, July 06, 2006 7:50 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] How to properly subclass a component using mxml I want to create a subclass of DataGrid. So far what I have done is to create a new MXML component that is based on DataGrid. The problem is that if I try to use the new component as if it was a dataGrid, certain things dont work. For example: myComp:BetterDataGrid mx:columns mx:DataGridColumn headerText=Song Name dataField=label/ mx:DataGridColumn headerText=Artist dataField=label/ /mx:columns /myComp:BetterDataGrid in the above example, it doesnt like me using the columns construct to define the columns. In order to define columns in this way I need to put then in the actual BetterDataGrid component as opposed to in this instance. This makes it doggone hard to use BetterDataGrid as a generic better dataGrid since I cannot define its behavior on an instance by instance basis. I am sure what I am doing wrong here is simple, but I dont know what. Any insight appreciated. Hank __._,_.___ -- 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 Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Flex release version: XML attribute string too long
gotcha - just wondered if the process of loading it in at compile time may have been the achilles heel...On 7/6/06, Jonathan Bezuidenhout [EMAIL PROTECTED] wrote: Loading a XML file via mx:XML... source= is pretty much the same as having it inline - it is converted into an AS structure at compile time and that is where things go wrong.It is easy to show that it fails. mx:XML id=test root test1 desc=this little piggy does work amp; / test2 desc=this little piggy does NOT work lt;ligt; for a list item at runtime / test3 desc=this little piggy does NOT even compile #13; / /root/mx:XMLIt works fine with loading the XML via HTTPService using the exact same XML - so I think it is a bug with the XML being converted at compile time. I think I remember there was a similar bug at the begining of time - like version 1.0 or something very very long ago.J. On 7/6/06, Paul BH [EMAIL PROTECTED] wrote: hmm interesting - I wonder if this happens because its xml source sucked in (ie it escaped characters get parsed when it gets sucked it)what happens if you have that sort of stuff inline as opposed to pulled in from a file? just curious...PBHOn 7/6/06, Jonathan Bezuidenhout [EMAIL PROTECTED] wrote: Hi,No nasty characters - just escaped ones.It turns out that it is not that the string is too long - it is because it contains some escape sequences - it just happens to be that these strings are extra long. Something like lt;ligt; makes it break - amp; works though. Also, something like #60; fails. If you have something like #13; in your XML the app cannot even compile. All of these are perfectly good XML!The above is using the mx:XML source.../ construct where the XML is sucked in at compile time and the AS structure is created. Jonathan __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Datatip (show everything in the xml)
hello;iknow this maybe something easy to do but don't know howwhen the app compiles and i put the mouse over a name it shows the datatip but with all in the xmlanybody know why?xml catalog libro name id="12"A orillas de una laguna./name desc![CDATA[Libro de Edmundo Batres Ledón, Roque Hernández,i Edgar Hidalgo Bocanegra, Ramón León Flores, Leticia Ulín Rodríguez y Carlos López Castro /i,editado por la UJAT a través DACS;b consta de 75 pp./bbLa edición fue de 1,000 ejemplares/b. veasea href=""bAbdo Arias/b/a]]/desc imagenFOTOS/A orillas de una laguna.jpg/imagen videoVIDEOS/lema.flv/video audioAUDIO/1.mp3/audio otrosOTROS/Discurso por el instituto.pdf/otros /libro libro /catalogthis is the datagrig mx:DataGrid dataProvider="{xlc}" height="419" editable="false" width="150" id="datagrid" scroll="true" change="xlc.refresh(),cargarDatos.refresh()" x="0" y="0" mx:columns mx:Array mx:DataGridColumn columnName="name" showDataTips="true" dataTipField="name"/ /mx:Array /mx:columns /mx:DataGrid __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] How to properly subclass a component using mxml
Since you are extending DataGrid via a mxml way, you don't have to use mx namespace. Try removing the red text and see if it works, this is how I create extended datagrid several months ago. myComp:BetterDataGrid mx:columns mx:DataGridColumn headerText=Song Name dataField=label/ mx:DataGridColumn headerText=Artist dataField=label/ /mx:columns/myComp:BetterDataGridJeremy. __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] what are people using for as3 documentation generation?
add me to that no-dice list :-)On 7/6/06, Steve Cox [EMAIL PROTECTED] wrote: I think we're all after the same thing mate. At the minute there is nothing I am aware of. Rumor is Adobe has something they may release at some point… When who knows. I've tried a couple, but same results as you I'm afraid. -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Paul BH Sent: 06 July 2006 14:43 To: flexcoders@yahoogroups.com Subject: [flexcoders] what are people using for as3 documentation generation? Hi All, looking for doc generating tools for AS3/mxml, preferrably with the ability to provide intermediate XML output... just wondering what people are using? I tried VisDoc on some as3 files, but no dice... __._,_.___ -- 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 Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Re: How to properly subclass a component using mxml
One guess I have is that there are issues regarding using mxml to populate an *inherited* field. In this case columns is not a component, but a field which contains an Array of of DataGridColumn objects. But the error that flex gives indicates that it thinks columns is supposed to be a compoent because the error message is could not resolve mx:columns to a component implementation. Is it just the fact that columns doesnt have a capital letter that should tell the compiler that this is a field and not a component? Should it just be looking first for fields first and then components?This seems like a relatively basic issue. Someone out there must know!? HankOn 7/6/06, hank williams [EMAIL PROTECTED] wrote: I want to create a subclass of DataGrid. So far what I have done is to create a new MXML component that is based on DataGrid.The problem is that if I try to use the new component as if it was a dataGrid, certain things dont work. For example: myComp:BetterDataGrid mx:columns mx:DataGridColumn headerText=Song Name dataField=label/ mx:DataGridColumn headerText=Artist dataField=label/ /mx:columns/myComp:BetterDataGridin the above example, it doesnt like me using the columns construct to define the columns. In order to define columns in this way I need to put then in the actual BetterDataGrid component as opposed to in this instance. This makes it doggone hard to use BetterDataGrid as a generic better dataGrid since I cannot define its behavior on an instance by instance basis. I am sure what I am doing wrong here is simple, but I dont know what.Any insight appreciated.Hank __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Download files
Hello, I've a little problem I've to build an application that takes a file from the server an then let the user to download the file. An already read about the FileReference and FileReferenceList classes but I can't make my app works. I made a mxml application that define a Script section in witch I create a FileReference object but when a test the application it doesn't work.I'd like to prube with a servlet but I don't know how to start.If somebody can, please help me I will thank for a long long time. Or, if someone knows about a site with examples that can help me, I'll thank too. Horóscopos, Salud y belleza, Chistes, Consejos de amor. El contenido más divertido para tu celular está enYahoo! Móvil __._,_.___ -- 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 Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] file uploads
Thanks Phil... that helped alot. I was basically doing the same thing but I must have had something out of order. Now I can finish this project :)On 7/6/06, Phil Marston [EMAIL PROTECTED] wrote: Hi Clint, I've just this very moment solved that one! :-) I couldn't get what was going on either, but this is what I did: For the sake of trying it out a created a new application to do it. I left all the imports and var declarations where they were, but put all the rest of the method calls and functions inside another function and then called that function using the creationComplete application tag attribute. see below ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml layout=absolute creationComplete=initApplication() mx:Script ![CDATA[ import flash.net.FileFilter; import flash.net.FileReference; import flash.net.URLRequest; public var imageTypes:FileFilter = new FileFilter(Images (*.jpg, *jpeg, *.gif, *.png),*.jpg; *jpeg; *.gif; *.png); public var textTypes:FileFilter = new FileFilter(Text Files (*.txt, *rtf),*.txt; *.rtf); public var allTypes:Array = new Array(imageTypes, textTypes); public var myFileRef:FileReference = new FileReference(); public function initApplication(): void { myFileRef.addEventListener(Event.SELECT, selectHandler); myFileRef.addEventListener(Event.COMPLETE, completeHandler); myFileRef.browse(allTypes); try { var success:Boolean = myFileRef.browse(); } catch (error:Error) { trace(unable to browse for files); } function selectHandler (even:Event):void { try { var params:URLVariables = new URLVariables(); params.date = new Date(); var request:URLRequest = new URLRequest(http://www.myplace.com/FlexImageUpload.php); request.method = URLRequestMethod.POST; request.data = ""> myFileRef.upload(request, fileField); } catch (error:Error) { trace(Unable to upload file); } } function completeHandler(event:Event):void { trace(Uploaded); } } ]] /mx:Script /mx:Application Clint Tredway wrote: code from the docs. I am just trying to get a file upload working so I can make sure I understand it correctly. On 7/5/06, Carson Hager [EMAIL PROTECTED] wrote: What code are you referring to? Carson Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com Email: [EMAIL PROTECTED] Office: 866-CYNERGY Mobile: 1.703.489.6466 From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Clint Tredway Sent: Tuesday, July 04, 2006 11:32 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] file uploads I am using the code from the docs and Flex Builder is telling this 1120: Access of undefined property fileRef. and that the selectHandler and completeHandler are undefined properties as well. I am declaring the var fileRef, so i dont get why its doing this... very frustrating... -- diabetic? http://www.diabetesforums.com Bill Cosby - A word to the wise ain't necessary - it's the stupid ones that need the advice. -- diabetic? http://www.diabetesforums.com Bill Cosby - A word to the wise ain't necessary - it's the stupid ones that need the advice. -- __ Phil Marston Learning TechnologistLearning Technology Unit Edward Wright G33, University of Aberdeen, Aberdeen, AB24 3QY, UK [EMAIL PROTECTED] Tel: +44(0)1224 273329 / +44(0)7798 723660 http://www.abdn.ac.uk/diss/ltu/pmarston/ http://www.abdn.ac.uk/diss/ltu/ __The University of Aberdeen Open Day 29th August 2006Booking is essential www.abdn.ac.uk/openday email [EMAIL PROTECTED] or call 0800 027 1495 -- diabetic? http://www.diabetesforums.comBill Cosby - A word to the wise ain't necessary - it's the stupid ones that need the advice. __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this
RE: [flexcoders] How to properly subclass a component using mxml
I think since you are using a namespace for the component you must also use it for the columns array: myComp:columns Tracy From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jeremy Lu Sent: Thursday, July 06, 2006 12:28 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] How to properly subclass a component using mxml Since you are extending DataGrid via a mxml way, you don't have to use mx namespace. Try removing the red text and see if it works, this is how I create extended datagrid several months ago. myComp:BetterDataGrid mx:columns mx:DataGridColumn headerText=Song Name dataField=label/ mx:DataGridColumn headerText=Artist dataField=label/ /mx:columns /myComp:BetterDataGrid Jeremy. __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Re: cant set alpha for scrollbar
Ok just thought I would try again here since this message has probably scrolled off most peoples screensI am trying to dim a scrollbar by setting its alpha value.I have tried to change every field that has the work alpha in it and nothing seems to work. I have even put a scrollbar inside a canvas and tried to set the alpha of the canvas. It cant be that scrollbars cant be alpha'd can it? Tell me it aint so. On 7/6/06, hank williams [EMAIL PROTECTED] wrote: Is it possible to set the alpha for a scrollbar? Setting its alpha seems to have no effect.Hank __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___