Re: Re: [flexcoders] integrating map24 maps with FLEX2
Thanks a lot. I'll give it a try.CheersDuccio2006/8/4, Rich Tretola [EMAIL PROTECTED]: I think the IFrame is the only way to go. Here is the original sample but I think its FP 8.5: http://www.deitte.com/archives/2006/02/embedding_html.htm Rich On 8/4/06, Michael Hansen [EMAIL PROTECTED] wrote: You could use an iframe solution. Google around for iframe and flex2... I've seen seen a sample somewhere out there. cheers -michael On 7/28/06, duccio del ministro [EMAIL PROTECTED] wrote: Thanks Rich but yahoo maps don't have road details that map24 has for Europe and Italy in particular. Is there a way to show an html tag inside a flex layout? Thanks Duccio 2006/7/27, Rich Tretola [EMAIL PROTECTED]: Why don't you use the Yahoo maps which already support Flash and Flex 1.5 and should have Fle 2 support soon. In the mean time you can use localconnection to speak to your Flash 8 map from Flex 2. This is how I accomplished mapping at StatPods.com Rich On 7/27/06, duccio del ministro [EMAIL PROTECTED] wrote: Does anyone have any experience in integrating map24 maps (http://devnet.map24.com) with a flex2 application? I saw the flex-ajax bridge in adobe.labs and i'm using it to pass he right parameters but the resulting maps need to be visualized inside an html div tag, how can i integrate them inside a complex flex layout? Thanks in advance Duccio -- 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 -- Rich Tretola mx:EverythingFlex/ http://www.EverythingFlex.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 -- Rich Tretola mx:EverythingFlex/ http://www.EverythingFlex.com __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS 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] Custom CheckBox icon?
Does anyone know how to set the default 'check' icon of a CheckBox to a different image? I would like to use an 'x' instead of the 'check'. The class definition shows that it inherits the 'icon' style from the Button class, but I cannot seem to be able to set the icon attribute like I can with a button. --jason -- 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] another XMLListCollection bug
If you run the code below, click the button, and expand the asdf node, you'll see an unexpected node caused by mx_internal_uid[some hash code here]/mx_internal_uid that gets added to the xml. Here's the resulting xml: items item label=tom/ item label=asdf item label=efefe/ mx_internal_uidE4A7C73B-1295-31E9-6978-E772A0407B7F/mx_internal_uid /item/itemsand the sample code:?xml version=1.0 encoding=utf-8?mx:Application creationComplete=init() xmlns:mx= http://www.adobe.com/2006/mxml layout=absolute mx:Script ![CDATA[ import mx.collections.XMLListCollection; private var myXML:XML = itemsitem label=tom//items; [Bindable] private var xmllc:XMLListCollection; private function init():void {xmllc = new XMLListCollection( new XMLList( myXML.item ) ); } private function addNode():void {var foo:XMLList = new XMLList( item label=asdfitem label=efefe//item ); xmllc.addItem( foo );trace( myXML ); } ]] /mx:Script mx:VBox mx:Tree width=200 id=myTree dataProvider={xmllc} labelField=@label/ mx:Button click=addNode() label=click/ /mx:VBox/mx:Application __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS 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: [Flex2] What do you use for modelling a Flex2 application...?
Thanks for your interest so far... but this isn't really the direction I intended to point out. Dave, I know that the documentation and modelling process basically doesn't depend on HOW an application is written. I'm not trying from model to generated code, although it would be really neat to do so in some cases ;) My concern is to evolve a process, starting with modelling an application the good old way using software architecture possibilities. This not only helps me to evaluate and improve an application, in fact it is also important for me regarding documentation and maintenance processes. Again, I do not necessarily want to generate the code based on a UML or other kind of diagrams, my interest targets the development process before actual implementation starts. As I said, for the Java world, there are lots of tools which we are missing for Flex at the moment. Problem being, these tools are mostly Java specific (for which I think they shouldn't), since they DO want to generate code out of the model. And this is the reason I am interested in how other folks do the modeling. 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 Jason wrote: There are several AS2 model2code generators such as: http://www.darronschall.com/weblog/archives/000174.cfm http://www.darronschall.com/weblog/archives/000174.cfm http://www.codealloy.com/umlconverter.htm http://www.codealloy.com/umlconverter.htm and some others I can't remember right now. It will just be a matter of time untill someone updates one of the projects for AS3, and ideally for Cairngorm. I poked around on sourceforge, but did not see an started project. Darron Schall my be willing to provide his source as a starting point for anyone looking to pick up the project -- it looks like he has a SVN repository set for the source. --jason --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com, Joost Nuijten [EMAIL PROTECTED] wrote: I think what Thomas is trying to say: In the Java world there are a lot of powerful tools that generate the base skeleton of code out of a model. For the Flex world this is all hand work. And how do we cope with this? That is why it is important that we have a framework such as Cairngorm. The one thing that we do not have is an automated tool that generates the Cairngorm base skeleton. ** thinking about creating one myself ** Joost _ Van: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com] Namens Dave Wolf Verzonden: maandag 7 augustus 2006 2:33 Aan: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Onderwerp: [flexcoders] Re: [Flex2] What do you use for modelling a Flex2 application...? Why does the implementation language (the HOW) have anything significant to do with the modelling and documentation solution you use (the WHAT) ? Are you trying to go from model to generated code? If modelling is important to your development process, tried and trusted modelling solutions such as UML would be capable of documenting and managing the WHAT side of the development process regardless of the implementation HOW language. -- Dave Wolf Cynergy Systems, Inc. Adobe Flex Alliance Partner http://www.cynergys http://www.cynergysystems.com http://www.cynergysystems.com ystems.com http://www.cynergys http://www.cynergysystems.com/blogs http://www.cynergysystems.com/blogs ystems.com/blogs Email: [EMAIL PROTECTED] mailto:dave.wolf%40cynergysystems.com stems.com Office: 866-CYNERGY --- In [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com, Thomas R�hl -akitogo- thomas.ruehl@ wrote: Hi folks, it's been a while now, since the Flex2 SDK is out and rockin' ;) Not only for larger projects, multiple teams or team members and documentation purpose, I'd like to know, what everyone is using for modelling a Flex application. For the Java world I know, the tools available are very powerful and work very well out of the box and integrate with each other. There are also things like OmondoUML, which we can be used for designing Java apps (doing use case and sequential diagram sort of stuff) in conjunction with creating the corresponding code. The lack of Flex-specific tools for that kind of work still leads towards endless times spent on the drawing table - at least on my side.. So, the question coming up my mind is, in what ways do you all design your Flex applications before/during or after implementation, if
Re: [flexcoders] [Flex 2][ArrayCollection][Bug] Bindings don't executing when setting AC to a new ArrayCollection()
Hi Matt,I create the example that shows the bug, in case I was not missing something.The example uses an ArrayCollection to fire a property variable and then bind this variable to the TextInput. In my Application the AC is in a ModelLocator, and I expect that changes in the AC will be reflected in the textinput with a little processing that turns the list into a string separated by ;. In my real case Application I get the ArrayCollection populated with a server service, and the textinput shows the composed string as expected, then I try to remove all items, or create a new AC(), and nothig happens. Here is the example I prepare:?xml version=1.0 encoding=utf-8?mx:Application xmlns:mx=http://www.adobe.com/2006/mxml layout=vertical creationComplete=initApp() mx:TextInput id=stringResult text={sessionUsersToString}/ mx:Button label=remove all items click=removeAll()/ mx:Binding source=sessionUsers destination=sessionUsersToString/ mx:Script ![CDATA[ import mx.collections.IViewCursor ; import mx.collections.ArrayCollection; [Bindable] public var sessionUsers:ArrayCollection; public function initApp():void { sessionUsers = new ArrayCollection([ {user:Juan, id:10}, {user:Carlos, id:20}, {user:Lucas, id:30} ]); } // --- sessionUsersToString private var _sessionUsersToString:String; [Bindable] public function get sessionUsersToString():String { var users:String = ; var iterator:IViewCursor = sessionUsers.createCursor(); while(!iterator.afterLast) { if(users != )users += ;; users += iterator.current.user; iterator.moveNext(); } return users; } public function set sessionUsersToString(value:String):void { _sessionUsersToString = value; } public function removeAll():void { sessionUsers.removeAll();// --- Here I tried several methods // *BindingUtils.bindProperty // *sessionUsers = new ArrayCollection(); // ... } ]] /mx:Script /mx:ApplicationHope someone could throw some light into this issue. Thanks.C.On 8/7/06, Matt Chotin [EMAIL PROTECTED] wrote: If you are bound to the ArrayCollection then manipulating the AC itself doesn't re-trigger the binding. You need to do a re-assignment. If that isn't working make sure that the variable for your AC is [Bindable] and if you wrote a setter and used [Bindable(event="…")] that you actually dispatched the event. From: [EMAIL PROTECTED] ups.com [mailto:[EMAIL PROTECTED] ups.com] On Behalf Of Carlos Rovira Sent: Sunday, August 06, 2006 10:25 AM To: [EMAIL PROTECTED]ups.com Subject: [flexcoders] [Flex 2][ArrayCollection][Bug] Bindings don't executing when setting AC to a new ArrayCollection() Hi, I'm experiencing a bug with an ArrayCollection. I want to remove the contents and the new state should dispatch a Binding, but this is not happen at all. I was trying several methods: * setting to null; * new ArrayCollection(); * calling removeAll() * calligin refresh() as well but nothing happens. I suppose that this should be a known issue, anyone knows some trick to avoid this problem? Thanks. -- ::| Carlos Rovira ::| http://www.carlosrovira.com -- ::| Carlos Rovira::| http://www.carlosrovira.com __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS 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] Aborting operations
Hi! What I want: I want to create a custom AS class, named TimeoutManager. This class then executes some tasks from my app, but if one task needs longer than a specified timeout (via Timer class / TimerEvent.TIMER_COMPLETE), it should stop the task. I only found an attribute requestTimeout for mx:WebService, but how can I do that more generally? Does anybody has any hints? Thanks in advance. Fritz -- 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] Isnt there *any* hello world/getting started doc for cairngorm???
On Monday 07 August 2006 03:51, hank williams wrote: Wow. Thanks. Its amazing that that is burried in someones blog instead of right there with the rest of the cairngorm info on adobe labs. :looks Hmm. For some reason the main Wiki page is locked against edits. I've stuck something on the end of the talk page for the next person though. -- 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] Isnt there *any* hello world/getting started doc for cairngorm???
Guys, Our focus was on getting Cairngorm available to you to coincide with the Flex 2 launch, for those of you who were building Flex 2 applications and needed a version of Cairngorm up and running as soon as possible. There was a not insignificant amount of effort involved in even just getting Cairngorm published on labs - which is our first step to being able to rapidly update content. We'll be aggregating all the examples that we and the community have written in the weeks ahead, and using the Wiki on Labs to make all that content (and more) available. I reiterate however, as an open-source community project we'd like to ask you guys to be as responsible as we are for producing the examples, documentation, etc, etc, that you feel is needed for the project. So if you have contributions you'd like to make, please drop me a note off-list. In the absence of contributions from the community, we'll schedule our own as time allows. Best wishes, Steven -- Steven Webster Practice Leader (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] -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton Sent: 07 August 2006 09:41 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Isnt there *any* hello world/getting started doc for cairngorm??? On Monday 07 August 2006 03:51, hank williams wrote: Wow. Thanks. Its amazing that that is burried in someones blog instead of right there with the rest of the cairngorm info on adobe labs. :looks Hmm. For some reason the main Wiki page is locked against edits. I've stuck something on the end of the talk page for the next person though. -- 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 -- 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] ICQ, Skype, Yahoo and other messengers id validation
Yes, but when I'm trying to get online status indicator image, it returns 404 error for all numbers less than 1. On 8/4/06, Rostislav A. Siryk [EMAIL PROTECTED] wrote: Sergey, As I understand, the only requirement for ICQ numbers is to be a number. Historically, ICQ numbers started from 1 and theoretically can have up to infinity digits (now the biggest is 10 but the ICQ community still grows). Here's discussion on it in parallel universe though: http://www.phpinsider.com/smarty-forum/viewtopic.php?p=21490sid=fb282d9296c06c0681fa088b28022c6b Sincerely,Rostislav Sirykhttp://flash-ripper.com/ __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS 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 2][PopUpMenuButton][Bug] Duplicate icons when select menuitems in the pop up menu
Hi, (This bug could be reproduced with PopUpButton as well).See the following example:mx:PopUpMenuButton dataProvider={menuData}/...[Bindable] public var menuData:Array = [ {label: Salvar, icon:sessions.EmbededAssets.add_icon}, {label: Cancelar, icon:sessions.EmbededAssets.cancel_icon} ];in sessions.EmbededAssets class you can find the icons:[Embed(source=/images/states/add_icon.png)]public static const add_icon:Class;As you select some item from the pop up menu and open the menu again to can see now a duplicate icon 2 or 3 pixels to the right and bottom over the previous one in the pop up menu. -- ::| Carlos Rovira::| http://www.carlosrovira.com __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS 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] Isnt there *any* hello world/getting started doc for cairngorm???
We'll be aggregating all the examples that we and the community have written in the weeks ahead, and using the Wiki on Labs to make all that content (and more) available. Will it really take a few weeks to put pointers of alex's work on the wiki? Since it is a community project is it possible to unlock the wiki so that the community can help without bottlenecking at you, given that you dont necessarily always have to time to tend to such things? Regards 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 * 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: Help with SharedObject please!
On Saturday 05 August 2006 14:21, wayneposner wrote: running. Selecting localhost never seems to work for me as it just keeps re-prompting me for the location of the debugger. Run fdb from the command line. Type run. Now access the debug SWF. Wayne Incidently it stops working isn't very helpful - exactly what happens ? -- 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] Isnt there *any* hello world/getting started doc for cairngorm???
Hank, I'm pretty sure the wiki *is* community editable (and that some had done so already) ... if you're having problems doing so then let me know. There's currently a link to Alex's blog, but it doesn't explicitly call out the examples he has currently. Steven Steven WebsterPractice Leader (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 hank williamsSent: 07 August 2006 10:32To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Isnt there *any* hello world/getting started doc for cairngorm??? We'll be aggregating all the examples that we and the community have written in the weeks ahead, and using the Wiki on Labs to make all that content (and more) available.Will it really take a few weeks to put pointers of alex's work on thewiki? Since it is a "community project" is it possible to unlock thewiki so that the community can help without bottlenecking at you,given that you dont necessarily always have to time to tend to suchthings?RegardsHank __._,_.___ -- 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] Isnt there *any* hello world/getting started doc for cairngorm???
Correcting myself; only the DISCUSSION tab is publically editable ... the rest of the content goes through a staging server on adobe.com and only we have edit rights at present. My apologiesI'll endeavour for someone to update as soon as possible. Steven Steven WebsterPractice Leader (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 Steven WebsterSent: 07 August 2006 10:39To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Isnt there *any* hello world/getting started doc for cairngorm??? Hank, I'm pretty sure the wiki *is* community editable (and that some had done so already) ... if you're having problems doing so then let me know. There's currently a link to Alex's blog, but it doesn't explicitly call out the examples he has currently. Steven Steven WebsterPractice Leader (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]com From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of hank williamsSent: 07 August 2006 10:32To: [EMAIL PROTECTED]ups.comSubject: Re: [flexcoders] Isnt there *any* hello world/getting started doc for cairngorm??? We'll be aggregating all the examples that we and the community have written in the weeks ahead, and using the Wiki on Labs to make all that content (and more) available.Will it really take a few weeks to put pointers of alex's work on thewiki? Since it is a "community project" is it possible to unlock thewiki so that the community can help without bottlenecking at you,given that you dont necessarily always have to time to tend to suchthings?RegardsHank __._,_.___ -- 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] Trouble to connect my debug player to flex builder
Hi there, When launching debug through Flex Builder, my page is launched on a local apache through localhost. But my player don't find the debugger (or maybe one time on ten)... What can I do to be sure that all is good ? This is a new fresh install (flex builder and plug-in) and I've well uninstall all previous flex beta. Thanks for any clue -- Flapflap[at]sans-facon.net -- DevBlog : http://www.kilooctet.net -- 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] Isnt there *any* hello world/getting started doc for cairngorm???
Thanks Steven,I think it will greatly benefit re: cairngorm ease of adoption.RegardsHankOn 8/7/06, Steven Webster [EMAIL PROTECTED] wrote: Correcting myself; only the DISCUSSION tab is publically editable ... the rest of the content goes through a staging server on adobe.com and only we have edit rights at present. My apologiesI'll endeavour for someone to update as soon as possible. Steven Steven WebsterPractice Leader (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:flexcoders@yahoogroups.com] On Behalf Of Steven WebsterSent: 07 August 2006 10:39To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Isnt there *any* hello world/getting started doc for cairngorm??? Hank, I'm pretty sure the wiki *is* community editable (and that some had done so already) ... if you're having problems doing so then let me know. There's currently a link to Alex's blog, but it doesn't explicitly call out the examples he has currently. Steven Steven WebsterPractice Leader (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: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of hank williamsSent: 07 August 2006 10:32To: [EMAIL PROTECTED]ups.comSubject: Re: [flexcoders] Isnt there *any* hello world/getting started doc for cairngorm??? We'll be aggregating all the examples that we and the community have written in the weeks ahead, and using the Wiki on Labs to make all that content (and more) available.Will it really take a few weeks to put pointers of alex's work on thewiki? Since it is a community project is it possible to unlock thewiki so that the community can help without bottlenecking at you,given that you dont necessarily always have to time to tend to suchthings?RegardsHank __._,_.___ -- 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:What do you use for modelling a Flex2 application...?
I use a UML Model along with a code generation architecting software. In situations where you get to start an app from scratch its possible to generate up to 75% of the code using this method. I am working on some templates for Flex 2 right now. --Kelly -- 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:What do you use for modelling a Flex2 application...?
Hi Kelly, sounds great with the Flex templates ;) What software do you use for your modelling? 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 Dekayd wrote: I use a UML Model along with a code generation architecting software. In situations where you get to start an app from scratch its possible to generate up to 75% of the code using this method. I am working on some templates for Flex 2 right now. --Kelly -- 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] ApplicationControlBar - highlightAlphas doesn't exist but I can still use it
Hello all, I'm using an ApplicationControlBar and needed to use the style highlightAlphas, as I did with the beta versions. In the MXML code and in the documentation, this style doesn't exist, but if I set this style with Action Script I can still use it. Is this normal? Is this a compatibility feature with the Beta versions? Or is this a bug? The problem is that, in the design point of view I need this feature, but I don't know if this will be erased in the future. Best, Nelson Batista -- 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] Chage text on main preload
I think you posted the same question on the Discussion forum, it's answered there for you. Thanks, -sam On 8/2/06, Jesús Iglesias [EMAIL PROTECTED] wrote: Hi again, Does anybody know how to change the text of the main preload Loading and Initializing? Thanks. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS 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] Security Question
I am curious about the security issues associated with sending commands from flex to a remote database. As I write code to send commands to the server, I am wondering how secure it is to do so. In other words. If I want to send a command to the server to update a field in the database, how easy is it form someone else to write some code to pretend to be a flash client sending that command. In the flash environment I had this concern, but fewer people were doing sophisiticated client side updating of data in flash. In flex, remote data access is its primary reason for existence, and I am wondering if there is a better security strategy. For example can one say, If you use FDS you will be much more secure? I know that FDS allows for encrypted communication. But that only prevents someone from spying on a communication. But if an app pretends to be an authorized client and knows (or guesses) the key of a record, they could really wreak havoc. So is it possible to write a secure application in flex (like for banking), where there is data intelligence on the client side. Or must flex apps that need to manipulate data be more like html apps where they *only* handle presentation and no business logic? 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 * 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] ApplicationControlBar - highlightAlphas doesn't exist but I can still use it
Nelson: I did not use the beta version, but . . . . was the highlightAlphas replaced with fillAlphas? Jack From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of nelsoncostabatistaSent: Monday, August 07, 2006 6:36 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] ApplicationControlBar - highlightAlphas doesn't exist but I can still use it Hello all,I'm using an ApplicationControlBar and needed to use the style "highlightAlphas", as I did with the beta versions.In the MXML code and in the documentation, this style doesn't exist, but if I set this style with Action Script I can still use it.Is this normal? Is this a compatibility feature with the Beta versions? Or is this a bug?The problem is that, in the design point of view I need this feature, but I don't know if this will be erased in the future.Best,Nelson Batista __._,_.___ -- 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] ArrayUtil.toArray trouble (works in beta 3 not in release)
Hi there, I use to have some httpservice xml result binding to an array using ArrayUtil.toArray method. They used has a dataprovider for a combobox. In beta 3 all is ok Now my combobox only show one ligne of [Object object] seperate with comas. I d'ont see anything one change on this method here : http://weblogs.macromedia.com/flexteam/archives/2006/06/flex_2_changes.cfm So is there an explaination ? -- Flapflap[at]sans-facon.net -- DevBlog : http://www.kilooctet.net -- 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] TitleWindow Text colors
Hi Tim, You can change the Title text color using titleStyleName. But changing it to two colors is not possible, you could probably us the status and use the statusStyleNameto change it's color too or use and image in front of the text which has the textCurrent Window and set it as the titleIcon. Hope this helps, -sam On 8/2/06, sufibaba [EMAIL PROTECTED] wrote: Hello flexors,Does anyone know how to make the Title text of the TitleWindow Control in different colors.For example, in the title I would like the following text displayed.Current Window: ExplorerPlusThanks in advance.-Tim __._,_.___ -- 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] TitleWindow Text colors
The closest that you will be able to get is setting the titleIcon(to an image with text in it) and changing the titleStyleName. -sam On 8/7/06, Samuel Reuben [EMAIL PROTECTED] wrote: Hi Tim, You can change the Title text color using titleStyleName. But changing it to two colors is not possible, you could probably us the status and use the statusStyleNameto change it's color too or use and image in front of the text which has the textCurrent Window and set it as the titleIcon. Hope this helps, -sam On 8/2/06, sufibaba [EMAIL PROTECTED] wrote: Hello flexors,Does anyone know how to make the Title text of the TitleWindow Control in different colors.For example, in the title I would like the following text displayed.Current Window: ExplorerPlusThanks in advance.-Tim __._,_.___ -- 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: RadioButtons as customItemRenderers/Editors in DataGrids
Tim, thanks ... yeah I did discover that. My RadioButtons have: groupName="{(data.parent())[EMAIL PROTECTED]" My only issue now is that there are *multiple* RadioButtonGroups in my app, and I need to set the id of each one from the XML I've read in. It seems that the id can only be of type text? I'd like it to be of the form as above, i.e. id="{(data.parent())[EMAIL PROTECTED]" , but it doesn't seem to work. Cheers J -Original Message-From: Tim Hoff [mailto:[EMAIL PROTECTED]Sent: Saturday, 5 August 2006 8:06 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Re: RadioButtons as customItemRenderers/Editors in DataGrids Hi John, To get the RadioButtons inside an itemRenderer to work together, you need to associate them with a common RadioButtonGroup. Place this tag right above theDataGrid in your application: mx:RadioButtonGroup id="myRadioButtonGroup"/ Then,use code like this inyouritemRenderer: mx:RadioButton id="myRadioButton" group="{parentApplication.myRadioButtonGroup}"/ -TH--- In flexcoders@yahoogroups.com, "John Mazzocchi" [EMAIL PROTECTED] wrote: The subject line pretty much says it all ... has anyone had any experience with this? The problem being that the RadioButtons, each one created by a customItemEditor/Renderer and appearing one per row in a DataGrid, seem to act independently of each other ... Ta. John __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS 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] Java developers: How do you organize your projects?
No special facades. Most of the time consists of a series of webmethods within a webservices. The data that is returned is static. When development progresses the static data is replaced by the programming logic. ~joost Van: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Namens Bjorn SchultheissVerzonden: maandag 7 augustus 2006 3:47Aan: flexcoders@yahoogroups.comOnderwerp: RE: [flexcoders] Java developers: How do you organize your projects? Hi Joost, Do you use any *special* fake facade for testing server interaction? Regards, Bjorn Schultheiss Senior Flash Developer QDC Technologies From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Joost NuijtenSent: Monday, 7 August 2006 10:57 AMTo: [EMAIL PROTECTED]ups.comSubject: RE: [flexcoders] Java developers: How do you organize your projects? Hi Dave, I'm doing the following in my projects: - Flex and Java have their own Eclipse instances. I think there's no reason to mingle them. In my projects the role of Java developer and Flex developer are always occupied by two persons. - We have a seperate server that acts as the release server. The Flex developer is able to test on his local machine. The Java is able to test his work by using test cases with JUnit. - The interface between Flex and Java is specified by the Java and Flex developer. Based on the specifications a fake facade is created that the Flex developer can use to implement server interaction. - Meanwhile the Java developer implements the interface. Everytime a stable version becomes available it is published to the central server and a JAR is commited to cvs. The Flex developer can use this JAR to test the interface on his local machine. - The Java and Flex part are two seperate projects (also in cvs). Projects are merged by committing a stable JAR into the Flex project. The output of the Flex project (including JAR) will be the final product. Maybe this will help you a bit. ~Joost Van: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] Namens Dave BobbyVerzonden: zondag 6 augustus 2006 23:41Aan: [EMAIL PROTECTED]ups.comOnderwerp: [flexcoders] Java developers: How do you organize your projects? Currently, I have a client-side flex running in Flex Builder stand-alone and a java server-side which is running in Eclipse, eventually deployed to tomcat.Now when I run from my Flex Builder, I can access my tomcat by just saying http://localhost:8080/project/login.html?user=apass=b.. but this is not extensible, so the question is how do you physically lay out your projects? .. do you have ant builds that create a war with all the files copied over?.. do you separate your flex builder from eclipse or run them together as flex (plugin) and java (in eclipse) at one time.. if you develop all in one project (java and flex) how do you separate these concerns, for example, flex requires that application mxml be in the root of the project and say cairngorm files would be in root/com/... I need to set this up fast before other developers join the project, appreciate your inputs.Thanks.Dave. __._,_.___ -- 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] Isnt there *any* hello world/getting started doc for cairngorm???
I came across some start tutorials last week. Let's see if I can find them again... Anyway, the book 'Developing rich internet clients with Macromedia Flex'helped a lot. It's for Flex 1.5. I still use it to teach new Flex developers, but there's a new version coming for Flex 2. Van: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Namens hank williamsVerzonden: maandag 7 augustus 2006 4:02Aan: flexcoders@yahoogroups.comOnderwerp: [flexcoders] Isnt there *any* hello world/getting started doc for cairngorm??? Ok so I downloaded caringorm and installed.Now what?There is API doc, but that is really not useful until you know whatyou are doing and you just need to remember the API.There is this 6 part article on the adobe website. But it is far froma hello world. It discusses theory, which is useful. But a simple,complete example (like in the flex getting started docs) would be muchmore helpful. It seems to refer to a store application, but as far asI can tell, this store application is not included with caringorm.So I am just looking for a simple example "hello world" applicationand an explanation of how it works.Does this really not exist, or have I just missed it?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] [Flex 2][ArrayCollection][Bug] Bindings don't executing when setting AC to a new ArrayCollection()
The Flex components use a little trick to make the binding work. They apply an event listener to a collection. Van: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Namens Gareth EdwardsVerzonden: maandag 7 augustus 2006 6:56Aan: flexcoders@yahoogroups.comOnderwerp: Re: [flexcoders] [Flex 2][ArrayCollection][Bug] Bindings don't executing when setting AC to a new ArrayCollection() I'm a little confused, it seems it works o.k in the example?http://www.adobe.com/devnet/flex/quickstart/using_data_providers/Whats occurring in the above example?CheersGareth.Matt Chotin wrote: If you are bound to the ArrayCollection then manipulating the AC itself doesnt re-trigger the binding. You need to do a re-assignment. If that isnt working make sure that the variable for your AC is [Bindable] and if you wrote a setter and used [Bindable(event=)] that you actually dispatched the event. From: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] On Behalf Of Carlos RoviraSent: Sunday, August 06, 2006 10:25 AMTo: [EMAIL PROTECTED]ups.comSubject: [flexcoders] [Flex 2][ArrayCollection][Bug] Bindings don't executing when setting AC to a new ArrayCollection() Hi,I'm experiencing a bug with an ArrayCollection. I want to remove the contents and the new state should dispatch a Binding, but this is not happen at all.I was trying several methods:* setting to null; * new ArrayCollection();* calling removeAll()* calligin refresh() as wellbut nothing happens.I suppose that this should be a known issue, anyone knows some trick to avoid this problem?Thanks. -- ::| Carlos Rovira::| http://www.carlosrovira.com __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS 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] TileList dataprovider refresh Problem
Hi, I've got some serious trouble using a TileList with Data-Binding. I have a TileList to display a part of an XML and a selectbox to switch betwenn different parts of this xml (chapters). The XMLListCollection containing the content of the TileList is Bindable and even changes, as you can see in the Debug-Textarea on the right side. But the TileList even does not notice about changing it's (bindable) dataprovider, all kinds of methods like invalidateData() or something does not take any effect. Does anybody has an idea, what the problem is? ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; initialize=init() layout=absolute mx:Script ![CDATA[ import mx.collections.XMLListCollection; [Bindable] private var pages:XMLListCollection; [Bindable] private var chapters:XMLListCollection; private function init():void { chapters = new XMLListCollection (catalogueXML..chapter.chaptertitle); trace('chapters: ' + chapters.toXMLString()); pages = new XMLListCollection (catalogueXML.chapter[0]..page); pageTileList.dataProvider = pages; } private function switchChapters (event:Event):void { pages = new XMLListCollection (catalogueXML.chapter[event.target.selectedIndex]..page); pageTileList.initialize(); } ]] /mx:Script mx:ComboBox dataProvider={chapters} labelField=chaptertitle change=switchChapters(event) left=470 top=10/ mx:TileList id=pageTileList width=450 left=10 top=10 bottom=10 itemRenderer=TestTileListItemRenderer/mx:TileList mx:TextArea id=output text={pages.toXMLString()} left=470 right=10 bottom=10 top=40 /mx:TextArea mx:XML id=catalogueXML catalogue chapter chaptertitle chapter 1 /chaptertitle page pagetitle This is a test /pagetitle /page page pagetitle This is not a test /pagetitle /page page pagetitle Sd this is a test /pagetitle /page page pagetitle This is for testing /pagetitle /page page pagetitle Oh no, even a test too... /pagetitle /page /chapter chapter chaptertitle chapter 2 /chaptertitle page pagetitle This is a test on page 2 /pagetitle /page page pagetitle This is not a test on page 2 /pagetitle /page page pagetitle Oh no, even a test on page 2 too... /pagetitle /page /chapter /catalogue /mx:XML /mx:Application the ItemRenderer: ?xml version=1.0 encoding=utf-8? mx:Panel xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute width=220
[flexcoders] Laying out two charts
Hi, I have a requirement where in I need to show two charts in a form of a Dashboard. I have two non-dependant charts in two mxml files (Linechart.mxml and pieChart.mxml).How do i integrate them in a single mxml file - main.mxml file. Thanks in advance, Pramod -- 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] Custom item renderer and view states
Hi Bjorn, Yes, I'm able to trace the text box. Everything seems to be alright, but it is just not visible. I removed all masks, and other objects overlapping the textbox, but it's just gone. Any ideas? cheers, Joost Van: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Namens Bjorn SchultheissVerzonden: maandag 7 augustus 2006 3:43Aan: flexcoders@yahoogroups.comOnderwerp: RE: [flexcoders] Custom item renderer and view states Are you able to trace from the ItemRenderer class the status of the text box? Regards, Bjorn Schultheiss Senior Flash Developer QDC Technologies From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of joostnuijtenSent: Monday, 7 August 2006 9:01 AMTo: [EMAIL PROTECTED]ups.comSubject: [flexcoders] Custom item renderer and view states Hi there,I'm having this custom itemrender (which is an AS-class, not a MXML).When a user clicks on an item the view state should switch to'selected'. The selectedstate adds an Text tag. But for some reasonthe text box does not show up. When I add an effect to the selectedstate, the effect shows up after clicking. So the state change works,but why is the text box not visible?The code:albums:AlbumBrowserid="albumBrowser"width="600"dataProvider="{Model.instance.album.aPhotoAlbumsOnPage}" albums:itemRenderermx:Component id="albumRenderer"albums:AlbumRendererbuttonMode="true" (which is an AS-class that extends UIComponent andimplements IDataRenderer)albums:statesmx:State name="selectedState"mx:AddChildmx:Text text="This a test"//mx:AddChild/mx:State/albums:states/albums:AlbumRenderer/mx:Component/albums:itemRenderer/albums:AlbumBrowserAnyone? Thanks. Joost __._,_.___ -- 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] Dump?
nice one! Van: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Namens Jeremy LuVerzonden: maandag 7 augustus 2006 4:08Aan: flexcoders@yahoogroups.comOnderwerp: Re: [flexcoders] Dump? -import mx.utils.ObjectUtil;ObjectUtil.toString( loginVO );-This makes life a bit easier :-)Jeremy. On 8/7/06, Bjorn Schultheiss bjorn.schultheiss@qdc.net.au wrote: already answered by joost Regards, Bjorn Schultheiss Senior Flash Developer QDC Technologies From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Bjorn SchultheissSent: Monday, 7 August 2006 11:38 AMTo: [EMAIL PROTECTED]ups.comSubject: RE: [flexcoders] Dump? public function dump(obj:*):String { for (var i in obj) { trace('key: '+i+', value: '+obj[i] ); } } Regards, Bjorn Schultheiss Senior Flash Developer QDC Technologies From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of malik_robinsonSent: Monday, 7 August 2006 10:18 AMTo: [EMAIL PROTECTED]ups.comSubject: [flexcoders] Dump? Hi,How can I dump the following variable "loginVO" and see its output?public function loginUser() : void{var loginVO : LoginVO = new LoginVO();loginVO.username = username.text;loginVO.password = password.text;var event : LoginEvent = new LoginEvent( loginVO );CairngormEventDispatcher.getInstance().dispatchEvent( event );}I would like to dump similar to how you dump the output of a variable in ColdFusionThanks,-Malik __._,_.___ -- 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 migrate HAccordion from flex 1.5 to flex 2 ?
I'll port HAccordion to FLEX 2 in the next few days, just getting my bearings after a MIA from FLEX for a bit :)On 8/4/06, Tom Chiverton [EMAIL PROTECTED] wrote:On Thursday 03 August 2006 13:37, exeypan wrote: //before my correcting /* line 52 */ public class mx:Canvas extends Box //after my correcting /* line 52 */ public class VBox extends BoxWhy not Canvas as the base class ? --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.comYahoo! 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/ -- Regards,Scott Barneshttp://www.mossyblog.com __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS 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: WSDLError:Element not resolvable
Hi, I am not sure if my answer is really the answer, since I personally dont use the Webservice tag, but the webservice action script classes. When a webservice is initialized, it will load the wsdl from an URL. This can take some time and is an asynchronous process. This means that the webservice loads the WSDL in the background. If it is not finished loading/parsing the wsdl and you try to invoke an operation it will return errors. Try to wait a few seconds and invoke it then, if the error still remains, then this is the reason. How to solve it? I did it like this: secWsImpl = new WebService(); secWsImpl.addEventListener(LoadEvent.LOAD, handleWsLoaded); secWsImpl.addEventListener(fault, handleWsError); secWsImpl.loadWSDL(/FlexTestWebServices/wsdl/SecurityWebServiceRpcEnc8080.wsdl); In the method handleWsLoaded you can then invoke an operation if youd like, or enable a button or something like that. Cheers, Frnack From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Derek Adams Sent: Sunday, August 06, 2006 11:56 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: WSDLError:Element not resolvable Did you have any luck figuring this one out? I am having the same problem. The first call to a particular operation always fails, then all calls after that work fine. Even weirder is the fact that a call to another operation on the same service is successful right before the other call fails. --- In [EMAIL PROTECTED]ups.com, flexava [EMAIL PROTECTED] wrote: I ran into a strange problem when I was trying to call a web service.Here's the source: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml layout=vertical mx:Script ![CDATA[ import mx.rpc.events.FaultEvent; import mx.controls.Alert; import mx.rpc.events.ResultEvent; import com.adobe.cairngorm.control.CairngormEventDispatcher; import com.ceno.umc.control.LoginEvent; private function onResult(event : ResultEvent) : void { Alert.show(event.result.toString (),result); } private function onFault(event : FaultEvent) : void { Alert.show (event.fault.faultString,faultString); } ]] /mx:Script mx:WebService id=aService service=umc/umc/auth port=umc/umc/authHttpPort wsdl=http://localhost:8008/ws/services/umc/umc/auth? wsdl showBusyCursor=true result=onResult(event) fault=onFault(event) mx:operation name=login resultFormat=e4x mx:request req subject admin /subject username admin /username password admin /password /req /mx:request /mx:operation /mx:WebService mx:Button label=Login click=aService.login.send()/ /mx:Application when I clicked the login button it first showed me an error dialog saying: [WSDLError faultString=Element http://cmd.umc.ceno.com:loginResponse not resolvable faultCode=WSDL.BadElement faultDetail=null] at mx.rpc.soap::WSDLParser/http://www.adobe.com/2006/flex/mx/internal::p arseMessage() at mx.rpc.soap::WSDLOperation/parseMessages() at mx.rpc.soap::Operation/http://www.adobe.com/2006/flex/mx/internal::in vokePendingCall() at mx.rpc.soap::Operation/send() at Function/http://adobe.com/AS3/2006/builtin::apply() at mx.rpc.soap.mxml::Operation/send() at WSTest/___Button1_click() then I clicked the login button again,eveything worked.Any idea? Thanks. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS 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: Dump?
You might want to look at Mike Nimers Debug.show() function http://www.mikenimer.com/index.cfm/2006/7/5/FlexDebugPanel It's as close to a cfdump as you will get in Flex. --- In flexcoders@yahoogroups.com, malik_robinson [EMAIL PROTECTED] wrote: Hi, How can I dump the following variable loginVO and see its output? public function loginUser() : void { var loginVO : LoginVO = new LoginVO(); loginVO.username = username.text; loginVO.password = password.text; var event : LoginEvent = new LoginEvent( loginVO ); CairngormEventDispatcher.getInstance ().dispatchEvent( event ); } I would like to dump similar to how you dump the output of a variable in ColdFusion Thanks, -Malik -- 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: Metadata in AS3
Waiting for reply. --- In flexcoders@yahoogroups.com, maxym.hryniv [EMAIL PROTECTED] wrote: Hi all. How can I receive class related metadata in AS3. F.ex i have class with metadata. [Event(name=enableChange, type=flash.events.Event)] public class ModalText extends TextArea { How can i receive that class has such metadata? For properties i can use describeType, but i cannot find any class related metadata in this description. One more: how can I create my own metadata tags??? F.ex i want to use [XMLSerializable(target=attribute)]. public var someProperty : SomeType; Thanx in advance. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] mxmlc compiler error
Hi I am trying to compile my mxml code with "mxmlc". While compiling i am getting the fallowing error. Can any give me the clue, what might be the problem here( I have setted allow-url-overridetrue/allow-url-override also). I am not getting the same error for all fi;es. Some small files are compiling for me. D:\SVN\Code\myprojfit\web\WEB-INF\flex\binmxmlc -o d:\SVN\Code\myprojfit\web\headerInput.swf d:\SVN\Code\myprojfit\web\headerInput.mxmlNo flexlib specified - assuming default of D:\SVN\Code\myprojfit\web\WEB-INF\flex\lib08/07 17:34:12 WARNING License Service: The evaluation period for Flex has expired; switching to the Developer Edition08/07 17:34:12 INFO License Service: Flex 1.5 Developer Edition enabledWarning: applications compiled into standalone SWFs using the Trial and Developer editions of Macromedia Flex expire 1 day after creation. This restriction isonly in place for the Trial and Developer editions of Macromedia Flex.Error: No gatewayUrl for RemoteObject specified. You must set url to a value for RemoteObject in flex-config.xml, set allow-url-override to true for RemoteObject in flex-config.xml, or specify gatewayUrl when using mxmlc. (D:\SVN\Code\myprojfit\web\headerInput.mxml:58)Error: No gatewayUrl for RemoteObject specified. You must set url to a value for RemoteObject in flex-config.xml, set allow-url-override to true for RemoteObject in flex-config.xml, or specify gatewayUrl when using mxmlc. (D:\SVN\Code\myprojfit\web\headerInput.mxml:63)Error: No gatewayUrl for RemoteObject specified. You must set url to a value for RemoteObject in flex-config.xml, set allow-url-override to true for RemoteObject in flex-config.xml, or specify gatewayUrl when using mxmlc. (D:\SVN\Code\myprojfit\web\headerInput.mxml:64)Error: No gatewayUrl for RemoteObject specified. You must set url to a value for RemoteObject in flex-config.xml, set allow-url-override to true for RemoteObject in flex-config.xml, or specify gatewayUrl when using mxmlc. (D:\SVN\Code\myprojfit\web\headerInput.mxml:65)Error: Don't know how to parse element "http://www.macromedia.com/2003/mxml:EmailValidator". It is not a known type or a property of mx.core.Application. (D:\SVN\Code\myprojfit\web\headerInput.mxml:78)Error: Don't know how to parse element "http://www.macromedia.com/2003/mxml:StringValidator". It is not a known type or a property of mx.core.Application. (D:\SVN\Code\myprojfit\web\headerInput.mxml:79)Error: Don't know how to parse element "http://www.macromedia.com/2003/mxml:Grid". It is not a known type or a property of mx.core.Application. (D:\SVN\Code\myprojfit\web\headerInput.mxml:80)Failed to compile headerInput.mxml Thanks __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS 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] Image manipulation on client side
Hi all. Thanks for the rapid and useful answers to my first question as a rookie about flex. Now another question. How can my flex 2 application manipulate images on the client file system? Read manipulate as sepia-toning, resizing, rotating, exif-reading and uploading to server. Mainly jpgs. 1000 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] ApplicationControlBar - highlightAlphas doesn't exist but I can still use it
Hello Jack, Im using both fillAphas and highlightAlphas, the first gives us the fill alpha for the fill colors of the component and the second one gives us a glossy effect (like an oval glass). Example: public function extrastyle():void{ myAppBar.setStyle('highlightAlphas',[0.5, 0.5]); } mx:ApplicationControlBar id=myAppBar fillColors=[#66, #cc] fillAlphas=[0.39, 0.7] Best, Nelson Batista From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jack W. Caldwell @ Zingit Technologies, Inc. Sent: segunda-feira, 7 de Agosto de 2006 12:59 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] ApplicationControlBar - highlightAlphas doesn't exist but I can still use it Nelson: I did not use the beta version, but . . . . was the highlightAlphas replaced with fillAlphas? Jack From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of nelsoncostabatista Sent: Monday, August 07, 2006 6:36 AM To: [EMAIL PROTECTED]ups.com Subject: [flexcoders] ApplicationControlBar - highlightAlphas doesn't exist but I can still use it Hello all, I'm using an ApplicationControlBar and needed to use the style highlightAlphas, as I did with the beta versions. In the MXML code and in the documentation, this style doesn't exist, but if I set this style with Action Script I can still use it. Is this normal? Is this a compatibility feature with the Beta versions? Or is this a bug? The problem is that, in the design point of view I need this feature, but I don't know if this will be erased in the future. Best, Nelson Batista __._,_.___ -- 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] Dump?
Hmm, I'm getting this error: Error: Error #2099: The loading object is not sufficiently loaded to provide this information.at flash.display::LoaderInfo/get actionScriptVersion()at mx.utils::ObjectUtil$/::internalToString()at mx.utils::ObjectUtil$/::internalToString()at mx.utils::ObjectUtil$/::internalToString()at mx.utils::ObjectUtil$/::internalToString()at mx.utils::ObjectUtil$/::internalToString()at mx.utils::ObjectUtil$/::internalToString()at mx.utils::ObjectUtil$/::internalToString() Van: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Namens Jeremy LuVerzonden: maandag 7 augustus 2006 4:08Aan: flexcoders@yahoogroups.comOnderwerp: Re: [flexcoders] Dump? -import mx.utils.ObjectUtil;ObjectUtil.toString( loginVO );-This makes life a bit easier :-)Jeremy. On 8/7/06, Bjorn Schultheiss bjorn.schultheiss@qdc.net.au wrote: already answered by joost Regards, Bjorn Schultheiss Senior Flash Developer QDC Technologies From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Bjorn SchultheissSent: Monday, 7 August 2006 11:38 AMTo: [EMAIL PROTECTED]ups.comSubject: RE: [flexcoders] Dump? public function dump(obj:*):String { for (var i in obj) { trace('key: '+i+', value: '+obj[i] ); } } Regards, Bjorn Schultheiss Senior Flash Developer QDC Technologies From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of malik_robinsonSent: Monday, 7 August 2006 10:18 AMTo: [EMAIL PROTECTED]ups.comSubject: [flexcoders] Dump? Hi,How can I dump the following variable "loginVO" and see its output?public function loginUser() : void{var loginVO : LoginVO = new LoginVO();loginVO.username = username.text;loginVO.password = password.text;var event : LoginEvent = new LoginEvent( loginVO );CairngormEventDispatcher.getInstance().dispatchEvent( event );}I would like to dump similar to how you dump the output of a variable in ColdFusionThanks,-Malik __._,_.___ -- 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] [Flex 2][ArrayCollection][Bug] Bindings don't executing when setting AC to a new ArrayCollection()
Hi Joost, Could you tell me the file and line in the flex framework where I could see that listener?Thanks.C.On 8/7/06, Joost Nuijten [EMAIL PROTECTED] wrote: The Flex components use a little trick to make the binding work. They apply an event listener to a collection. Van: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] Namens Gareth EdwardsVerzonden: maandag 7 augustus 2006 6:56Aan: [EMAIL PROTECTED]ups.comOnderwerp: Re: [flexcoders] [Flex 2][ArrayCollection][Bug] Bindings don't executing when setting AC to a new ArrayCollection() I'm a little confused, it seems it works o.k in the example?http://www.adobe.com/devnet/flex/quickstart/using_data_providers/ Whats occurring in the above example?CheersGareth.Matt Chotin wrote: If you are bound to the ArrayCollection then manipulating the AC itself doesn't re-trigger the binding. You need to do a re-assignment. If that isn't working make sure that the variable for your AC is [Bindable] and if you wrote a setter and used [Bindable(event="…")] that you actually dispatched the event. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Carlos RoviraSent: Sunday, August 06, 2006 10:25 AMTo: flexcoders@yahoogroups.com Subject: [flexcoders] [Flex 2][ArrayCollection][Bug] Bindings don't executing when setting AC to a new ArrayCollection() Hi,I'm experiencing a bug with an ArrayCollection. I want to remove the contents and the new state should dispatch a Binding, but this is not happen at all.I was trying several methods:* setting to null; * new ArrayCollection();* calling removeAll()* calligin refresh() as wellbut nothing happens.I suppose that this should be a known issue, anyone knows some trick to avoid this problem?Thanks. -- ::| Carlos Rovira::| http://www.carlosrovira.com -- ::| Carlos Rovira::| http://www.carlosrovira.com __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS 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] Dump?
On Monday 07 August 2006 03:32, Joost Nuijten wrote: Error: Error #2099: The loading object is not sufficiently loaded to provide this information. Try calling it a bit later on in the app. start up. -- 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] Re: flex2 final - cant use 'Embed ' inside a style sheet
that worked!!! thanks. --- In flexcoders@yahoogroups.com, nelsoncostabatista [EMAIL PROTECTED] wrote: Hello all, For the CSS, to avoid errors you must write like this: upSkin: Embed(source=/yourAppRoute/button1.png); notice the . Best. --- In flexcoders@yahoogroups.com, bhaq1972 mbhaque@ wrote: i was trying out the example where it says you can use an Embed in an external style sheet so i tried this .MyButton { upSkin: Embed('../assets/button1.png'); } but i get an Invalid Embed directive in stylesheet - can't resolve source 'Embed ('../assets/button1.png)' any ideas? thanks bod -- 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: mxmlc compiler error - more described
Hi, I am having remoteobjects in my mxml file. I am able to compile my file with D:\SVN\Code\myprojfit\web\WEB-INF\flex\binmxmlc -o d:\SVN\Code\myprojfit\web\headerInput.swf d:\SVN\Code\myprojfit\web\headerInput.mxmlNo flexlib specified - assuming default of D:\SVN\Code\myprojfit\web\WEB-INF\flex\lib -gatewayurl http://localhost:8090/myprojfit But while opening my flash file i am getting error message as-- "your application is trying to internet enabled location..to let this application with internet.. click settings..." Can anybody clear me how to run this? - Original Message - From: Satish To: flexcoders@yahoogroups.com Sent: Monday, August 07, 2006 5:47 PM Subject: mxmlc compiler error Hi I am trying to compile my mxml code with "mxmlc". While compiling i am getting the fallowing error. Can any give me the clue, what might be the problem here( I have setted allow-url-overridetrue/allow-url-override also). I am not getting the same error for all fi;es. Some small files are compiling for me. D:\SVN\Code\myprojfit\web\WEB-INF\flex\binmxmlc -o d:\SVN\Code\myprojfit\web\headerInput.swf d:\SVN\Code\myprojfit\web\headerInput.mxmlNo flexlib specified - assuming default of D:\SVN\Code\myprojfit\web\WEB-INF\flex\lib08/07 17:34:12 WARNING License Service: The evaluation period for Flex has expired; switching to the Developer Edition08/07 17:34:12 INFO License Service: Flex 1.5 Developer Edition enabledWarning: applications compiled into standalone SWFs using the Trial and Developer editions of Macromedia Flex expire 1 day after creation. This restriction isonly in place for the Trial and Developer editions of Macromedia Flex.Error: No gatewayUrl for RemoteObject specified. You must set url to a value for RemoteObject in flex-config.xml, set allow-url-override to true for RemoteObject in flex-config.xml, or specify gatewayUrl when using mxmlc. (D:\SVN\Code\myprojfit\web\headerInput.mxml:58)Error: No gatewayUrl for RemoteObject specified. You must set url to a value for RemoteObject in flex-config.xml, set allow-url-override to true for RemoteObject in flex-config.xml, or specify gatewayUrl when using mxmlc. (D:\SVN\Code\myprojfit\web\headerInput.mxml:63)Error: No gatewayUrl for RemoteObject specified. You must set url to a value for RemoteObject in flex-config.xml, set allow-url-override to true for RemoteObject in flex-config.xml, or specify gatewayUrl when using mxmlc. (D:\SVN\Code\myprojfit\web\headerInput.mxml:64)Error: No gatewayUrl for RemoteObject specified. You must set url to a value for RemoteObject in flex-config.xml, set allow-url-override to true for RemoteObject in flex-config.xml, or specify gatewayUrl when using mxmlc. (D:\SVN\Code\myprojfit\web\headerInput.mxml:65)Error: Don't know how to parse element "http://www.macromedia.com/2003/mxml:EmailValidator". It is not a known type or a property of mx.core.Application. (D:\SVN\Code\myprojfit\web\headerInput.mxml:78)Error: Don't know how to parse element "http://www.macromedia.com/2003/mxml:StringValidator". It is not a known type or a property of mx.core.Application. (D:\SVN\Code\myprojfit\web\headerInput.mxml:79)Error: Don't know how to parse element "http://www.macromedia.com/2003/mxml:Grid". It is not a known type or a property of mx.core.Application. (D:\SVN\Code\myprojfit\web\headerInput.mxml:80)Failed to compile headerInput.mxml Thanks __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS 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] Calendar component
Has anyone built a calendar component (not the date picker) that looks like an acutal calendar? -- diabetic? http://www.diabetesforums.com Albert Einstein - It's not that I'm so smart, it's just that I stay with problems longer. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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][ArrayCollection][Bug] Bindings don't executing when setting AC to a new ArrayCollection()
doesn't that custom setter need to broadcast a change event? I'm no AS master yet, but I wouldn't expect the below to work. Why would a change in sessionUsers fire your getter/setter for sessionUsersToString, eh? Try creating a function sessionUsersToString() with this signaturepublic function sessionUsersToString( acIn:ArrayCollection ) : String {}Then havemx:TextInput id=stringResult text={sessionUsersToString( sessionUsers )}/ Now, if sessionUsers is changed, binding events should fire, and sessionUsersToString() is triggered.DKOn 8/7/06, Joost Nuijten [EMAIL PROTECTED] wrote: The Flex components use a little trick to make the binding work. They apply an event listener to a collection. Van: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] Namens Gareth EdwardsVerzonden: maandag 7 augustus 2006 6:56Aan: flexcoders@yahoogroups.comOnderwerp: Re: [flexcoders] [Flex 2][ArrayCollection][Bug] Bindings don't executing when setting AC to a new ArrayCollection() I'm a little confused, it seems it works o.k in the example? http://www.adobe.com/devnet/flex/quickstart/using_data_providers/Whats occurring in the above example?CheersGareth.Matt Chotin wrote: If you are bound to the ArrayCollection then manipulating the AC itself doesn't re-trigger the binding. You need to do a re-assignment. If that isn't working make sure that the variable for your AC is [Bindable] and if you wrote a setter and used [Bindable(event="…")] that you actually dispatched the event. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Carlos RoviraSent: Sunday, August 06, 2006 10:25 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] [Flex 2][ArrayCollection][Bug] Bindings don't executing when setting AC to a new ArrayCollection() Hi,I'm experiencing a bug with an ArrayCollection. I want to remove the contents and the new state should dispatch a Binding, but this is not happen at all.I was trying several methods:* setting to null; * new ArrayCollection();* calling removeAll()* calligin refresh() as wellbut nothing happens.I suppose that this should be a known issue, anyone knows some trick to avoid this problem?Thanks. -- ::| Carlos Rovira::| http://www.carlosrovira.com -- Douglas Knudsenhttp://www.cubicleman.comthis is my signature, like it? __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS 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] Web Service arguments in AS - how do you create repeated children?
Hello, I am sending arguments to my SOAP method, but can't figure out how to do repeated children in AS. For example, part of my call looks like this in XML: SelectedPlans PlanNumber12345/PlanNumber PlanNumber56789/PlanNumber /SelectedPlans I cannot figure out how to create this structure in AS. It seems that I have to use an Object (args.SelectedPlans = new Object();) in order for the name to be preserved during the conversion to XML, but objects obviously can't have 2 properties with the same name. Does anyone know how to do this? Thanks, 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] iFrame for Flex2 final?
Does anyone have sample code for iFrames Flex 2? Everything I found was either for Flex 1.5 or for one of the beta versions of Flex 2. Shan __._,_.___ -- 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.10.7/410 - Release Date: 8/5/2006
[flexcoders] dragmanager - swfloader as dragproxy
Hi everyone, I was wondering if anyone has successfully used a swfloader instead of an image for a dragproxy. I've been playing around with it but have come up against a 1009 error (below). My code passes the swfloader to the dragmanager only after the complete event has fired. When running in flash player I can click through the error and then drag the SWF properly. Makes me think that something else needs to be initialised. Any ideas?AngusConfigured listener handler: progressHandler loaded:130556 total: 130556[SWF] /bin/test.swf - 266,539 bytes after decompressionConfigured listener handler: httpStatusHandler: [HTTPStatusEvent type=httpStatus bubbles=false cancelable=false eventPhase=2 status=0] Configured listener handler: completeHandler: [Event type=complete bubbles=false cancelable=false eventPhase=2]trace SWFDrag.doLoadedtrace Drag ItTypeError: Error #1009: Cannot access a property or method of a null object reference. at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::updateCallbacks()[C:\dev\GMC\sdk\frameworks\mx\core\UIComponent.as:4664] at mx.core::UIComponent/set nestLevel()[C:\dev\GMC\sdk\frameworks\mx\core\UIComponent.as:2403] at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::addingChild()[C:\dev\GMC\sdk\frameworks\mx\managers\SystemManager.as:1488] at mx.managers::SystemManager/mx.managers:SystemManager::initializeTopLevelWindow ()[C:\dev\GMC\sdk\frameworks\mx\managers\SystemManager.as:2268] at mx.managers::SystemManager/mx.managers:SystemManager::frameEndHandler()[C:\dev\GMC\sdk\frameworks\mx\managers\SystemManager.as:2180] The debugger stops on this line in UIComponent. // Force a render event to happen soon _systemManager.stage.invalidate(); __._,_.___ -- 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: ArrayUtil.toArray trouble (works in beta 3 not in release)
Hard to say without seeing your code but it may be due to 'makeObjectsBindable' defaulting to true in the final release. It was false in B3. Try setting makeObjectsBindable=false on your HTTPService component. HTH, Ben --- In flexcoders@yahoogroups.com, Flapflap [EMAIL PROTECTED] wrote: Hi there, I use to have some httpservice xml result binding to an array using ArrayUtil.toArray method. They used has a dataprovider for a combobox. In beta 3 all is ok Now my combobox only show one ligne of [Object object] seperate with comas. I d'ont see anything one change on this method here : http://weblogs.macromedia.com/flexteam/archives/2006/06/flex_2_changes.cfm So is there an explaination ? -- Flapflap[at]sans-facon.net -- DevBlog : http://www.kilooctet.net -- 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: Validators -- Is there a better way of doing this? (Flex 2)
I don't know if this the best way but it worked for a registration form I built. Items are validated at valueCommit and when the user clicks submit. // Function to validate data and submit it to the server. private function validateAndSubmit():void { // Validate the required fields. errormessage = ''; errormessage += collectValidations(v_playerfirstname); errormessage += collectValidations(v_playerlastname); errormessage += collectValidations(v_playerdob); errormessage += collectValidations(v_parent1firstname); errormessage += collectValidations(v_parent1lastname); errormessage += collectValidations(v_parent2firstname); errormessage += collectValidations(v_parent2lastname); errormessage += collectValidations(v_parent1phone1); errormessage += collectValidations(v_parent2phone1); if (errormessage) { Alert.show('Please correct the below:\n' + errormessage, 'FILL Pre-Registration') return; } // Submit data to server. submitURL(); } public function collectValidations (v:mx.validators.Validator):String { vResult = v.validate(); if (vResult.type==ValidationResultEvent.INVALID) { return v.source.id + ' ' + vResult.message + '\n'; } return ''; } mx:DateValidator id=v_playerdob source={playerdob} required=true property=text/ mx:StringValidator id=v_playerfirstname source={playerfirstname} property=text / mx:StringValidator id=v_playerlastname source={playerlastname} property=text / mx:StringValidator id=v_parent1firstname source={parent1firstname} property=text / mx:StringValidator id=v_parent1lastname source={parent1lastname} property=text / mx:StringValidator id=v_parent2firstname source={parent2firstname} property=text / mx:StringValidator id=v_parent2lastname source={parent2lastname} property=text / mx:EmailValidator id=v_parent1email source={parent1email} property=text/ mx:EmailValidator id=v_parent2email source={parent2email} property=text/ mx:StringValidator id=v_parent1phone1 source={parent1phone1} required=true property=text/ mx:StringValidator id=v_parent2phone1 source={parent2phone1} required=true property=text/ -- 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: mxmlc compiler error - more described
On Monday 07 August 2006 13:36, Satish wrote: But while opening my flash file i am getting error message as-- your application is trying to internet enabled location..to let this application with internet.. click settings... Sounds like a broken firewall or web browser settings ? Who owns the error ? -- 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] Security Question
My company is releasing its first external facing Flex application it is used by our clients to updates various types of information. Yes someone could create an application to simulate the Flex app, so here are the two things to do: 1) run the app under HTTPS - to encrypt all traffic 2) use the role-based security provided by your J2EE server With #2, this means that before any incoming traffic is accepted by flex, the user will have to be authenticated and if it is not, the call is rejected. This is the same for RPC or using FDS. Hope that helps. Dimitrios Gianninas RIADeveloper Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of hank williamsSent: Monday, August 07, 2006 8:00 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Security Question I am curious about the security issues associated with sendingcommands from flex to a remote database.As I write code to send commands to the server, I am wondering howsecure it is to do so. In other words. If I want to send a command tothe server to update a field in the database, how easy is it formsomeone else to write some code to pretend to be a flash clientsending that command.In the flash environment I had this concern, but fewer people weredoing sophisiticated client side updating of data in flash. In flex,remote data access is its primary reason for existence, and I amwondering if there is a better security strategy. For example can onesay, If you use FDS you will be much more secure? I know that FDSallows for encrypted communication. But that only prevents someonefrom spying on a communication. But if an app pretends to be anauthorized client and knows (or guesses) the key of a record, theycould really wreak havoc.So is it possible to write a secure application in flex (like forbanking), where there is data intelligence on the client side. Or mustflex apps that need to manipulate data be more like html apps wherethey *only* handle presentation and no business logic?Hank AVIS IMPORTANT WARNING Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé. L'expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s'il est retransmis sans son autorisation. Si vous n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre système. La lecture, la distribution, la copie ou tout autre usage du présent message ou de ses pièces jointes par des personnes autres que le destinataire visé ne sont pas autorisés et pourraient être illégaux. Si vous avez reçu ce courrier électronique par erreur, veuillez en aviser l'expéditeur. This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient. No privilege or other rights are waived by any unintended transmission or unauthorized retransmission of this message. If you are not the intended recipient of this message, or if you have received it in error, you should immediately stop reading this message and delete it and all attachments from your system. The reading, distribution, copying or other use of this message or its attachments by unintended recipients is unauthorized and may be unlawful. If you have received this e-mail in error, please notify the sender. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS 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: mxmlc compiler error - more described
try to disable your personal firewall (windows or norton) and it should work ! best marco - Original Message - From: Tom Chiverton [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, August 07, 2006 3:16 PM Subject: Re: [flexcoders] Re: mxmlc compiler error - more described On Monday 07 August 2006 13:36, Satish wrote: But while opening my flash file i am getting error message as-- your application is trying to internet enabled location..to let this application with internet.. click settings... Sounds like a broken firewall or web browser settings ? Who owns the error ? -- 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 -- 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: [Flex2] What do you use for modelling a Flex2 application...?
Sorry for misunderstanding you question there Thomas. I am not exactly sure what Java tools you are talking about, I do not have much experiance with that language. I will share the way that I architect my applications, however. I am using Viso to model my applications, but you can use any program. I am also using the Cairngorm 2 micro-arcitecutre as my starting point. The first thing that I did was to create a diagram with all of the default Cairngorm packages, classes, and interfaces. Cairngorm uses a MVC design pattern. The Model is a class file named ModelLocator, the View(s) are the MXML files, and the controller is a class file named Controller. This is my starting point for modleing my applications in Viso. The next step is to add in the custom ModelLocator and Controller for my app. After that I layout the View(s), Events, Commands, and ValueObjects that I know that I am going to use. At that point I will go and build out what I have so far. As I need to add more View(s), Events, Commands, etc. I will go back and first add them to project in Viso before I add them to the application. I you are not using Cairngorm, I think that it will be a great thing for you to look at. The custom event handler is really great once you get hang of it. This thread has some info about getting started with Cairngorm. --jason --- In flexcoders@yahoogroups.com, Thomas Rühl -akitogo- [EMAIL PROTECTED] wrote: Thanks for your interest so far... but this isn't really the direction I intended to point out. Dave, I know that the documentation and modelling process basically doesn't depend on HOW an application is written. I'm not trying from model to generated code, although it would be really neat to do so in some cases ;) My concern is to evolve a process, starting with modelling an application the good old way using software architecture possibilities. This not only helps me to evaluate and improve an application, in fact it is also important for me regarding documentation and maintenance processes. Again, I do not necessarily want to generate the code based on a UML or other kind of diagrams, my interest targets the development process before actual implementation starts. As I said, for the Java world, there are lots of tools which we are missing for Flex at the moment. Problem being, these tools are mostly Java specific (for which I think they shouldn't), since they DO want to generate code out of the model. And this is the reason I am interested in how other folks do the modeling. 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 Jason wrote: There are several AS2 model2code generators such as: http://www.darronschall.com/weblog/archives/000174.cfm http://www.darronschall.com/weblog/archives/000174.cfm http://www.codealloy.com/umlconverter.htm http://www.codealloy.com/umlconverter.htm and some others I can't remember right now. It will just be a matter of time untill someone updates one of the projects for AS3, and ideally for Cairngorm. I poked around on sourceforge, but did not see an started project. Darron Schall my be willing to provide his source as a starting point for anyone looking to pick up the project -- it looks like he has a SVN repository set for the source. --jason --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com, Joost Nuijten flexcoders@ wrote: I think what Thomas is trying to say: In the Java world there are a lot of powerful tools that generate the base skeleton of code out of a model. For the Flex world this is all hand work. And how do we cope with this? That is why it is important that we have a framework such as Cairngorm. The one thing that we do not have is an automated tool that generates the Cairngorm base skeleton. ** thinking about creating one myself ** Joost _ Van: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com] Namens Dave Wolf Verzonden: maandag 7 augustus 2006 2:33 Aan: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Onderwerp: [flexcoders] Re: [Flex2] What do you use for modelling a Flex2 application...? Why does the implementation language (the HOW) have anything significant to do with the modelling and documentation solution you use (the WHAT) ? Are you trying to go from model to generated code? If modelling is important to your development process, tried and trusted modelling solutions such as UML
Re: [flexcoders] [Flex 2][ArrayCollection][Bug] Bindings don't executing when setting AC to a new ArrayCollection()
Hi Douglas,First, Thanks for your response :On 8/7/06, Douglas Knudsen [EMAIL PROTECTED] wrote: doesn't that custom setter need to broadcast a change event? I'm no AS master yet, but I wouldn't expect the below to work. Why would a change in sessionUsers fire your getter/setter for sessionUsersToString, eh? The binding triggers the first time I recieve the data from the server, so is correct.Due to this line:mx:Binding source=sessionUsers destination=sessionUsersToString/ The line says if sessionUsers change execute the implicit setter for sessionUsersToStringand then the binding in the textinput should execute...mx:TextInput id=stringResult text={sessionUsersToString}/ Try creating a function sessionUsersToString() with this signaturepublic function sessionUsersToString( acIn:ArrayCollection ) : String {} Then havemx:TextInput id=stringResult text={sessionUsersToString( sessionUsers )}/ Now, if sessionUsers is changed, binding events should fire, and sessionUsersToString() is triggered.I tried this solution but I can't get it work too :( Thanks for your idea and for your time :) DKOn 8/7/06, Joost Nuijten [EMAIL PROTECTED] wrote: The Flex components use a little trick to make the binding work. They apply an event listener to a collection. Van: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] Namens Gareth EdwardsVerzonden: maandag 7 augustus 2006 6:56Aan: flexcoders@yahoogroups.com Onderwerp: Re: [flexcoders] [Flex 2][ArrayCollection][Bug] Bindings don't executing when setting AC to a new ArrayCollection() I'm a little confused, it seems it works o.k in the example? http://www.adobe.com/devnet/flex/quickstart/using_data_providers/Whats occurring in the above example?CheersGareth.Matt Chotin wrote: If you are bound to the ArrayCollection then manipulating the AC itself doesn't re-trigger the binding. You need to do a re-assignment. If that isn't working make sure that the variable for your AC is [Bindable] and if you wrote a setter and used [Bindable(event=…)] that you actually dispatched the event. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Carlos RoviraSent: Sunday, August 06, 2006 10:25 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] [Flex 2][ArrayCollection][Bug] Bindings don't executing when setting AC to a new ArrayCollection() Hi,I'm experiencing a bug with an ArrayCollection. I want to remove the contents and the new state should dispatch a Binding, but this is not happen at all.I was trying several methods:* setting to null; * new ArrayCollection();* calling removeAll()* calligin refresh() as wellbut nothing happens.I suppose that this should be a known issue, anyone knows some trick to avoid this problem?Thanks. -- ::| Carlos Rovira::| http://www.carlosrovira.com -- Douglas Knudsenhttp://www.cubicleman.com this is my signature, like it? -- ::| Carlos Rovira::| http://www.carlosrovira.com __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS 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: ArrayUtil.toArray trouble (works in beta 3 not in release)
use this syntax: myList = simpleHTS.lastResult.list.name as ArrayCollection read my post about that : http://casario.blogs.com/mmworld/2006/07/arraycollection.html best, Marco Casario http://casario.blogs.com - Original Message - From: ben.clinkinbeard To: flexcoders@yahoogroups.com Sent: Monday, August 07, 2006 3:15 PM Subject: [flexcoders] Re: ArrayUtil.toArray trouble (works in beta 3 not in release) Hard to say without seeing your code but it may be due to'makeObjectsBindable' defaulting to true in the final release. It wasfalse in B3.Try setting makeObjectsBindable="false" on your HTTPService component.HTH,Ben--- In [EMAIL PROTECTED]ups.com, Flapflap [EMAIL PROTECTED] wrote: Hi there, I use to have some httpservice xml result binding to an array using ArrayUtil.toArray method. They used has a dataprovider for a combobox. In beta 3 all is ok Now my combobox only show one ligne of [Object object] seperate withcomas. I d'ont see anything one change on this method here : http://weblogs.macromedia.com/flexteam/archives/2006/06/flex_2_changes.cfm So is there an explaination ? -- Flapflap[at]sans-facon.net -- DevBlog : http://www.kilooctet.net __._,_.___ -- 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] [Flex 2][ArrayCollection][Bug] Bindings don't executing when setting AC to a new ArrayCollection()
doh! I misssed thismx:Binding source=sessionUsers destination=sessionUsersToString/try changing to mx:Binding source={ sessionUsers } destination=sessionUsersToString/ DKOn 8/7/06, Carlos Rovira [EMAIL PROTECTED] wrote: Hi Douglas,First, Thanks for your response :On 8/7/06, Douglas Knudsen [EMAIL PROTECTED] wrote: doesn't that custom setter need to broadcast a change event? I'm no AS master yet, but I wouldn't expect the below to work. Why would a change in sessionUsers fire your getter/setter for sessionUsersToString, eh? The binding triggers the first time I recieve the data from the server, so is correct.Due to this line: mx:Binding source=sessionUsers destination=sessionUsersToString/ The line says if sessionUsers change execute the implicit setter for sessionUsersToStringand then the binding in the textinput should execute...mx:TextInput id=stringResult text={sessionUsersToString}/ Try creating a function sessionUsersToString() with this signaturepublic function sessionUsersToString( acIn:ArrayCollection ) : String {} Then havemx:TextInput id=stringResult text={sessionUsersToString( sessionUsers )}/ Now, if sessionUsers is changed, binding events should fire, and sessionUsersToString() is triggered.I tried this solution but I can't get it work too :( Thanks for your idea and for your time :) DK On 8/7/06, Joost Nuijten [EMAIL PROTECTED] wrote: The Flex components use a little trick to make the binding work. They apply an event listener to a collection. Van: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com ] Namens Gareth EdwardsVerzonden: maandag 7 augustus 2006 6:56Aan: flexcoders@yahoogroups.com Onderwerp: Re: [flexcoders] [Flex 2][ArrayCollection][Bug] Bindings don't executing when setting AC to a new ArrayCollection() I'm a little confused, it seems it works o.k in the example? http://www.adobe.com/devnet/flex/quickstart/using_data_providers/Whats occurring in the above example?CheersGareth.Matt Chotin wrote: If you are bound to the ArrayCollection then manipulating the AC itself doesn't re-trigger the binding. You need to do a re-assignment. If that isn't working make sure that the variable for your AC is [Bindable] and if you wrote a setter and used [Bindable(event=…)] that you actually dispatched the event. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com ] On Behalf Of Carlos RoviraSent: Sunday, August 06, 2006 10:25 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] [Flex 2][ArrayCollection][Bug] Bindings don't executing when setting AC to a new ArrayCollection() Hi,I'm experiencing a bug with an ArrayCollection. I want to remove the contents and the new state should dispatch a Binding, but this is not happen at all.I was trying several methods:* setting to null; * new ArrayCollection();* calling removeAll()* calligin refresh() as wellbut nothing happens.I suppose that this should be a known issue, anyone knows some trick to avoid this problem?Thanks. -- ::| Carlos Rovira::| http://www.carlosrovira.com -- Douglas Knudsen http://www.cubicleman.com this is my signature, like it? -- ::| Carlos Rovira::| http://www.carlosrovira.com -- Douglas Knudsenhttp://www.cubicleman.comthis is my signature, like it? __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS 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] Security Question
On 8/7/06, Dimitrios Gianninas [EMAIL PROTECTED] wrote: My company is releasing its first external facing Flex application it is used by our clients to updates various types of information. Yes someone could create an application to simulate the Flex app, so here are the two things to do: 1) run the app under HTTPS - to encrypt all traffic 2) use the role-based security provided by your J2EE server With #2, this means that before any incoming traffic is accepted by flex, the user will have to be authenticated and if it is not, the call is rejected. This is the same for RPC or using FDS.I sort of assumed both of these, and in the flash version of my apps I do something similar. But particularly with #2 using J2EE security really requires expertise outside the scope of what is described and documented for Flex or FDS. So this really means that out of the box, Flex and particularly FDS is not secure since there are no API's to facilitate this. It would seem to me that support for security would be built into FDS. Interestingly though there is very little (at least as far as I have seen) discussion about this. It just seems that every Flex application is wearing a giant Hack Me sticker on its forehead. RegardsHank __._,_.___ -- 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: ColorPicker Cell Renderer
I have tried this. The problem is getting it to work inside a datagrid. Was wondering if anyone has gotten it to work as a cell renderer. --- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Tuesday 01 August 2006 17:39, buhlly88 wrote: I'm looking for a colorPicker renderer for a dataGrid. Has anyone successfully built one of these you could share? You mean like the colorPicker control that comes with Flex 2 ? Why not use 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] Re: [Flex2] What do you use for modelling a Flex2 application...?
Jason, yeah, Cairngorm IS a cool combination of design patterns and best practices. Therefore it's a valuable architectural base when it comes to implementation issues - I'm already familiar and using it in my projects, too. But model-wise, I suppose then, you don't actually do any other UML besides the (Cairngorm-based) class diagram you're talking of...!? Speaking of use cases, collaboration or sequential diagrams and so on here. For Java developers there are supportive tools already built in eclipse or freely available - problem being, as I said - they all somehow imply using Java alongside with 'em. 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 -- 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] Security Question
No, no sticker! There probably is limited documentation because: a)there is actually not much to configure b) since it is based on the J2EE security model, this is already documented with your app server Really you just have to configure your roles in the services-config.xml and then configure your RPC and FDS services to use these roles. When a remote calls comes in and no valid authenticated session exists, the call will be rejected. So even if someone simulates this, it will fail. Dimitrios Gianninas RIADeveloper Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of hank williamsSent: Monday, August 07, 2006 9:37 AMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Security Question On 8/7/06, Dimitrios Gianninas dimitrios.gianninas@optimalpayments.com wrote: My company is releasing its first external facing Flex application it is used by our clients to updates various types of information. Yes someone could create an application to simulate the Flex app, so here are the two things to do: 1) run the app under HTTPS - to encrypt all traffic 2) use the role-based security provided by your J2EE server With #2, this means that before any incoming traffic is accepted by flex, the user will have to be authenticated and if it is not, the call is rejected. This is the same for RPC or using FDS. I sort of assumed both of these, and in the flash version of my apps I do something similar. But particularly with #2 using J2EE security really requires expertise outside the scope of what is described and documented for Flex or FDS. So this really means that out of the box, Flex and particularly FDS is not secure since there are no API's to facilitate this. It would seem to me that support for security would be built into FDS. Interestingly though there is very little (at least as far as I have seen) discussion about this. It just seems that every Flex application is wearing a giant "Hack Me" sticker on its forehead. RegardsHank AVIS IMPORTANT WARNING Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé. L'expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s'il est retransmis sans son autorisation. Si vous n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre système. La lecture, la distribution, la copie ou tout autre usage du présent message ou de ses pièces jointes par des personnes autres que le destinataire visé ne sont pas autorisés et pourraient être illégaux. Si vous avez reçu ce courrier électronique par erreur, veuillez en aviser l'expéditeur. This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient. No privilege or other rights are waived by any unintended transmission or unauthorized retransmission of this message. If you are not the intended recipient of this message, or if you have received it in error, you should immediately stop reading this message and delete it and all attachments from your system. The reading, distribution, copying or other use of this message or its attachments by unintended recipients is unauthorized and may be unlawful. If you have received this e-mail in error, please notify the sender. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS 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] [Flex 2][ArrayCollection][Bug] Bindings don't executing when setting AC to a new ArrayCollection()
mmm...sorry but compiler don't let make that change if sessionUsersToString is not a property :(Two erros arise:1168: Illegal assignment to function sessionUsersToString. 1178: Attempted access of inaccessible property sessionUsersToString through a reference with static type testBinding. On 8/7/06, Douglas Knudsen [EMAIL PROTECTED] wrote: doh! I misssed thismx:Binding source=sessionUsers destination=sessionUsersToString/try changing to mx:Binding source={ sessionUsers } destination=sessionUsersToString/ DKOn 8/7/06, Carlos Rovira [EMAIL PROTECTED] wrote: Hi Douglas,First, Thanks for your response :On 8/7/06, Douglas Knudsen [EMAIL PROTECTED] wrote: doesn't that custom setter need to broadcast a change event? I'm no AS master yet, but I wouldn't expect the below to work. Why would a change in sessionUsers fire your getter/setter for sessionUsersToString, eh? The binding triggers the first time I recieve the data from the server, so is correct.Due to this line: mx:Binding source=sessionUsers destination=sessionUsersToString/ The line says if sessionUsers change execute the implicit setter for sessionUsersToStringand then the binding in the textinput should execute...mx:TextInput id=stringResult text={sessionUsersToString}/ Try creating a function sessionUsersToString() with this signaturepublic function sessionUsersToString( acIn:ArrayCollection ) : String {} Then havemx:TextInput id=stringResult text={sessionUsersToString( sessionUsers )}/ Now, if sessionUsers is changed, binding events should fire, and sessionUsersToString() is triggered.I tried this solution but I can't get it work too :( Thanks for your idea and for your time :) DK On 8/7/06, Joost Nuijten [EMAIL PROTECTED] wrote: The Flex components use a little trick to make the binding work. They apply an event listener to a collection. Van: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com ] Namens Gareth EdwardsVerzonden: maandag 7 augustus 2006 6:56Aan: flexcoders@yahoogroups.com Onderwerp: Re: [flexcoders] [Flex 2][ArrayCollection][Bug] Bindings don't executing when setting AC to a new ArrayCollection() I'm a little confused, it seems it works o.k in the example? http://www.adobe.com/devnet/flex/quickstart/using_data_providers/Whats occurring in the above example?CheersGareth.Matt Chotin wrote: If you are bound to the ArrayCollection then manipulating the AC itself doesn't re-trigger the binding. You need to do a re-assignment. If that isn't working make sure that the variable for your AC is [Bindable] and if you wrote a setter and used [Bindable(event=…)] that you actually dispatched the event. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com ] On Behalf Of Carlos RoviraSent: Sunday, August 06, 2006 10:25 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] [Flex 2][ArrayCollection][Bug] Bindings don't executing when setting AC to a new ArrayCollection() Hi,I'm experiencing a bug with an ArrayCollection. I want to remove the contents and the new state should dispatch a Binding, but this is not happen at all.I was trying several methods:* setting to null; * new ArrayCollection();* calling removeAll()* calligin refresh() as wellbut nothing happens.I suppose that this should be a known issue, anyone knows some trick to avoid this problem?Thanks. -- ::| Carlos Rovira::| http://www.carlosrovira.com -- Douglas Knudsen http://www.cubicleman.com this is my signature, like it? -- ::| Carlos Rovira::| http://www.carlosrovira.com -- Douglas Knudsenhttp://www.cubicleman.comthis is my signature, like it? -- ::| Carlos Rovira::| http://www.carlosrovira.com __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS 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 2, organizing innumerous States
Hello there! I'm creating a site administrator application, with too manys inputs, classes, views, so on... The MXML code is too large and its getting very complicated to find/search through the code toedit/add States. Is thereany way to stop using states to switch views, and/or create anew file for new States? Or maybe an easier way to organize them without having to write all states in one file? Here's what I have now... --- mx:statesmx:State name="home"mx:AddChild position="lastChild"mx:Panel y="100" width="730" height="600" layout="absolute" title="Área de Manutenção" horizontalCenter="-5" id="painelHome"mx:Panel y="10" width="165" height="225" layout="absolute" title="Dicas da Vovó Lydia" x="10"mx:Image y="10" source="images/manut/lampada.png" horizontalCenter="0"/mx:LinkButton y="66" label="Adicionar" width="100%" horizontalCenter="0" click="currentState = 'dicas_adicionar';"/mx:LinkButton y="96" label="Editar" width="100%" horizontalCenter="0"/mx:LinkButton y="126" label="Estatísticas" width="100%" horizontalCenter="0"//mx:Panelmx:Panel y="10" width="165" height="225" layout="absolute" title="Concurso de Receitas" x="185"mx:Image y="10" source="images/manut/caixapapeis.png" horizontalCenter="0"/mx:LinkButton y="66" label="Aprovar" width="100%" horizontalCenter="0"/mx:LinkButton y="96" label="Editar" width="100%" horizontalCenter="0"/mx:LinkButton y="126" label="Estatísticas" width="100%" horizontalCenter="0"//mx:Panelmx:Panel y="250" width="165" height="225" layout="absolute" title="Livro de Receitas" x="185"mx:Image y="10" source="images/manut/livroaberto.png" horizontalCenter="0"/mx:LinkButton y="66" label="Adicionar" width="100%" horizontalCenter="0"/mx:LinkButton y="96" label="Editar" width="100%" horizontalCenter="0"/mx:LinkButton y="156" label="LinkButton" width="100%" horizontalCenter="0"/mx:LinkButton y="126" label="Estatísticas" width="100%" horizontalCenter="0"//mx:Panelmx:Panel y="10" width="165" height="225" layout="absolute" title="Viva Melhor" x="535"mx:Image y="10" source="images/manut/pessoabrilho.png" horizontalCenter="0"/mx:LinkButton y="66" label="Adicionar" width="100%" horizontalCenter="0"/mx:LinkButton y="96" label="Editar" width="100%" horizontalCenter="0"/mx:LinkButton y="126" label="Estatísticas" width="100%" horizontalCenter="0"//mx:Panelmx:Panel y="250" width="165" height="225" layout="absolute" title="Chamadas" x="10"mx:Image y="10" source="images/manut/speaker.png" horizontalCenter="0"/mx:LinkButton y="66" label="Página Inicial" width="100%" horizontalCenter="0"/mx:LinkButton y="96" label="Viva Melhor" width="100%" horizontalCenter="0"/mx:LinkButton y="126" label="Livro de Receitas" width="100%" horizontalCenter="0"/mx:LinkButton y="156" label="Receitas do Concurso" width="100%" horizontalCenter="0"//mx:Panelmx:Panel y="10" width="165" height="225" layout="absolute" title="ABC dos Alimentos" x="360"mx:Image y="10" source="images/manut/potelupa.png" horizontalCenter="0"/mx:LinkButton y="66" label="Adicionar" width="100%" horizontalCenter="0"/mx:LinkButton y="96" label="Editar" width="100%" horizontalCenter="0"/mx:LinkButton y="126" label="Estatísticas" width="100%" horizontalCenter="0"//mx:Panel/mx:Panel/mx:AddChild/mx:State --- You see? This is just for the States... then there is the scripts, styles, transitions and everything else. Its gonna get massive!! I could create various mxml and switch between them with "getURL", but this way dont sounds good as it will refresh the page loading another. There is any other way? Thank you in advance, Michel. __._,_.___ -- 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: mxmlc compiler error - more described
My local mechine is Windows XP. How to disable my personal firewall setttings here?. And i am not familior with this. I am first time compiling like this. If i do the same thing in my live server and disable the firewall setttings this will not be the security issue? Thanks Macro - Original Message - From: Marco Casario [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, August 07, 2006 7:03 PM Subject: Re: [flexcoders] Re: mxmlc compiler error - more described try to disable your personal firewall (windows or norton) and it should work ! best marco - Original Message - From: Tom Chiverton [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, August 07, 2006 3:16 PM Subject: Re: [flexcoders] Re: mxmlc compiler error - more described On Monday 07 August 2006 13:36, Satish wrote: But while opening my flash file i am getting error message as-- your application is trying to internet enabled location..to let this application with internet.. click settings... Sounds like a broken firewall or web browser settings ? Who owns the error ? -- 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 -- 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/
[flexcoders] Re: Fllash Player 9 bug (i think so...)
--- In flexcoders@yahoogroups.com, tyombria [EMAIL PROTECTED] wrote: I have a problem with my swf in Internet Explorer 6. I have a popup window in my flex2 application. I show Alert on closing popup window - Do you really want to close the window? with Yes and No buttons. All is ok. But if I set '-accessible=true' in the compiler options the swf movie crashes Internet Explorer browser on closing popup window! In Firefox all is ok. I think it is a bug. up! -- 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: Metadata in AS3
On Monday 07 August 2006 13:32, maxym.hryniv wrote: One more: how can I create my own metadata tags??? F.ex i want to use [XMLSerializable(target=attribute)]. public var someProperty : SomeType; Why can't you just have a method like isXMLSerializable() ? -- 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] Flex 2, organizing innumerous States
Hi Michel, why don't use some mxml components to break you code/states into different files ? best Marco Casario http://casario.blogs.com - Original Message - From: Michel Scoz To: flexcoders@yahoogroups.com Sent: Monday, August 07, 2006 3:56 PM Subject: [flexcoders] Flex 2, organizing innumerous States Hello there! I'm creating a site administrator application, with too manys inputs, classes, views, so on... The MXML code is too large and its getting very complicated to find/search through the code toedit/add States. Is thereany way to stop using states to switch views, and/or create anew file for new States? Or maybe an easier way to organize them without having to write all states in one file? Here's what I have now... --- mx:statesmx:State name="home"mx:AddChild position="lastChild"mx:Panel y="100" width="730" height="600" layout="absolute" title="Área de Manutenção" horizontalCenter="-5" id="painelHome"mx:Panel y="10" width="165" height="225" layout="absolute" title="Dicas da Vovó Lydia" x="10"mx:Image y="10" source="images/manut/lampada.png" horizontalCenter="0"/mx:LinkButton y="66" label="Adicionar" width="100%" horizontalCenter="0" click="currentState = 'dicas_adicionar';"/mx:LinkButton y="96" label="Editar" width="100%" horizontalCenter="0"/mx:LinkButton y="126" label="Estatísticas" width="100%" horizontalCenter="0"//mx:Panelmx:Panel y="10" width="165" height="225" layout="absolute" title="Concurso de Receitas" x="185"mx:Image y="10" source="images/manut/caixapapeis.png" horizontalCenter="0"/mx:LinkButton y="66" label="Aprovar" width="100%" horizontalCenter="0"/mx:LinkButton y="96" label="Editar" width="100%" horizontalCenter="0"/mx:LinkButton y="126" label="Estatísticas" width="100%" horizontalCenter="0"//mx:Panelmx:Panel y="250" width="165" height="225" layout="absolute" title="Livro de Receitas" x="185"mx:Image y="10" source="images/manut/livroaberto.png" horizontalCenter="0"/mx:LinkButton y="66" label="Adicionar" width="100%" horizontalCenter="0"/mx:LinkButton y="96" label="Editar" width="100%" horizontalCenter="0"/mx:LinkButton y="156" label="LinkButton" width="100%" horizontalCenter="0"/mx:LinkButton y="126" label="Estatísticas" width="100%" horizontalCenter="0"//mx:Panelmx:Panel y="10" width="165" height="225" layout="absolute" title="Viva Melhor" x="535"mx:Image y="10" source="images/manut/pessoabrilho.png" horizontalCenter="0"/mx:LinkButton y="66" label="Adicionar" width="100%" horizontalCenter="0"/mx:LinkButton y="96" label="Editar" width="100%" horizontalCenter="0"/mx:LinkButton y="126" label="Estatísticas" width="100%" horizontalCenter="0"//mx:Panelmx:Panel y="250" width="165" height="225" layout="absolute" title="Chamadas" x="10"mx:Image y="10" source="images/manut/speaker.png" horizontalCenter="0"/mx:LinkButton y="66" label="Página Inicial" width="100%" horizontalCenter="0"/mx:LinkButton y="96" label="Viva Melhor" width="100%" horizontalCenter="0"/mx:LinkButton y="126" label="Livro de Receitas" width="100%" horizontalCenter="0"/mx:LinkButton y="156" label="Receitas do Concurso" width="100%" horizontalCenter="0"//mx:Panelmx:Panel y="10" width="165" height="225" layout="absolute" title="ABC dos Alimentos" x="360"mx:Image y="10" source="images/manut/potelupa.png" horizontalCenter="0"/mx:LinkButton y="66" label="Adicionar" width="100%" horizontalCenter="0"/mx:LinkButton y="96" label="Editar" width="100%" horizontalCenter="0"/mx:LinkButton y="126" label="Estatísticas" width="100%" horizontalCenter="0"//mx:Panel/mx:Panel/mx:AddChild/mx:State --- You see? This is just for the States... then there is the scripts, styles, transitions and everything else. Its gonna get massive!! I could create various mxml and switch between them with "getURL", but this way dont sounds good as it will refresh the page loading another. There is any other way? Thank you in advance, Michel. __._,_.___ -- 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
Re: [flexcoders] Security Question
Oh, I see My bad. It looks like there *is* built in support! I will have to look of the security tag in the services-config.xml file. That looks very helpful.Regards,Hank On 8/7/06, Dimitrios Gianninas [EMAIL PROTECTED] wrote: No, no sticker! There probably is limited documentation because: a)there is actually not much to configure b) since it is based on the J2EE security model, this is already documented with your app server Really you just have to configure your roles in the services-config.xml and then configure your RPC and FDS services to use these roles. When a remote calls comes in and no valid authenticated session exists, the call will be rejected. So even if someone simulates this, it will fail. Dimitrios Gianninas RIADeveloper Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of hank williamsSent: Monday, August 07, 2006 9:37 AMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Security Question On 8/7/06, Dimitrios Gianninas [EMAIL PROTECTED] wrote: My company is releasing its first external facing Flex application it is used by our clients to updates various types of information. Yes someone could create an application to simulate the Flex app, so here are the two things to do: 1) run the app under HTTPS - to encrypt all traffic 2) use the role-based security provided by your J2EE server With #2, this means that before any incoming traffic is accepted by flex, the user will have to be authenticated and if it is not, the call is rejected. This is the same for RPC or using FDS. I sort of assumed both of these, and in the flash version of my apps I do something similar. But particularly with #2 using J2EE security really requires expertise outside the scope of what is described and documented for Flex or FDS. So this really means that out of the box, Flex and particularly FDS is not secure since there are no API's to facilitate this. It would seem to me that support for security would be built into FDS. Interestingly though there is very little (at least as far as I have seen) discussion about this. It just seems that every Flex application is wearing a giant Hack Me sticker on its forehead. RegardsHank AVIS IMPORTANT WARNING Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé. L'expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s'il est retransmis sans son autorisation. Si vous n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre système. La lecture, la distribution, la copie ou tout autre usage du présent message ou de ses pièces jointes par des personnes autres que le destinataire visé ne sont pas autorisés et pourraient être illégaux. Si vous avez reçu ce courrier électronique par erreur, veuillez en aviser l'expéditeur. This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient. No privilege or other rights are waived by any unintended transmission or unauthorized retransmission of this message. If you are not the intended recipient of this message, or if you have received it in error, you should immediately stop reading this message and delete it and all attachments from your system. The reading, distribution, copying or other use of this message or its attachments by unintended recipients is unauthorized and may be unlawful. If you have received this e-mail in error, please notify the sender. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS 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: mxmlc compiler error - more described
On Monday 07 August 2006 14:52, Satish wrote: My local mechine is Windows XP. How to disable my personal firewall setttings here?. Start, settings, control panel, network. Somewhere in there. Also if you have Norton or someother thing down in the system tray, kill that too. like this. If i do the same thing in my live server and disable the firewall setttings this will not be the security issue? Might do. Might not. Something is blocking the communication, and at first guess it's normally the client-side. -- 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] Currently encountering a problem indigineous to the ie6 browser only
I encounted the same problem too! Did you resolved it? any body could help??2006/8/2, sp0rarb3jd3r [EMAIL PROTECTED]: Currently encountering a problem indigineous to the ie6 browser only We are using flex 2 to develop a survey chart of various web traffic parameters. To do so we need to load XML served to the flashapp on request by an sql-server. When we try it out in the firefox browser, the opera browser, even in the internet explorer 7.0, it works fine. But in internet explorer 6.0 we seem to hit a wall. Every time we try and run it we get an IOStreamError #2032. Anyone experiencing similar problems? Anyone know of a solution/an explanation? It seems to be in the communication with the server that somethin is amiss. If we try to just load a static xml file it works fine. Any help would be appreciated. Here's the sample code: private var inhale:XML = new XML(); private var rq:URLRequest = new URLRequest(); private var ld:URLLoader = new URLLoader(); public function init():void{ if(Application.application.parameters.xml==null){ rq.url=""> } else { rq.url=""> base+=Application.application.parameters.xml+parameter2=+Application.application.parameters.parameter2; } ld.addEventListener(ioError, errorHandler); ld.addEventListener(Event.COMPLETE, parPlex); try { ld.load(rq); } catch(e:IOError){ trace(IOerror); } } public function errorHandler(e:IOErrorEvent):void{ Alert.show(e.type+:+e.text); } public function parPlex(whatever:Event):void { parX(); } public function parX():void { inhale = XML(ld.data); //dothestuff } Sincerely Sporarbejder __._,_.___ -- 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: [Flex2] What do you use for modelling a Flex2 application...?
What sorts of tools are you talking about that Java has that you miss with Flex? -- Dave Wolf Cynergy Systems, Inc. Adobe Flex Alliance Partner http://www.cynergysystems.com http://www.cynergysystems.com/blogs Email: [EMAIL PROTECTED] Office: 866-CYNERGY --- In flexcoders@yahoogroups.com, Thomas Rühl -akitogo- [EMAIL PROTECTED] wrote: Thanks for your interest so far... but this isn't really the direction I intended to point out. Dave, I know that the documentation and modelling process basically doesn't depend on HOW an application is written. I'm not trying from model to generated code, although it would be really neat to do so in some cases ;) My concern is to evolve a process, starting with modelling an application the good old way using software architecture possibilities. This not only helps me to evaluate and improve an application, in fact it is also important for me regarding documentation and maintenance processes. Again, I do not necessarily want to generate the code based on a UML or other kind of diagrams, my interest targets the development process before actual implementation starts. As I said, for the Java world, there are lots of tools which we are missing for Flex at the moment. Problem being, these tools are mostly Java specific (for which I think they shouldn't), since they DO want to generate code out of the model. And this is the reason I am interested in how other folks do the modeling. 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 Jason wrote: There are several AS2 model2code generators such as: http://www.darronschall.com/weblog/archives/000174.cfm http://www.darronschall.com/weblog/archives/000174.cfm http://www.codealloy.com/umlconverter.htm http://www.codealloy.com/umlconverter.htm and some others I can't remember right now. It will just be a matter of time untill someone updates one of the projects for AS3, and ideally for Cairngorm. I poked around on sourceforge, but did not see an started project. Darron Schall my be willing to provide his source as a starting point for anyone looking to pick up the project -- it looks like he has a SVN repository set for the source. --jason --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com, Joost Nuijten flexcoders@ wrote: I think what Thomas is trying to say: In the Java world there are a lot of powerful tools that generate the base skeleton of code out of a model. For the Flex world this is all hand work. And how do we cope with this? That is why it is important that we have a framework such as Cairngorm. The one thing that we do not have is an automated tool that generates the Cairngorm base skeleton. ** thinking about creating one myself ** Joost _ Van: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com] Namens Dave Wolf Verzonden: maandag 7 augustus 2006 2:33 Aan: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Onderwerp: [flexcoders] Re: [Flex2] What do you use for modelling a Flex2 application...? Why does the implementation language (the HOW) have anything significant to do with the modelling and documentation solution you use (the WHAT) ? Are you trying to go from model to generated code? If modelling is important to your development process, tried and trusted modelling solutions such as UML would be capable of documenting and managing the WHAT side of the development process regardless of the implementation HOW language. -- Dave Wolf Cynergy Systems, Inc. Adobe Flex Alliance Partner http://www.cynergys http://www.cynergysystems.com http://www.cynergysystems.com ystems.com http://www.cynergys http://www.cynergysystems.com/blogs http://www.cynergysystems.com/blogs ystems.com/blogs Email: [EMAIL PROTECTED] mailto:dave.wolf%40cynergysystems.com stems.com Office: 866-CYNERGY --- In [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com, Thomas R�hl -akitogo- thomas.ruehl@ wrote: Hi folks, it's been a while now, since the Flex2 SDK is out and rockin' ;) Not only for larger projects, multiple teams or team members and documentation purpose, I'd like to know, what everyone is using for modelling a Flex application. For the Java world I know, the tools available are very powerful and work very well out of the box and integrate with each other. There are also
[flexcoders] Re: Security Question
As Dimitrios says, the security is all handled and managed by the J2EE container. That security model might be one of the most tried and tested architectures in the last 10 years and is plenty robust. But you do point out a big issue. How many folks who are new to web development and security in a distributed environment and have been drawn to the RIA market from places where they didnt have to worry about security and security models in general? Then there is the need to learn and understand the J2EE security model specifically. How do you configure encryption, authentication, authorization, etc? In our case that was the world we came from and have simply adapted our passion for the users experience into what we can do with a tool like Flex. Do rest assured, we have exercised Flex and its integration into the J2EE security model and it is quite seamless and transparent. We have some pretty bright cookies here in security (including folks like authors of books on J2EE security) and have integrarated Flex with almost all of it by now for our clients. There's nothing about Flex that is going to need that sticker. Some developers who are new to this all... well... -- Dave Wolf Cynergy Systems, Inc. Adobe Flex Alliance Partner http://www.cynergysystems.com http://www.cynergysystems.com/blogs Email: [EMAIL PROTECTED] Office: 866-CYNERGY --- In flexcoders@yahoogroups.com, Dimitrios Gianninas [EMAIL PROTECTED] wrote: No, no sticker! There probably is limited documentation because: a) there is actually not much to configure b) since it is based on the J2EE security model, this is already documented with your app server Really you just have to configure your roles in the services-config.xml and then configure your RPC and FDS services to use these roles. When a remote calls comes in and no valid authenticated session exists, the call will be rejected. So even if someone simulates this, it will fail. Dimitrios Gianninas RIA Developer Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of hank williams Sent: Monday, August 07, 2006 9:37 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Security Question On 8/7/06, Dimitrios Gianninas [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: My company is releasing its first external facing Flex application it is used by our clients to updates various types of information. Yes someone could create an application to simulate the Flex app, so here are the two things to do: 1) run the app under HTTPS - to encrypt all traffic 2) use the role-based security provided by your J2EE server With #2, this means that before any incoming traffic is accepted by flex, the user will have to be authenticated and if it is not, the call is rejected. This is the same for RPC or using FDS. I sort of assumed both of these, and in the flash version of my apps I do something similar. But particularly with #2 using J2EE security really requires expertise outside the scope of what is described and documented for Flex or FDS. So this really means that out of the box, Flex and particularly FDS is not secure since there are no API's to facilitate this. It would seem to me that support for security would be built into FDS. Interestingly though there is very little (at least as far as I have seen) discussion about this. It just seems that every Flex application is wearing a giant Hack Me sticker on its forehead. Regards Hank -- WARNING --- This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient. No privilege or other rights are waived by any unintended transmission or unauthorized retransmission of this message. If you are not the intended recipient of this message, or if you have received it in error, you should immediately stop reading this message and delete it and all attachments from your system. The reading, distribution, copying or other use of this message or its attachments by unintended recipients is unauthorized and may be unlawful. If you have received this e-mail in error, please notify the sender. AVIS IMPORTANT -- Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé. L'expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s'il est retransmis sans son autorisation. Si vous n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre système. La lecture, la distribution, la copie ou
[flexcoders] Inspectable properties
I'm testing custom component developpement. Why the component below don't show 'myString' propertie in Design mode ? Thanks. -- package { import mx.core.UIComponent; public class MyCustomComponent extends UIComponent { [Inspectable(category=General, defaultValue=hello)] public var myString:String; public function MyCustomComponent() { super(); } } } -- 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: Isnt there *any* hello world/getting started doc for cairngorm???
This example helped me. It is more complex then a hello world app, but Jester's comments in the classes are very robust. http://groups.yahoo.com/group/flexcoders/message/42307 --- In flexcoders@yahoogroups.com, hank williams [EMAIL PROTECTED] wrote: Ok so I downloaded caringorm and installed. Now what? There is API doc, but that is really not useful until you know what you are doing and you just need to remember the API. There is this 6 part article on the adobe website. But it is far from a hello world. It discusses theory, which is useful. But a simple, complete example (like in the flex getting started docs) would be much more helpful. It seems to refer to a store application, but as far as I can tell, this store application is not included with caringorm. So I am just looking for a simple example hello world application and an explanation of how it works. Does this really not exist, or have I just missed it? 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 * 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] What do you use for modelling a Flex2 application...?
One of the tools I use is the Flex2 Visio Stencils, real nice when trying to figure out the layout of the UI components. http://www.digimmersion.com/ ---nimer - Original Message From: Thomas Rühl -akitogo- [EMAIL PROTECTED]To: flexcoders@yahoogroups.comSent: Sunday, August 6, 2006 7:33:04 PMSubject: [flexcoders] [Flex2] What do you use for modelling a Flex2 application...? Hi folks,it's been a while now, since the Flex2 SDK is out and rockin' ;)Not only for larger projects, multiple teams or team members and documentation purpose, I'd like to know, what everyone is using for modelling a Flex application. For the Java world I know, the tools available are very powerful and work very well out of the box and integrate with each other. There are also things like OmondoUML, which we can be used for designing Java apps (doing use case and sequential diagram sort of stuff) in conjunction with creating the corresponding code.The lack of Flex-specific tools for that kind of work still leads towards endless times spent on the drawing table - at least on my side.So, the question coming up my mind is, in what ways do you all design your Flex applications before/during or after implementation, if any...?Cheers, Thomas - - --Thomas 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 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] Missing sources in Flex SDK
I've noticed the source of some units being unavailble in FB. The main one is httpservice, but I'm sure there are probably others. Why isn't this source included? Was it written in something other than Flex, or is it just a secret? I'm assuming you can still use the SDK (without FB) to compile them, though (I notice rpc.swc in Flex SDK\frameworks\libs). What other major ones have peopled noticed missing?-- Jason __._,_.___ -- 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] Create XML from datagrid
What is the best way to create XML from the data in a datagrid? For example a user will enter data into a datagrid then I want to place that information into an xml document. Thanks in advance for the info! Torey -- 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] XML2ArrayCollection
Hi! I want to transfer below XML to ArrayCollection. I'm going to use it with mx:tree container. I know I can also use XML but I would prefer arraycollection. Thank you for your help. node label=menu1/node node label=menu2 node label=submenu1/node node label=submenu2/node /node node label=menu3/node -- 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: ArrayUtil.toArray trouble (works in beta 3 not in release)
Thanks fo the tip. But I still hava a bug when my result only have one object (with zero or more all works fine)... -- 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] fds/java problem (Unsupported major.minor version 49.0?)
Hi there, I'm sure this is probably something really simple, but I'm having trouble figuring out what the actual problem is. I have a java class ( using spring/hibernate ) that was working fine on FDS beta 23. Now I'm trying to set it up on FDS express and am getting an error that I don't know how to debug. Any help or suggestions on how to further debug this would be most appreciated. Many thanks, Paul Using jrun standalone. 8/07 17:19:45 user MessageBrokerServlet: init 08/07 17:19:45 error Could not pre-load servlet: MessageBrokerServlet [2]java.lang.UnsupportedClassVersionError: radar/RadarBeans (Unsupported major.minor version 49.0) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at jrunx.util.JRunURLClassLoader.defineClass(JRunURLClassLoader.java:188) at jrunx.util.JRunURLClassLoader.findClass(JRunURLClassLoader.java:153) at jrunx.util.JRunURLClassLoader.loadFromLoadClass(JRunURLClassLoader.java:117) at jrunx.util.JRunURLClassLoader.loadClass(JRunURLClassLoader.java:81) at jrunx.util.JRunURLClassLoader.loadClass(JRunURLClassLoader.java:70) at java.lang.ClassLoader.loadClassInternal(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at flex.messaging.util.ClassUtil.createClass(ClassUtil.java:52) at flex.messaging.factories.JavaFactory$JavaFactoryInstance.getInstanceClass(Ja vaFactory.java:244) at flex.messaging.factories.JavaFactory$JavaFactoryInstance.createInstance(Java Factory.java:251) at flex.messaging.factories.JavaFactory.createFactoryInstance(JavaFactory.java: 93) at flex.messaging.FactoryDestination.getFactoryInstance(FactoryDestination.java :76) at flex.data.adapters.JavaAdapter.server(JavaAdapter.java:158) at flex.data.adapters.JavaAdapter.setSettings(JavaAdapter.java:119) at flex.messaging.Destination.createAdapter(Destination.java:279) at flex.messaging.Destination.initDestination(Destination.java:103) at flex.messaging.FactoryDestination.initDestination(FactoryDestination.java:58 ) at flex.data.DataService.createDestination(DataService.java:90) at flex.messaging.services.AbstractService.createDestinations(AbstractService.j ava:82) at flex.messaging.config.MessagingConfiguration.createServices(MessagingConfigu ration.java:187) at flex.messaging.config.MessagingConfiguration.configureBroker(MessagingConfig uration.java:84) at flex.messaging.MessageBrokerServlet.init(MessageBrokerServlet.java:105) at jrun.servlet.WebApplicationService.loadServlet(WebApplicationService.java:12 00) at jrun.servlet.WebApplicationService.preloadServlets(WebApplicationService.jav a:791) at jrun.servlet.WebApplicationService.postStart(WebApplicationService.java:293) at jrun.deployment.DeployerService.initModules(DeployerService.java:711) at jrun.deployment.DeployerService.createWatchedDeployment(DeployerService.java :242) at jrun.deployment.DeployerService.deploy(DeployerService.java:430) at jrun.deployment.DeployerService.checkWatchedDirectories(DeployerService.java :179) at jrun.deployment.DeployerService.run(DeployerService.java:891) at jrunx.scheduler.SchedulerService.invokeRunnable(SchedulerService.java:230) at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428 ) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) [1]flex.messaging.config.ConfigurationException: Error instantiating application scoped instance of type 'radar.RadarBeans' for destination 'contactradar'. at flex.messaging.factories.JavaFactory.createFactoryInstance(JavaFactory.java: 117) at flex.messaging.FactoryDestination.getFactoryInstance(FactoryDestination.java :76) at flex.data.adapters.JavaAdapter.server(JavaAdapter.java:158) at flex.data.adapters.JavaAdapter.setSettings(JavaAdapter.java:119) at flex.messaging.Destination.createAdapter(Destination.java:279) at flex.messaging.Destination.initDestination(Destination.java:103) at flex.messaging.FactoryDestination.initDestination(FactoryDestination.java:58 ) at flex.data.DataService.createDestination(DataService.java:90) at flex.messaging.services.AbstractService.createDestinations(AbstractService.j ava:82) at flex.messaging.config.MessagingConfiguration.createServices(MessagingConfigu ration.java:187) at flex.messaging.config.MessagingConfiguration.configureBroker(MessagingConfig uration.java:84) at flex.messaging.MessageBrokerServlet.init(MessageBrokerServlet.java:105) at jrun.servlet.WebApplicationService.loadServlet(WebApplicationService.java:12 00) at
[flexcoders] Re: kludge for Flex Help scripting error
(Reposting with corrections - finally reinstalled Flex and had to actually follow my own instructions)I don't know about the rest of you, but whenever I open a help file for a class, I get the following error: ---Error---A Runtime Error has occurred.Do you wish to Debug? Line: 91Error: 'parent.titlebar.document' is null or not an object---Yes No --- This only happens when using the internal help browser. If I set it up to launch externally, no problem. So I rolled up my sleeves and managed to kludge it out. You'll need to open upC:\Program Files\Adobe\Flex Builder 2\plugins\com.adobe.flexbuilder.help_2.0.143459\doc.zip(or wherever you installed it)First, make a backup copy of the zip!Then open langref\asdoc.js and look for the findTitleTableObject function declaration. Replace it and the next two functions with the code below. You'll need to stick your new version of asdoc.js back into the zip file. Be sure you put it in the langref directory. How to manipulate the zip file will vary depending on your setup. Once you update it, you don't need to reload Flex. Any new help tab opened will automatically read from this script. function findTitleTableObject(id) { if (isEclipse() parent.titlebar parent.titlebar.document) return parent.titlebar.document.getElementById(id); else if (top.titlebar top.titlebar.document) return top.titlebar.document.getElementById(id); else return document.getElementById(id);} function titleBar_setSubTitle(title){ if (isEclipse() || top.titlebar) { var obj = findTitleTableObject(subTitle); if (obj) obj.childNodes.item(0).data = ""> }} function titleBar_setSubNav(showConstants,showProperties,showStyles,showEffects,showEvents,showConstructor,showMethods,showExamples,showPackageConstants,showPackageProperties,showPackageFunctions,showInterfaces,showClasses,showPackageUse) { if (isEclipse() || top. titlebar) { var o = findTitleTableObject(propertiesLink); if (o) o.style.display = showProperties ? inline : none; var o = findTitleTableObject(propertiesBar); if (o) o.style.display = (showProperties (showPackageProperties || showConstructor || showMethods || showPackageFunctions || showEvents || showStyles || showEffects || showConstants || showPackageConstants || showInterfaces || showClasses || showPackageUse || showExamples)) ? inline : none; var o = findTitleTableObject(packagePropertiesLink); if (o) o.style.display = showPackageProperties ? inline : none; var o = findTitleTableObject(packagePropertiesBar); if (o) o.style.display = (showPackageProperties (showConstructor || showMethods || showPackageFunctions || showEvents || showStyles || showConstants || showEffects || showPackageConstants || showInterfaces || showClasses || showPackageUse || showExamples)) ? inline : none; var o = findTitleTableObject(constructorLink); if (o) o.style.display = showConstructor ? inline : none; var o = findTitleTableObject(constructorBar); if (o) o.style.display = (showConstructor (showMethods || showPackageFunctions || showEvents || showStyles || showEffects || showConstants || showPackageConstants || showInterfaces || showClasses || showPackageUse || showExamples)) ? inline : none; var o = findTitleTableObject(methodsLink); if (o) o.style.display = showMethods ? inline : none; var o = findTitleTableObject(methodsBar); if (o) o.style.display = (showMethods (showPackageFunctions || showEvents || showStyles || showEffects || showConstants || showPackageConstants || showInterfaces || showClasses || showPackageUse || showExamples)) ? inline : none; var o = findTitleTableObject(packageFunctionsLink); if (o) o.style.display = showPackageFunctions ? inline : none; var o = findTitleTableObject(packageFunctionsBar); if (o) o.style.display = (showPackageFunctions (showEvents || showStyles || showEffects || showConstants || showPackageConstants || showInterfaces || showClasses || showPackageUse || showExamples)) ? inline : none; var o = findTitleTableObject(eventsLink); if (o) o.style.display = showEvents ? inline : none; var o = findTitleTableObject(eventsBar); if (o) o.style.display = (showEvents (showStyles || showEffects || showConstants || showPackageConstants || showInterfaces || showClasses || showPackageUse || showExamples)) ? inline : none; var o = findTitleTableObject(stylesLink); if (o) o.style.display = showStyles ? inline : none; var o = findTitleTableObject(stylesBar); if (o) o.style.display = (showStyles (showEffects || showConstants || showPackageConstants || showInterfaces || showClasses || showPackageUse || showExamples)) ? inline : none; var o = findTitleTableObject(effectsLink); if (o) o.style.display = showEffects ? inline : none; var o = findTitleTableObject(effectsBar); if (o) o.style.display = (showEffects (showConstants || showPackageConstants || showInterfaces || showClasses || showPackageUse || showExamples)) ? inline :
[flexcoders] HistoryManager with selectedItem??????
hi all i'm not sure if this can be done? what i want to do is to save the last 10 items clicked in my datagrid is it posible?, i know there should be something about this cause datagrid supports dragdrop so maybe clicking an item in datagrid could act as dragdrop 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/
[flexcoders] way to read http connection info
Is there some native way in flash to get the http information such as the client's IP address? Or is this something that can only be done using _javascript_ in the html page to pass them in as variables? -- Jason __._,_.___ -- 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] XMLList with a single item as a dataprovder
Why can the XMLList object with a single node and no subitems be used as a dataprovider for a list driven item, such as a tree, but I can't dump it out using the inherited toString() method? For an example, please take a look at the following simple flex app. It contains two trees, each populated with data from an XMLList object. One of those has only a single node with no subitems, the other has a single node with one subitem. https://www.it.dev.duke.edu/temp/flex/bin/Test.html source: https://www.it.dev.duke.edu/temp/flex/Test.txt As you can see, in both cases, the data shows up in the tree items exactly as you would expect. But when I try to dump it to a textarea, the XMLList object with the single node and no subitems doesn't appear. I have read the documentation on XML on livedocs and looked at the XMLList documentation as well. Allegedly, the answer to my question is in there but I can't find it. rick -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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: fds/java problem (Unsupported major.minor version 49.0?)
That's absolutely what is happening. Somewhere code compiled under JDK1.5 is being loaded by the JDK1.4 VM. -- Dave Wolf Cynergy Systems, Inc. Adobe Flex Alliance Partner http://www.cynergysystems.com http://www.cynergysystems.com/blogs Email: [EMAIL PROTECTED] Office: 866-CYNERGY --- In flexcoders@yahoogroups.com, Carson Hager [EMAIL PROTECTED] wrote: It looks like you're running JDK 5.0 compiled classes under a 1.4 or earlier JVM. Carson Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com http://www.cynergysystems.com/ Email: [EMAIL PROTECTED] Office: 866-CYNERGY Mobile: 1.703.489.6466 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Paul Dale Sent: Monday, August 07, 2006 8:26 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] fds/java problem (Unsupported major.minor version 49.0?) Hi there, I'm sure this is probably something really simple, but I'm having trouble figuring out what the actual problem is. I have a java class ( using spring/hibernate ) that was working fine on FDS beta 23. Now I'm trying to set it up on FDS express and am getting an error that I don't know how to debug. Any help or suggestions on how to further debug this would be most appreciated. Many thanks, Paul Using jrun standalone. 8/07 17:19:45 user MessageBrokerServlet: init 08/07 17:19:45 error Could not pre-load servlet: MessageBrokerServlet [2]java.lang.UnsupportedClassVersionError: radar/RadarBeans (Unsupported major.minor version 49.0) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at jrunx.util.JRunURLClassLoader.defineClass(JRunURLClassLoader.java:188) at jrunx.util.JRunURLClassLoader.findClass(JRunURLClassLoader.java:153) at jrunx.util.JRunURLClassLoader.loadFromLoadClass(JRunURLClassLoader.java: 117) at jrunx.util.JRunURLClassLoader.loadClass(JRunURLClassLoader.java:81) at jrunx.util.JRunURLClassLoader.loadClass(JRunURLClassLoader.java:70) at java.lang.ClassLoader.loadClassInternal(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at flex.messaging.util.ClassUtil.createClass(ClassUtil.java:52) at flex.messaging.factories.JavaFactory$JavaFactoryInstance.getInstanceClas s(Ja vaFactory.java:244) at flex.messaging.factories.JavaFactory$JavaFactoryInstance.createInstance( Java Factory.java:251) at flex.messaging.factories.JavaFactory.createFactoryInstance(JavaFactory.j ava: 93) at flex.messaging.FactoryDestination.getFactoryInstance(FactoryDestination. java :76) at flex.data.adapters.JavaAdapter.server(JavaAdapter.java:158) at flex.data.adapters.JavaAdapter.setSettings(JavaAdapter.java:119) at flex.messaging.Destination.createAdapter(Destination.java:279) at flex.messaging.Destination.initDestination(Destination.java:103) at flex.messaging.FactoryDestination.initDestination(FactoryDestination.jav a:58 ) at flex.data.DataService.createDestination(DataService.java:90) at flex.messaging.services.AbstractService.createDestinations(AbstractServi ce.j ava:82) at flex.messaging.config.MessagingConfiguration.createServices(MessagingCon figu ration.java:187) at flex.messaging.config.MessagingConfiguration.configureBroker(MessagingCo nfig uration.java:84) at flex.messaging.MessageBrokerServlet.init(MessageBrokerServlet.java:105) at jrun.servlet.WebApplicationService.loadServlet(WebApplicationService.jav a:12 00) at jrun.servlet.WebApplicationService.preloadServlets(WebApplicationService .jav a:791) at jrun.servlet.WebApplicationService.postStart(WebApplicationService.java: 293) at jrun.deployment.DeployerService.initModules(DeployerService.java:711) at jrun.deployment.DeployerService.createWatchedDeployment(DeployerService. java :242) at jrun.deployment.DeployerService.deploy(DeployerService.java:430) at jrun.deployment.DeployerService.checkWatchedDirectories(DeployerService. java :179) at jrun.deployment.DeployerService.run(DeployerService.java:891) at jrunx.scheduler.SchedulerService.invokeRunnable(SchedulerService.java:23 0) at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java :428 ) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) [1]flex.messaging.config.ConfigurationException: Error instantiating application scoped instance of type 'radar.RadarBeans' for destination 'contactradar'. at flex.messaging.factories.JavaFactory.createFactoryInstance(JavaFactory.j ava: 117) at flex.messaging.FactoryDestination.getFactoryInstance(FactoryDestination. java :76) at flex.data.adapters.JavaAdapter.server(JavaAdapter.java:158) at flex.data.adapters.JavaAdapter.setSettings(JavaAdapter.java:119) at
[flexcoders] Anyone get this problem when putting in serial numbers?
I installed the Flex Builder 2 trial as a plugin to Eclipse. I then bought Flex Builder and inserted the codes for Flex Builder and Charting. After I put in the codes, I clicked the restart button that was on the dialogue box for inserting the codes and now Eclipse always comes up with a Problem Opening Page error and Eclipse crashes. However, the process is still in Task Manager. Has anyone got this before? -- 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: [Flex2] What do you use for modelling a Flex2 application...?
Dave, for example OmondoUML: http://www.omondo.com I have to admit that I'm a little out of date myself regarding Java, but as far as I hear from my colleagues, the above should work really cool. 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 Dave Wolf wrote: What sorts of tools are you talking about that Java has that you miss with Flex? -- Dave Wolf Cynergy Systems, Inc. Adobe Flex Alliance Partner http://www.cynergysystems.com http://www.cynergysystems.com http://www.cynergysystems.com/blogs http://www.cynergysystems.com/blogs Email: [EMAIL PROTECTED] mailto:dave.wolf%40cynergysystems.com Office: 866-CYNERGY --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com, Thomas Rühl -akitogo- thomas.ruehl@ ... wrote: Thanks for your interest so far... but this isn't really the direction I intended to point out. Dave, I know that the documentation and modelling process basically doesn't depend on HOW an application is written. I'm not trying from model to generated code, although it would be really neat to do so in some cases ;) My concern is to evolve a process, starting with modelling an application the good old way using software architecture possibilities. This not only helps me to evaluate and improve an application, in fact it is also important for me regarding documentation and maintenance processes. Again, I do not necessarily want to generate the code based on a UML or other kind of diagrams, my interest targets the development process before actual implementation starts. As I said, for the Java world, there are lots of tools which we are missing for Flex at the moment. Problem being, these tools are mostly Java specific (for which I think they shouldn't), since they DO want to generate code out of the model. And this is the reason I am interested in how other folks do the modeling. 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 http://www.akitogo.com Jason wrote: There are several AS2 model2code generators such as: http://www.darronschall.com/weblog/archives/000174.cfm http://www.darronschall.com/weblog/archives/000174.cfm http://www.darronschall.com/weblog/archives/000174.cfm http://www.darronschall.com/weblog/archives/000174.cfm http://www.codealloy.com/umlconverter.htm http://www.codealloy.com/umlconverter.htm http://www.codealloy.com/umlconverter.htm http://www.codealloy.com/umlconverter.htm and some others I can't remember right now. It will just be a matter of time untill someone updates one of the projects for AS3, and ideally for Cairngorm. I poked around on sourceforge, but did not see an started project. Darron Schall my be willing to provide his source as a starting point for anyone looking to pick up the project -- it looks like he has a SVN repository set for the source. --jason --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com, Joost Nuijten flexcoders@ wrote: I think what Thomas is trying to say: In the Java world there are a lot of powerful tools that generate the base skeleton of code out of a model. For the Flex world this is all hand work. And how do we cope with this? That is why it is important that we have a framework such as Cairngorm. The one thing that we do not have is an automated tool that generates the Cairngorm base skeleton. ** thinking about creating one myself ** Joost _ Van: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com] Namens Dave Wolf Verzonden: maandag 7 augustus 2006 2:33 Aan: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com Onderwerp: [flexcoders] Re: [Flex2] What do you use for modelling a Flex2 application...? Why does the implementation language (the HOW) have anything significant to do with the modelling and documentation solution you use (the WHAT) ? Are you trying to go from model to generated code? If modelling is important to your development
RE: [flexcoders] Chage text on main preload
Yes, thanks Samuel. Jesus De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] En nombre de Samuel ReubenEnviado el: lunes, 07 de agosto de 2006 14:01Para: flexcoders@yahoogroups.comAsunto: Re: [flexcoders] Chage text on main preload I think you posted the same question on the Discussion forum, it's answered there for you. Thanks, -sam On 8/2/06, Jesús Iglesias [EMAIL PROTECTED] wrote: Hi again, Does anybody know how to change the text of the main preload "Loading" and "Initializing"? Thanks. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS 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] any performance hit using as?
I tend to like to make my code autosense for me, so sometimes I do things like this:MyObjectType(grid.selectedItem).somefield = 3;I assume that adds no overhead, since it is a straight cast (though I could be wrong), since I have seen runtime errors specifically telling me my cast was wrong. But sometimes with Array, I have to use as because it gets a cast confused with a new array contructor. So I'm wondering what the difference in performance is, if any. Given then grid.selectedItem is MyObjectType, consider the following statements:grid.selectedItem.somefield = 3; MyObjectType(grid.selectedItem).somefield = 3; (grid.selectedItem as MyObjectType).somefield = 3; Is there any runtime performance difference to them? I only just now read the help on as I noticed that if it is NOT the desired type, it returns null. That totally messes with my brain, coming from a Delphi background where as throws an exception if it is not the right type. But the thrust of my question involves them being the desired type. -- Jason __._,_.___ -- 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: [Flex2] What do you use for modelling a Flex2 application...?
Again back to my original question. What does the language have to do with using this modelling tool? If, as you say, you're not interested in code generation? You're confusing the WHAT with the HOW. -- Dave Wolf Cynergy Systems, Inc. Adobe Flex Alliance Partner http://www.cynergysystems.com http://www.cynergysystems.com/blogs Email: [EMAIL PROTECTED] Office: 866-CYNERGY --- In flexcoders@yahoogroups.com, Thomas R�hl [EMAIL PROTECTED] wrote: Dave, for example OmondoUML: http://www.omondo.com I have to admit that I'm a little out of date myself regarding Java, but as far as I hear from my colleagues, the above should work really cool. 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 Dave Wolf wrote: What sorts of tools are you talking about that Java has that you miss with Flex? -- Dave Wolf Cynergy Systems, Inc. Adobe Flex Alliance Partner http://www.cynergysystems.com http://www.cynergysystems.com http://www.cynergysystems.com/blogs http://www.cynergysystems.com/blogs Email: [EMAIL PROTECTED] mailto:dave.wolf%40cynergysystems.com Office: 866-CYNERGY --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com, Thomas R�hl -akitogo- thomas.ruehl@ ... wrote: Thanks for your interest so far... but this isn't really the direction I intended to point out. Dave, I know that the documentation and modelling process basically doesn't depend on HOW an application is written. I'm not trying from model to generated code, although it would be really neat to do so in some cases ;) My concern is to evolve a process, starting with modelling an application the good old way using software architecture possibilities. This not only helps me to evaluate and improve an application, in fact it is also important for me regarding documentation and maintenance processes. Again, I do not necessarily want to generate the code based on a UML or other kind of diagrams, my interest targets the development process before actual implementation starts. As I said, for the Java world, there are lots of tools which we are missing for Flex at the moment. Problem being, these tools are mostly Java specific (for which I think they shouldn't), since they DO want to generate code out of the model. And this is the reason I am interested in how other folks do the modeling. 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 thomas.ruehl@ Web http://www.akitogo.com http://www.akitogo.com Jason wrote: There are several AS2 model2code generators such as: http://www.darronschall.com/weblog/archives/000174.cfm http://www.darronschall.com/weblog/archives/000174.cfm http://www.darronschall.com/weblog/archives/000174.cfm http://www.darronschall.com/weblog/archives/000174.cfm http://www.codealloy.com/umlconverter.htm http://www.codealloy.com/umlconverter.htm http://www.codealloy.com/umlconverter.htm http://www.codealloy.com/umlconverter.htm and some others I can't remember right now. It will just be a matter of time untill someone updates one of the projects for AS3, and ideally for Cairngorm. I poked around on sourceforge, but did not see an started project. Darron Schall my be willing to provide his source as a starting point for anyone looking to pick up the project -- it looks like he has a SVN repository set for the source. --jason --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com, Joost Nuijten flexcoders@ wrote: I think what Thomas is trying to say: In the Java world there are a lot of powerful tools that generate the base skeleton of code out of a model. For the Flex world this is all hand work. And how do we cope with this? That is why it is important that we have a framework such as Cairngorm. The one thing that we do not have is an automated tool that generates the Cairngorm base skeleton. ** thinking about creating one myself ** Joost _ Van: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com
[flexcoders] Trying to understand RemoteObjects
Hi all -- I'm a first time poster, what a great group! I've been working with ColdFusion for a while and am moving into Flex with the release of Flex 2. One of the things that's confusing me right now is the RemoteObject. I've seen a couple of similar issues in the posts, but am trying to understand the root of my issue. I created on my local machine the Hello World example that Kyle Quevillon has on the Adobe site (http://www.adobe.com/devnet/flex/articles/helloworld.html) The good news is, it works perfectly on my local machine. The bad news is, when I try to move it to our production server (a shared server running CF 7.0.2), I get a Permission denied message back. (Specifically: faultCode:Server.processing; faultString:'Permission denied'; faultDetail:'Null') I have a feeling that this is related to either a) the settings in my Flex compiler (perhaps the additional compiler arguments), b) a setting on the shared server (they say they set up a crossdomain.xml for our domain), or a combination thereof. Has anyone ran into this error message or see what it is I'm missing? I have a feeling it's something very obvious... Thanks, Al -- 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: WSDLError:Element not resolvable
I use a similar system in my app for disabling the controls until the service is loaded. In the "load" handler, I add handlers for faults and results for the various operations (I don't use operation tags, but instead manually register everything in AS). Here is the general idea... !-- Web service connector -- mx:WebService id="MyWebService" wsdl="http://services.cadtel.com/jbpm-webapp/wsdl/jbpm.wsdl" useProxy="false" showBusyCursor="true" concurrency="multiple" load="MyJbpmWebService.init(); Dashboard.enabled=true;" fault="MyJbpmWebService.defaultFault(event);" / The "init()" method looks like this... public function init():void { service.addEventListener("fault", defaultFault); service.GetProcessDefinitions.addEventListener("result", getProcessDefinitionsResponse); service.GetProcessInstances.addEventListener("result", getProcessInstancesResponse); service.NewProcessInstance.addEventListener("result", newProcessInstanceResponse); service.SignalProcessInstance.addEventListener("result", signalProcessInstanceResponse); } ... and the method that is failing looks like this ... /** * Create XML and send apos;getProcessInstancesapos; message to web service. */ public function getProcessInstances(definitionId:int):void { var xml:XML = new XML( "jbpm:GetProcessInstances xmlns:jbpm=\"http://org.jbpm/service\" " + " xmlns:typ=\"http://org.jbpm/types\"" + " definitionId=\"" + definitionId + "\"/"); service.GetProcessInstances.request = xml; service.GetProcessInstances.resultFormat = "e4x"; try { service.GetProcessInstances.send(); } catch (e:WSDLError) { // TODO: Nasty hack to get around first call failing... service.GetProcessInstances.send(); } } /** * Handles response from getProcessInstances() web service call. */ protected function getProcessInstancesResponse(event:ResultEvent):void { if (!checkForFault(XMLList(event.result))) { controller.receivedGetProcessInstancesResponse( XML(event.result[0].types::ProcessInstances)); } } Note the try...catch block that resubmits the message. Ths fixes the problem, but seems like a huge hack. I have no idea why all of the other operations work fine, but the first call to that particular one always fails. It would be nice to have the source for the WebService class so that I could trace into it, but that doesn't seem to be included in the SDK. Thanks,Derek Adams --- In flexcoders@yahoogroups.com, "Marco Casario" [EMAIL PROTECTED] wrote: I often use a "light system", that is an actionscript class who traces me the status of async processes (with RemoteObject or WebServices). If the light is red, all flex controls involved in invoking any webservice methods are disabled (I used mx:states to handle with it). When the light is green I make controls enabled. Hope that helps, Marco Casario http://casario.blogs.com- Original Message - From: Franck de Bruijn To: flexcoders@yahoogroups.com Sent: Monday, August 07, 2006 6:33 AM Subject: [Norton AntiSpam] RE: [flexcoders] Re: WSDLError:Element not resolvableHi,I am not sure if my answer is really the answer, since I personally don't use the Webservice tag, but the webservice action script classes.When a webservice is initialized, it will load the wsdl from an URL. This can take some time and is an asynchronous process. This means that the webservice loads the WSDL in the background. If it is not finished loading/parsing the wsdl and you try to invoke an operation it will return errors.Try to wait a few seconds and invoke it then, if the error still remains, then this is the reason. How to solve it? I did it like this:secWsImpl = new WebService(); secWsImpl.addEventListener(LoadEvent.LOAD, handleWsLoaded); secWsImpl.addEventListener("fault", handleWsError); secWsImpl.loadWSDL("/FlexTestWebServices/wsdl/SecurityWebServiceRpcEnc8080.wsdl");In the method 'handleWsLoaded' you can then invoke an operation if you'd like, or enable a button or something like that.Cheers, Frnack -- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Derek Adams Sent: Sunday, August 06, 2006 11:56 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: WSDLError:Element not resolvableDid you have any luck figuring this one out? I am having the same problem. The first call to a particular operation always fails, then all calls after that work fine. Even weirder is the fact that a call to another operation on the same service is successful right before the other call fails. --- In flexcoders@yahoogroups.com, "flexava" flexava@ wrote: I ran into a strange problem when I was trying to call a web service.Here's the source: ?xml version="1.0" encoding="utf-8"? mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" mx:Script ![CDATA[ import mx.rpc.events.FaultEvent; import mx.controls.Alert; import mx.rpc.events.ResultEvent; import
[flexcoders] Re: XML2ArrayCollection
Take a look at the E4X documentation. If you use the .. notation you can return a selection of XML as an XMLList. It is not an array, but it behaves more like one. It should be possible to use E4X to get an array, the same as you would with XPath, I am just not sure of the syntax right now. Try this out: in Main.xml ?xml version=1.0? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; width=500 mx:Script ![CDATA[ public var myXML:XML = div tree branchB1/branch /tree tree branchB2/branch /tree /div; [Bindable] public var myArr:XMLList = myXML..tree; ]] /mx:Script mx:TextArea text={myArr} height=140/ mx:TextArea text={myArr[1].branch} / /mx:Application --- In flexcoders@yahoogroups.com, arnold_charming [EMAIL PROTECTED] wrote: Hi! I want to transfer below XML to ArrayCollection. I'm going to use it with mx:tree container. I know I can also use XML but I would prefer arraycollection. Thank you for your help. node label=menu1/node node label=menu2 node label=submenu1/node node label=submenu2/node /node node label=menu3/node -- 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, organizing innumerous States
Hello there! I'm creating a site administrator application, with too manys inputs, classes, views, so on... The MXML code is too large and its getting very complicated to find/search through the code toedit/add States. Is thereany way to stop using states to switch views, and/or create anew file for new States? Or maybe an easier way to organize them without having to write all states in one file? Here's what I have now... --- mx:statesmx:State name="home"mx:AddChild position="lastChild"mx:Panel y="100" width="730" height="600" layout="absolute" title="Área de Manutenção" horizontalCenter="-5" id="painelHome"mx:Panel y="10" width="165" height="225" layout="absolute" title="Dicas da Vovó Lydia" x="10"mx:Image y="10" source="images/manut/lampada.png" horizontalCenter="0"/mx:LinkButton y="66" label="Adicionar" width="100%" horizontalCenter="0" click="currentState = 'dicas_adicionar';"/mx:LinkButton y="96" label="Editar" width="100%" horizontalCenter="0"/mx:LinkButton y="126" label="Estatísticas" width="100%" horizontalCenter="0"//mx:Panelmx:Panel y="10" width="165" height="225" layout="absolute" title="Concurso de Receitas" x="185"mx:Image y="10" source="images/manut/caixapapeis.png" horizontalCenter="0"/mx:LinkButton y="66" label="Aprovar" width="100%" horizontalCenter="0"/mx:LinkButton y="96" label="Editar" width="100%" horizontalCenter="0"/mx:LinkButton y="126" label="Estatísticas" width="100%" horizontalCenter="0"//mx:Panelmx:Panel y="250" width="165" height="225" layout="absolute" title="Livro de Receitas" x="185"mx:Image y="10" source="images/manut/livroaberto.png" horizontalCenter="0"/mx:LinkButton y="66" label="Adicionar" width="100%" horizontalCenter="0"/mx:LinkButton y="96" label="Editar" width="100%" horizontalCenter="0"/mx:LinkButton y="156" label="LinkButton" width="100%" horizontalCenter="0"/mx:LinkButton y="126" label="Estatísticas" width="100%" horizontalCenter="0"//mx:Panelmx:Panel y="10" width="165" height="225" layout="absolute" title="Viva Melhor" x="535"mx:Image y="10" source="images/manut/pessoabrilho.png" horizontalCenter="0"/mx:LinkButton y="66" label="Adicionar" width="100%" horizontalCenter="0"/mx:LinkButton y="96" label="Editar" width="100%" horizontalCenter="0"/mx:LinkButton y="126" label="Estatísticas" width="100%" horizontalCenter="0"//mx:Panelmx:Panel y="250" width="165" height="225" layout="absolute" title="Chamadas" x="10"mx:Image y="10" source="images/manut/speaker.png" horizontalCenter="0"/mx:LinkButton y="66" label="Página Inicial" width="100%" horizontalCenter="0"/mx:LinkButton y="96" label="Viva Melhor" width="100%" horizontalCenter="0"/mx:LinkButton y="126" label="Livro de Receitas" width="100%" horizontalCenter="0"/mx:LinkButton y="156" label="Receitas do Concurso" width="100%" horizontalCenter="0"//mx:Panelmx:Panel y="10" width="165" height="225" layout="absolute" title="ABC dos Alimentos" x="360"mx:Image y="10" source="images/manut/potelupa.png" horizontalCenter="0"/mx:LinkButton y="66" label="Adicionar" width="100%" horizontalCenter="0"/mx:LinkButton y="96" label="Editar" width="100%" horizontalCenter="0"/mx:LinkButton y="126" label="Estatísticas" width="100%" horizontalCenter="0"//mx:Panel/mx:Panel/mx:AddChild/mx:State --- You see? This is just for the States... then there is the scripts, styles, transitions and everything else. Its gonna get massive!! I could create various mxml and switch between them with "getURL", but this way dont sounds good as it will refresh the page loading another. There is any other way? Thank you in advance, Michel. __._,_.___ -- 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] Web Service arguments in AS - how do you create repeated children?
Hi Ben, I do the following to achieve this. Lets say I have a Customer who can have multiple Address objects. Compare Customer with your SelectedPlans and Address with PlanNumber. My Customer AS class looks like this (boring parts omitted) package model { your imports ... public class Customer { your other attributes public var addresses:Array = new Array(); and the rest ... The Address AS class is nothing more than this: package model { your imports ... public class Address { public var street:String; public var houseNumber:int = 0; ... you get the idea To store multiple Address objects into the Customer object, you just fill the array addresses with Address objects. You can now throw the entire Customer object as single argument into your webservice call. Flex will unmarshal the array correctly and generate the XML as you describe below. Hope this helps, Cheers, Franck From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of ben.clinkinbeard Sent: Monday, August 07, 2006 3:11 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Web Service arguments in AS - how do you create repeated children? Hello, I am sending arguments to my SOAP method, but can't figure out how to do repeated children in AS. For example, part of my call looks like this in XML: SelectedPlans PlanNumber12345/PlanNumber PlanNumber56789/PlanNumber /SelectedPlans I cannot figure out how to create this structure in AS. It seems that I have to use an Object (args.SelectedPlans = new Object();) in order for the name to be preserved during the conversion to XML, but objects obviously can't have 2 properties with the same name. Does anyone know how to do this? Thanks, Ben __._,_.___ -- 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: XMLList with a single item as a dataprovder
Here's the answer: http://livedocs.macromedia.com/flex/2/langref/XMLList.html#toXMLString() --- In flexcoders@yahoogroups.com, Rick Root [EMAIL PROTECTED] wrote: Why can the XMLList object with a single node and no subitems be used as a dataprovider for a list driven item, such as a tree, but I can't dump it out using the inherited toString() method? For an example, please take a look at the following simple flex app. It contains two trees, each populated with data from an XMLList object. One of those has only a single node with no subitems, the other has a single node with one subitem. https://www.it.dev.duke.edu/temp/flex/bin/Test.html source: https://www.it.dev.duke.edu/temp/flex/Test.txt As you can see, in both cases, the data shows up in the tree items exactly as you would expect. But when I try to dump it to a textarea, the XMLList object with the single node and no subitems doesn't appear. I have read the documentation on XML on livedocs and looked at the XMLList documentation as well. Allegedly, the answer to my question is in there but I can't find it. rick __._,_.___ -- 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] Java developers: How do you organize your projects?
Hi Dave, I use Eclipse WTP with the Flex plugin. I develop my Flex application in a single Flex project. I then have a dummy Eclipse WTP Dynamic project, which is nothing more than an empty shell. I have than an ant script copying over all the binary files from the Flex project to the Dynamic project. After that I publish the dynamic web project to Tomcat. Its a little bit manual and sounds maybe tedious, but once you get the hang of it and define some shortcuts, it goes pretty slick and quick. You can also define a run-command to run your application remotely from within Eclipse. Cheers, Franck Van: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] Namens Dave Bobby Verzonden: zondag 6 augustus 2006 23:41 Aan: [EMAIL PROTECTED]ups.com Onderwerp: [flexcoders] Java developers: How do you organize your projects? Currently, I have a client-side flex running in Flex Builder stand- alone and a java server-side which is running in Eclipse, eventually deployed to tomcat. Now when I run from my Flex Builder, I can access my tomcat by just saying http://localhost:8080/project/login.html?user=apass=b .. but this is not extensible, so the question is how do you physically lay out your projects? .. do you have ant builds that create a war with all the files copied over? .. do you separate your flex builder from eclipse or run them together as flex (plugin) and java (in eclipse) at one time .. if you develop all in one project (java and flex) how do you separate these concerns, for example, flex requires that application mxml be in the root of the project and say cairngorm files would be in root/com/... I need to set this up fast before other developers join the project, appreciate your inputs. Thanks. Dave. __._,_.___ -- 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] Simple TextField Question
I have a simple app that I want to have text show up using a TextField. public function onTest() : void { var myText:TextField = new TextField(); myText.x = 100; myText.y = 100; myText.width = 75; myText.autoSize = TextFieldAutoSize.CENTER; myText.height = 50; myText.width = 200; myText.backgroundColor = 0x849383; myText.text = Test Test Test Test Test Test; var format1:TextFormat = new TextFormat(); format1.color = 0xFF; myText.setTextFormat(format1); addChild(myText); } I click on the button and get the error: TypeError: Error #1034: Type Coercion failed: cannot convert flash.text::[EMAIL PROTECTED] to mx.core.IUIComponent. at mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::addingChild() at mx.core::Container/addChildAt() at mx.core::Container/addChild() at Step5/onTest() at Step5/___Button1_click() The addChild does not like that it is not a UIComponent. The addChild works for text, Label and other UIComponents. I cannot get the textField to show up. Eventually I want to have a component that includes one or two text areas that are read only to the user, what is the best way to do this? Rich -- 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/