Re: [flexcoders] [BETA3] I am still having a problem.
Hi, stacey. Many thanks for your help. I see how can add child node on a Tree with dataDescriptor from you. I had strived to know how I can do it. Thank you, Bryan. - Original Message - From: [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, May 23, 2006 2:03 PM Subject: Re: [flexcoders] [BETA3] I am still having a problem. Use the dataDescriptor for the tree- here is an example from some base code i posted earlier about selecting a tree node item - but the jist of it is : var xm:ITreeDataDescriptor=myTree.dataDescriptor; xm.addChildAt(treeData.node.node[0], node label='BitchWhoCodes'/,0); FULL CODE FOLLOWS :) ,,--- ?xml version=1.0 encoding=utf-8? !-- Tree control example. -- mx:Application xmlns:mx=http://www.adobe.com/2006/mxml mx:Script ![CDATA[ import mx.controls.List; import mx.collections.ICollectionView; import mx.collections.*; import mx.controls.treeClasses.*; [Bindable] public var selectedNode:Object; [Bindable] public var XLC:XML; // Event handler for the Tree control change event. public function initApp(){ var xm:ITreeDataDescriptor=myTree.dataDescriptor; var xml:XMLListCollection=new XMLListCollection(treeData); myTree.expandItem(treeData.node[0],true,false); myTree.expandItem(treeData.node.node[0],true,false); xm.addChildAt(treeData.node.node[0], node label='BitchWhoCodes'/,0); var item=treeData.node.node[0]; myTree.selectedItem=item; } public function treeChanged(event:Event) : void { selectedNode=Tree(event.target).selectedItem; } ]] /mx:Script mx:XMLList id=treeData node node label=Mail Box node label=Inbox node label=Marketing/ node label=Product Management/ node label=Personal/ /node node label=Outbox node label=Professional/ node label=Personal/ /node node label=Spam/ node label=Sent/ /node /node /mx:XMLList mx:Panel title=Tree Control Example height=75% width=75% paddingTop=10 paddingLeft=10 paddingRight=10 paddingBottom=10 mx:Label text=Select a node in the Tree control./ mx:HDividedBox width=100% height=100% mx:Tree id=myTree width=50% height=100% labelField=@label showRoot=false dataProvider={new XMLListCollection(treeData)} change=treeChanged(event) creationComplete=initApp()/ mx:TextArea height=100% width=50% text=Selected Item: [EMAIL PROTECTED]/ /mx:HDividedBox /mx:Panel /mx:Application Hi, As you can see below, I solved the problem. private function addChildAtTree ():void { var foo:XMLList = capitalColl.children (); var foo_0 :XMLList = foo[0].children(); var fooColl :XMLListCollection = new XMLListCollection ( foo_0 ); fooColl.addItem ( new XML ( capital label='ME' value='Augusta'/ ) ); Tree2.invalidateList(); } But I wanna know if you have any idea other. Let me know it. Thank you, Bryan. - Original Message - From: Bryan Choi To: flexcoders Sent: Tuesday, May 23, 2006 12:02 PM Subject: [flexcoders] [BETA3] I am still having a problem. var foo:XMLList = capitalColl.children (); foo.appendChild(new XML ( capital label='ME' value='Augusta'/)); I tried to execute it. I can see that it show me follow message. --- TypeError: Error #1086: The appendChild method only works on lists containing one item. --- Have you Any idea other? Thank you, Bryan. -- 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 a.. Visit your group flexcoders on the web. b.. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- Yahoo! Groups Sponsor ~-- Protect your PC from spy ware with award winning anti spy technology. It's free. http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Re: [flexcoders] Can I save some information to a file?
hi tracyi have the same question about updating the information of an xml external file.can you send me some example too?thanks, manuel2006/5/19, Tracy Spratt [EMAIL PROTECTED]: No. Flex is a client technology and cam communicate with the server in only a few specific ways. Keeping the Flex Data Services part out of the question for now, you must use one of the RPC methods to do any work on the server. I have a full example app (1.5) that retrieves, edits and saves an xml file using JSP. I will send you a copy of that if you wish. Tracy From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of ??? Sent: Thursday, May 18, 2006 11:06 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Can I save some information to a file? I read the flexcoder's archive articles. I found that you have answered the question Updating and Retriving Data From XML File FLEX 2 I just want to know, if I don't use Java, .net, php as my backend, can I update and save a file? 2006/5/18, Tracy Spratt [EMAIL PROTECTED]: We need a little more detail.Config file where?How did you get it? Where are you displaying it? What kind of file is it?What is your backend? Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of calvin33castic Sent: Wednesday, May 17, 2006 11:18 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Can I save some information to a file? In my app, I got some information from config file. But how can I modify the information and save as a new config file? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links Yahoo! Groups Sponsor ~-- Get to your groups with one click. Know instantly when new email arrives http://us.click.yahoo.com/.7bhrC/MGxNAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ -- Flexcoders 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 . -- Manuel Bordallo DávilaProyecto Jara924 389280[EMAIL PROTECTED] -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS 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] Flex2b3, Wine and trace()
Has anyone managed to get the Flash9 player in Wine on Linux outputting trace() messages ? I've set Wine to tell Firefox it's Windows 2000, and the about: URI agrees with me. I've created a mm.cfg in the root of Wine's C drive, containing just the one line to enable trace output. No log file appears :-( -- 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. We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the Year at the 2005 Growth Company Awards -- 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] CF, Flexmessaging and FDS2: Unknown destination 'ColdFusionGateway'
Barry, Where are you defining your ColdFusionGateway, in FDS flex-message-service.xml or in your ColdFusion flex-enterprise-services.xml ? João Fernandes Dep. Informática - Área de Desenvolvimento Cofina media Avenida João Crisóstomo, Nº 72 . 1069-043 Lisboa PORTUGAL Tel (+351) 213 185 200 . Fax (+351) 213 540 370 [EMAIL PROTECTED] From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Barry Beattie Sent: terça-feira, 23 de Maio de 2006 3:35 To: flexcoders@yahoogroups.com Subject: [flexcoders] CF, Flexmessaging and FDS2: Unknown destination 'ColdFusionGateway' I'm trying to get Ben Forta's CF/FDS2/gateway example going http://www.forta.com/blog/index.cfm/2006/2/1/Getting-Started-With-ColdFusion-And-Flex-Enterprise-Services and keep hitting Unknown destination 'ColdFusionGateway' this means that FDS2 can't find ColdFusion's gateway, yes? - FDS2 (localhost:8700) can't talk to CF (installed on IIS). The FlexMessaging gateway verifies in the CF admin. I *did* install FDS2 after installing the CF connectivity (mystic upgrade), though... I'm also calling the mxml file so it compiles on the server (not in a FB project) I was really hoping Simon's answer was it...but no... http://www.mail-archive.com/flexcoders@yahoogroups.com/msg24916.html. any suggestions on things to try? below is more of the error and a copy of my flex-message-service.xml at C:\fds2\jrun4\servers\default\samples\WEB-INF\flex thanx barry.b [MessagingError message=Unknown destination 'ColdFusionGateway'.] at mx.messaging.config::ServerConfig$/getChannelSet() at mx.messaging::MessageAgent/mx.messaging:MessageAgent::initChannelSet() at mx.messaging::MessageAgent/mx.messaging:MessageAgent::internalSend() at mx.messaging::Consumer/subscribe() at Flex2CF/initApp() ?xml version=1.0 encoding=UTF-8? service id=message-service class=flex.messaging.services.MessageService messageTypes=flex.messaging.messages.AsyncMessage adapters adapter-definition id=actionscript ... / adapter-definition id=jms ... / adapter-definition id=cfgateway class=coldfusion.flex.CFEventGatewayAdapter/ /adapters destination id=ColdFusionGateway adapter ref=cfgateway / properties gatewayid*/gatewayid gatewayhostmy.IP.adderss.NFP/gatewayhost allowedIPsmy.IP.adderss.NFP/allowedIPs /properties channels channel ref=my-rtmp/ channel ref=my-polling-amf/ /channels /destination /service -- 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 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] Cairngorm Flex Data Services
Thanks Steven, We are starting fully with FDS right now and since this is new in the framework compared with .99 and never saw any posts about it, I was wondering what should be the approach since the behavior is quite different from what we are used to. For now Im not integrating DS Messaging inside Cairngorm since I cant take full advantage of it. I dont want to start any kind of custom implementation since the final product will be 100% with cairngorm. Since youre already working on it, Ill gladly wait for a good reading João Fernandes Dep. Informática - Área de Desenvolvimento Cofina media Avenida João Crisóstomo, Nº 72 . 1069-043 Lisboa PORTUGAL Tel (+351) 213 185 200 . Fax (+351) 213 540 370 [EMAIL PROTECTED] From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Steven Webster Sent: segunda-feira, 22 de Maio de 2006 15:43 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Cairngorm Flex Data Services Joao, You ask some excellent questions. Within Adobe Consulting, we're currently focussed on establishing some best-practice guidance here, but as always our best-practice guidance is based upon field experience as much as possible. We're running a number of projects right now with Flex 2, Cairngorm 2 and Flex Data Services, and would hope to share some of this material through our Adobe Consulting blogs in the near future. I'd be equally as interested to hear your own approaches. I'll circle with some of the team internally here, and we'll see if we can't blog some ideas shortly. Best, Steven Steven Webster Practice Director (Rich Internet Applications) Adobe Consulting Westpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UK p: +44 (0) 131 338 6108 m: +44 (0)7917 428 947 [EMAIL PROTECTED] From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of João Fernandes Sent: 22 May 2006 14:57 To: flexcoders@yahoogroups.com Subject: [flexcoders] Cairngorm Flex Data Services Hi there, Where does messaging and data-services fit in cairngorm? Should I put them define them in the serviceLocator like my remote Objects? How to handle conflict/message notifications ? should my command implement a new interface? How about messaging? Thanks, João Fernandes Dep. Informática - Área de Desenvolvimento Cofina media Avenida João Crisóstomo, Nº 72 . 1069-043 Lisboa PORTUGAL Tel (+351) 213 185 200 . Fax (+351) 213 540 370 [EMAIL PROTECTED] -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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 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] Cairngorm: how many listeners can be registered?
Everything works quite fine with Cairngorm model. Still I have my concerns regarding the number of event listeners to be registered on the Application.application, As I see it right now, even if I have commands to be executed in different components (like TitleWindows, Panels), the event listeners will still be registered on Application.application. Can anyone tell, what's the maximum advisable number of event listeners should be, thus not to hinder the overall performance? Iuliu __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.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] FB2B3 :: Organize Imports :: BUG
Ha, Bug, well to me it's a bug. You know how there are verbose and no-verbose individuals in the world? Well, I am verbose and would love for ALL the imports to STAY if I want them there. Now, is there any way that you can have FB2 call 'Organize Imports' and organize ALL the imports you have listed WITHOUT deleting the ones in the same package!? I like to see ALL the imports I am using. I can't most of the time even want to take the time to care if it's 'in the same package', I just want to see all my imports. Ironically, so does Adobe becasue they have every single import listed even if the imported file exists in the same package. Could you put a preferences check box or something for us that like to save them. I know this changed from b2 to b3, b2 did not delete your imports. Peace, Mike-- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS 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 1.5 Production Mode
Hi, we habe a problem with the production mode in Flex 1.5... As soon as we set production-mode to true in flex-config.xml we get a lot of Warings which we don't see in non-production mode (disbaled). Moreover the compile time is as long as in non-production mode. There seems no delivery of an already compiled SWF, instead cpu is 99% for some seconds like while compiling. I am afraid something goes wrong but I have no clue what. Any help, comments and suggestions are highly welcome... Thanks in advance Reto -- 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 1.5 SSL configuration
Hi, I have a problem concerning Flex configuration with SSL. SSL does work ok when enabled, but there is a small problem still. Let me explain the network conf that is causing my problem: We have a flex server, that would be a public server with ip (ie. 123.123.123.123). Internally the actual ip would be ie. 321.321.321.321. Then we have a firewall that forwards the traffic to 123.123.123.123 to 321.321.321.321. If I set the HTTP services in mxml ( internal services that the flex app uses on the same server as flex server), The service calls fail since it tries to call services on 123.123.123.123, and flex thinks the server is 321.321.321.321 - Error: No route to host. If I define the services to be named and on flex server flex-config file, (ie. setting the url: https://321.321.321.321:8443/jsp/myjsp.jsp) it works fine, but I run into problem if I want to run flex app without SSL and if I set the service URL as http, then https clients fail. Any workaround or config setting to get around this issue so that the same config file could be used for http https? I remind that URL cannot be set on client (I prefer named services), I cannot use {context.root} or {localserver} on serverend (because of the firewall forwarding). Thanks, Mika -- 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] FB2B Flex Builder extensions and plugins
The Adobe site says that Flex Builder 2.0 can be installed as a standard desktop application or as a plug-in to the Eclipse 3.1 IDE. If it is installed as a standard desktop application does it lose any support for plug-ins? For example, can I make a plug-in or panel for the Flex Builder IDE? Is there any documentation on this? Thanks, Judah -- Always bear in mind that your own resolution to succeed is more important than any one thing. You can have anything you want - if you want it badly enough. You can be anything you want to be, do anything you set out to accomplish if you hold to that desire with singleness of purpose. - Abraham Lincoln -- 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] FB2B Flex Builder extensions and plugins
Judah, I have subEclipse, CFEclipse and xmlBuddy running with no problem with the standalone version of FB. João Fernandes Dep. Informática - Área de Desenvolvimento Cofina media Avenida João Crisóstomo, Nº 72 . 1069-043 Lisboa PORTUGAL Tel (+351) 213 185 200 . Fax (+351) 213 540 370 [EMAIL PROTECTED] From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of judah Sent: terça-feira, 23 de Maio de 2006 11:49 To: flexcoders@yahoogroups.com Subject: [flexcoders] FB2B Flex Builder extensions and plugins The Adobe site says that Flex Builder 2.0 can be installed as a standard desktop application or as a plug-in to the Eclipse 3.1 IDE. If it is installed as a standard desktop application does it lose any support for plug-ins? For example, can I make a plug-in or panel for the Flex Builder IDE? Is there any documentation on this? Thanks, Judah -- Always bear in mind that your own resolution to succeed is more important than any one thing. You can have anything you want - if you want it badly enough. You can be anything you want to be, do anything you set out to accomplish if you hold to that desire with singleness of purpose. - Abraham Lincoln -- 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 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] CF, Flexmessaging and FDS2: Unknown destination 'ColdFusionGateway'
Where are you defining your ColdFusionGateway, in FDS flex-message-service.xml or in your ColdFusion flex-enterprise-services.xml ? only in the FDS flex-message-service.xml in C:\fds2\jrun4\servers\default\samples\WEB-INF\flex that's what the error means, yes? that Flex doesn't know where CF and the gateway are? I've no doubt that I've got some setting wrong, but which? - the MXML code sends the name of the gateway (Flex2CF) along to the flexgateway which, thanx to the IP address in flex-message-service.xml looks for the CF server with the gateway Flex2CF. that's the part that seems to have broken down. flex cant find the CF gateway. at the moment I just want to run the mxml file with out errors. passing data from CF thru the CF gateway to the flex message service then on to the mxml is step two. any ideas? thanx -- 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] FB2B Flex Builder extensions and plugins
Judah, This is to early in the morning for you! Whats going on? ;-) Search the archives, I asked the same question about plugins and somebody replied with an Eclipse book that is all about plugins. I really don't think it is 'easy' but, I know it can be done. Adobe, you also say you have extension API's which I have seen but, are you releasing any docs or have any that could get us 'interested in extensions' a first step or direction? Peace, MikeOn 5/23/06, João Fernandes [EMAIL PROTECTED] wrote: Judah, I have subEclipse, CFEclipse and xmlBuddy running with no problem with the standalone version of FB. João Fernandes Dep. Informática - Área de Desenvolvimento Cofina media Avenida João Crisóstomo, Nº 72 . 1069-043 Lisboa PORTUGAL Tel (+351) 213 185 200 . Fax (+351) 213 540 370 [EMAIL PROTECTED] From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of judah Sent: terça-feira, 23 de Maio de 2006 11:49 To: flexcoders@yahoogroups.com Subject: [flexcoders] FB2B Flex Builder extensions and plugins The Adobe site says that Flex Builder 2.0 can be installed as a standard desktop application or as a plug-in to the Eclipse 3.1 IDE. If it is installed as a standard desktop application does it lose any support for plug-ins? For example, can I make a plug-in or panel for the Flex Builder IDE? Is there any documentation on this? Thanks, Judah -- Always bear in mind that your own resolution to succeed is more important than any one thing. You can have anything you want - if you want it badly enough. You can be anything you want to be, do anything you set out to accomplish if you hold to that desire with singleness of purpose. - Abraham Lincoln -- 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 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. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS 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] FB2B Flex Builder extensions and plugins
I believe the extension API will does have some documentation in the help. At least I can see it in my current build, so there may be some in Beta 3. I know that the eng team is planning on releasing more unofficial docs post-release to cover anything we fail to get. Keep an eye on David Zuckermans blog for example (http://www.davidzuckerman.com/adobe). Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michael Schmalle Sent: Tuesday, May 23, 2006 7:49 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] FB2B Flex Builder extensions and plugins Judah, This is to early in the morning for you! Whats going on? ;-) Search the archives, I asked the same question about plugins and somebody replied with an Eclipse book that is all about plugins. I really don't think it is 'easy' but, I know it can be done. Adobe, you also say you have extension API's which I have seen but, are you releasing any docs or have any that could get us 'interested in extensions' a first step or direction? Peace, Mike On 5/23/06, João Fernandes [EMAIL PROTECTED] wrote: Judah, I have subEclipse, CFEclipse and xmlBuddy running with no problem with the standalone version of FB. João Fernandes Dep. Informática - Área de Desenvolvimento Cofina media Avenida João Crisóstomo, Nº 72 . 1069-043 Lisboa PORTUGAL Tel (+351) 213 185 200 . Fax (+351) 213 540 370 [EMAIL PROTECTED] From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of judah Sent: terça-feira, 23 de Maio de 2006 11:49 To: flexcoders@yahoogroups.com Subject: [flexcoders] FB2B Flex Builder extensions and plugins The Adobe site says that Flex Builder 2.0 can be installed as a standard desktop application or as a plug-in to the Eclipse 3.1 IDE. If it is installed as a standard desktop application does it lose any support for plug-ins? For example, can I make a plug-in or panel for the Flex Builder IDE? Is there any documentation on this? Thanks, Judah -- Always bear in mind that your own resolution to succeed is more important than any one thing. You can have anything you want - if you want it badly enough. You can be anything you want to be, do anything you set out to accomplish if you hold to that desire with singleness of purpose. - Abraham Lincoln -- 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 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. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS 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] F2B3: Javascript security
Thanks Rotislav and Manish. Maybe crossdomain Policy File will help? I tried putting the crossdomain.xml file in the same directory as my .swf file and .html file, but I still get the same security errors. Running the page off a web server should work without any problems. This is for a Flex app that would be opened from a HTML page on a CD, rather than on a webserver. At the moment I can't seem to see how the Flex code can call into _javascript_ in the container page in this situation. The original folder is granted some special permissions during Flex Builder installation. I tested this too. Even if I move the page to another folder within the default workspace, the security error is trigerred, so it is bound to exactly the location it was compiled into. Cheers, 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.
[flexcoders] Webservice result accessing elements
Hi (Flex 2 Beta version) I am having trouble gaining access to the child elements from a webservice call with a resultformat type of e4x. I am receiving the results as expected but I haven't been able to gain access to elements nested within the XML. I would like to be able to gain access to the ''modules'' elements within the results. For example, using the e4x format I should be able to access elements from the WSDL results: event.result.ns1::findEquipmentReturn.modules; (See the below code for complete app, just outputting to text field at the moment) Any help would be appreciated. Cheers Wayne !-- XML result from WSDL -- ?xml version=1.0 encoding=UTF-8? findEquipmentResponse xmlns=http://com.si.macs.equipment.appservice xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance xmlns:xsd=http://www.w3.org/2001/XMLSchema xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/ findEquipmentReturn centre descriptionMERREDIN/description nameMDIB/name stateWA/state typeTRAN/type /centre equipmentNumber1/equipmentNumber id610920/id modules modules id849546/id moduleNumber1/moduleNumber subrack1/subrack typeBL/type /modules modules id849547/id moduleNumber2/moduleNumber subrack1/subrack typeLL/type /modules modules id849548/id moduleNumber3/moduleNumber subrack1/subrack typeBL/type /modules /modules nameMDIB UMUX-N 1/name typeUMUX-N/type /findEquipmentReturn /findEquipmentResponse !-- FLEX CODE -- ?xml version=1.0? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml xmlns=* pageTitle=Test mx:Script ![CDATA[ import mx.controls.List; import mx.rpc.soap.*; import mx.rpc.events.ResultEvent; import mx.rpc.events.FaultEvent; import mx.controls.Alert; import mx.messaging.*; // init vars public var ns1:Namespace = new Namespace (http://com.si.macs.equipment.appservice/); // Process results from webservice call private function doResults(event:ResultEvent):void{ var x:XML = XML(event.result) // get xml (using namespace ns1) // txt1.text = event.result.ns1::findEquipmentReturn; (This doesn't work) txt1.text = event.result.toString(); } // Process faults from webservice call private function doFault(event:FaultEvent):void{ txt1.text = String(event.fault.faultCode + : + event.fault.faultString); } ]] /mx:Script mx:WebService id=WS wsdl=http://localhost:8080/macs- ws/services/RetrieveEquipment?WSDL useProxy=false fault=doFault(event); result=doResults(event); mx:operation name=findEquipment resultFormat=e4x mx:request nameMDIB UMUX-N 1/name /mx:request /mx:operation /mx:WebService mx:HBox mx:Button label=Get Equipment click=WS.findEquipment.send ()/ mx:TextArea id=txt1 width=600 height=500/ /mx:HBox /mx:Application -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS 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] about Label with htmlText
Hello,flexcoders When I use FlexBuilder 2.0 Beta 3,I find an interesting problem. I want to use a Label with htmlText.when I writ like this: mx:Label fontSize=14 mx:htmlText ![CDATA[ font color=#FFThis/font is bhtml text/b iin a/i font color=#99Label/font ucomponent/u/font ]] /mx:htmlText /mx:Label It doesn't work. But if I write the code like this: mx:Label fontSize=14 mx:htmlText ![CDATA[font color=#FFThis/font is bhtml text/b iin a/i font color=#99Label/font ucomponent/u/font]] /mx:htmlText /mx:Label It work well.I just change it by write the ![CDATA[ ]] and the html text in one the same line~Is that a bug?? Peace, Dreamer [EMAIL PROTECTED] 2006-05-23 -- 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: Passing data between two datagrids
To tracy Sprattwhen am trying out this example,i get errors.. am not able to understand what kinda mistake am making?or what has to be considered for such codesplease reply soonSimpleTitleWindowExample.mxml?xml version="1.0" encoding="utf-8"?!-- Simple application to demonstrate TitleWindow layout container. --mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" mx:Script ![CDATA[ import mx.managers.PopUpManager; import mx.containers.TitleWindow; // Open the TitleWindow container. // Cast the return value of the createPopUp() method // to SimpleTitleWindowExample, the name of the // component containing the TitleWindow container.private function showWindow():void {var login:SimpleTitleWindowExample=SimpleTitleWindowExample(PopUpManager.createPopUp( this, SimpleTitleWindowExample , true)); // Pass a reference to the TextInput control // to the TitleWindow container so that the // TitleWindow container can return data to the main application. login.loginName=returnedName; } ]] /mx:Script mx:Panel title="TitleWindow Container Example" height="75%" width="75%" paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10" mx:Button label="Click to open the TitleWindow container" click="showWindow();"/ mx:Text id="returnedName" text="" width="100%"/ /mx:Panel/mx:Application--TitleWindowApp.mxml-?xml version="1.0" encoding="utf-8"?!-- Simple custom MXML TitleWindow component. The TitleWindowApp application displays this component. You cannot run it independently. -- mx:TitleWindow xmlns:mx="http://www.adobe.com/2006/mxml" title="Title Window" x="168" y="86" mx:Script ![CDATA[ import mx.managers.PopUpManager; import mx.controls.Text; // A reference to the TextInput control in which to put the result. public var loginName:Text; // Event handler for the OK button. private function returnName():void { loginName.text="Name entered: " + userName.text; PopUpManager.removePopUp(this); } ]] /mx:Script mx:HBox mx:Label text="Enter Name: "/ mx:TextInput id="userName" width="100%"/ /mx:HBox mx:HBox mx:Button label="OK" click="returnName();"/ mx:Button label="Cancel" click="PopUpManager.removePopUp(this);"/ /mx:HBox/mx:TitleWindowerrors are1 Access of undefined property SimpleTitleWindowExample. 2 Call to a possibly undefined method SimpleTitleWindowExample. 3 Type was not found or was not a compile-time constant: SimpleTitleWindowExample. 4 Access of possibly undefined property loginName through a reference with static type SimpleTitleWindowExample. please reply soon, -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! India Answers Share what your know-how and wisdom Send free SMS to your Friends on Mobile from your Yahoo! Messenger Download now -- 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] FB2B Flex Builder extensions and plugins
The stand alone version of FB2 is pretty much a customized distribution of Eclipse based on (at the moment) Eclipse 3.1.2, so you get all the functionality and extensibility of Eclipse. The major difference is that many of the features that come preinstalled with the default distribution of Eclipse (the JDT, for example) aren't bundled with FB2, while the Flex Builder feature is. Bottomline: If you plan on working with more than just Flex in the same IDE, you're probably better off choosing the plugin. If on the other hand, you pretty much only do Flex based stuff anyway, you should use the FB2 distribution. cheers, till judah wrote: The Adobe site says that Flex Builder 2.0 can be installed as a standard desktop application or as a plug-in to the Eclipse 3.1 IDE. If it is installed as a standard desktop application does it lose any support for plug-ins? For example, can I make a plug-in or panel for the Flex Builder IDE? Is there any documentation on this? Thanks, Judah -- __ Till Schneidereit Max-Brauer-Allee 259 phone ++49 40 98238528 20354 Hamburg fax ++49 40 98238530 germany __ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS 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] VBox as a popup?
Hello, I was looking for the solution of my problem but I couldn't find anything. I wish to display VBox control as a popup like: columnsWidget = PopUpManager.createPopUp(DisplayObject (Application.application), VBox, false) as VBox; So the problem is this doesn't work (code after this line is not executed) :) In documentation for PopUpManager.createPopUp is written: --- className:Class Class of object that is to be created for the popup. The class must implement IFlexDisplayObject. --- So I'm going to VBox specification and I see VBox inherits from UIComponent which implements IFlexDisplayObject. So what is wrong? Thank you. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS 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] Cairngorm: how many listeners can be registered?
It depends on what you do inside your listeners. If you are concerned about performance, you can simply test it by adding a lot of dummy listeners which add a certain workload to your system. Cheers, Ralf On 5/23/06, Iuliu Burtoiu [EMAIL PROTECTED] wrote: Everything works quite fine with Cairngorm model. Still I have my concerns regarding the number of event listeners to be registered on the Application.application, As I see it right now, even if I have commands to be executed in different components (like TitleWindows, Panels), the event listeners will still be registered on Application.application. Can anyone tell, what's the maximum advisable number of event listeners should be, thus not to hinder the overall performance? Iuliu __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.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 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] All experts need suggestion please help
Hi, I want to build educational system for what I am looking for language that can achieve this. Flash or Flex 2 or any other. My questions are 1- Do we have all the functionality of Flash MX 2004 like developing tile based Games etc in FLex 2? 2- This is important. I am looking forward to work on a project and for that I need right technology. Project is I want to educate people from my website. I will upload material where each user can read the material word by word (as book). They can listen to it word by word and as they listen, whole line is highlighted and that word be highlighted as speaker reading the line (Recorded voice). They can listen to the pronounceation of word when mouse over or click to know how it should sound like. Basically project about learning language. Do you think it can be achieved by Flex 2 (as bounded to database) or with Flash MX 2004? if not with both than I will look for another language. Someone replied me below For your education website, Flex supports a subset of html text rendering, has a rich mouse event system and can easily stream and play MP3s. I hope some one will answer my questions. 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: DataGrid cell edit and Row color problem
Dear all, Thanks all of you. By the way, there are some method which can work for Both Flex 1.5 and Flex 2? capho --- In flexcoders@yahoogroups.com, [EMAIL PROTECTED] wrote: I think you need to have your renderer implement one of the interfaces like mx.controls.listClasses.IDropInListItemRenderer but not 100 percent sure. it might give you somewhere to look.. I assume you are not using Flex 2 as I am pretty sure setPropertiesAt is no longer supported. But even in 1.5, setPropertiesAt can only be used to set a very small amount of styles/properties. Color I know is not one of them. You can set backgroundColor, icon and maybe one or two others. Otherwise, probably best to use a customer cellRenderer that contains a method which updates that cell's styles on edit, etc.. Hope that helps. Karl Karl Johnson Cynergys Systems, Inc. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sinacapho Sent: Monday, May 22, 2006 9:42 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] DataGrid cell edit and Row color problem Dear all, nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp; i have need to change the row color after the one of the cell have been edit. people says that it can use nbsp;nbsp;nbsp;nbsp; dg.setPropertiesAt(2, {backgroundColor:0xFF}); nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp; i find it work ^_^, but i have also add other properties by 1) dg.setPropertiesAt(2, {backgroundColor:0xFF,color:0xFF}); 2) dg.setPropertiesAt(2, {backgroundColor:0xFF}); nbsp;nbsp; dg.setPropertiesAt(2, {color:0xFF}); 3) updated_style.backgroundColor = quot;0xFFquot;; nbsp;nbsp; updated_style.color nbsp;nbsp;nbsp;nbsp;nbsp; nbsp;nbsp;nbsp;nbsp;nbsp; = quot;0xFFquot;; nbsp;nbsp; updated_style.fontStyle nbsp;nbsp;nbsp;nbsp;nbsp; = quot;italicquot;; nbsp;nbsp;nbsp;nbsp;nbsp; nbsp;nbsp;nbsp;nbsp;nbsp; nbsp;nbsp;nbsp;nbsp;nbsp; nbsp;nbsp;nbsp;nbsp;nbsp; nbsp;nbsp; dg.setPropertiesAt(2,updated_style); only the backgroundColor change , is that any method? thx capho Yahoo! Groups Sponsor ~--gt; Protect your PC from spy ware with award winning anti spy technology. It's free. http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/nhFolB/TM ~-gt; -- 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 SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS nbsp;Visit your group flexcoders on the web.nbsp; nbsp;To unsubscribe from this group, send an email to:nbsp;[EMAIL PROTECTED]nbsp; nbsp;Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- 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] FB2B Flex Builder extensions and plugins
Thanks Matt, That blog is very enlightening and it's nice to know there is something we can follow. Just his 'Quick Fix' plugin was enough to make the trip worth it ;-) Peace, MikeOn 5/23/06, Matt Chotin [EMAIL PROTECTED] wrote: I believe the extension API will does have some documentation in the help. At least I can see it in my current build, so there may be some in Beta 3. I know that the eng team is planning on releasing more unofficial docs post-release to cover anything we fail to get. Keep an eye on David Zuckerman's blog for example (http://www.davidzuckerman.com/adobe). Matt From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of Michael Schmalle Sent: Tuesday, May 23, 2006 7:49 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] FB2B Flex Builder extensions and plugins Judah, This is to early in the morning for you! Whats going on? ;-) Search the archives, I asked the same question about plugins and somebody replied with an Eclipse book that is all about plugins. I really don't think it is 'easy' but, I know it can be done. Adobe, you also say you have extension API's which I have seen but, are you releasing any docs or have any that could get us 'interested in extensions' a first step or direction? Peace, Mike On 5/23/06, João Fernandes [EMAIL PROTECTED] wrote: Judah , I have subEclipse, CFEclipse and xmlBuddy running with no problem with the standalone version of FB. João Fernandes Dep. Informática - Área de Desenvolvimento Cofina media Avenida João Crisóstomo, Nº 72 . 1069-043 Lisboa PORTUGAL Tel (+351) 213 185 200 . Fax (+351) 213 540 370 [EMAIL PROTECTED] From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of judah Sent: terça-feira, 23 de Maio de 2006 11:49 To: flexcoders@yahoogroups.com Subject: [flexcoders] FB2B Flex Builder extensions and plugins The Adobe site says that Flex Builder 2.0 can be installed as a standard desktop application or as a plug-in to the Eclipse 3.1 IDE. If it is installed as a standard desktop application does it lose any support for plug-ins? For example, can I make a plug-in or panel for the Flex Builder IDE? Is there any documentation on this? Thanks, Judah -- Always bear in mind that your own resolution to succeed is more important than any one thing. You can have anything you want - if you want it badly enough. You can be anything you want to be, do anything you set out to accomplish if you hold to that desire with singleness of purpose. - Abraham Lincoln -- 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 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. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS 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. -- What goes up, does come down. -- Flexcoders Mailing List FAQ:
[flexcoders] Re: PopupManager breaks ComboBox
Never Mind, the solution is to put PopUpManagerChildList.POPUP as the 4th argument of the createPopup() method -- 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: Flex2B2: Bug? stopImmediatePropagation() in List itemRenderer problem
Yeahhh.. roolOver and roolOut works better than mouseOver and mouseOut. Thanks by thispost Tom. -- 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] [SPAM] [BETA3] I found how can remove the selected item of mx.controls.Tree.
Hi, all. var treeItem :Object = mxTree.selectedItem;var parentItem :Object = mxTree.getParentItem ( treeItem );var items :ICollectionView = treeDD.getChildren (parentItem);var len :int = items.length;for ( var i:int=0; ilen; i++ ){if ( items [EMAIL PROTECTED] == [EMAIL PROTECTED] ){treeDD.removeChildAt ( parentItem, mxTree.selectedItem, i );break;}} === It is lengthy. so.. IwantAnyone who has idea other to know simple code rather than above. Thank you, Brayn. -- 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] F2B3: Javascript security
On 5/23/06, FineLine [EMAIL PROTECTED] wrote: I tested this too. Even if I move the page to another folder within the default workspace, the security error is trigerred, so it is bound to exactly the location it was compiled into. Have you tried playing with the value of 'allowScriptAccess'? Try 'all'. -- 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] VBox as a popup?
On 5/23/06, rr_gruchalski [EMAIL PROTECTED] wrote: columnsWidget = PopUpManager.createPopUp(DisplayObject (Application.application), VBox, false) as VBox; So the problem is this doesn't work (code after this line is not executed) :) In documentation for PopUpManager.createPopUp is written: What are you adding to your VBox? If it's empty, nothing will get displayed. And it's not possible that code after that line just doesn't get executed, unless you're getting a runtime exception *and* catching it and ignoring 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] [SPAM] [BETA3] Flex beta 3 doubt
when am trying out this example,i get errors.. am not able to understand what kinda mistake am making?or what has to be considered for such codesplease reply soonSimpleTitleWindowExample.mxml ?xml version="1.0" encoding="utf-8"?!-- Simple application to demonstrate TitleWindow layout container. --mx:Application xmlns:mx=" http://www.adobe.com/2006/mxml" mx:Script ![CDATA[ import mx.managers.PopUpManager; import mx.containers.TitleWindow; // Open the TitleWindow container. // Cast the return value of the createPopUp() method // to SimpleTitleWindowExample, the name of the // component containing the TitleWindow container.private function showWindow():void { var login:SimpleTitleWindowExample=SimpleTitleWindowExample(PopUpManager.createPopUp( this, SimpleTitleWindowExample , true)); // Pass a reference to the TextInput control // to the TitleWindow container so that the // TitleWindow container can return data to the main application. login.loginName=returnedName; } ]] /mx:Script mx:Panel title="TitleWindow Container Example" height="75%" width="75%" paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10" mx:Button label="Click to open the TitleWindow container" click="showWindow();"/ mx:Text id="returnedName" text="" width="100%"/ /mx:Panel/mx:Application--TitleWindowApp.mxml-?xml version="1.0" encoding="utf-8"?!-- Simple custom MXML TitleWindow component. The TitleWindowApp application displays this component. You cannot run it independently. -- mx:TitleWindow xmlns:mx=" http://www.adobe.com/2006/mxml" title="Title Window" x="168" y="86" mx:Script ![CDATA[ import mx.managers.PopUpManager ; import mx.controls.Text; // A reference to the TextInput control in which to put the result. public var loginName:Text; // Event handler for the OK button. private function returnName():void { loginName.text="Name entered: " + userName.text; PopUpManager.removePopUp(this); } ]] /mx:Script mx:HBox mx:Label text="Enter Name: "/ mx:TextInput id="userName" width="100%"/ /mx:HBox mx:HBox mx:Button label="OK" click="returnName();"/ mx:Button label="Cancel" click="PopUpManager.removePopUp(this);"/ /mx:HBox/mx:TitleWindowerrors are1 Access of undefined property SimpleTitleWindowExample. 2 Call to a possibly undefined method SimpleTitleWindowExample. 3 Type was not found or was not a compile-time constant: SimpleTitleWindowExample. 4 Access of possibly undefined property loginName through a reference with static type SimpleTitleWindowExample. please reply soon, Yahoo! India Answers Share what your know-how and wisdom Send free SMS to your Friends on Mobile from your Yahoo! Messenger Download now -- 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 formats in datagrids
How does one say 'for this column, use this formatter' ? I'm setting itemRenderer for the dataGridColumn, but get a runtime error saying: TypeError: Error #1034: Type Coercion failed: cannot convert [EMAIL PROTECTED] to mx.controls.listClasses.IListItemRenderer Which makes sense as my formatter extends Formater as per the docs, which doesn't have that interface. The docs for IListItemRenderer and it's implementors don't seem to help. -- 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. We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the Year at the 2005 Growth Company Awards -- 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: Cairngorm: how many listeners can be registered?
Thanks Ralf, I'll do that! Best regards, Iuliu Iuliu __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.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] Flex Buider don't import mx package
On Monday 22 May 2006 19:21, Eduardo Dias wrote: Hi, I am trying import mx package in Action Acript Project but the Flex Buider don't show me this package. If i try import this package the Flex Builder show me a message could not be found. There is no such package as 'mx'. -- 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. We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the Year at the 2005 Growth Company Awards Yahoo! Groups Sponsor ~-- You can search right from your browser? It's easy and it's free. See how. http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] CF, Flexmessaging and FDS2: Unknown destination 'ColdFusionGateway'
On Tuesday 23 May 2006 12:45, Barry Beattie wrote: only in the FDS flex-message-service.xml in C:\fds2\jrun4\servers\default\samples\WEB-INF\flex Ahh. It needs to be in the CF servers one. at the moment I just want to run the mxml file with out errors. passing data from CF thru the CF gateway to the flex message service then on to the mxml is step two. The way I did it was: Install FDS SDK - may or may not be required - it appears more complicated setups with seperate CF and Flex servers can't compile MXML on the fly and have it use CF/Flex connectivity. Install CF/Flex connectivity package into CF server. Configure the endpoint in the CF servers flex-enterprise-services.xml Compile your MXML using 'mxmlc --service /path/to/cfserver/flex-enterprise-services.xml your.msml' Request your.swf via the web browser. -- 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. We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the Year at the 2005 Growth Company Awards -- 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] All experts need suggestion please help
On Tuesday 23 May 2006 11:56, p_pirzada wrote: 1- Do we have all the functionality of Flash MX 2004 like developing tile based Games etc in FLex 2? Yes. ActionScript3 is just as powerful as 2, if not more. Do you think it can be achieved by Flex 2 (as bounded to database) or Yeah, sounds easy enough. -- 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. We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the Year at the 2005 Growth Company Awards -- 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: Programmatic skinning example - buttons, buttonbar, panel, etc
Hey hey, I've never actually published any of Flex apps to the web before, so it's entirely possible I made some sort of retarded mistake. I've got a lot of embeded SWF files in there - for fonts, and graphics, which work for me, but maybe it's because it's using my local permissions and not reading it fully independently off the web. It's in Beta 3.0, so, it uses the Flash 9.0 beta - what problems are you coming up with exactly? I'd really like to ensure it actually works for everyone, otherwise there wasn't much point working on it and publishing it. Which version of Flash player are you using, and what sort of browser? I've only tested it in IE - so I don't know if it loads in FireFox etc. Let me know - it's important to me that it works. Regards, Grae --- In flexcoders@yahoogroups.com, Jignesh Dodiya [EMAIL PROTECTED] wrote: can't see anything in the given link Grae... On 5/21/06, Tim Hoff [EMAIL PROTECTED] wrote: That's what I'm talkng about Grae - exchange. :) -TH --- In flexcoders@yahoogroups.com, grae_hall grae@ wrote: http://grae.halltech.com.au/xmxSkins/ It's an example with source of how to skin buttons with your own styles programmatically - it's a snippet from an RIA I've been working on. It's pretty rough, and I've only got a few months of flex experience, so there may be all sorts of mistakes and dodgyness in the code, but it works. I'm a designer, not a programmer, that's my excuse. Well, aside from a small sizing issue with the mouseover on the buttonBar with the icon... but it's late so it can get fixed some other time. Once I got the hang of it, it turned out to be way, way, way quicker and easier than trying to fight with Flex's default components and stylesheeting - let alone muttering about the discrepencies between the code Flex Style Explorer generates for you, and how that code actually looks. I might update this, I don't know, hopefully it's useful to someone on the interweb - it's the sort of real example I wish had been around when I first started a few months ago. -- 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 developmenthttp://groups.yahoo.com/gads? t=msk=Web+site+design+developmentw1=Web+site+design+developmentw2=C omputer+software+developmentw3=Software+design+and+developmentw4=Mac romedia+flexw5=Software+development+best+practicec=5s=166.sig=L- 4QTvxB_quFDtMyhrQaHQ Computer software developmenthttp://groups.yahoo.com/gads? t=msk=Computer+software+developmentw1=Web+site+design+developmentw2 =Computer+software+developmentw3=Software+design+and+developmentw4=M acromedia+flexw5=Software+development+best+practicec=5s=166.sig=lv QjSRfQDfWudJSe1lLjHw Software design and developmenthttp://groups.yahoo.com/gads? t=msk=Software+design+and+developmentw1=Web+site+design+development w2=Computer+software+developmentw3=Software+design+and+developmentw4 =Macromedia+flexw5=Software+development+best+practicec=5s=166.sig= 1pMBCdo3DsJbuU9AEmO1oQ Macromedia flexhttp://groups.yahoo.com/gads? t=msk=Macromedia+flexw1=Web+site+design+developmentw2=Computer+soft ware+developmentw3=Software+design+and+developmentw4=Macromedia+flex w5=Software+development+best+practicec=5s=166.sig=OO6nPIrz7_EpZI36 cYzBjw Software development best practicehttp://groups.yahoo.com/gads? t=msk=Software+development+best+practicew1=Web+site+design+developme ntw2=Computer+software+developmentw3=Software+design+and+development w4=Macromedia+flexw5=Software+development+best+practicec=5s=166.s ig=f89quyyulIDsnABLD6IXIw -- YAHOO! GROUPS LINKS - Visit your group flexcodershttp://groups.yahoo.com/group/flexcoders on the web. - To unsubscribe from this group, send an email to: [EMAIL PROTECTED]flexcoders- [EMAIL PROTECTED] - Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/. -- -- Regards, Jignesh Dodiya -- 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
Re: [flexcoders] Re: Programmatic skinning example - buttons, buttonbar, panel, etc
it's entirely possible I made some sort of retarded mistake. I do it ALL the time. Peace, MikeOn 5/23/06, grae_hall [EMAIL PROTECTED] wrote: Hey hey, I've never actually published any of Flex apps to the web before, so it's entirely possible I made some sort of retarded mistake. I've got a lot of embeded SWF files in there - for fonts, and graphics, which work for me, but maybe it's because it's using my local permissions and not reading it fully independently off the web. It's in Beta 3.0, so, it uses the Flash 9.0 beta - what problems are you coming up with exactly? I'd really like to ensure it actually works for everyone, otherwise there wasn't much point working on it and publishing it. Which version of Flash player are you using, and what sort of browser? I've only tested it in IE - so I don't know if it loads in FireFox etc. Let me know - it's important to me that it works. Regards, Grae --- In flexcoders@yahoogroups.com, Jignesh Dodiya [EMAIL PROTECTED] wrote: can't see anything in the given link Grae... On 5/21/06, Tim Hoff [EMAIL PROTECTED] wrote: That's what I'm talkng about Grae - exchange. :) -TH --- In flexcoders@yahoogroups.com, grae_hall grae@ wrote: http://grae.halltech.com.au/xmxSkins/ It's an example with source of how to skin buttons with your own styles programmatically - it's a snippet from an RIA I've been working on. It's pretty rough, and I've only got a few months of flex experience, so there may be all sorts of mistakes and dodgyness in the code, but it works. I'm a designer, not a programmer, that's my excuse. Well, aside from a small sizing issue with the mouseover on the buttonBar with the icon... but it's late so it can get fixed some other time. Once I got the hang of it, it turned out to be way, way, way quicker and easier than trying to fight with Flex's default components and stylesheeting - let alone muttering about the discrepencies between the code Flex Style Explorer generates for you, and how that code actually looks. I might update this, I don't know, hopefully it's useful to someone on the interweb - it's the sort of real example I wish had been around when I first started a few months ago. -- 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 developmenthttp://groups.yahoo.com/gads? t=msk=Web+site+design+developmentw1=Web+site+design+developmentw2=C omputer+software+developmentw3=Software+design+and+developmentw4=Mac romedia+flexw5=Software+development+best+practicec=5s=166.sig=L- 4QTvxB_quFDtMyhrQaHQ Computer software developmenthttp://groups.yahoo.com/gads? t=msk=Computer+software+developmentw1=Web+site+design+developmentw2 =Computer+software+developmentw3=Software+design+and+developmentw4=M acromedia+flexw5=Software+development+best+practicec=5s=166.sig=lv QjSRfQDfWudJSe1lLjHw Software design and developmenthttp://groups.yahoo.com/gads? t=msk=Software+design+and+developmentw1=Web+site+design+development w2=Computer+software+developmentw3=Software+design+and+developmentw4 =Macromedia+flexw5=Software+development+best+practicec=5s=166.sig= 1pMBCdo3DsJbuU9AEmO1oQ Macromedia flexhttp://groups.yahoo.com/gads? t=msk=Macromedia+flexw1=Web+site+design+developmentw2=Computer+soft ware+developmentw3=Software+design+and+developmentw4=Macromedia+flex w5=Software+development+best+practicec=5s=166.sig=OO6nPIrz7_EpZI36 cYzBjw Software development best practicehttp://groups.yahoo.com/gads? t=msk=Software+development+best+practicew1=Web+site+design+developme ntw2=Computer+software+developmentw3=Software+design+and+development w4=Macromedia+flexw5=Software+development+best+practicec=5s=166.s ig=f89quyyulIDsnABLD6IXIw -- YAHOO! GROUPS LINKS - Visit your group flexcodershttp://groups.yahoo.com/group/flexcoders on the web. - To unsubscribe from this group, send an email to: [EMAIL PROTECTED]flexcoders- [EMAIL PROTECTED] - Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/. -- -- Regards, Jignesh Dodiya -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice
Re: [flexcoders] about Label with htmlText
Hi, Oh the search facilities are great on flexcoders. Ironically, this question was just answered 4 days ago or something. The Label is single line. CData interprets you linebreaks as line breaks. Although you don't see any text in the Label, it is there just multi line. Peace, Mike PS, don't put line breaks in it.On 5/23/06, Dreamer [EMAIL PROTECTED] wrote: Hello,flexcoders When I use FlexBuilder 2.0 Beta 3,I find an interesting problem. I want to use a Label with htmlText.when I writ like this: mx:Label fontSize=14 mx:htmlText ![CDATA[ font color=#FFThis/font is bhtml text/b iin a/i font color=#99Label/font ucomponent/u/font ]] /mx:htmlText /mx:Label It doesn't work. But if I write the code like this: mx:Label fontSize=14 mx:htmlText ![CDATA[font color=#FFThis/font is bhtml text/b iin a/i font color=#99Label/font ucomponent/u/font]] /mx:htmlText /mx:Label It work well.I just change it by write the ![CDATA[ ]] and the html text in one the same line~Is that a bug?? Peace, Dreamer [EMAIL PROTECTED] 2006-05-23 -- 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. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS 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: Login System
Well, thats actually part of the beta program. Its coming soon so keep youre eyes open and stay up to date via http://www.dcooper.org/blog From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of s_hernandez01 Sent: Monday, May 22, 2006 3:40 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Login System Hey Bill, In beta 3 where is the coldfusion wizard because it doesn't show on the create new poject menu? --- In flexcoders@yahoogroups.com, Bill Sahlas [EMAIL PROTECTED] wrote: Here's a Login sample app that uses the RemoteObject.setRemoteCredentials(username, password) and the ColdFusion CFLOGIN container. Unzip it to your web server's doc root. In flex builder create a new Flex project of type ColdFusion Flash Remoting Service. Fill out the prompts and specify LoginTest.mxml as your Main application file. Here's a code snippet from the app and it breaks down like this In the MXML ... private function logIn():void { // all this does is set the credentials - these are not sent over until the first actual request is made // set the RemoteObject cf.setRemoteCredentials(this.username.text, this.password.text); loginbtn.enabled = false; logoutbtn.enabled = true; } private function logOut():void { //Alert.show(logout); loginbtn.enabled = true; logoutbtn.enabled = false; cf.setRemoteCredentials(null, null); cf.logout(); cf.logoutuser(); } ... ... mx:FormItem direction=horizontal mx:Button id=loginbtn label=Login click=logIn();/ mx:Button id=logoutbtn label=Logout click=logOut() enabled=false/ /mx:FormItem The CFML included in the app uses the CFLOGIN structure as per CF best practices of usage of this feature. Also note that as part of the new Super Wizard for Flex Builder 2.0 produced by the CF team includes an option to build-in a login scheme (includes a well-formatted login page with user name and password field prompts and the appropriate cfc backend logic). Bill From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton Sent: Friday, May 19, 2006 4:12 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Login System On Thursday 18 May 2006 17:52, s_hernandez01 wrote: code up the login system. Would anybody know how to start that, or know of any references that would help me get started. I know that I'd have the Flash send the username/password to the CF over HTTPS. The CF creates a per-session token and gives that back to the Flash. The Flash then gives that token as the first argument to all other server functions. Obviously some small wibbles with CF keeping track of tokens, validating and expiring them etc., but I'm not gonna write it all out here :-) -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the Year at the 2005 Growth Company Awards -- 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 http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+ site+design+developmentw2=Computer+software+developmentw3=Software+des ign+and+developmentw4=Macromedia+flexw5=Software+development+best+prac ticec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ Computer software development http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=We b+site+design+developmentw2=Computer+software+developmentw3=Software+d esign+and+developmentw4=Macromedia+flexw5=Software+development+best+pr acticec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw Software design and development
[flexcoders] Newbie : How do i listen to a value ? Cairngorm inside.
How do i "listen" to a value change in a var ? Let's say i have a component CompA. In this component is a function FunctionA which needs to be triggered when an event is dispatched from a component CompB. Using Cairngorm, i dispatch an event from CompB, running a Command. For now, i trigger FunctionA from the Command (ie Application.application.CompA.FunctionA(myObject) ). But that is not how Cairngorm is supposed to work, right ? The way i should do it, i guess, is by updating a var myVar to myObjectin my ModelLocator from my Command. Then, via bindings, in CompA, listen to myVar, and when changing to myObject, trigger FunctionA. Am i right ? But how would i do this ? Help is welcome. -Jean-Luc -- 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] importing mx .controls in actionscript file
i have recently loaded beta 3 version...however whenever i try to import any package besides flash i am not able to do so. Presuming it was a installation problemi re-installed the beta 3 version thrice. I wanted to know if it was an installation problem or any other. Moreover i am also trying to run my programs in flash player 9 where it is giving me an verify error#1014..where class flash.util::Timer is not found. i am very confused. Kindly help. -- 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] FB2B Flex Builder extensions and plugins
awesome! time to read those eclipse plug in docs! Till Schneidereit wrote: The stand alone version of FB2 is pretty much a customized distribution of Eclipse based on (at the moment) Eclipse 3.1.2, so you get all the functionality and extensibility of Eclipse. The major difference is that many of the features that come preinstalled with the default distribution of Eclipse (the JDT, for example) aren't bundled with FB2, while the Flex Builder feature is. Bottomline: If you plan on working with more than just Flex in the same IDE, you're probably better off choosing the plugin. If on the other hand, you pretty much only do Flex based stuff anyway, you should use the FB2 distribution. cheers, till judah wrote: The Adobe site says that Flex Builder 2.0 can be installed as a standard desktop application or as a plug-in to the Eclipse 3.1 IDE. If it is installed as a standard desktop application does it lose any support for plug-ins? For example, can I make a plug-in or panel for the Flex Builder IDE? Is there any documentation on this? Thanks, Judah -- "Always bear in mind that your own resolution to succeed is more important than any one thing." "You can have anything you want - if you want it badly enough. You can be anything you want to be, do anything you set out to accomplish if you hold to that desire with singleness of purpose." - Abraham Lincoln -- 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] FB2B Flex Builder extensions and plugins
Thanks guys, I am glad to hear the extension points are going to be kept in (from what I gather at david z's site). Judah Michael Schmalle wrote: Thanks Matt, That blog is very enlightening and it's nice to know there is something we can follow. Just his 'Quick Fix' plugin was enough to make the trip worth it ;-) Peace, Mike On 5/23/06, Matt Chotin [EMAIL PROTECTED] wrote: I believe the extension API will does have some documentation in the help. At least I can see it in my current build, so there may be some in Beta 3. I know that the eng team is planning on releasing more unofficial docs post-release to cover anything we fail to get. Keep an eye on David Zuckerman's blog for example (http://www.davidzuckerman.com/adobe). Matt From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of Michael Schmalle Sent: Tuesday, May 23, 2006 7:49 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] FB2B Flex Builder extensions and plugins Judah, This is to early in the morning for you! Whats going on? ;-) Search the archives, I asked the same question about plugins and somebody replied with an Eclipse book that is all about plugins. I really don't think it is 'easy' but, I know it can be done. Adobe, you also say you have extension API's which I have seen but, are you releasing any docs or have any that could get us 'interested in extensions' a first step or direction? Peace, Mike On 5/23/06, Joo Fernandes [EMAIL PROTECTED] wrote: Judah , I have subEclipse, CFEclipse and xmlBuddy running with no problem with the standalone version of FB. Joo Fernandes Dep. Informtica - rea de Desenvolvimento Cofina media Avenida Joo Crisstomo, N 72 . 1069-043 Lisboa PORTUGAL Tel (+351) 213 185 200 . Fax (+351) 213 540 370 [EMAIL PROTECTED] From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of judah Sent: tera-feira, 23 de Maio de 2006 11:49 To: flexcoders@yahoogroups.com Subject: [flexcoders] FB2B Flex Builder extensions and plugins The Adobe site says that Flex Builder 2.0 can be installed as a standard desktop application or as a plug-in to the Eclipse 3.1 IDE. If it is installed as a standard desktop application does it lose any support for plug-ins? For example, can I make a plug-in or panel for the Flex Builder IDE? Is there any documentation on this? Thanks, Judah -- "Always bear in mind that your own resolution to succeed is more important than any one thing." "You can have anything you want - if you want it badly enough. You can be anything you want to be, do anything you set out to accomplish if you hold to that desire with singleness of purpose." - Abraham Lincoln -- 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 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. -- What goes up, does come down. -- Flexcoders Mailing List FAQ:
Re: [flexcoders] importing mx .controls in actionscript file
It means you are running an old swf from beta2. flash.util.Timer is now, flash.utils.Timer. This error is actually happening in precompiled mx classes not your class. This is just a side effect of your application not compiling and inserting new class definitions. I think you need to really search through your files and make sure there is no other 'api-scrub' differences. Peace, MikeOn 5/23/06, rama satoskar [EMAIL PROTECTED] wrote: i have recently loaded beta 3 version...however whenever i try to import any package besides flash i am not able to do so. Presuming it was a installation problemi re-installed the beta 3 version thrice. I wanted to know if it was an installation problem or any other. Moreover i am also trying to run my programs in flash player 9 where it is giving me an verify error#1014..where class flash.util::Timer is not found. i am very confused. Kindly help. -- 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. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS 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: importing mx .controls in actionscript file
You can try typing import. When you press the space bar after this, you should get code hinting for the available packages/classes. import flash.util::Timer should be import flash.utils.Timer (it changed) -TH --- In flexcoders@yahoogroups.com, rama satoskar [EMAIL PROTECTED] wrote: i have recently loaded beta 3 version...however whenever i try to import any package besides flash i am not able to do so. Presuming it was a installation problemi re-installed the beta 3 version thrice. I wanted to know if it was an installation problem or any other. Moreover i am also trying to run my programs in flash player 9 where it is giving me an verify error#1014..where class flash.util::Timer is not found. i am very confused. Kindly help. -- 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: VBox as a popup?
--- In flexcoders@yahoogroups.com, Manish Jethani [EMAIL PROTECTED] wrote: What are you adding to your VBox? If it's empty, nothing will get displayed. And it's not possible that code after that line just doesn't get executed, unless you're getting a runtime exception *and* catching it and ignoring it. VBox is empty. OK - I know it will not show up when empty. But the problem is: I have two methods in my custom datagrid header renderer: public function doCompelete(e:Event):void { this.constructWidget(); this.text = Ä; } private function constructWidget():void { columnsWidget = PopUpManager.createPopUp(DisplayObject (Application.application), VBox, false) as VBox; } In this case ' this.text = Ä; ' will not be executed. When I change: columnsWidget = PopUpManager.createPopUp(DisplayObject (Application.application), VBox, false) as VBox; to: columnsWidget = PopUpManager.createPopUp(DisplayObject (Application.application), List, false) as List; everything works fine. So thats why I'm asking. Object with presented methods extends from mx.controls.Label so this.text is pointing to text on Label. -- 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] importing mx .controls in actionscript file
flash.util has renamed to flash.utils in beta 3-abdulOn 5/23/06, rama satoskar [EMAIL PROTECTED] wrote:i have recently loaded beta 3 version...however whenever i try toimportany package besides flash i am not able to do so. Presuming it was a installation problemi re-installed the beta 3 versionthrice. I wanted to know if it was an installation problem or any other.Moreover i am also trying to run my programs in flash player 9 where it is giving me an verify error#1014..where classflash.util::Timer is not found. i am very confused.Kindly help. Yahoo! Groups Sponsor ~-- Everything you need is oneclick away. Make Yahoo! your home pagenow.http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/nhFolB/TM~- --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/ -- 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 2b3 - Clear Selected Item in List
Alternatively, you can set selectedIndex = -1 Alex -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Manish Jethani Sent: Monday, May 22, 2006 7:09 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Flex 2b3 - Clear Selected Item in List On 5/22/06, porsoc [EMAIL PROTECTED] wrote: In flex 1.5 there was a clearSelected() method on the list control that would unselect the any items from the list. I can not find this or similiar functionality in flex 2.0. Any one have any suggestions? Try setting selectedItem/selectedItems to null. Yahoo! Groups Sponsor ~-- Home is just a click away. Make Yahoo! your home page now. http://us.click.yahoo.com/DHchtC/3FxNAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links Yahoo! Groups Sponsor ~-- Get to your groups with one click. Know instantly when new email arrives http://us.click.yahoo.com/.7bhrC/MGxNAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: importing mx .controls in actionscript file
And what about importing the mx packages? --- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: It means you are running an old swf from beta2. flash.util.Timer is now, flash.utils.Timer. This error is actually happening in precompiled mx classes not your class. This is just a side effect of your application not compiling and inserting new class definitions. I think you need to really search through your files and make sure there is no other 'api-scrub' differences. Peace, Mike On 5/23/06, rama satoskar [EMAIL PROTECTED] wrote: i have recently loaded beta 3 version...however whenever i try to import any package besides flash i am not able to do so. Presuming it was a installation problemi re-installed the beta 3 version thrice. I wanted to know if it was an installation problem or any other. Moreover i am also trying to run my programs in flash player 9 where it is giving me an verify error#1014..where class flash.util::Timer is not found. i am very confused. Kindly help. -- 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 developmenthttp://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ Computer software developmenthttp://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw Software design and developmenthttp://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ Macromedia flexhttp://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=OO6nPIrz7_EpZI36cYzBjw Software development best practicehttp://groups.yahoo.com/gads?t=msk=Software+development+best+practicew1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIw -- YAHOO! GROUPS LINKS - Visit your group flexcodershttp://groups.yahoo.com/group/flexcoders on the web. - To unsubscribe from this group, send an email to: [EMAIL PROTECTED][EMAIL PROTECTED] - Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/. -- -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS 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 2b3 : itemEditBegin example needed for datagrid
Hi, Can somebody provide an example for using an itemEditBegin event handler for a datagrid? The Flex 2b3 documentation states that it can be used to modify the data passed to the item editor. But the example given therein, uses itemEditEnd (for modifying data received from an item editor). My requirement is to use this event to prefill my item editor with data from a data provider which has values deeply nested in a VO for each item. I have tried using event.currentTarget.editedItemRenderer.data but editedItemRenderer seems to be null during this event. Also event.currentTarget.itemEditorInstance is null, possibly because the default itemEditBegin event handler actually creates the item editor. So I believe I would have to use createItemEditor to create the editor myself and also invoke preventDefault so that this does not happen twice. But I need to see a correct implementation of this event handler to ensure that I do not miss anything that the default handler does. Any help in this regard will be greatly appreciated. Regards! Santosh -- 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: Newbie : How do i listen to a value ? Cairngorm inside.
Jean-Luc, You scenario questions make me wonder; when does a function in a viewHelper or viewLocator (or MXML file) merit becoming a command? In my opinion, I don't see any reason not to call one command from another (dispatch or direct call). For instance getData calls calculateTotals on result. Since commands are in the same abstraction layer, this should be OK. However crossing layers by calling a view function from a command should be avoided. What does the view function actually do. If it updates the view, then you can rework this to have your command update state variables or VO's in the ModelLocator that are bound to the view. This will automatically update the view. If the function does anything else, perhaps the function should become a command. This was my thought process when addressing similar issues. I would love to hear what Steven and/or Ali have to say about this. Regards, Tim Hoff --- In flexcoders@yahoogroups.com, Jean-Luc ESSER [EMAIL PROTECTED] wrote: How do i listen to a value change in a var ? Let's say i have a component CompA. In this component is a function FunctionA which needs to be triggered when an event is dispatched from a component CompB. Using Cairngorm, i dispatch an event from CompB, running a Command. For now, i trigger FunctionA from the Command (ie Application.application.CompA.FunctionA(myObject) ). But that is not how Cairngorm is supposed to work, right ? The way i should do it, i guess, is by updating a var myVar to myObject in my ModelLocator from my Command. Then, via bindings, in CompA, listen to myVar, and when changing to myObject, trigger FunctionA. Am i right ? But how would i do this ? Help is welcome. -Jean-Luc -- 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: Dropshadows appear solid
I think I found a solution to this -- just to let anybody else with the same problem know. It seems that when a Panel, or a TitleWindow has it's alpha attribute set to 1.0 (fully opaque), the drop shadow appears solid as well. When set to any lower value, the drop shadow appears as intended. Does anybody know if this is a bug? I can imagine a lot of people want fully opaque components with gradient styled drop shadows. Thanks, Brian --- In flexcoders@yahoogroups.com, klumikaze [EMAIL PROTECTED] wrote: Also, I noticed that this happens more often when the background isn't a solid color (i.e. I have a gradient using the fillColors property). It seems like this is definitly a bug, unless there's a new property I'm missing for controlling whether the dropshadow is solid or a gradient. Brian --- In flexcoders@yahoogroups.com, klumikaze dunphy@ wrote: Thanks for the quick reply Mike, I just tried setting cacheAsBitmap as both true and false on the containers I'm experiencing this on... same result. Anybody have any other ideas? Thanks again, Brian --- In flexcoders@yahoogroups.com, Michael Schmalle teoti.graphix@ wrote: I have had the same sporadic problem also. Don't quote me on this but... I think it has something to do with the cacheAsBitmap property of Container. Peace, Mike On 5/17/06, klumikaze dunphy@ wrote: Has anybody had a problem with F2B3 when using drop shadows on components? Either way I do it, via attribute or via CSS, the drop shadows appear solid in color (dropShadowColor property works fine, but there is no gradual shadow effect as expected). While a minor issue, any help you can provide would be appreciated. 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 - Visit your group flexcodershttp://groups.yahoo.com/group/flexcoders on the web. - To unsubscribe from this group, send an email to: [EMAIL PROTECTED][EMAIL PROTECTED] - Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/. -- -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS 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: importing mx .controls in actionscript file
Hi, You have an (API)error in you application's source somwhere. You have to find it to get your application to compile INTO beta3. I had this same error, that is why I posted. Peace, MikeOn 5/23/06, rama satoskar [EMAIL PROTECTED] wrote: And what about importing the mx packages? --- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: It means you are running an old swf from beta2. flash.util.Timer is now, flash.utils.Timer. This error is actually happening in precompiled mx classes not your class. This is just a side effect of your application not compiling and inserting new class definitions. I think you need to really search through your files and make sure there is no other 'api-scrub' differences. Peace, Mike On 5/23/06, rama satoskar [EMAIL PROTECTED] wrote: i have recently loaded beta 3 version...however whenever i try to import any package besides flash i am not able to do so. Presuming it was a installation problemi re-installed the beta 3 version thrice. I wanted to know if it was an installation problem or any other. Moreover i am also trying to run my programs in flash player 9 where it is giving me an verify error#1014..where class flash.util::Timer is not found. i am very confused. Kindly help. -- 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 http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ Computer software development http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw Software design and development http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ Macromedia flex http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=OO6nPIrz7_EpZI36cYzBjw Software development best practice http://groups.yahoo.com/gads?t=msk=Software+development+best+practicew1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIw -- YAHOO! GROUPS LINKS - Visit your group flexcodershttp://groups.yahoo.com/group/flexcoders on the web. - To unsubscribe from this group, send an email to: [EMAIL PROTECTED] [EMAIL PROTECTED] - Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/. -- -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS 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. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS 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
Re: [flexcoders] custom formats in datagrids
On Tuesday 23 May 2006 13:52, Tom Chiverton wrote: How does one say 'for this column, use this formatter' ? dataGridColumn ... itemFunction=customFormat function customFormat(item:Object, column:DataGridColumn):String{ var fmt:PseudoDateRenderer=new PseudoDateRenderer(); return fmt.format(item[column.dataField]); } Gah. -- 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. We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the Year at the 2005 Growth Company Awards -- 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] dragMoveEnabled in Tree component
I think there's an error on the Tree component documentation. I read on it that dragMoveEnabled default value is 'false' but I think it's default value it's true:code?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml layout=verticalcreationComplete=init() mx:Script ![CDATA[ import mx.core.UIComponent; import mx.managers.DragManager; import mx.events.DragEvent; public function init():void { componentsDigest.send();destiny.addEventListener(DragEvent.DRAG_ENTER,dragEnter); } public function dragEnter(evt:Event):void {DragManager.acceptDragDrop (evt.target as UIComponent); } ]] /mx:Script mx:HTTPService resultFormat=e4x concurrency=last id=componentsDigest url="" mx:HBox mx:Tree dataProvider={componentsDigest.lastResult} labelField=@label width=300 height=400 dragEnabled=true / mx:Panel title=destino id=destiny width=400 height=400/ /mx:HBox/mx:Application/codeIf you run this code and drag some of the leaves of the Tree to the panel, the leaves will be removed from the tree. To solve it just set dragMoveEnabled=false and will work. BestX. -- 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] Styling at runtime
Hi, Im trying to create a treeview that acts a bit like Windows Explorer. Meaning no style is applied when an item is unselected, but on rollover the text gets underlined, and the selected item gets a blue background color. Is this possible? It tied to change the className on itemRollOver, but there it said that className is readonly (when called from a function) Any suggestions? Thanks Jonas -- 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: Newbie : How do i listen to a value ? Cairngorm inside.
That's exactly the question Tim, and it has been haunting me for quite a while now : 1/ Ok, if the view function simply updates the view, fine, using bindings should do it. 2/ But if it is more complex, i would agree on writing a new command. But when dispatching an event from any component, it means that the destination view (where command should execute) should be passed as a parameter. But that won't scale, imagine you change the destination view name ?!?! So you could bind the name of the view in the model locator so that if you change it, you won't have to update each one of your dispatch events. I don't know which way is the good way... -JL - Original Message - From: Tim Hoff [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, May 23, 2006 4:45 PM Subject: [flexcoders] Re: Newbie : How do i listen to a value ? Cairngorm inside. Jean-Luc, You scenario questions make me wonder; when does a function in a viewHelper or viewLocator (or MXML file) merit becoming a command? In my opinion, I don't see any reason not to call one command from another (dispatch or direct call). For instance getData calls calculateTotals on result. Since commands are in the same abstraction layer, this should be OK. However crossing layers by calling a view function from a command should be avoided. What does the view function actually do. If it updates the view, then you can rework this to have your command update state variables or VO's in the ModelLocator that are bound to the view. This will automatically update the view. If the function does anything else, perhaps the function should become a command. This was my thought process when addressing similar issues. I would love to hear what Steven and/or Ali have to say about this. Regards, Tim Hoff --- In flexcoders@yahoogroups.com, Jean-Luc ESSER [EMAIL PROTECTED] wrote: How do i listen to a value change in a var ? Let's say i have a component CompA. In this component is a function FunctionA which needs to be triggered when an event is dispatched from a component CompB. Using Cairngorm, i dispatch an event from CompB, running a Command. For now, i trigger FunctionA from the Command (ie Application.application.CompA.FunctionA(myObject) ). But that is not how Cairngorm is supposed to work, right ? The way i should do it, i guess, is by updating a var myVar to myObject in my ModelLocator from my Command. Then, via bindings, in CompA, listen to myVar, and when changing to myObject, trigger FunctionA. Am i right ? But how would i do this ? Help is welcome. -Jean-Luc -- 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 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] swf (loadMovie) from an external swf deosn't work ?
I use a swf in a popup in my application, everything's fine about interactity except that swfs that should be loaded in this swf are not loaded from flex application like they are when I play the swf in flash player. Flex doesn't support such a thing ? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Re: Newbie : How do i listen to a value ? Cairngorm inside.
On Tuesday 23 May 2006 16:30, Jean-Luc ESSER wrote: 2/ But if it is more complex, i would agree on writing a new command. But when dispatching an event from any component, it means that the destination view (where command should execute) should be passed as a parameter. Commands don't execute in views. They execute in their own space, and update things in modelLocator if needed - all you views are binding to modelLocator for their data, no ? As to when does a function in a viewHelper or viewLocator (or MXML file) merit becoming a command? I'd say, if the function performs some buisness level task, it should be a command. Otherwise not. -- 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. We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the Year at the 2005 Growth Company Awards -- 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] swf (loadMovie) from an external swf deosn't work ?
Which flex version are you running?X.On 5/23/06, Antoine Malpel [EMAIL PROTECTED] wrote: I use a swf in a popup in my application, everything's fine aboutinteractity except that swfs that should be loaded in this swf are not loaded from flex application like they are when I play the swf in flashplayer.Flex doesn't support such a thing ? Yahoo! Groups Sponsor ~--Everything you need is oneclick away. Make Yahoo! your home pagenow. http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/nhFolB/TM~--- 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/ -- 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: Newbie : How do i listen to a value ? Cairngorm inside.
I'm not sure if this is relevant or not, but the following is response from Alistair regarding a previous question I had about the use of viewHelpers - In your complex value object case, here's what we'd recommend now. In your command, put the complex object in your model (ModelLocator), eg. ModelLocator.getInstance().complextData = theResultFromTheServer; Now, in your view, you bind to that model item, but call a utility class to massage the results into the format you want. eg, mx:Label text={ MyUtilityClass.formatDataToSomethingSimpler( ModelLocator.getInstance().complexData ) } / Now, you could possibly call MyUtilityClass a view helper, in the broad sense of the pattern, but extracting it this way lets you, for example, unit tests it's functionality and keeps the Model and View separate. -- Jean-Luc ESSER To: flexcoders@yahoogroups.com [EMAIL PROTECTED] cc: Sent by: Subject: Re: [flexcoders] Re: Newbie : How do i listen to a value ? Cairngorm flexcoders@yahoogroups.com inside. 05/23/2006 11:30 AM Please respond to flexcoders That's exactly the question Tim, and it has been haunting me for quite a while now : 1/ Ok, if the view function simply updates the view, fine, using bindings should do it. 2/ But if it is more complex, i would agree on writing a new command. But when dispatching an event from any component, it means that the destination view (where command should execute) should be passed as a parameter. But that won't scale, imagine you change the destination view name ?!?! So you could bind the name of the view in the model locator so that if you change it, you won't have to update each one of your dispatch events. I don't know which way is the good way... -JL - Original Message - From: Tim Hoff [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, May 23, 2006 4:45 PM Subject: [flexcoders] Re: Newbie : How do i listen to a value ? Cairngorm inside. Jean-Luc, You scenario questions make me wonder; when does a function in a viewHelper or viewLocator (or MXML file) merit becoming a command? In my opinion, I don't see any reason not to call one command from another (dispatch or direct call). For instance getData calls calculateTotals on result. Since commands are in the same abstraction layer, this should be OK. However crossing layers by calling a view function from a command should be avoided. What does the view function actually do. If it updates the view, then you can rework this to have your command update state variables or VO's in the ModelLocator that are bound to the view. This will automatically update the view. If the function does anything else, perhaps the function should become a command. This was my thought process when addressing similar issues. I would love to hear what Steven and/or Ali have to say about this. Regards, Tim Hoff --- In flexcoders@yahoogroups.com, Jean-Luc ESSER [EMAIL PROTECTED] wrote: How do i listen to a value change in a var ? Let's say i have a component CompA. In this component is a function FunctionA which needs to be triggered when an event is dispatched from a component CompB. Using Cairngorm, i dispatch an event from CompB, running a Command. For now, i trigger FunctionA from the Command (ie Application.application.CompA.FunctionA(myObject) ). But that is not how Cairngorm is supposed to work, right ? The way i should do it, i guess, is by updating a var myVar to myObject in my ModelLocator from my Command. Then, via bindings, in CompA, listen to myVar, and when changing to myObject, trigger FunctionA. Am i right ? But how would i do this ? Help is welcome. -Jean-Luc -- 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 --- This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, proprietary , confidential and exempt from disclosure. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender and erase this e-mail message immediately. --- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:
Re: [flexcoders] Styling at runtime
try using myTree.setStyle(styleName,newStyle); At 11:12 AM 5/23/2006, you wrote: Hi, I'm trying to create a treeview that acts a bit like Windows Explorer. Meaning no style is applied when an item is unselected, but on rollover the text gets underlined, and the selected item gets a blue background color. Is this possible? It tied to change the className on itemRollOver, but there it said that className is readonly (when called from a function) Any suggestions? Thanks Jonas -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txthttp://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comhttp://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQWeb site design development http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHwComputer software development http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQSoftware design and development http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=OO6nPIrz7_EpZI36cYzBjwMacromedia flex http://groups.yahoo.com/gads?t=msk=Software+development+best+practicew1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIwSoftware development best practice -- YAHOO! GROUPS LINKS * Visit your group http://groups.yahoo.com/group/flexcodersflexcoders on the web. * * To unsubscribe from this group, send an email to: * mailto:[EMAIL PROTECTED][EMAIL PROTECTED] * * Your use of Yahoo! Groups is subject to the http://docs.yahoo.com/info/terms/Yahoo! Terms of Service. -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.1.392 / Virus Database: 268.7.0/345 - Release Date: 5/22/2006 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.1.392 / Virus Database: 268.7.0/345 - Release Date: 5/22/2006 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] swf (loadMovie) from an external swf deosn't work ?
Well Flex I useverion 1.5 of Flex as Flex 2.0 is still beta ;) Xavi Beumala a écrit : Which flex version are you running? X. On 5/23/06, *Antoine Malpel* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I use a swf in a popup in my application, everything's fine about interactity except that swfs that should be loaded in this swf are not loaded from flex application like they are when I play the swf in flash player. Flex doesn't support such a thing ? Yahoo! Groups Sponsor -- 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 http://groups.yahoo.com/group/flexcoders/ mailto:[EMAIL PROTECTED] -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ Computer software development http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw Software design and development http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ Macromedia flex http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=OO6nPIrz7_EpZI36cYzBjw Software development best practice http://groups.yahoo.com/gads?t=msk=Software+development+best+practicew1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIw YAHOO! GROUPS LINKS * Visit your group flexcoders http://groups.yahoo.com/group/flexcoders on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS 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: Newbie : How do i listen to a value ? Cairngorm inside.
Tim, When i say the destination view (where command should execute) should be passed as a parameter., i didn't mean that command gets executed in the view. ;) I meant that i need to know the component name because the command is gonna change things in this component (and thus pass it as a param in my dispatch event). That's why initially it was a view function. As to if the function performs some buisness level task, it should be a command i'm not sure of this. In theory, yes. But in some cases, you will have to update a view by adding or removing children, or even doing much complex things which are not business dependant. Things which will require actionscript, and thus a function. And i don't see how using bindings could resolve all these issues. Unless you tell me there is a way to trigger a local function by listenning to data in ModelLocator. Sorry if this sounds confusing, but as you might have guessed, english is not my original language. -JL - Original Message - From: Tom Chiverton [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, May 23, 2006 5:41 PM Subject: Re: [flexcoders] Re: Newbie : How do i listen to a value ? Cairngorm inside. On Tuesday 23 May 2006 16:30, Jean-Luc ESSER wrote: 2/ But if it is more complex, i would agree on writing a new command. But when dispatching an event from any component, it means that the destination view (where command should execute) should be passed as a parameter. Commands don't execute in views. They execute in their own space, and update things in modelLocator if needed - all you views are binding to modelLocator for their data, no ? As to when does a function in a viewHelper or viewLocator (or MXML file) merit becoming a command? I'd say, if the function performs some buisness level task, it should be a command. Otherwise not. -- 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. We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the Year at the 2005 Growth Company Awards -- 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 SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] How to break a Flex application in modules ?
Hi, I have a general question about how to go about breaking a large Flex application in modules. If an application has a large number of states, what is the recommended practice to break it in modules so that I don't have a huge mxml file which will make compilation slow code navigation in it complex. Thanks, Aejaz -- 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: Newbie : How do i listen to a value ? Cairngorm inside.
I'm not sure to understand this one ! Anyway Michael, aren't viewHelper and viewLocator not to be used anymore in cg2 ? I thought i heard Steven say that everything could now be done using bindings... Guess that's another topic :) -JL - Original Message - From: [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, May 23, 2006 5:45 PM Subject: Re: [flexcoders] Re: Newbie : How do i listen to a value ? Cairngorm inside. I'm not sure if this is relevant or not, but the following is response from Alistair regarding a previous question I had about the use of viewHelpers - In your complex value object case, here's what we'd recommend now. In your command, put the complex object in your model (ModelLocator), eg. ModelLocator.getInstance().complextData = theResultFromTheServer; Now, in your view, you bind to that model item, but call a utility class to massage the results into the format you want. eg, mx:Label text={ MyUtilityClass.formatDataToSomethingSimpler( ModelLocator.getInstance().complexData ) } / Now, you could possibly call MyUtilityClass a view helper, in the broad sense of the pattern, but extracting it this way lets you, for example, unit tests it's functionality and keeps the Model and View separate. -- Jean-Luc ESSER To: flexcoders@yahoogroups.com [EMAIL PROTECTED] cc: Sent by: Subject: Re: [flexcoders] Re: Newbie : How do i listen to a value ? Cairngorm flexcoders@yahoogroups.com inside. 05/23/2006 11:30 AM Please respond to flexcoders That's exactly the question Tim, and it has been haunting me for quite a while now : 1/ Ok, if the view function simply updates the view, fine, using bindings should do it. 2/ But if it is more complex, i would agree on writing a new command. But when dispatching an event from any component, it means that the destination view (where command should execute) should be passed as a parameter. But that won't scale, imagine you change the destination view name ?!?! So you could bind the name of the view in the model locator so that if you change it, you won't have to update each one of your dispatch events. I don't know which way is the good way... -JL - Original Message - From: Tim Hoff [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, May 23, 2006 4:45 PM Subject: [flexcoders] Re: Newbie : How do i listen to a value ? Cairngorm inside. Jean-Luc, You scenario questions make me wonder; when does a function in a viewHelper or viewLocator (or MXML file) merit becoming a command? In my opinion, I don't see any reason not to call one command from another (dispatch or direct call). For instance getData calls calculateTotals on result. Since commands are in the same abstraction layer, this should be OK. However crossing layers by calling a view function from a command should be avoided. What does the view function actually do. If it updates the view, then you can rework this to have your command update state variables or VO's in the ModelLocator that are bound to the view. This will automatically update the view. If the function does anything else, perhaps the function should become a command. This was my thought process when addressing similar issues. I would love to hear what Steven and/or Ali have to say about this. Regards, Tim Hoff --- In flexcoders@yahoogroups.com, Jean-Luc ESSER [EMAIL PROTECTED] wrote: How do i listen to a value change in a var ? Let's say i have a component CompA. In this component is a function FunctionA which needs to be triggered when an event is dispatched from a component CompB. Using Cairngorm, i dispatch an event from CompB, running a Command. For now, i trigger FunctionA from the Command (ie Application.application.CompA.FunctionA(myObject) ). But that is not how Cairngorm is supposed to work, right ? The way i should do it, i guess, is by updating a var myVar to myObject in my ModelLocator from my Command. Then, via bindings, in CompA, listen to myVar, and when changing to myObject, trigger FunctionA. Am i right ? But how would i do this ? Help is welcome. -Jean-Luc -- 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 --- This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, proprietary , confidential and exempt from disclosure. If you are not the
RE: [flexcoders] Styling at runtime
Ok, thanks. Now how do I apply it only to the selected node? treeTest.setStyle(textDecoration,underline); - works treeTest.selectedItem.setStyle(textDecoration,underline); - doesn't treeTest.getChildAt(0).setStyle(textDecoration,underline); - neither Thanks for the setStyle tip! Jonas -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Tapper Sent: dinsdag 23 mei 2006 17:32 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Styling at runtime try using myTree.setStyle(styleName,newStyle); At 11:12 AM 5/23/2006, you wrote: Hi, I'm trying to create a treeview that acts a bit like Windows Explorer. Meaning no style is applied when an item is unselected, but on rollover the text gets underlined, and the selected item gets a blue background color. Is this possible? It tied to change the className on itemRollOver, but there it said that className is readonly (when called from a function) Any suggestions? Thanks Jonas -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txthttp://gr oups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comhttp://www.mail-a rchive.com/flexcoders%40yahoogroups.com SPONSORED LINKS http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+sit e+design+developmentw2=Computer+software+developmentw3=Software+design+and +developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s= 166.sig=L-4QTvxB_quFDtMyhrQaHQWeb site design development http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=Web+s ite+design+developmentw2=Computer+software+developmentw3=Software+design+a nd+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5 s=166.sig=lvQjSRfQDfWudJSe1lLjHwComputer software development http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=Web +site+design+developmentw2=Computer+software+developmentw3=Software+design +and+developmentw4=Macromedia+flexw5=Software+development+best+practicec= 5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQSoftware design and development http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+dev elopmentw2=Computer+software+developmentw3=Software+design+and+development w4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=OO6 nPIrz7_EpZI36cYzBjwMacromedia flex http://groups.yahoo.com/gads?t=msk=Software+development+best+practicew1= Web+site+design+developmentw2=Computer+software+developmentw3=Software+des ign+and+developmentw4=Macromedia+flexw5=Software+development+best+practice c=5s=166.sig=f89quyyulIDsnABLD6IXIwSoftware development best practice -- YAHOO! GROUPS LINKS * Visit your group http://groups.yahoo.com/group/flexcodersflexcoders on the web. * * To unsubscribe from this group, send an email to: * mailto:[EMAIL PROTECTED]flexcoder [EMAIL PROTECTED] * * Your use of Yahoo! Groups is subject to the http://docs.yahoo.com/info/terms/Yahoo! Terms of Service. -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.1.392 / Virus Database: 268.7.0/345 - Release Date: 5/22/2006 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.1.392 / Virus Database: 268.7.0/345 - Release Date: 5/22/2006 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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: Flex2b3, Wine and trace()
Does the process have permission to read/write to that location? You might try creating the empty file (default name is flashlog.txt), and then reverifying. You might also try explicitly setting the filename param to something linux friendly like TraceOutputFileName=/var/log/flash/log HTH, -Michael Flex Framework --- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: Has anyone managed to get the Flash9 player in Wine on Linux outputting trace() messages ? I've set Wine to tell Firefox it's Windows 2000, and the about: URI agrees with me. I've created a mm.cfg in the root of Wine's C drive, containing just the one line to enable trace output. No log file appears :-( -- Tom Chiverton -- 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] Flex2B3 :: SWFLoader :: Using an Application and sizing issues
Hi, I am using a resizable window to load swf content. When I use the SWFLoader, I understand about scaling and things. Looking at the source, I really don't see a way that the component sizes itslef to a 'fluid' app. How can I get my window to size the application swf inside the loader, when my sizing logic is actually sizing the SWFLoader instance? Well, I think I know a way but, I am asking if it is possible before I waste time trying. So the problem is 'treating a loaded Application.swf as a quasi component when loaded that can resize fluidly. There are a couple layers to this loading and contentHolders so Adobe, any thoughts? Peace, Mike-- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS 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: Newbie : How do i listen to a value ? Cairngorm inside.
Hi Jean-Luc, You can execute a method on the view by listening to changes in your business logic. Your view can listen via the mx:Binding tag or via a function binding. Best, Alex Alex Uhlmann Consultant (Rich Internet Applications) Adobe Consulting Westpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UK p: +44 (0) 131 338 6969 m: +44 (0) 7917 428 951 [EMAIL PROTECTED] -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jean-Luc ESSER Sent: 23 May 2006 17:02 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Newbie : How do i listen to a value ? Cairngorm inside. I'm not sure to understand this one ! Anyway Michael, aren't viewHelper and viewLocator not to be used anymore in cg2 ? I thought i heard Steven say that everything could now be done using bindings... Guess that's another topic :) -JL - Original Message - From: [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, May 23, 2006 5:45 PM Subject: Re: [flexcoders] Re: Newbie : How do i listen to a value ? Cairngorm inside. I'm not sure if this is relevant or not, but the following is response from Alistair regarding a previous question I had about the use of viewHelpers - In your complex value object case, here's what we'd recommend now. In your command, put the complex object in your model (ModelLocator), eg. ModelLocator.getInstance().complextData = theResultFromTheServer; Now, in your view, you bind to that model item, but call a utility class to massage the results into the format you want. eg, mx:Label text={ MyUtilityClass.formatDataToSomethingSimpler( ModelLocator.getInstance().complexData ) } / Now, you could possibly call MyUtilityClass a view helper, in the broad sense of the pattern, but extracting it this way lets you, for example, unit tests it's functionality and keeps the Model and View separate. -- Jean-Luc ESSER To: flexcoders@yahoogroups.com [EMAIL PROTECTED] cc: Sent by: Subject: Re: [flexcoders] Re: Newbie : How do i listen to a value ? Cairngorm flexcoders@yahoogroups.com inside. 05/23/2006 11:30 AM Please respond to flexcoders That's exactly the question Tim, and it has been haunting me for quite a while now : 1/ Ok, if the view function simply updates the view, fine, using bindings should do it. 2/ But if it is more complex, i would agree on writing a new command. But when dispatching an event from any component, it means that the destination view (where command should execute) should be passed as a parameter. But that won't scale, imagine you change the destination view name ?!?! So you could bind the name of the view in the model locator so that if you change it, you won't have to update each one of your dispatch events. I don't know which way is the good way... -JL - Original Message - From: Tim Hoff [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, May 23, 2006 4:45 PM Subject: [flexcoders] Re: Newbie : How do i listen to a value ? Cairngorm inside. Jean-Luc, You scenario questions make me wonder; when does a function in a viewHelper or viewLocator (or MXML file) merit becoming a command? In my opinion, I don't see any reason not to call one command from another (dispatch or direct call). For instance getData calls calculateTotals on result. Since commands are in the same abstraction layer, this should be OK. However crossing layers by calling a view function from a command should be avoided. What does the view function actually do. If it updates the view, then you can rework this to have your command update state variables or VO's in the ModelLocator that are bound to the view. This will automatically update the view. If the function does anything else, perhaps the function should become a command. This was my thought process when addressing similar issues. I would love to hear what Steven and/or Ali have to say about this. Regards, Tim Hoff --- In flexcoders@yahoogroups.com, Jean-Luc ESSER [EMAIL PROTECTED] wrote: How do i listen to a value change in a var ? Let's say i have a component CompA. In this component is a function FunctionA which needs to be triggered when an event is dispatched from a component CompB. Using Cairngorm, i dispatch an event from CompB, running a Command. For now, i trigger FunctionA from the Command (ie Application.application.CompA.FunctionA(myObject) ). But that is not how Cairngorm is supposed to work, right ? The way i should do it, i guess, is by updating a var myVar to myObject in my ModelLocator from my Command. Then, via bindings, in CompA, listen to myVar, and when changing to myObject, trigger FunctionA. Am i right ? But how would i do this ? Help is welcome. -Jean-Luc -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
[flexcoders] Re: custom formats in datagrids
Out of curiousity: Is this better or worse than creating a custom renderer to format the data? --- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Tuesday 23 May 2006 13:52, Tom Chiverton wrote: How does one say 'for this column, use this formatter' ? dataGridColumn ... itemFunction=customFormat function customFormat(item:Object, column:DataGridColumn):String{ var fmt:PseudoDateRenderer=new PseudoDateRenderer(); return fmt.format(item[column.dataField]); } Gah. -- 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. We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the Year at the 2005 Growth Company Awards -- 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] Dynamically populating a combobox
In my cfc I return an array to my flex app that holds data that I need to populate a combobox. However everything that I have tried has failed. Can someone give me a bit of help with this. Here is my code. I have tried it with as ArrayCollection and with out it. I am using the alert to make sure that I am getting data returned. // HIRED BY METHOD CALL public function AddAgentModhiredByQry(){ AddAgentMod.hiredByQry() } // HIRED BY METHOD RESULTS public function AddAgentModhiredByQryResult(result){ Alert.show(result); hiredBy.dataProvider = resul as ArrayCollection; } // HIRED BY MEHTOD FAULT public function AddAgentModhiredByQryFault(event:FaultEvent):void{ // DUMP ERROR MESSAGE Alert.show(An error has occured,Fault - Hired by DataProvider); } -- 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] Dynamic Return types
Is it possible to dynamically set a return type of a method in as3 and if not is it a legitimate feature request? Bjorn Schultheiss Senior Flash Developer Personalised Communication Power Level 2, 31 Coventry St. South Melbourne 3205, VIC Australia T: +61 3 9674 7400 F: +61 3 9645 9160 W: http://www.qdc.net.au ((This transmission is confidential and intended solely for the person or organization to whom it is addressed. It may contain privileged and confidential information. If you are not the intended recipient, you should not copy, distribute or take any action in reliance on it. If you believe you received this transmission 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] Including External Files
On May 22, 2006, at 9:05 PM, jeremy lu wrote: how about this ? (adding a slash) mx:Script source=/Assets/Models/touchPlans.as/ Tried that. Note that all other references to assets are relative, though root works as well. Not being adept in AS, I'm wondering if the AS file is malformed? Here again is the AS code, straight from the included file: // ActionScript file [Bindable] public var touchPlanDP:Array = [ {Thumb:'Assets/Images/cardPlan.png', Name:'Welcome Card'}, {Thumb:'Assets/Images/eCardPlan.png', Name:'E-Card'}, {Thumb:'Assets/Images/multiCardPlan.png', Name:'Multi-Card'}, ]; -- 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: Cairngorm Sample Store
Last i heard from Steven was that they were trying to find time to put that online asap. They are under lot of pressure with internal projects. They didn't forget about it, we just need to be patient. Best, Jean-Luc - Original Message - From: Stefan Schmalhaus [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, May 23, 2006 7:11 PM Subject: [flexcoders] Re: Cairngorm Sample Store --- In flexcoders@yahoogroups.com, Steven Webster [EMAIL PROTECTED] wrote: We have a build of Cairngorm Store for Flex Beta 3, and Cairngorm 2 that we intend to deliver to you in the days ahead. Any news on this? -- 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 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 1.5
Is there a way to get a complete compile and be able to move it from dev to production? Thanks James -- 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] Using Loader to load multiple mx:Application SWF (Flex 1.5)
I have read and re-read all the posts on breaking up a big application into smaller chunks either using the Loader method or createChild. createChild works well to delay creation of objects but the actually SWF size is not smaller as the classes are compiled into the application. The Loader loads stuff on runtime but you get longer load times because of overlapping of common classes (each loaded SWF is a Flex app with the main component being the Application class). My question I have is in regards to the Loader and loading other mx:Application flex SWFs. When I try to do this, I can not get the loader swf's to stay dyanmic 100% widht and height. I want the loaded application SWF to fill up the container it was loaded in. It has to do with something when it reaches 500 width and 375 height, some defaults in the Application class. I found some methods of hacking the width and height to work somewhat reasonably, but in the end it doesn't seem right. I know the Flex Exampler Explorer is a good example of loading different Application SWF into a container but none of them do 100% width/height. First, do people really use Loader to load multiple Flex mini-applications? and if so how do you address the 100% width/height issue? -- 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 beta 3 doubt about custom component as a loginwindow.
when am trying out this example, i get errors.. am not able to understand what kinda mistake am making? or what has to be considered for such codes please reply soon SimpleTitleWindowExample.mxml ?xml version="1.0" encoding="utf-8"? !-- Simple application to demonstrate TitleWindow layout container. -- mx:Application xmlns:mx=" http://www.adobe.com/2006/mxml" mx:Script ![CDATA[ import mx.managers.PopUpManager; import mx.containers.TitleWindow; // Open the TitleWindow container. // Cast the return value of the createPopUp() method // to SimpleTitleWindowExample, the name of the // component containing the TitleWindow container. private function showWindow():void { var login:SimpleTitleWindowExample=SimpleTitleWindowExample(PopUpManager.createPopUp( this, SimpleTitleWindowExample , true)); // Pass a reference to the TextInput control // to the TitleWindow container so that the// TitleWindow container can return data to the main application. login.loginName=returnedName; } ]] /mx:Script mx:Panel title="TitleWindow Container Example" height="75%" width="75%"paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10" mx:Button label="Click to open the TitleWindow container" click="showWindow();"/ mx:Text id="returnedName" text="" width="100%"/ /mx:Panel /mx:Application -- TitleWindowApp.mxml - ?xml version="1.0" encoding="utf-8"? !-- Simple custom MXML TitleWindow component.The TitleWindowApp application displays this component. You cannot run it independently. -- mx:TitleWindow xmlns:mx=" http://www.adobe.com/2006/mxml" title="Title Window" x="168" y="86" mx:Script ![CDATA[import mx.managers.PopUpManager ; import mx.controls.Text; // A reference to the TextInput control in which to put the result. public var loginName:Text; // Event handler for the OK button. private function returnName():void {loginName.text="Name entered: " + userName.text; PopUpManager.removePopUp(this); } ]] /mx:Script mx:HBox mx:Label text="Enter Name: "/ mx:TextInput id="userName" width="100%"/ /mx:HBox mx:HBox mx:Button label="OK" click="returnName();"/mx:Button label="Cancel" click="PopUpManager.removePopUp(this);"/ /mx:HBox/mx:TitleWindow errors are1 Access of undefined property SimpleTitleWindowExample.2 Call to a possibly undefined method SimpleTitleWindowExample. 3 Type was not found or was not a compile-time constant: SimpleTitleWindowExample. 4 Access of possibly undefined property loginName through a reference with static type SimpleTitleWindowExample.please reply soon thanks poonam Yahoo! India Answers Share what your know-how and wisdom Send free SMS to your Friends on Mobile from your Yahoo! Messenger Download now -- 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: Flex 1.5
James, hi Flex 1.5 comes with mxmlc tool which would compile your app into a SWF. Please, look up the documentation on mxmlc tool. --- Dmitry --- In flexcoders@yahoogroups.com, James [EMAIL PROTECTED] wrote: Is there a way to get a complete compile and be able to move it from dev to production? Thanks James -- 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] Referencing States from Custom Components
Greetings - Say I have a document (itself a custom component) called wizard.mxml. This document contains a pair of buttons for navigating steps in a wizard like this: mx:Button label=back click=currentState='step1'/ mx:Button label=next click=currentState='step3'/ (Also in wizard.mxml are the states 'step1' and 'step3'). Buttons work fine when all are in the same document. However, if I move the buttons to a custom component, the return errors saying Unknown State: 'step1', etc. Seems I need to reference the component that the the states are in. I've tried changing the click action in the buttons ala: mx:Button label=back click=currentState='wizard.step1'/ To no avail. So, question, how do I control states in one custom component from another? thanks, ethan -- 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] Beta3 - Remoting error when running from local build
Hi all, I've got Flex Data Services installed in the default path, and Flex Builder Plugin set to Compile Locally. The server path is set properly under Flex Server properties tab: Flex Root Folder - C:\fds2\jrun4\servers\default\flex Flex Server URL - http://localhost/flex/ Note: I've changed the server.port parameter to run on port 80 instead of 8700. The debugger shows the endpoint url as http://localhost//messagebroker/amf which seems correct. (other than the extra forward slash after localhost) The compiler settings in the flex project point to the correct enterprise services xml file: -services C:\fds2\jrun4\servers\default\flex\WEB-INF\flex\flex-enterprise-services.xml -locale en_US And finally, if I copy the source over, and build it from FDS (by pointing the browser at the mxml file) it works correctly. What other client settings could be causing this? thanks, Thunder -- 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] Using Loader to load multiple mx:Application SWF (Flex 1.5)
Renaun, You canavoid doublesin SWF size if you use RSLs and mark them external for loadable modules. We have developed "flexlets" that were under 20K. As far as screen sizing wehad to do this: mx:SWFLoader width="100%" height="100%" trustContent="true" id="loader" autoLoad="true" init="loader.percentWidth=99;loader.percentWidth=100"/ did not have problems with height. Not pretty, but I am postoning looking into SWFLoader till final release as it has been moving target in the past. HTH, Anatole - Original Message - From: Renaun Erickson To: flexcoders@yahoogroups.com Sent: Tuesday, May 23, 2006 1:51 PM Subject: [flexcoders] Using Loader to load multiple mx:Application SWF (Flex 1.5) I have read and re-read all the posts on breaking up a big applicationinto smaller chunks either using the Loader method or createChild.createChild works well to delay creation of objects but the actuallySWF size is not smaller as the classes are compiled into theapplication. The Loader loads stuff on runtime but you get longerload times because of overlapping of common classes (each loaded SWFis a Flex app with the main component being the Application class).My question I have is in regards to the Loader and loading othermx:Application flex SWFs. When I try to do this, I can not get theloader swf's to stay dyanmic 100% widht and height. I want the loadedapplication SWF to fill up the container it was loaded in.It has to do with something when it reaches 500 width and 375 height,some defaults in the Application class. I found some methods ofhacking the width and height to work somewhat reasonably, but in theend it doesn't seem right.I know the Flex Exampler Explorer is a good example of loadingdifferent Application SWF into a container but none of them do 100%width/height.First, do people really use Loader to load multiple Flexmini-applications? and if so how do you address the 100% width/height issue? -- 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] Beta2 and Beta3 Mac OS X browser crash
Hello Flexcoders; Ive come across a problem where the Safari browser will crash when loading an SWF file. This affects some computers, but not others. Ive not been able to isolate whats different about the computers where the crash occurs compared to those where it doesnt. Ive created two SWF files that trigger the crash. The similarity between these two files is that they both access the network. One uses XMLSocket, the other WebService. In both cases, the stack trace is very similar. Ive appended the stack trace from the crash when loading the SWF file that uses XMLSocket. This crash affects Flash Player 8.5b2 and Flash Player 9b3. Has anyone else seen this problem? Anyone know if theres anything I can do to work around it? More importantly, anyone at Adobe know if it will be fixed in a future release? Thanks. Kodak Graphic Communications Canada Company Tobias Patton | Software Developer | Tel: +1.604.451.2700 ext: 5148 | mailto:[EMAIL PROTECTED] | http://www.creo.com Date/Time: 2006-05-23 10:50:53.627 -0700 OS Version: 10.4.6 (Build 8I127) Report Version: 4 Command: Safari Path: /Applications/Safari.app/Contents/MacOS/Safari Parent: WindowServer [27040] Version: 2.0.3 (417.9.2) Build Version: 7 Project Name: WebBrowser Source Version: 4170902 PID: 29107 Thread: 0 Exception: EXC_BAD_INSTRUCTION (0x0002) Code[0]: 0x0002 Code[1]: 0x093dc768 Thread 0 Crashed: 0 0x093dc768 0 + 155043688 1 ...romedia.Flash Player.plugin 0x052bb834 native_ShockwaveFlash_TCallFrame + 1117932 2 ...romedia.Flash Player.plugin 0x052db688 native_ShockwaveFlash_TCallFrame + 1248576 3 0x08fefcbc 0 + 150928572 4 0x08ffb3e0 0 + 150975456 5 ...romedia.Flash Player.plugin 0x052bb834 native_ShockwaveFlash_TCallFrame + 1117932 6 ...romedia.Flash Player.plugin 0x052db688 native_ShockwaveFlash_TCallFrame + 1248576 7 0x08ff88ac 0 + 150964396 8 ...romedia.Flash Player.plugin 0x052bb834 native_ShockwaveFlash_TCallFrame + 1117932 9 ...romedia.Flash Player.plugin 0x052db858 native_ShockwaveFlash_TCallFrame + 1249040 10 ...romedia.Flash Player.plugin 0x052bbbc0 native_ShockwaveFlash_TCallFrame + 1118840 11 ...romedia.Flash Player.plugin 0x05234838 native_ShockwaveFlash_TCallFrame + 564976 12 ...romedia.Flash Player.plugin 0x0523f558 native_ShockwaveFlash_TCallFrame + 609296 13 ...romedia.Flash Player.plugin 0x0523ee88 native_ShockwaveFlash_TCallFrame + 607552 14 ...romedia.Flash Player.plugin 0x051275c4 Flash_EnforceLocalSecurity + 901608 15 ...romedia.Flash Player.plugin 0x050552b8 Flash_EnforceLocalSecurity + 40668 16 ...romedia.Flash Player.plugin 0x0504d164 Flash_EnforceLocalSecurity + 7560 17 com.apple.WebKit 0x952a55bc -[WebBaseNetscapePluginView sendEvent:] + 280 18 com.apple.WebKit 0x952a738c -[WebBaseNetscapePluginView sendNullEvent] + 144 19 com.apple.Foundation 0x92934f5c __NSFireTimer + 116 20 com.apple.CoreFoundation 0x907efaec __CFRunLoopDoTimer + 184 21 com.apple.CoreFoundation 0x907dc464 __CFRunLoopRun + 1680 22 com.apple.CoreFoundation 0x907dba18 CFRunLoopRunSpecific + 268 23 com.apple.HIToolbox 0x931d8980 RunCurrentEventLoopInMode + 264 24 com.apple.HIToolbox 0x931d8014 ReceiveNextEventCommon + 380 25 com.apple.HIToolbox 0x931d7e80 BlockUntilNextEventMatchingListInMode + 96 26 com.apple.AppKit 0x936ba104 _DPSNextEvent + 384 27 com.apple.AppKit 0x936b9dc8 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 116 28 com.apple.Safari 0x6e74 0x1000 + 24180 29 com.apple.AppKit 0x936b630c -[NSApplication run] + 472 30 com.apple.AppKit 0x937a6e68 NSApplicationMain + 452 31 com.apple.Safari 0x0005cbec 0x1000 + 375788 32 com.apple.Safari 0x0005ca94 0x1000 + 375444 -- 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: Beta3 - Remoting error when running from local build
Wait a minute... it's missing the {context.root} portion of the URL... thats why there's two slashes... Looking for the setting that should pick that up. Thunder --- In flexcoders@yahoogroups.com, thunderstumpgesatwork [EMAIL PROTECTED] wrote: Hi all, I've got Flex Data Services installed in the default path, and Flex Builder Plugin set to Compile Locally. The server path is set properly under Flex Server properties tab: Flex Root Folder - C:\fds2\jrun4\servers\default\flex Flex Server URL - http://localhost/flex/ Note: I've changed the server.port parameter to run on port 80 instead of 8700. The debugger shows the endpoint url as http://localhost//messagebroker/amf which seems correct. (other than the extra forward slash after localhost) The compiler settings in the flex project point to the correct enterprise services xml file: -services C:\fds2\jrun4\servers\default\flex\WEB-INF\flex\flex-enterprise-services.xml -locale en_US And finally, if I copy the source over, and build it from FDS (by pointing the browser at the mxml file) it works correctly. What other client settings could be causing this? thanks, Thunder -- 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: Using Loader to load multiple mx:Application SWF (Flex 1.5)
Yes the RSL can keep the files sizes down, do you put all the Flex classes in the RSL too? As for SWFloader, I am actually asking about Flex 1.5 and mx:Loader. But the livedocs says Loader as the percentWidth/Height. I'll give it a try, I guess my question would be, doesn't width=100% set the percentWidth? Thanks for the response, more to test. Renaun --- In flexcoders@yahoogroups.com, Anatole Tartakovsky [EMAIL PROTECTED] wrote: Renaun, You can avoid doubles in SWF size if you use RSLs and mark them external for loadable modules. We have developed flexlets that were under 20K. As far as screen sizing we had to do this: mx:SWFLoader width=100% height=100% trustContent=true id=loader autoLoad=true init=loader.percentWidth=99;loader.percentWidth=100/ did not have problems with height. Not pretty, but I am postoning looking into SWFLoader till final release as it has been moving target in the past. HTH, Anatole - Original Message - From: Renaun Erickson To: flexcoders@yahoogroups.com Sent: Tuesday, May 23, 2006 1:51 PM Subject: [flexcoders] Using Loader to load multiple mx:Application SWF (Flex 1.5) I have read and re-read all the posts on breaking up a big application into smaller chunks either using the Loader method or createChild. createChild works well to delay creation of objects but the actually SWF size is not smaller as the classes are compiled into the application. The Loader loads stuff on runtime but you get longer load times because of overlapping of common classes (each loaded SWF is a Flex app with the main component being the Application class). My question I have is in regards to the Loader and loading other mx:Application flex SWFs. When I try to do this, I can not get the loader swf's to stay dyanmic 100% widht and height. I want the loaded application SWF to fill up the container it was loaded in. It has to do with something when it reaches 500 width and 375 height, some defaults in the Application class. I found some methods of hacking the width and height to work somewhat reasonably, but in the end it doesn't seem right. I know the Flex Exampler Explorer is a good example of loading different Application SWF into a container but none of them do 100% width/height. First, do people really use Loader to load multiple Flex mini-applications? and if so how do you address the 100% width/height issue? -- 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 a.. Visit your group flexcoders on the web. b.. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- -- 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: Using Loader to load multiple mx:Application SWF (Flex 1.5)
Well, the percentWidth and percentHeight on Flex 1.5 Loader class are read only. http://livedocs.macromedia.com/flex/15/asdocs_en/ Hmmm still have the issue. --- In flexcoders@yahoogroups.com, Anatole Tartakovsky [EMAIL PROTECTED] wrote: Renaun, You can avoid doubles in SWF size if you use RSLs and mark them external for loadable modules. We have developed flexlets that were under 20K. As far as screen sizing we had to do this: mx:SWFLoader width=100% height=100% trustContent=true id=loader autoLoad=true init=loader.percentWidth=99;loader.percentWidth=100/ did not have problems with height. Not pretty, but I am postoning looking into SWFLoader till final release as it has been moving target in the past. HTH, Anatole - Original Message - From: Renaun Erickson To: flexcoders@yahoogroups.com Sent: Tuesday, May 23, 2006 1:51 PM Subject: [flexcoders] Using Loader to load multiple mx:Application SWF (Flex 1.5) I have read and re-read all the posts on breaking up a big application into smaller chunks either using the Loader method or createChild. createChild works well to delay creation of objects but the actually SWF size is not smaller as the classes are compiled into the application. The Loader loads stuff on runtime but you get longer load times because of overlapping of common classes (each loaded SWF is a Flex app with the main component being the Application class). My question I have is in regards to the Loader and loading other mx:Application flex SWFs. When I try to do this, I can not get the loader swf's to stay dyanmic 100% widht and height. I want the loaded application SWF to fill up the container it was loaded in. It has to do with something when it reaches 500 width and 375 height, some defaults in the Application class. I found some methods of hacking the width and height to work somewhat reasonably, but in the end it doesn't seem right. I know the Flex Exampler Explorer is a good example of loading different Application SWF into a container but none of them do 100% width/height. First, do people really use Loader to load multiple Flex mini-applications? and if so how do you address the 100% width/height issue? -- 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 a.. Visit your group flexcoders on the web. b.. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- -- 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: Using Loader to load multiple mx:Application SWF (Flex 1.5)
Yes, setting width=100% in Flex 1.5 should work. Its equivalent to setting percentWidth in Flex 2.0. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Renaun Erickson Sent: Tuesday, May 23, 2006 11:35 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Using Loader to load multiple mx:Application SWF (Flex 1.5) Yes the RSL can keep the files sizes down, do you put all the Flex classes in the RSL too? As for SWFloader, I am actually asking about Flex 1.5 and mx:Loader. But the livedocs says Loader as the percentWidth/Height. I'll give it a try, I guess my question would be, doesn't width=100% set the percentWidth? Thanks for the response, more to test. Renaun --- In flexcoders@yahoogroups.com, Anatole Tartakovsky [EMAIL PROTECTED] wrote: Renaun, You can avoid doubles in SWF size if you use RSLs and mark them external for loadable modules. We have developed flexlets that were under 20K. As far as screen sizing we had to do this: mx:SWFLoader width=100% height=100% trustContent=true id=loader autoLoad=true init=loader.percentWidth=99;loader.percentWidth=100/ did not have problems with height. Not pretty, but I am postoning looking into SWFLoader till final release as it has been moving target in the past. HTH, Anatole - Original Message - From: Renaun Erickson To: flexcoders@yahoogroups.com Sent: Tuesday, May 23, 2006 1:51 PM Subject: [flexcoders] Using Loader to load multiple mx:Application SWF (Flex 1.5) I have read and re-read all the posts on breaking up a big application into smaller chunks either using the Loader method or createChild. createChild works well to delay creation of objects but the actually SWF size is not smaller as the classes are compiled into the application. The Loader loads stuff on runtime but you get longer load times because of overlapping of common classes (each loaded SWF is a Flex app with the main component being the Application class). My question I have is in regards to the Loader and loading other mx:Application flex SWFs. When I try to do this, I can not get the loader swf's to stay dyanmic 100% widht and height. I want the loaded application SWF to fill up the container it was loaded in. It has to do with something when it reaches 500 width and 375 height, some defaults in the Application class. I found some methods of hacking the width and height to work somewhat reasonably, but in the end it doesn't seem right. I know the Flex Exampler Explorer is a good example of loading different Application SWF into a container but none of them do 100% width/height. First, do people really use Loader to load multiple Flex mini-applications? and if so how do you address the 100% width/height issue? -- 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 a.. Visit your group flexcoders on the web. b.. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- -- 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: Newbie : How do i listen to a value ? Cairngorm inside.
Hi Jean-Luc and others. Let's see if we can break it down into simple terms. viewHelpers/viewLocator are utility classes that performrelated functionsto a view. Instead of cluttering an MXML file with script functions, they are separated for readability. There is debate which approach to use - some useneither (an actual utility class). While a viewHelper provides better association to a single view, a viewLocator allows for the centralization of common view functions. I'm sure that whichever way works for you, is acceptable here. Model and State are synonymous. If your view changes because of a change to displayed data - bind the data to the view. If your view needs to create dependant children - bind it (states or view stack).Binding can come in different forms. For instatnce,an authorVO may be bound to several views and/or components. In this case there would be a one-to-many relationship. While you might have a state variable in the ModelLocator that is only bound to one view (one-to-one). Commands do not receive parameters directly from views, they receive them from events (CairngormEvent). This allows the commandto be triggered from anywhere in the application. Commands don't know, or care, how or where,they were called into action. In addition, the parameters received are usually used for such things as getting data. For instance, a getAuthors command might have an authorID parameter that it will pass on to a delegate for a data call. If you havemultiple views that use a command to update their states, you would go ahead and update the state (ModelLocator) for all of the related viewsin the command. The user will only be presented with the state change to the viewthat is currently displayed. The other views that are effected, but notcurrently displayed, can always be set to a desired state when they aredisplayed. By doing it this way, your application won't break if a view is removed. It will simply update a ModelLocator variable that has becomeun-bound. You can see a simple example how to do this here:http://www.cflex.net/showfiledetails.cfm?ChannelID=1Object=FileobjectID=422. Hypothetically, If you have two functions: getAuthors and filterAuthorsGrid, the first would be a command and the second would be a viewHelper/viewLocator function. When determining the difference, I think that you need to ask; does this function need to be used by more than one view and/or does thisfunction need to be re-usable in the application? I don't know if this is universal, but we can build upon it. Tim Hoff -- 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: Referencing States from Custom Components
You could access the parent's currentState by using the following: mx:Button label=back click=outerDocument.currentState='step1'/ I believe that this type of reference comes from Flash. -TH --- In flexcoders@yahoogroups.com, Ethan Miller [EMAIL PROTECTED] wrote: Greetings - Say I have a document (itself a custom component) called wizard.mxml. This document contains a pair of buttons for navigating steps in a wizard like this: mx:Button label=back click=currentState='step1'/ mx:Button label=next click=currentState='step3'/ (Also in wizard.mxml are the states 'step1' and 'step3'). Buttons work fine when all are in the same document. However, if I move the buttons to a custom component, the return errors saying Unknown State: 'step1', etc. Seems I need to reference the component that the the states are in. I've tried changing the click action in the buttons ala: mx:Button label=back click=currentState='wizard.step1'/ To no avail. So, question, how do I control states in one custom component from another? thanks, ethan -- 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: 1.5 migration: How are you handling the loss of undefined and null states for vars?
I think it changed between B1 and B2, or between B2 and B3. - Gordon From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tim Hoff Sent: Monday, May 22, 2006 7:22 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: 1.5 migration: How are you handling the loss of undefined and null states for vars? Thanks Gordon. I was wondering if that had changed from an older sample I had seen. Ahh, Special Types. Good to know. -TH --- In flexcoders@yahoogroups.com, Gordon Smith [EMAIL PROTECTED] wrote: Objects still support undefined and null No; type Object can store null but not undefined. Only an untyped var (indicated by foo:*) can store undefined. - Gordon -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tim Hoff Sent: Monday, May 22, 2006 4:48 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: 1.5 migration: How are you handling the loss of undefined and null states for vars? Objects still support undefined and null. Can you think of a way to bind objects to your boolean variables (like an associative array hashmap)? -TH --- In flexcoders@yahoogroups.com, Tracy Spratt tspratt@ wrote: ! gt; This has definitely become my biggest issue. I have been depending on checking for uninitialized variables containing undefined or null, but in 2.o this is no longer possible. I can see coming up with some values that are very unlikely to be duplicated as initial values for string and numbers, but boolean variables are a bigger problem. I guess will have to create a flag variable for each boolean and set its value when the main variable is first modified, then check it to determine the intialize status when needed. Does anyone have any clever approaches to this? Tracy -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/fle! xcodersFAQ.txt Search Archives: http://www.mail-archiv! e.com/fl excoders%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 SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice -- 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: Referencing States from Custom Components
Can you provide code? -TH --- In flexcoders@yahoogroups.com, Ethan Miller [EMAIL PROTECTED] wrote: On May 23, 2006, at 12:22 PM, Tim Hoff wrote: You could access the parent's currentState by using the following: mx:Button label=back click=outerDocument.currentState='step1'/ Tried that, didn't work (though as I understand it outerDocument is for breakig nout of scope set by a Component tag (with the same mxml document). Also tried parentDocument, which is what I thought would work... Here, btw, is the error generated when trying that: ArgumentError: Undefined state 'parentDocument.touchOptions'. at mx.core::UIComponent/::getState() at mx.core::UIComponent/::findCommonBaseState() at mx.core::UIComponent/::commitCurrentState() at mx.core::UIComponent/setCurrentState() at mx.core::UIComponent/set currentState() at Assets.Components::SendTouchPlans/___Button1_click() cheers, ethan -- 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] FB2B3 :: Organize Imports :: BUG
does Adobe becasue they have every single import listed even if the imported file exists in the same package Where do you see this? - Gordon From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Michael Schmalle Sent: Tuesday, May 23, 2006 3:00 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] FB2B3 :: Organize Imports :: BUG Ha, Bug, well to me it's a bug. You know how there are verbose and no-verbose individuals in the world? Well, I am verbose and would love for ALL the imports to STAY if I want them there. Now, is there any way that you can have FB2 call 'Organize Imports' and organize ALL the imports you have listed WITHOUT deleting the ones in the same package!? I like to see ALL the imports I am using. I can't most of the time even want to take the time to care if it's 'in the same package', I just want to see all my imports. Ironically, so does Adobe becasue they have every single import listed even if the imported file exists in the same package. Could you put a preferences check box or something for us that like to save them. I know this changed from b2 to b3, b2 did not delete your imports. Peace, Mike -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS 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] Beta3 - Remoting error when running from local build
If you have {context-root} in any of your endpoints and rely on the services configuration to generate the correct channels for you at runtime then you must specify --context-root=/yourcontext at compile time. (This has been raised before as an issue with the dialog for not asking for this value). If you don't specify a context root the default context root of is assumed, this shouldn't result in a double slash as some webserver connectors don't handle it. Also note that there is a known issue in beta 3 with the default context root is (incorrectly, as it should be specified as the empty string according to the J2EE spec) specified using a / instead of the empty string too. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of thunderstumpgesatwork Sent: Tuesday, May 23, 2006 2:19 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Beta3 - Remoting error when running from local build Hi all, I've got Flex Data Services installed in the default path, and Flex Builder Plugin set to Compile Locally. The server path is set properly under Flex Server properties tab: Flex Root Folder - C:\fds2\jrun4\servers\default\flex Flex Server URL - http://localhost/flex/ Note: I've changed the server.port parameter to run on port 80 instead of 8700. The debugger shows the endpoint url as http://localhost//messagebroker/amf which seems correct. (other than the extra forward slash after localhost) The compiler settings in the flex project point to the correct enterprise services xml file: -services C:\fds2\jrun4\servers\default\flex\WEB-INF\flex\flex-enterprise-service s.xml -locale en_US And finally, if I copy the source over, and build it from FDS (by pointing the browser at the mxml file) it works correctly. What other client settings could be causing this? thanks, Thunder Yahoo! Groups Sponsor ~-- Protect your PC from spy ware with award winning anti spy technology. It's free. http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- 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] about Label with htmlText
This is a bug because the 'text' and 'htmlText' properties of Label have the metadata [CollapseWhiteSpace]. The newline and spaces between the ![CDATA[ and the font tag, and the newline and spaces between the /font tag and the [[ should be getting collapsed into a single space. - Gordon From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Michael Schmalle Sent: Tuesday, May 23, 2006 6:35 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] about Label with htmlText Hi, Oh the search facilities are great on flexcoders. Ironically, this question was just answered 4 days ago or something. The Label is single line. CData interprets you linebreaks as line breaks. Although you don't see any text in the Label, it is there just multi line. Peace, Mike PS, don't put line breaks in it. On 5/23/06, Dreamer [EMAIL PROTECTED] wrote: Hello,flexcoders When I use FlexBuilder 2.0 Beta 3,I find an interesting problem. I want to use a Label with htmlText.when I writ like this: mx:Label fontSize=14 mx:htmlText ![CDATA[ font color=#FFThis/font is bhtml text/b iin a/i font color=#99Label/font ucomponent/u/font ]] /mx:htmlText /mx:Label It doesn't work. But if I write the code like this: mx:Label fontSize=14 mx:htmlText ![CDATA[font color=#FFThis/font is bhtml text/b iin a/i font color=#99Label/font ucomponent/u/font]] /mx:htmlText /mx:Label It work well.I just change it by write the ![CDATA[ ]] and the html text in one the same line~Is that a bug?? Peace, Dreamer [EMAIL PROTECTED] 2006-05-23 -- 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. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS 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: Using Loader to load multiple mx:Application SWF (Flex 1.5)
Hi Renaun, Insert the following into your loaded mxml applications (the ones set as the content for your Loader control), and they will properly resize. Regards, Doug mx:Script ![CDATA[ function getPreferredHeight() { return _parent? _parent.layoutHeight : super.getPreferredHeight(); } function getPreferredWidth() { return _parent? _parent.layoutWidth : super.getPreferredWidth(); } ]] /mx:Script --- In flexcoders@yahoogroups.com, Renaun Erickson [EMAIL PROTECTED] wrote: I have read and re-read all the posts on breaking up a big application into smaller chunks either using the Loader method or createChild. createChild works well to delay creation of objects but the actually SWF size is not smaller as the classes are compiled into the application. The Loader loads stuff on runtime but you get longer load times because of overlapping of common classes (each loaded SWF is a Flex app with the main component being the Application class). My question I have is in regards to the Loader and loading other mx:Application flex SWFs. When I try to do this, I can not get the loader swf's to stay dyanmic 100% widht and height. I want the loaded application SWF to fill up the container it was loaded in. It has to do with something when it reaches 500 width and 375 height, some defaults in the Application class. I found some methods of hacking the width and height to work somewhat reasonably, but in the end it doesn't seem right. I know the Flex Exampler Explorer is a good example of loading different Application SWF into a container but none of them do 100% width/height. First, do people really use Loader to load multiple Flex mini-applications? and if so how do you address the 100% width/height issue? -- 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: Referencing States from Custom Components
On May 23, 2006, at 12:47 PM, Tim Hoff wrote: Can you provide code? Yes, and thanks for the help! Attached are two files: SendStates.mxml This file defines the various view states. This file sources in the second file using the tag nf:SendSidebarMenu (note the custon nf name space). SendSidebarMenu.mxml ThIs file includes linkButtons which attempt to load various stats in SendStates.mxml As reminder, I've tried the following in the click handlers. parentDocument.touchOptions outerDocument.touchOptions SendStates.touchOptions (touchOptions being one of the named states in SendStates.mxml) cheers, ethan -- 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. SendSidebarMenu.mxml Description: Binary data SendStates.mxml Description: Binary data
[flexcoders] Re: Using Loader to load multiple mx:Application SWF (Flex 1.5)
Oh, and credit for this goes to Andrew Spaulding. Here's the original link: http://www.flexdaddy.info/2005/02/21/sizing-apps-within-the-loader-control/ --- In flexcoders@yahoogroups.com, "Doug Lowder" [EMAIL PROTECTED] wrote: Hi Renaun, Insert the following into your loaded mxml applications (the ones set as the content for your Loader control), and they will properly resize. Regards, Doug mx:Script ![CDATA[ function getPreferredHeight() { return _parent? _parent.layoutHeight : super.getPreferredHeight(); } function getPreferredWidth() { return _parent? _parent.layoutWidth : super.getPreferredWidth(); } ]] /mx:Script--- In flexcoders@yahoogroups.com, "Renaun Erickson" renaun@ wrote: I have read and re-read all the posts on breaking up a big application into smaller chunks either using the Loader method or createChild.createChild works well to delay creation of objects but the actually SWF size is not smaller as the classes are compiled into the application. The Loader loads stuff on runtime but you get longer load times because of overlapping of common classes (each loaded SWF is a Flex app with the main component being the Application class).My question I have is in regards to the Loader and loading other mx:Application flex SWFs. When I try to do this, I can not get the loader swf's to stay dyanmic 100% widht and height. I want the loaded application SWF to fill up the container it was loaded in.It has to do with something when it reaches 500 width and 375 height, some defaults in the Application class. I found some methods of hacking the width and height to work somewhat reasonably, but in the end it doesn't seem right.I know the Flex Exampler Explorer is a good example of loading different Application SWF into a container but none of them do 100% width/height.First, do people really use Loader to load multiple Flex mini-applications? and if so how do you address the 100% width/height issue? -- 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: Using Loader to load multiple mx:Application SWF (Flex 1.5)
Its some what hard to explain, so I made a screen capture video of it. You can view it here: http://www.renaun.com/flex1_5/FlexLoaderAppResize.html Here is a link to the sample code that I am messing with: http://www.renaun.com/rsl_example.zip App2 in the sample code is the one I have been messing with a lot. It works alright, but if you load the Flex app while the browser is at about 300 width 300 height and then start to resize the application it goes weird at a certain width and height. Renaun --- In flexcoders@yahoogroups.com, Joan Tan [EMAIL PROTECTED] wrote: Yes, setting width=100% in Flex 1.5 should work. Its equivalent to setting percentWidth in Flex 2.0. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Renaun Erickson Sent: Tuesday, May 23, 2006 11:35 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Using Loader to load multiple mx:Application SWF (Flex 1.5) Yes the RSL can keep the files sizes down, do you put all the Flex classes in the RSL too? As for SWFloader, I am actually asking about Flex 1.5 and mx:Loader. But the livedocs says Loader as the percentWidth/Height. I'll give it a try, I guess my question would be, doesn't width=100% set the percentWidth? Thanks for the response, more to test. Renaun --- In flexcoders@yahoogroups.com, Anatole Tartakovsky anatolet@ wrote: Renaun, You can avoid doubles in SWF size if you use RSLs and mark them external for loadable modules. We have developed flexlets that were under 20K. As far as screen sizing we had to do this: mx:SWFLoader width=100% height=100% trustContent=true id=loader autoLoad=true init=loader.percentWidth=99;loader.percentWidth=100/ did not have problems with height. Not pretty, but I am postoning looking into SWFLoader till final release as it has been moving target in the past. HTH, Anatole - Original Message - From: Renaun Erickson To: flexcoders@yahoogroups.com Sent: Tuesday, May 23, 2006 1:51 PM Subject: [flexcoders] Using Loader to load multiple mx:Application SWF (Flex 1.5) I have read and re-read all the posts on breaking up a big application into smaller chunks either using the Loader method or createChild. createChild works well to delay creation of objects but the actually SWF size is not smaller as the classes are compiled into the application. The Loader loads stuff on runtime but you get longer load times because of overlapping of common classes (each loaded SWF is a Flex app with the main component being the Application class). My question I have is in regards to the Loader and loading other mx:Application flex SWFs. When I try to do this, I can not get the loader swf's to stay dyanmic 100% widht and height. I want the loaded application SWF to fill up the container it was loaded in. It has to do with something when it reaches 500 width and 375 height, some defaults in the Application class. I found some methods of hacking the width and height to work somewhat reasonably, but in the end it doesn't seem right. I know the Flex Exampler Explorer is a good example of loading different Application SWF into a container but none of them do 100% width/height. First, do people really use Loader to load multiple Flex mini-applications? and if so how do you address the 100% width/height issue? -- 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 a.. Visit your group flexcoders on the web. b.. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- -- 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 http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+ site+design+developmentw2=Computer+software+developmentw3=Software+des ign+and+developmentw4=Macromedia+flexw5=Software+development+best+prac ticec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ Computer software development http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=We b+site+design+developmentw2=Computer+software+developmentw3=Software+d
[flexcoders] Re: Using Loader to load multiple mx:Application SWF (Flex 1.5)
Doug (and Andrew), Thanks for posting the info, its just want I was looking for. It makes sense now too. This really should be put into the Application class by default, they have similiar stuff already for other functions. Thanks again, Renaun --- In flexcoders@yahoogroups.com, Doug Lowder [EMAIL PROTECTED] wrote: Oh, and credit for this goes to Andrew Spaulding. Here's the original link: http://www.flexdaddy.info/2005/02/21/sizing-apps-within-the-loader-contr\ ol/ http://www.flexdaddy.info/2005/02/21/sizing-apps-within-the-loader-cont\ rol/ --- In flexcoders@yahoogroups.com, Doug Lowder douglowder@ wrote: Hi Renaun, Insert the following into your loaded mxml applications (the ones set as the content for your Loader control), and they will properly resize. Regards, Doug mx:Script ![CDATA[ function getPreferredHeight() { return _parent? _parent.layoutHeight : super.getPreferredHeight(); } function getPreferredWidth() { return _parent? _parent.layoutWidth : super.getPreferredWidth(); } ]] /mx:Script --- In flexcoders@yahoogroups.com, Renaun Erickson renaun@ wrote: I have read and re-read all the posts on breaking up a big application into smaller chunks either using the Loader method or createChild. createChild works well to delay creation of objects but the actually SWF size is not smaller as the classes are compiled into the application. The Loader loads stuff on runtime but you get longer load times because of overlapping of common classes (each loaded SWF is a Flex app with the main component being the Application class). My question I have is in regards to the Loader and loading other mx:Application flex SWFs. When I try to do this, I can not get the loader swf's to stay dyanmic 100% widht and height. I want the loaded application SWF to fill up the container it was loaded in. It has to do with something when it reaches 500 width and 375 height, some defaults in the Application class. I found some methods of hacking the width and height to work somewhat reasonably, but in the end it doesn't seem right. I know the Flex Exampler Explorer is a good example of loading different Application SWF into a container but none of them do 100% width/height. First, do people really use Loader to load multiple Flex mini-applications? and if so how do you address the 100% width/height issue? -- 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: Beta3 - Remoting error when running from local build
Great, thanks for the info. Thunder --- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED] wrote: If you have {context-root} in any of your endpoints and rely on the services configuration to generate the correct channels for you at runtime then you must specify --context-root=/yourcontext at compile time. (This has been raised before as an issue with the dialog for not asking for this value). If you don't specify a context root the default context root of is assumed, this shouldn't result in a double slash as some webserver connectors don't handle it. Also note that there is a known issue in beta 3 with the default context root is (incorrectly, as it should be specified as the empty string according to the J2EE spec) specified using a / instead of the empty string too. -- 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.