RE: [flexcoders] How do you advise clients about building for the future - how long before Flex2 is worth their time?
Karl: Ok. Thanks, Jack From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Karl JohnsonSent: Thursday, June 01, 2006 10:42 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] How do you advise clients about "building for the future" - how long before Flex2 is worth their time? No, sorry if I implied that. I don't think the upgrade will be hard in anyway. I am sure a lot of users will do it as soon as the player is available. Not a resistance on the user's part, my point is just that, like any browser upgrade or web control/addin upgrade, the casual internet users are not very quick to update. If adobe has plans of "pushing" the upgrade to all existing player users, then I am sure that will increase the adoption rate very rapidly. I must say I have not read anything about the upgrade plans, so I can't speak to that. But delivering an application that requires brand new software in order to be used is just always a risk - hopefully Adobe does enough to mitigate it that all of the early flex 2 adopters will not face problems with potential users not having the required player for the first few months after it's release. Karl From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jack W. CaldwellSent: Thursday, June 01, 2006 10:54 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] How do you advise clients about "building for the future" - how long before Flex2 is worth their time? Karl: This seems to contradict what Adobe has said about the "seamless" upgrading to Flash 9. Do you see such a resistance on the part of the consumer market user to not upgrade? If so, why? Will theupgrading not be as easy as we think? Thanks, Jack From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Karl JohnsonSent: Thursday, June 01, 2006 6:59 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] How do you advise clients about "building for the future" - how long before Flex2 is worth their time? I definitely agree with your points regarding licensing, but the problem with adoption of flex 2.0 as the platform for consumer apps is the need for the adoption of the new player. I personally would not want to release a production flex 2.0 app to the world, on a public site, until the player has saturated the market (50% + or more). Now if you can somewhat control your target audience (i.e. intranet apps, or niche userbase, etc) then it is not a problem. But it will be a while before the yahoo's and amazon's would adopt flex 2. Just my opinion. Karl From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy SprattSent: Thursday, June 01, 2006 6:51 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] How do you advise clients about "building for the future" - how long before Flex2 is worth their time? IMHO, only existing clients with large applications will stay with 1.5/as2. The licence cost of 1.5 prevented all but large enterprise clients from adopting Flex. 2.0 breaks that barrier, and any shop can now build Flex apps of any size for the cost of development. The third party market for 1.5/AS2 will shrink. The market for 2.0/AS3 will grow. How fast? Sorry, I cant really even guess, but fast. Tracy From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Manuel Saint-VictorSent: Thursday, June 01, 2006 6:18 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] How do you advise clients about "building for the future" - how long before Flex2 is worth their time? If a client is seeking a set of custom components and plans to use them for building applications for other clients in the future what would you advise them about building these components in AS2 versus AS3. Flex components are obviously more convenient for me to build but what is the honest answer if asked "How long will it be before my clients are using these?" in regards to their own clients and ActionScript 3 components? Mani -- Flexcoders 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] refering to a particular tab in TabNavigator FLEX1.5
Hi,mx:TabNavigator id="selectedtabNavigator" change="selectedTab()" selectedTab() function is,function selectedTab(){if(selectedtabNavigator.selectedIndex==0){ mx.controls.Alert.show("HI"); } Sandipnaveen kumar [EMAIL PROTECTED] wrote: Hi allCan any one plese tell me the way to refer to a perticular tab in the TabNavigator in FLEX1.5Thanks RegardsNaveen kumar_Fall in Love... Get married! Join FREE! http://www.shaadi.com/ptnr.php?ptnr=msnhottag __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] refering to a particular tab in TabNavigator FLEX1.5
Thanks for replay, but here my intention is to change the perticular tab text color , for that i need to access the particular tab, can you give me the snippet for that thanks From: Sandip Patil [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] refering to a particular tab in TabNavigator FLEX1.5 Date: Thu, 1 Jun 2006 23:50:33 -0700 (PDT) Hi, mx:TabNavigator id=selectedtabNavigator change=selectedTab() selectedTab() function is, function selectedTab(){ if(selectedtabNavigator.selectedIndex==0){ mx.controls.Alert.show(HI) ; } Sandip naveen kumar [EMAIL PROTECTED] wrote: Hi all Can any one plese tell me the way to refer to a perticular tab in the TabNavigator in FLEX1.5 Thanks Regards Naveen kumar _ Fall in Love... Get married! Join FREE! http://www.shaadi.com/ptnr.php?ptnr=msnhottag -- Flexcoders 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. - __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _ Shah Rukh fan? Know all about the Baadshah of Bollywood. On MSN Search http://server1.msn.co.in/profile/shahrukh.asp -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] How do you advise clients about building for the future - how long before Flex2 is worth their time?
On Friday 02 June 2006 03:53, Jack W. Caldwell wrote: Flash 9. Do you see such a resistance on the part of the consumer market user to not upgrade? The problem will be if your app is used in corporate environments, where most desktop users will not be able to upgrade Flash themeselves. -- 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/
[flexcoders] Re: How can i disable/trap f5 when a flash movie has focus?
Unfortunately, when a Flash player application has focus in IE, you can not trap and disable the F5 keyboard event before the browser window is refreshed. Flex applications do have the abitity to trap keyboard events. However, if the event's key, or key combination, is recognized by the browser, the browser will react to the event before the Flash player application is notified. To my knowledge, many people have addressed this exact same issue, with no solution. There are some javacript functions available that solve this problem at the browser level, but fail when the Flash Player's ActiveX control has focus. Sorry for the bad news, Tim Hoff --- In flexcoders@yahoogroups.com, Íõ±£Ñ§ [EMAIL PROTECTED] wrote: hi,I have using FLEX generated SWF files. Is there a way to trap and disable the F5 key when Flash has focus? I have the _javascript_ in place to prevent this on the rest of the html page but when the Flash movie has focus and F5 is pressed IE refreshes. I've tried removing the keyListener inside the onKeyDown handler but that doesn't stop the event from bubbling out to the browser. Steven -- Flexcoders 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] iFrame not filling canvas
On Friday 02 June 2006 03:56, Angus Johnson wrote: bars when it should size up to 100% width and height. What about if you set the Canvas to be 99% ? -- 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 ~-- 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 * 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] ExternalInterface | How to get called from flash inxml flavor?
Hi guys, I have seen that ActiveX version of Flash Player issues an event (FlashCall) that describes using xml the function call that the programmer has called with ExternalInterface.call method. That xml has the form : invoke name=thenameofthefunctionarguments.../arguments/invoke However, regarding the NPPlugin version, when you make a ExternalInterface.call flash always ask to its container to evaluate a chunk of _javascript_ code. Also, both flash player versions (ActiveX and NPPlugin) provide the CallFunction method that allows you to pass, in a single parameter, an xml (in the same form as the one from FlashCall event) describing the actionscript function (and its arguments) to be called. I would need to use the xml flavor in both directions (flash to container and container to flash) independently of the version of Plash Player being used (ActiveX or NPPlugin). The reason: I do not have any problem parsing and consuming xml and, however, I do not want to write a _javascript_ interpreter at all. Does anyone know if there is any possibility to instruct flash npplugin, in any way, to describe the function calls using xml instead of _javascript_? Any suggestion will be welcome. Best regards. -- Flexcoders 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: how to shut off the DropshadowEffect of the lineChartSeries
fantastic. you guys are the greatest. -- Flexcoders 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] RemotingConnection not found in Mike Potter's Flex2AMFPHP tutorial
OK - so looks like I dumb! For those of you who also turn out to be dumb ;-p when Mike speaks about you already having RemotingConnection.as at the root of your project you actually need to save the follow package code as RemotingConnection.as and then you WILL have it! I've wasted a day and half on this! jeesh HTH someone else Phil Marston wrote: I think I've traced it to not having the flash.net.* package installed (though Flex Builder isn't throwing a complaint about that it does say it doesn't know where it is) where can I get this package/library? cheers, Phil Phil Marston wrote: Hi, I thought I'd seen this covered somewhere but cant find it. I'm trying Mike Potter's tutorials on Flex2 and PHP and AMFPHP found here http://labs.adobe.com/wiki/index.php/Flex_Framework:tutorials:flex2_AMFPHP and Flex is throwing a wobbly about the line; public var gateway : RemotingConnection; with the error Type was not found or was not a compile-time constant: RemotingConnection. Can anyone shed light on this or point me in the right direction? Cheers, Phil -- __ Phil Marston Learning Technologist Learning Technology Unit Edward Wright G33, University of Aberdeen, Aberdeen, AB24 3QY, UK [EMAIL PROTECTED] Tel: +44(0)1224 273329 / +44(0)7798 723660 http://www.abdn.ac.uk/diss/ltu/pmarston/ http://www.abdn.ac.uk/diss/ltu/ __ The University of Aberdeen Open Day 29th August 2006 Booking is essential www.abdn.ac.uk/openday email [EMAIL PROTECTED] or call 0800 027 1495 -- Flexcoders 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] mx.dataManagedObjectProxy instead of my classVO (FDS)
Hi there, Im having this issue when filling some destinations. When I look to my ArrayCollection I get instances of mx.dataManagedObjectProxy instead of my myVo.as. What is weird is that for some destinations it get well translated when for others it doesnt translate it right. Any Ideas? Example of my arrayCollection.list.localItems[0]: [0] = mx.data.ManagedObjectProxy (@49b9fb9) cn = SomeCN company = Cofina department = Expedicao destination = null displayname = Me mail = [EMAIL PROTECTED] name = Me Again object = Object (@4723081) referencedIds = null samaccountname = someLdapAccount uid = 100 user_id = 100 [0x2c] My cfc : cfcomponent extends=user_ldapTo cfproperty name=samaccountname type=string / cfproperty name=user_id type=numeric / cfproperty name=cn type=string / cfproperty name=mail type=string / cfproperty name=displayname type=string / cfproperty name=company type=string / cfproperty name=department type=string / cfproperty name=name type=string / cfset this.samaccountname = / cfset this.user_id = 0 / cfset this.cn = / cfset this.mail = / cfset this.displayname = / cfset this.company = / cfset this.department = / cfset this.name = / cfset variables.signature = B4FCAB55AC6AAC557327325E23A75BDF / /cfcomponent My AS VO: package pt.cofina.intranet.vo.As { [Managed] [RemoteClass(alias=pt.cofina.intranet.vo.To.user_ldapTomssql)] public dynamic class user_ldapVO { public var samaccountname:String = ; public var user_id:Number = 0; public var cn:String = ; public var mail:String = ; public var displayname:String = ; public var company:String = ; public var department:String = ; public var name:String = ; public function user_ldapVO(){ } } } 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.
Re: [flexcoders] ActionScript setting width to 100%
If IwritemyButton.percentWidth = 100; Action script file is not getting compiled.(Compile time error)The Compilation error is:- Type missmatch in assignment statement: found Number where Function is required.Jon Hirschi [EMAIL PROTECTED] wrote: myButton.percentWidth = 100;works pretty well.--- shravan kumar [EMAIL PROTECTED] wrote: Hi, How to set a button width to 100% while creating it in an .as file. Following is the code I have used:- var myCanvas=createClassObject(Canvas, "canvas1", this.getNextHighestDepth()); var myButton=myCanvas.createClassObject(Button, "button1", myCanvas.getNextHighestDepth()); myButton.width = "100%"; Thanks Regards Shravan Kumar S - Feel free to call! Free PC-to-PC calls. Low rates on PC-to-Phone. Get Yahoo! Messenger with Voice__Do You Yahoo!?Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com Ring'em or ping'em. Make PC-to-phone calls as low as 1¢/min with Yahoo! Messenger with Voice. -- Flexcoders 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] ActionScript setting width to 100%
On Friday 02 June 2006 12:36, shravan kumar wrote: myButton.percentWidth = 100; Assuming percentWidth is depricated, try myButton.width={parent.width} -- 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 ~-- 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/
Re: [flexcoders] mx.dataManagedObjectProxy instead of my classVO (FDS)
On Friday 02 June 2006 12:57, João Fernandes wrote: ArrayCollection I get instances of mx.dataManagedObjectProxy instead of my myVo.as. What happens if you cast the result ? -- 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 ~-- 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 * 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: F2B3: SOAP result as DataGrid's dataProvider no longer works
Anyone? Bueller? --- In flexcoders@yahoogroups.com, ben.clinkinbeard [EMAIL PROTECTED] wrote: Hello, I am really hoping someone can tell me why this code no longer works (it did in B2) and how to fix it. I have another DataGrid that is successfully pulling different data from the same call so I know the problem isn't in the WebService. I think perhaps the presence of the MetadataType node in the xml below is causing a problem but I am not sure how else I can address the collection of Entry nodes. Any help is greatly appreciated. dmws is my WebService object. Here is the relevant portion of the SOAP response: Metadata RPRDocumentHistory MetadataTypeRPRDocumentHistory/MetadataType Entry DocumentTypeRPR/DocumentType Plans PlanNumber78173/PlanNumber PlanNumber78167/PlanNumber PlanNumber78168/PlanNumber /Plans StatusInProgress/Status TimeframeAs of Last Month/Timeframe /Entry Entry Entry /RPRDocumentHistory /Metadata Here is my DataGrid: mx:DataGrid dataProvider={dmws.GetDocument.lastResult.Metadata.RPRDocumentHistory.Entry} mx:columns mx:DataGridColumn headerText=Type dataField=DocumentType/ mx:DataGridColumn headerText=Status dataField=Status/ mx:DataGridColumn headerText=Plans labelFunction=listPlans/ mx:DataGridColumn headerText=Timeframe dataField=Timeframe/ /mx:columns /mx:DataGrid Again, this worked in Beta 2 so I am have no idea why it doesn't now. I have not found anything in the change docs that seems to relate. In case it helps, calling ObjectUtil.toString(event.result.Metadata) in the result handler produces this output: (Array)#0 [0] (Array)#1 [0] (mx.rpc.xml::ComplexString)#2 value = RPRDocumentHistory [1] (Object)#3 DocumentType = RPR Plans = (Array)#4 [0] 78173 [1] 78167 [2] 78168 Status = InProgress Timeframe = As of Last Month [2] (Object)#5 DocumentType = RPR Plans = (Array)#6 [0] 78167 [1] 78168 Status = Complete Timeframe = As of Last Month Thanks, Ben -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Remoting configuration in flex-services.xml
Hi I am trying to establish a client-server AMF connection using Flex 2. Even after installing FDS and Flex Builder, I am not getting the flex- services.xml in the installation directory. I need to put my remoting configuration in this file, but i am unware of the sequence of tags to insert. Can anyone please publish/send a sample flex-services.xml so that I may know. Thanks Niladri -- Flexcoders 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] Trace and localhost
Tom Chiverton a écrit : On Thursday 01 June 2006 16:30, Flapflap wrote: Yeah it run fine but don't trace. True. OTOH it will have line numbers in the window that pops up on exception, this is a big help :-) Yes, ok sorry for the misunderstanding... This always work for me exception pop-up throw to my figure when things go wrong. So this his why I nee d to make my trace work. But launching my app thru my local apache web server don't seems to enjoye flash debug... -- Flapflap[at]sans-facon.net -- DevBlog : http://www.kilooctet.net -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] mx.dataManagedObjectProxy instead of my classVO (FDS)
Tom, The problem seems related with the response from the server. I have another destination where I get an array of pt.cofina.intranet.vo.userVO. With this one (pt.cofina.intranet.vo.user_ldapVO) I get an array of objects. Destinations are similar as the assembler itself. Why one get translated and not the other? destination id=user_ldap adapter ref=coldfusion-dao/ channels channel ref=cf-dataservice-rtmp/ channel ref=cf-polling-amf/ /channels properties componentpt.cofina.intranet.vo.Assembler.user_ldap/component scopeapplication/scope use-transactionstrue/use-transactions metadata identity property=user_id/ /metadata server fill-method use-fill-containsfalse/use-fill-contains auto-refreshtrue/auto-refresh orderedtrue/ordered /fill-method /server /properties /destination destination id=user adapter ref=coldfusion-dao/ channels channel ref=cf-dataservice-rtmp/ channel ref=cf-polling-amf/ /channels properties componentpt.cofina.intranet.vo.Assembler.user/component scopeapplication/scope use-transactionstrue/use-transactions metadata identity property=samaccountname/ /metadata server fill-method use-fill-containsfalse/use-fill-contains auto-refreshtrue/auto-refresh orderedtrue/ordered /fill-method /server /properties /destination 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] -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton Sent: sexta-feira, 2 de Junho de 2006 13:44 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] mx.dataManagedObjectProxy instead of my classVO (FDS) On Friday 02 June 2006 12:57, João Fernandes wrote: ArrayCollection I get instances of mx.dataManagedObjectProxy instead of my myVo.as. What happens if you cast the result ? -- 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 ~-- 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 -- Flexcoders 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] Trace and localhost
On Friday 02 June 2006 14:16, Flapflap wrote: my local apache web server don't seems to enjoye flash debug... The trick is that the Flash running in your browser will make the connection to fdb. So just run fdb on the same host as the web browser and user 'localhost' :-) -- 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/
[flexcoders] LocalConnection - how to trap whether a send() failed or not
I've read the docs, and i'm using try...catch try { lc.send(_connName, remoteMethodName); } catch (error:Error) { OutputTools.tt([Error in getting Connector version, error]); } with the status handler, I get this for all calls, even when I've removed the remoteMethod for testing: ec.status: [StatusEvent type=status bubbles=false cancelable=false eventPhase=2 code=null level=status]: How do I capture when send() fails for a particular call?Thanks for the help, -- John Grden - Blitz -- Flexcoders 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] OpenAMF, Tomcat and Flex2B3
Hi I have been trying to set up a project using Java, OpenAMF, Tomcat, Flex2B2 and Cairngorm. I'm kinda new to OpenAMF andTomcat (and usually to application servers) and I have found the docs confusing. Finally i managed to get the remoting working. I can call my services, and get back the result, but I am having problems with my VO class mappings in both directions (if I send Strings, everything works fine) I have read in previous posts, that mapping from Java to AS was not working in Flash Player 8.5 (but should work from AS to Java), but I couldn't find anything about Flash Player 9. Actually, I have found this in Carlos Rovira's blog: El problema de mapeo de clases de Java hacia ActionScript está resuelto en el nuevo *Flash Player 9 Beta*. Unfortunatelly, I don't understand spanish, but it's close to romanian, does that mean that the problem has been solved in Flash Player 9 or the opposite ? :) I have a LoginVO class: Java code: --- package com.spindevelopment.model.vo; public class LoginVO { public String username; public String password; public LoginVO() { } } AS code: - package com.spindevelopment.model.vo { import org.nevis.cairngorm.vo.ValueObject; [RemoteClass(alias=com.spindevelopment.model.vo.LoginVO)] [Bindable] public class LoginVO implements ValueObject { public var username:String; public var password:String; } } In openamf-congid.xml I added this: custom-class-mapping java-classcom.spindevelopment.model.vo.LoginVO/java-class custom-classcom.spindevelopment.model.vo.LoginVO/custom-class /custom-class-mapping In my java service class, I have a simple test method, where I return a String with the 2 properties of LoginVO: public String doLogin(LoginVO pLogin ) { return new String(un: + pLogin.username + , pass: +pLogin.password); } The returned string is: un: null, pass: null; Here is my Tomcat log: 02.06.2006 15:54:45 org.openamf.io.AMFDeserializer init INFO: Deserializing Message, for more info turn on debug level 02.06.2006 15:54:45 org.openamf.DefaultGateway service INFO: REQUEST: [AMFBody: {serviceName=com.spindevelopment.services.Login, serviceMethodName=doLogin, response=/1, type=ARRAY, value=[ASObject[type=com.spindevelopment.model.vo.LoginVO]]}] 02.06.2006 15:54:46 org.openamf.invoker.JavaServiceInvoker getServiceMethod INFO: topRankedMethod: name=doLogin rank=100.0 02.06.2006 15:54:46 org.openamf.DefaultGateway service INFO: RESPONSE: [AMFBody: {serviceName=null, serviceMethodName=null, response=null, type=UNKNOWN, value=un: null, pass: null}] Could somebody point me in the right direction? Thanks Andi -- Flexcoders 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: No FontManager provided after migrating to Beta 3
Fixed --- flash.fonts should replace macromedia.fonts in the config swfkit.jar contains the font manager classes They are BatikFontManager and JREFontManager *BUT* they are now contained in the package flash.fonts. The flex-config.xml file should be changed to read managers manager-classflash.fonts.JREFontManager/manager-class manager-classflash.fonts.BatikFontManager/manager-class /managers using flash.fonts instead of macromedia.fonts. [I am suprised no one has come across this before] --- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED] wrote: One correction, I think the class should still be called BatikFontManager, not BatikManager. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alex Uhlmann Sent: Thursday, June 01, 2006 4:35 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] No FontManager provided after migrating to Beta 3 Yes, that's a bug in the default flex-config.xml. Change managers manager- classmacromedia.fonts.JREFontManager/manager-class manager- classmacromedia.fonts.BatikFontManager/manager-class /managers To managers manager- classmacromedia.fonts.JREFontManager/manager-class manager- classmacromedia.fonts.BatikManager/manager-class /managers (without the Font) In compilerfonts and it should work. 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 bronzemug Sent: 01 June 2006 20:08 To: flexcoders@yahoogroups.com Subject: [flexcoders] No FontManager provided after migrating to Beta 3 I migrated my Beta2 code base which is using some embedded ttf fonts to Beta3 and suddenly started getting exception during transcoding: No FontManager provided. Cannot build font. I am using the standard flex-config.xml that comes with Beta3 distribution. Is there something I am missing? Yahoo! Groups Sponsor ~-- Everything you need is one click away. Make Yahoo! your home page now. http://us.click.yahoo.com/AHchtC/4FxNAA/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 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: Remoting configuration in flex-services.xml
flex-service.xml no longer exists in FDS. It is no named flex- enterprise-services.xml. This file imports a number of other files via this: services service-include file-path=flex-remoting-service.xml / service-include file-path=flex-proxy-service.xml / service-include file-path=flex-message-service.xml / service-include file-path=flex-data-service.xml / /services You will want to modify the flex-remoting-service.xml file ---In flexcoders@yahoogroups.com, niladri_gupta [EMAIL PROTECTED] wrote: Hi I am trying to establish a client-server AMF connection using Flex 2. Even after installing FDS and Flex Builder, I am not getting the flex- services.xml in the installation directory. I need to put my remoting configuration in this file, but i am unware of the sequence of tags to insert. Can anyone please publish/send a sample flex-services.xml so that I may know. Thanks Niladri -- Flexcoders 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: How can i disable/trap f5 when a flash movie has focus?
Hi Steven, If we cant stop the F5 key press event from bubbling to IE and refreshing the browser, we can at least warn the user before it happens. This old trick still works for me when the Flash Player has focus. html head script !-- function warnUser() { event.returnValue = Waning message that appears in between the default text; } // -- /script /head body class=GramE>warnUser(); When the user tries to navigate away from the current page (including pressing F5), they get an OK / Cancel prompt with your message sandwiched in between IEs hard coded text. Pressing OK moves ahead with their actions. Pressing Cancel keeps them right where they are Hope that might be of some help, Ben Lucyk [EMAIL PROTECTED] p 1.877.TRY.ESRIA ext 718 c 1.408.489.3913 f 1.877.828.4436 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tim Hoff Sent: Friday, June 02, 2006 6:32 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: How can i disable/trap f5 when a flash movie has focus? Unfortunately, when a Flash player application has focus in IE, you can not trap and disable the F5 keyboard event before the browser window is refreshed. Flex applications do have the abitity to trap keyboard events. However, if the event's key, or key combination, is recognized by the browser, the browser will react to the event before the Flash player application is notified. To my knowledge, many people have addressed this exact same issue, with no solution. There are some javacript functions available that solve this problem at the browser level, but fail when the Flash Player's ActiveX control has focus. Sorry for the bad news, Tim Hoff --- In flexcoders@yahoogroups.com, Íõ±£Ñ§ [EMAIL PROTECTED] wrote: hi,I have using FLEX generated SWF files. Is there a way to trap and disable the F5 key when Flash has focus? I have the _javascript_ in place to prevent this on the rest of the html page but when the Flash movie has focus and F5 is pressed IE refreshes. I've tried removing the keyListener inside the onKeyDown handler but that doesn't stop the event from bubbling out to the browser. Steven -- Flexcoders 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] Trace and localhost
Tom Chiverton a écrit : On Friday 02 June 2006 14:16, Flapflap wrote: my local apache web server don't seems to enjoye flash debug... The trick is that the Flash running in your browser will make the connection to fdb. So just run fdb on the same host as the web browser and user 'localhost' :-) OK It seems there a little misunderstanding from me. I just want to debug from the Flex Builder (fdb don't run when its open because it is allready started) So I cant find where in Flex Builder I can say that the app I need to debug is loading throug localhost... -- Flapflap[at]sans-facon.net -- DevBlog : http://www.kilooctet.net -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Local Flash (8) Player Installer
Does anyone have a solution allowing for local installation of the Flash 8 player, instead of going to MM's site? Our problem is clients who have restricted user rights and may not be able to surf the internet, either. Thanks,: : ) Scott -- Flexcoders 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] Trace and localhost
On Friday 02 June 2006 15:35, Flapflap wrote: I just want to debug from the Flex Builder Sorry, can't 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 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 * 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] Local Flash (8) Player Installer
You can get a stand alone installer from here http://www.softwarepatch.com/internet/flash.html Martin. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Scott Langeberg Sent: 02 June 2006 15:45 To: flexcoders@yahoogroups.com; [EMAIL PROTECTED] Subject: [flexcoders] Local Flash (8) Player Installer Does anyone have a solution allowing for local installation of the Flash 8 player, instead of going to MM's site? Our problem is clients who have restricted user rights and may not be able to surf the internet, either. Thanks, : : ) Scott -- Flexcoders 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] file upload
Hi friends,I am using Flex Builder2Beta3 and Java Server Pages and SQLServer 2005 for my project development. I have to provide "file upload" functionality to upload a file in to sql database..If anybody knows the "File Upload" code using actionscript3.0 and JSP, please send that code.Thanks Regards,Sreedhar Send instant messages to your online friends http://in.messenger.yahoo.com Stay connected with your friends even when away from PC. Link: http://in.mobile.yahoo.com/new/messenger/ -- Flexcoders 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] Local Flash (8) Player Installer
I think you need to obtain a redistribution license first (see below from Muzak of Flashcoders list) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Muzak Sent: Wednesday, May 03, 2006 3:39 PM To: Flashcoders mailing list Subject: Re: [FlashCoders] Build Flash8 installer You'll need to obtain a license first http://www.adobe.com/licensing/ http://www.adobe.com/licensing/distribution/ regards, Muzak From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Scott Langeberg Sent: Friday, June 02, 2006 10:45 AM To: flexcoders@yahoogroups.com; [EMAIL PROTECTED] Subject: [flexcoders] Local Flash (8) Player Installer Does anyone have a solution allowing for local installation of the Flash 8 player, instead of going to MM's site? Our problem is clients who have restricted user rights and may not be able to surf the internet, either. Thanks, : : ) Scott -- Flexcoders 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: Apparent bug with static variable access in bindings (f2b3)
I was aware that changes to static variables no longer trigger binding to execute, but including static variables in a binding shouldn't cause compilation errors. Considering the fact that the compiler fails to identify the line that contains the error, and the fact that the error messages make no sense in that context, lead me to the conclusion this must be a compiler bug. --- In flexcoders@yahoogroups.com, jeremy lu [EMAIL PROTECTED] wrote: ran into this problem last month, turned out f2b3 doesn't support bindings to static variables or methods. I have double checked this with adobe engineer and the answer is : this feature won't be supported. the work around here is using getter/setter. On 5/30/06, n51red [EMAIL PROTECTED] wrote: I have come accross a problem in which certain data bindings invoving static varaibles produce bizarre compilation errors. All the bindings that have caused problems have taken a form similar to this: booleanVariable={myInstance.variable==MyClass.staticVariable} Each instance of the problem arising produces a pair of errors as follows: Expecting semicolon before colon. Expecting rightparen before colon. Furthermore, Flex Builder fails to pin point the file in which the errors occur and gives none sensical line numbers. I have got around the problem by including this: mx:Script ... [Bindable]private var localVariable:String=MyClass.staticVariable; ... /mx:Script and binding as follows: booleanVariable={myInstance.variable==localVariable} Is this a known problem, or has anyone else encountered it? N -- 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] Chart
I have a mx:Repeater id=list dataProvider={myHomePageAC} mx:GridRow width=778 paddingLeft=4 mx:GridItem mx:RadioButton label={list.currentItem.Name}/ /mx:GridItem mx:GridItem mx:LinkButton label={list.currentItem.Amount[0]} textAlign=center / /mx:GridItem . I Want to include a bar chart here, with the xml data from the repeater. Can I do this ? I have tried. mx:BarChart id=bar paddingLeft=5 paddingRight=5 showDataTips=true mx:verticalAxis mx:CategoryAxis categoryField={list.currentItem.Chart.Data}/ /mx:verticalAxis mx:series mx:Array mx:BarSeries yField={list.currentItem.Chart.Data.Value} xField={list.currentItem.Chart.Data.Value} displayName=Test/ /mx:Array /mx:series /mx:BarChart But get an error (Implicit coercion of a value of type mx.charts:CategoryAxis to an unrelated type Array.) .. /mx:GridRow /mx:Repeater Thanks for any 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] Instantiation and setting problems
I anyone else having issues trying to set values on objects for newly instantiated objects in an object graph with 3 or more layers? I have the following: ClassA { public var classB : ClassB; public var classC : ClassC; } ClassB { public var classD : ClassD; } ClassC { public var textVal : String=''; } and i have a value sets in the ModelLocator (cairngorm) class like so: public var allClassAs : ArrayCollection; public var selectedClassA : ClassA; The problem is if I retrieve a single 'ClassA' from the collection of allClassAs using the ID of the selectedClassA, then try to make a call like this: classA.classC.text=Whatever; The mxml field I have bound to that value never displays and I get the following debug error. error during evaluation no such variable: classA.classC.textVal This kind of makes sense since classC wasn't initialized yet, so even if I change ClassA to be: ClassA { public var classB : ClassB = new ClassB(); public var classC : ClassC = new ClassC(); } I still get the same error. In the UI, if I click back, it appears correctly, but the first time it always fails. It seems like the set (classA.classC.text=Whatever;) is getting called faster then the object can be initialized (constructed). I've had similar problems when calling: var myXML = new XML(event.target.data); [EMAIL PROTECTED]3232; When I debug this, myXML is still null when the 2nd line is called. A work around is to instantiate the XML on startup so the XML is there before calling the set on @ID, but means more memory. Anyone else hitting these issues? -- Flexcoders 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] OpenAMF, Tomcat and Flex2B3
Hi Andrea,The problem was solved in last beta (FP9 beta3), so you can pass VOs from AS to Java and from Java to AS.Your code looks ok, for me but the logs says something is happen, maybe...are you using AMF0?, remember that in FP9 default is AMF3. On 6/2/06, Andrea Varga [EMAIL PROTECTED] wrote: Hi I have been trying to set up a project using Java, OpenAMF, Tomcat, Flex2B2 and Cairngorm. I'm kinda new to OpenAMF andTomcat (and usually to application servers) and I have found the docs confusing. Finally i managed to get the remoting working. I can call my services, and get back the result, but I am having problems with my VO class mappings in both directions (if I send Strings, everything works fine) I have read in previous posts, that mapping from Java to AS was not working in Flash Player 8.5 (but should work from AS to Java), but I couldn't find anything about Flash Player 9. Actually, I have found this in Carlos Rovira's blog: El problema de mapeo de clases de Java hacia ActionScript está resuelto en el nuevo *Flash Player 9 Beta*. Unfortunatelly, I don't understand spanish, but it's close to romanian, does that mean that the problem has been solved in Flash Player 9 or the opposite ? :) I have a LoginVO class: Java code: --- package com.spindevelopment.model.vo; public class LoginVO { public String username; public String password; public LoginVO() { } } AS code: - package com.spindevelopment.model.vo { import org.nevis.cairngorm.vo.ValueObject; [RemoteClass(alias=com.spindevelopment.model.vo.LoginVO)] [Bindable] public class LoginVO implements ValueObject { public var username:String; public var password:String; } } In openamf-congid.xml I added this: custom-class-mapping java-classcom.spindevelopment.model.vo.LoginVO/java-class custom-classcom.spindevelopment.model.vo.LoginVO/custom-class /custom-class-mapping In my java service class, I have a simple test method, where I return a String with the 2 properties of LoginVO: public String doLogin(LoginVO pLogin ) { return new String(un: + pLogin.username + , pass: +pLogin.password); } The returned string is: un: null, pass: null; Here is my Tomcat log: 02.06.2006 15:54:45 org.openamf.io.AMFDeserializer init INFO: Deserializing Message, for more info turn on debug level 02.06.2006 15:54:45 org.openamf.DefaultGateway service INFO: REQUEST: [AMFBody: {serviceName=com.spindevelopment.services.Login, serviceMethodName=doLogin, response=/1, type=ARRAY, value=[ASObject[type=com.spindevelopment.model.vo.LoginVO]]}] 02.06.2006 15:54:46 org.openamf.invoker.JavaServiceInvoker getServiceMethod INFO: topRankedMethod: name=doLogin rank=100.0 02.06.2006 15:54:46 org.openamf.DefaultGateway service INFO: RESPONSE: [AMFBody: {serviceName=null, serviceMethodName=null, response=null, type=UNKNOWN, value=un: null, pass: null}] Could somebody point me in the right direction? Thanks Andi -- Flexcoders 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 . -- ::| Carlos Rovira::| http://www.carlosrovira.com -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Re: Apparent bug with static variable access in bindings (f2b3)
but including static variables in a bindingshouldn't cause compilation errors.sense in that context, lead me to the conclusion this must be a compiler bug. agreed, actually one of our engineers spent two days to spot this and remove all static variable bindings then all the weird compliation errors went away. Filed this as a bug but soon marked NAB. -- Flexcoders 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] f2b3 custom ToolTip troubles
I've been replacing tool tips with arbitrary IUComonents by intersepting the toolTipCreate method and changing the toolTip property to my component. This works quite well except for when the tooltip is does not have room to appear to the bottom left of the cursor. In this situation the the tooltip appears under the cursor causing an oscillation of mouseOut, mouseOver events, with the tooltip flashing on and off. Does anyone have any tips on getting this functionallity without breaking the tooltip mechanism? Thanks, N -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] file upload
Checkout: Programming ActionScript 3.0 Flash Player APIs Networking and Communication In the Flex Builder help, fully documented examples. As for the JSP side, its business as usual you have to handle a multi-part form submission and process as if it were a html form. Cheers, Stace From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of sreedhar reddy Sent: Friday, June 02, 2006 10:32 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] file upload Hi friends, I am using Flex Builder2Beta3 and Java Server Pages and SQLServer 2005 for my project development. I have to provide file upload functionality to upload a file in to sql database.. If anybody knows the File Upload code using actionscript3.0 and JSP, please send that code. Thanks Regards, Sreedhar Send instant messages to your online friends http://in.messenger.yahoo.com Stay connected with your friends even when away from PC. Link: http://in.mobile.yahoo.com/new/messenger/ AVIS IMPORTANT WARNING Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé. L'expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s'il est retransmis sans son autorisation. Si vous n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre système. La lecture, la distribution, la copie ou tout autre usage du présent message ou de ses pièces jointes par des personnes autres que le destinataire visé ne sont pas autorisés et pourraient être illégaux. Si vous avez reçu ce courrier électronique par erreur, veuillez en aviser l'expéditeur. This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient. No privilege or other rights are waived by any unintended transmission or unauthorized retransmission of this message. If you are not the intended recipient of this message, or if you have received it in error, you should immediately stop reading this message and delete it and all attachments from your system. The reading, distribution, copying or other use of this message or its attachments by unintended recipients is unauthorized and may be unlawful. If you have received this e-mail in error, please notify the sender. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Column Chart Help
Greetings - Having a hard time getting a very simple column chart working, code below. Category labels on the x axis render, as do numeric labels on the y axis. But none of the data, ie columns renders. If I change LinearAxis to CategoryAxis with dataProvider={dashboardAC}, the data does render, but the values (against the y axis), are not sorted numerically, rather they follwo the order in the array, ie 5000, 1, 2000, 17000. Thoughts? Also, is there a way to prevent a row in the array (Total in this case) from dispalying, ie I only want columsn for the indvidual cateogory values, not the total. thanks, ethan !-- Purchase Data -- mx:ArrayCollection id=dashboardAC mx:source mx:Object segment=Back Sleeper mailed=25,000 purchased=5,000 rate=20%/ mx:Object segment=Side Sleeper mailed=50,000 purchased=10,000 rate=20%/ mx:Object segment=Stomach Sleeper mailed=10,000 purchased=2,000 rate=20%/ mx:Object segment=Total mailed=85,000 purchased=17,000 rate=20%/ /mx:source /mx:ArrayCollection mx:ColumnChart id=columnchart1 width=100% height=256 dataProvider={dashboardAC} mx:horizontalAxis mx:CategoryAxis dataProvider={dashboardAC} categoryField=segment/ /mx:horizontalAxis mx:verticalAxis mx:LinearAxis maximum=18000 minimum=0/ /mx:verticalAxis mx:series mx:ColumnSeries displayName=Series 1 xField=segment yField=purchased/ /mx:series /mx:ColumnChart -- Flexcoders 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: dynamic colors for pieseries wedges
No ideas? --- In flexcoders@yahoogroups.com, Jason [EMAIL PROTECTED] wrote: I'm having a bit of a time figuring this one out. I have a PieChart that I'm using to map data that fits into certain categories. I want to always have each category given a fixed color. So, for example, I might have categories Normal (green), Warning (yellow) and Error (red). I'm throwing different data sets at the chart, sorted by total (so the slices will be arranged in order of size). Sometimes this may be: Normal: 1 Warning: 5 Error: 10 Or Warning: 1 Normal: 5 Error: 2 Or Error: 1 Normal: 3 Warning: 10 Or Error: 5 Normal: 10 (note that Warning is missing because it didn't show up) Now, in all these cases, I always want Normal to be green, etc. As far as I can tell, you can use a array of solidcolor fills. But it only cares about the ordinal position. So say I give it green, yellow and red. It will work fine in the first case. But in all the other cases, it won't be right because the order is different or some elements might be missing. I'm pretty new to flex so maybe I'm totally missing something. -- Flexcoders 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
Tim, Did Rost's suggestion help your situation? I have a similar issue. This works: ExternalInterface.call("alert","Hey this is an external interface call."); But when I try to call one of our own _javascript_ functions, it just doesn't seem to find the function and does absolutely nothing. I even tried getting rid of all the parameters, and just sticking an alert call as the first thing in the _javascript_ function. It is just not reaching the function. In my case, neither the param name="AllowScriptAccess" value="always" nor the cross-domain-policy made any difference. I am super-new to Flex. I am trying to migrate a 1.5 application to 2.0 and am going through major teething pains. So it is very possible I have some "dumb" problem that more experienced Flexers would not have. --Lisa From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rostislav SirykSent: Monday, May 22, 2006 7:17To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] F2B3: _javascript_ security Maybe crossdomain Policy File will help? ?xml version="1.0"? !-- http://domainwhereaccesedmovieis/ crossdomain.xml -- cross-domain-policy allow-access-from domain=" domainfromtryingtogetaccessfrom " / !-- following will allow access from all domains -- allow-access-from domain="* " / /cross-domain-policy Rost From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of FineLineSent: Monday, May 22, 2006 11:56 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] F2B3: _javascript_ security Im trying to develop a Flex app that calls a _javascript_ function in the container page. I did a simple test app using the call() method of the ExternalInterface API, and it worked fine with the HTML page and the SWF file in the original compile folder. But when I moved both files, the attempt to run the _javascript_ produces the following ActionScript error box: SecurityError: Error #2060: Security sandbox violation: ExternalInterface caller file://C:\ExternalTest.swf may not access file://C:\Container.htm. at flash.external::ExternalInterface$/call() at SimpleNETComp/::btn1_click() at SimpleNETComp/__btn1_click() So, I tried switching it to call the _javascript_ using the navigateToUrl() method of ActionScript. Again, it worked when the files were in the original compile folder, but when I move them to another folder, I get the error: SecurityError: Error #2051: Security sandbox violation: file://C:\ExternalTest.swf may not evaluate scripting URLs within file://C:\Container.htm (allowScriptAccess is 'always'). Attempted URL was _javascript_:test('called with navigateToUrl') at ExternalTest/::btn1_click() at ExternalTest/__btn1_click() By the way, the HTML file contains only the basic object wrapper, none of the history or version checking stuff, and I changed the SWF parameter to try and open the security up, as follows: param name="AllowScriptAccess" value="always" Any ideas how to get the calls to work? How does the compile location get stored into the SWF (if thats whats happening)? 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] flex 1.5 : how to lock Application during popup creation process ?
I use a lot of PopUpManager.createPopUp( ) in order to avoid background interface's buttons etc.. this works well ! the use can only interact with the PopUp-ed object... But I noticed that when a user click a second time on the same button well... the popup is created two times ... I tried to use, like shown on Flex Explorer Example : this is called just because calling createPopUp : function setBlockingCursor() { // Create an empty UIObject popup that blocks user input inputBlocker = popupWindow(UIObject); CursorManager.setBusyCursor(); } then with the popup-ed creationcomplete event : function removeBlockingCursor() { // Remove our blocking popup inputBlocker.deletePopUp(); CursorManager.removeBusyCursor(); } so I got the cursor but the user still can double click on the button ... Any go way to avoid this ? I also do not understand how I can 'place' the popUp as my application is centered on the window browser ... so using .x = 0 from the popup it will appear at left when someOtherCanvasInApplication.x = 0 but it rights (relative to its parent) -- Flexcoders 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] Problem with drawn lines appearing outside the bounds of container on resize.
I have a Canvas that I'm drawing on using the graphics.lineTo() method of the Canvas. When I resize the browser window so the the Canvas gets smaller the lines that were in the Canvas now extend outside the bounds of the Canvas and show on other containers. The only thing I have been able to do to remove them is to call the graphics.clear() of the Canvas. The clipContent property of the Canvas is set to true and it still shows the lines outside of the bounds of the Canvas. Is this expected behavior? What needs to be done to have the lines drawn on the Canvas resize with the Canvas to stay contained within the bounds of the Canvas? I expected that to happen by default. I'm using Flex 2 Beta 3. Thanks. -Steven -- Flexcoders 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 : how to lock Application during popup creation process ?
You can create a global public variable Boolean that you set to true when the window is open and set to false when it closeed. var public isPoppedOpen : Boolean = false; Then when a user clicks the button, set it to true. Have logic in your window pop method that checks if this value is true, if so, then do nothing. Then in the close button of the PopUp Window, set the variable back to false; --- In flexcoders@yahoogroups.com, Antoine Malpel [EMAIL PROTECTED] wrote: I use a lot of PopUpManager.createPopUp( ) in order to avoid background interface's buttons etc.. this works well ! the use can only interact with the PopUp-ed object... But I noticed that when a user click a second time on the same button well... the popup is created two times ... I tried to use, like shown on Flex Explorer Example : this is called just because calling createPopUp : function setBlockingCursor() { // Create an empty UIObject popup that blocks user input inputBlocker = popupWindow(UIObject); CursorManager.setBusyCursor(); } then with the popup-ed creationcomplete event : function removeBlockingCursor() { // Remove our blocking popup inputBlocker.deletePopUp(); CursorManager.removeBusyCursor(); } so I got the cursor but the user still can double click on the button ... Any go way to avoid this ? I also do not understand how I can 'place' the popUp as my application is centered on the window browser ... so using .x = 0 from the popup it will appear at left when someOtherCanvasInApplication.x = 0 but it rights (relative to its parent) -- Flexcoders 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 : how to lock Application during popup creation process ?
You can set the 3rd parameter of createPopUp() to true to create a modal popup, which will block input in everything in your app other than the popup window: var myPopUp = PopUpManager.createPopUp(parent, class, true, ...); You can then center that popup with respect to any component with centerPopUp(). For example, to center the popup in the application: myPopup.centerPopUp(parentApplication); Also, you can get a nice dimming effect for the app when a modal popup is displayed by using the following: new Color(myPopup.modalWindow).setRGB(0x33); --- In flexcoders@yahoogroups.com, Antoine Malpel [EMAIL PROTECTED] wrote: I use a lot of PopUpManager.createPopUp( ) in order to avoid background interface's buttons etc.. this works well ! the use can only interact with the PopUp-ed object... But I noticed that when a user click a second time on the same button well... the popup is created two times ... I tried to use, like shown on Flex Explorer Example : this is called just because calling createPopUp : function setBlockingCursor() { // Create an empty UIObject popup that blocks user input inputBlocker = popupWindow(UIObject); CursorManager.setBusyCursor(); } then with the popup-ed creationcomplete event : function removeBlockingCursor() { // Remove our blocking popup inputBlocker.deletePopUp(); CursorManager.removeBusyCursor(); } so I got the cursor but the user still can double click on the button ... Any go way to avoid this ? I also do not understand how I can 'place' the popUp as my application is centered on the window browser ... so using .x = 0 from the popup it will appear at left when someOtherCanvasInApplication.x = 0 but it rights (relative to its parent) -- Flexcoders 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] Instantiation and setting problems
Where are you declaring these classes? -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Suzy Lawson Sent: Friday, June 02, 2006 12:01 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Instantiation and setting problems I anyone else having issues trying to set values on objects for newly instantiated objects in an object graph with 3 or more layers? I have the following: ClassA { public var classB : ClassB; public var classC : ClassC; } ClassB { public var classD : ClassD; } ClassC { public var textVal : String=''; } and i have a value sets in the ModelLocator (cairngorm) class like so: public var allClassAs : ArrayCollection; public var selectedClassA : ClassA; The problem is if I retrieve a single 'ClassA' from the collection of allClassAs using the ID of the selectedClassA, then try to make a call like this: classA.classC.text=Whatever; The mxml field I have bound to that value never displays and I get the following debug error. error during evaluation no such variable: classA.classC.textVal This kind of makes sense since classC wasn't initialized yet, so even if I change ClassA to be: ClassA { public var classB : ClassB = new ClassB(); public var classC : ClassC = new ClassC(); } I still get the same error. In the UI, if I click back, it appears correctly, but the first time it always fails. It seems like the set (classA.classC.text=Whatever;) is getting called faster then the object can be initialized (constructed). I've had similar problems when calling: var myXML = new XML(event.target.data); [EMAIL PROTECTED]3232; When I debug this, myXML is still null when the 2nd line is called. A work around is to instantiate the XML on startup so the XML is there before calling the set on @ID, but means more memory. Anyone else hitting these issues? Yahoo! Groups Sponsor ~-- Everything you need is one click away. Make Yahoo! your home page now. http://us.click.yahoo.com/AHchtC/4FxNAA/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.
[flexcoders] roll-over-color CSS property
Maybe I'm missing something, but I'm skinning my application, and when trying to use default buttons, I can't change the text color on a roll over. I assume it's the roll-over-color property, I've looked for other options but haven't found anything. Anybody else having issues with this? Thanks, Brian -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS 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 Custom AssetRenderer
I'm trying to create a custom AssetRenderer class for a line chart's point renderer that will import a swf which has the capability to fire events handled by other elements in the movie. The first problem is that if I use the super.draw(target,rc) method, the aspect ratio of the .swf is skewed like the DiamondRenderer does. It would help tremendously if I could see how the AssetRenderer class does its work precisely, but I cannot find the source code on my system. For example, I don't know what the target UI Object is. I basically need to be able to assign data to this particular point on the chart and pass that data back to an event handler. I've already managed to only have my assets appear at intervals, now I need to have those points be really smart. One thing I need to be able to do is have these data points act like radio buttons - only one selected at a time. I'm open to suggestions on how to achieve what I want: 1) Data points that act like buttons with on off states and support radio-button style interaction. If I knew what var in the AssetRenderer class refers to the symbol instance for the point in question, I could probably accomplish this pretty easily given that there's only only one pointRenderer for each line series. 2) Data point instances that can be containers for data and fire events with that data to some event handler in the movie. Jeff Battershall Application Architect Dow Jones Indexes [EMAIL PROTECTED] (609) 520-5637 (p) (484) 477-9900 (c) -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Flex2 Blocking Cursor
In flex 1.5 I used these functions to keep the user from interacting with the GUI while I was retrieving data from the database, but in flex2 they dont work. Does anyone know how to accomplish this in Flex2?? function setBlockingCursor() { // Create an empty UIObject popup that blocks user input inputBlocker = popupWindow(UIObject); CursorManager.setBusyCursor(); } function removeBlockingCursor() { // Remove our blocking popup inputBlocker.deletePopUp(); CursorManager.removeBusyCursor(); } Thanks, Michael -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS 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: Flex1.5: print an element in Accordion - strange behavior
--- In flexcoders@yahoogroups.com, wujunjr [EMAIL PROTECTED] wrote: print elements function works well in most cases. But things go wrong when I try to print an element within an Accordion element. The size of the printed image become extremly small in first Accordion. In second Accordion, the size is normal, but position is wrong (too much margin in paper). Could anyone kindly help me? Thanks in advance! I am still in confusion with this problem. Could anyone kindly help me? Thanks a lot, John -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] f2b3 custom ToolTip troubles
In Flex 2, set the mouseEnabled property of your tooltip instance to false. The standard ToolTip component does this in its constructor: // Make the ToolTip invisible to the mouse so that it doesn't // interfere with the ToolTipManager's mouse-tracking. mouseEnabled = false; - Gordon -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of n51red Sent: Friday, June 02, 2006 9:20 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] f2b3 custom ToolTip troubles I've been replacing tool tips with arbitrary IUComonents by intersepting the toolTipCreate method and changing the toolTip property to my component. This works quite well except for when the tooltip is does not have room to appear to the bottom left of the cursor. In this situation the the tooltip appears under the cursor causing an oscillation of mouseOut, mouseOver events, with the tooltip flashing on and off. Does anyone have any tips on getting this functionallity without breaking the tooltip mechanism? Thanks, N -- 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] E4X, SOAP and namespaces, oh my!
Ben, if a parent type declares the default namespace (as it does on GetDocumentResponse) then child elements that do not redeclare the default namespace nor use a prefix to another namespace will inherit that parent namespace. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ben.clinkinbeard Sent: Friday, June 02, 2006 4:11 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] E4X, SOAP and namespaces, oh my! There seems to be a significant shortage of information regarding the use of these 3 things together. For the life of me I cannot solve this seemingly simple problem. I have a SOAP call whose returned xml starts out like this: soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/ xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance xmlns:xsd=http://www.w3.org/2001/XMLSchema soap:Header wsu:Timestamp xmlns:wsu=http://schemas.xmlsoap.org/ws/2002/07/utility wsu:Created2006-06-02T19:48:15Z/wsu:Created wsu:Expires2006-06-02T19:53:15Z/wsu:Expires /wsu:Timestamp /soap:Header soap:Body GetDocumentResponse xmlns=http://mysite.com/BackOffice/DocumentMetadata But when I use the following code to retrieve content from it namespace dm = http://mysite.com/BackOffice/DocumentMetadata; use namespace dm; var x:XML; x = new XML(event.message.body); wtf = new XMLListCollection(x..RPRDocumentHistory.Entry); I get a list of Entry nodes that have all 4 namespace declarations attached to them even though the original nodes didn't have any. Additionally, my DataGrid that uses wtf as its dataProvider gets populated with blank entries (I can roll over them but no text is displayed), which I have experienced before and is somehow related to namespace issues. How can I fix this? Are there any articles/tutorials that address these topics in depth? Thanks, Ben 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 -- Flexcoders 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] Changing Color at Run Time on My PieChart
I am really stuck with this one. I want to be able to set colors on this Pie chart at run time using Action Script. Here are the things I tried.chart.setStyle(SolidColor,0x00); chart.graphics.beginFill(0x99,100); I would really appreciate it if anybody could tell me what I would need to do for this. mx:PieChart click=keyListenOnKeyUp() id=chart paddingLeft=5 dataProvider={Medals} height=50 width=50 paddingRight=0 x=6.5 y=8 mx:series mx:Array mx:PieSeries field=Gold startAngle=180 mx:filters flash.filters:DropShadowFilter xmlns:flash.filters=flash.filters.* color=0xff alpha=0 blurX=100 blurY=100 / /mx:filters mx:fills mx:Array mx:SolidColor color=0xff00ff alpha=1/ /mx:Array /mx:fills /mx:PieSeries /mx:Array /mx:series /mx:PieChart CHAITU VADLAPATLA SOFTWARE ENGINEER T8DESIGN.COM | P 319.266.7574 - x145 | 877.T8IDEAS | F 888.290.4675 This e-mail, including attachments, is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential, and may be legally privileged. If you are not the intended recipient, you are hereby notified that any retention, dissemination, distribution, or copying of this communication is strictly prohibited. Please reply to the sender that you have received the message in error, and then please delete it. Thank you. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS 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] Constants in a separate .as file?
Hi everyone, This seems like a very simple thing to do, but I can't figure out why it won't work. Basically, what I am aiming for is to have a separate .as file that contains only constants (no classes or functions...just constants). I have this ActionScript class, say "ClassOne.as"that uses a lot of constants. I have another ActionScript class, say "ClassTwo.as"that also uses the same constants. Right now, all of the same constantsare declared twice, once in each class. But what I want is to makea seperate file to just hold those constants and then "import" them from both classes, but I can't figure it out. I know that to "import" external .as files in an .mxml file, you can just use Script source="file_name.as"/. But, to "import" an external .as file from within another .as file, I don't know how. I've tried using import files.*, but since the file is just a list of constants, and not a class, it doesn't work. I've also tried include "files/file_name.as", but I get an error for having "more than one externally visible definition"...? Any help would be great...my code is too bloated to stand right now, with all this redundant code...haha Thanks in advance. Charles -- Flexcoders 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: Instantiation and setting problems
I'd have to see the code to really understand what is going on, but can you avoid doing anything in a constructor and use a button or something to trigger the work to see if that's the issue? -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Suzy Lawson Sent: Friday, June 02, 2006 4:54 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Instantiation and setting problems I'm using the Cairngorm framework, so in the implented Command classes... For the XML problem, it's in a class that the Command class calls. The constructor load the XML file stored locally, then the completeHandler calls XML(event.target.data) and assigns the XML to a local variable. However, when I instantiate this object, then call a method on it, the XML is still null. If I put a timer on it to stall for a second, it's there --- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED] wrote: Where are you declaring these classes? -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Suzy Lawson Sent: Friday, June 02, 2006 12:01 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Instantiation and setting problems I anyone else having issues trying to set values on objects for newly instantiated objects in an object graph with 3 or more layers? I have the following: ClassA { public var classB : ClassB; public var classC : ClassC; } ClassB { public var classD : ClassD; } ClassC { public var textVal : String=''; } and i have a value sets in the ModelLocator (cairngorm) class like so: public var allClassAs : ArrayCollection; public var selectedClassA : ClassA; The problem is if I retrieve a single 'ClassA' from the collection of allClassAs using the ID of the selectedClassA, then try to make a call like this: classA.classC.text=Whatever; The mxml field I have bound to that value never displays and I get the following debug error. error during evaluation no such variable: classA.classC.textVal This kind of makes sense since classC wasn't initialized yet, so even if I change ClassA to be: ClassA { public var classB : ClassB = new ClassB(); public var classC : ClassC = new ClassC(); } I still get the same error. In the UI, if I click back, it appears correctly, but the first time it always fails. It seems like the set (classA.classC.text=Whatever;) is getting called faster then the object can be initialized (constructed). I've had similar problems when calling: var myXML = new XML(event.target.data); [EMAIL PROTECTED]3232; When I debug this, myXML is still null when the 2nd line is called. A work around is to instantiate the XML on startup so the XML is there before calling the set on @ID, but means more memory. Anyone else hitting these issues? Yahoo! Groups Sponsor ~-- Everything you need is one click away. Make Yahoo! your home page now. http://us.click.yahoo.com/AHchtC/4FxNAA/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 ~-- 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 -- Flexcoders 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] Constants in a separate .as file?
Hi Charles... you may find it helpful to break your general constants up into there own classes with their own packages to avoid variable naming issues.To answer your question though...If you make the consts you have static as in public final class com.company.printing.PrintJobOrientation {public static const LANDSCAPE:String = landscape;public static const PORTRAIT:String = portrait;}you can then use those constants like so... imports com.company.printing.PrintJobOrientationpublic class com.company.printing.PrintJob {public layout:String;public function print() {if(this.layout = PrintJobOrientation.LANDSCAPE) { //DO SOMETHING}}} Hope that helps.On 6/2/06, Charles [EMAIL PROTECTED] wrote: Hi everyone, This seems like a very simple thing to do, but I can't figure out why it won't work. Basically, what I am aiming for is to have a separate .as file that contains only constants (no classes or functions...just constants). I have this ActionScript class, say ClassOne.asthat uses a lot of constants. I have another ActionScript class, say ClassTwo.asthat also uses the same constants. Right now, all of the same constantsare declared twice, once in each class. But what I want is to makea seperate file to just hold those constants and then import them from both classes, but I can't figure it out. I know that to import external .as files in an .mxml file, you can just use Script source=file_name.as/. But, to import an external .as file from within another .as file, I don't know how. I've tried using import files.*, but since the file is just a list of constants, and not a class, it doesn't work. I've also tried include files/file_name.as, but I get an error for having more than one externally visible definition...? Any help would be great...my code is too bloated to stand right now, with all this redundant code...haha Thanks in advance. Charles -- Flexcoders 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] iFrame not filling canvas
Cheers Tom.I ended up changing the html div and iframe styles and it now works. On 02/06/06, Tom Chiverton [EMAIL PROTECTED] wrote:On Friday 02 June 2006 03:56, Angus Johnson wrote: bars when it should size up to 100% width and height.What about if you set the Canvas to be 99% ?--Tom ChivertonThis email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF.A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITYThis email is intended only for the use of the addressee named above and may be confidential or legally privileged.If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents.If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com.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 ~--Home is just a click away. Make Yahoo! your home page now. http://us.click.yahoo.com/DHchtC/3FxNAA/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] E4X, SOAP and namespaces, oh my!
Thanks, Peter, good to know.Any idea how to solve my DataGrid dataProvider problem? Its columns use child nodes as their dataField attribute but it seems like they are not accessible because of the namespace being there. Do I need to somehow strip out the namespaces or include the namespace in the dataField attribute? I know this is doable, and probably simple, but I can't figure it out or find it documented anywhere. Thanks,BenOn 6/2/06, Peter Farland [EMAIL PROTECTED] wrote: Ben, if a parent type declares the default namespace (as it does onGetDocumentResponse) then child elements that do not redeclare thedefault namespace nor use a prefix to another namespace will inheritthat parent namespace. -Original Message-From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] OnBehalf Of ben.clinkinbeardSent: Friday, June 02, 2006 4:11 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] E4X, SOAP and namespaces, oh my!There seems to be a significant shortage of information regarding the use of these 3 things together. For the life of me I cannot solve thisseemingly simple problem. I have a SOAP call whose returned xml startsout like this:soap:Envelope xmlns:soap= http://schemas.xmlsoap.org/soap/envelope/xmlns:xsi=http://www.w3.org/2001/XMLSchema-instancexmlns:xsd= http://www.w3.org/2001/XMLSchemasoap:Headerwsu:Timestampxmlns:wsu=http://schemas.xmlsoap.org/ws/2002/07/utility wsu:Created2006-06-02T19:48:15Z/wsu:Createdwsu:Expires2006-06-02T19:53:15Z/wsu:Expires/wsu:Timestamp/soap:Headersoap:Body GetDocumentResponsexmlns=http://mysite.com/BackOffice/DocumentMetadataBut when I use the following code to retrieve content from it namespace dm = http://mysite.com/BackOffice/DocumentMetadata;use namespace dm;var x:XML;x = new XML(event.message.body);wtf = new XMLListCollection(x..RPRDocumentHistory.Entry); I get a list of Entry nodes that have all 4 namespace declarationsattached to them even though the original nodes didn't have any.Additionally, my DataGrid that uses wtf as its dataProvider getspopulated with blank entries (I can roll over them but no text is displayed), which I have experienced before and is somehow related tonamespace issues.How can I fix this? Are there any articles/tutorials that address thesetopics in depth?Thanks,Ben Yahoo! Groups Sponsor ~--You can search right from your browser? It's easy and it's free.Seehow. http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/nhFolB/TM~---Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives:http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links 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 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.
[flexcoders] Why is this happening? Blank screen On Firefox - urls provided
Hi everyone, I just got my feet wet with flex 2 beta 3 (really enjoying it by the way). I cannot figure out why I can only view my flex apps on IE - on firefox/any mozilla based browser, I just see a blank green screen. Here's a test I did with a very simple example that just loads some xml into a textarea: http://www.myjavaserver.com/~josulliv101/testing/testing.html You can see that all the supporting files are present at: http://www.myjavaserver.com/~josulliv101/testing/ The weird thing is that when I am viewing the app locally with firefox, it's fine. When I upload it with the supporting files to the server, no luck. I have no problem viewing other people's flex2 apps on firefox. Any help is appreciated. Joe -- Flexcoders 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] ActionScript setting width to 100%
Assuming percentWidth is depricated,Is that documented somewhere? Where can I find out which other deprecated code pieces I am using regularily?On 6/2/06, Tom Chiverton [EMAIL PROTECTED] wrote: On Friday 02 June 2006 12:36, shravan kumar wrote: myButton.percentWidth = 100;Assuming percentWidth is depricated, trymyButton.width={parent.width}--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. CONFIDENTIALITYThis email is intended only for the use of the addressee named above and may be confidential or legally privileged.If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents.If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com.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 ~--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 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.
[flexcoders] Re: Constants in a separate .as file?
Hi Clint, Yes, I actually did think about putting these constants in their own class, but I was trying to avoid it...not only for simplicity, but also to compact the references I would have to make - i.e. just refer to it as LANDSCAPE instead of ClassName.LANDSCAPE...mainly because there are a lot of constants that I want to store, and I reference them a lot in the other classes. BUT, I didn't think about variable naming issues, so I think I will actually go with dropping them in a class. Thanks! Charles --- In flexcoders@yahoogroups.com, Clint Modien [EMAIL PROTECTED] wrote: Hi Charles... you may find it helpful to break your general constants up into there own classes with their own packages to avoid variable naming issues. To answer your question though... If you make the consts you have static as in public final class com.company.printing.PrintJobOrientation { public static const LANDSCAPE:String = landscape; public static const PORTRAIT:String = portrait; } you can then use those constants like so... imports com.company.printing.PrintJobOrientation public class com.company.printing.PrintJob { public layout:String; public function print() { if(this.layout = PrintJobOrientation.LANDSCAPE) { //DO SOMETHING } } } Hope that helps. On 6/2/06, Charles [EMAIL PROTECTED] wrote: Hi everyone, This seems like a very simple thing to do, but I can't figure out why it won't work. Basically, what I am aiming for is to have a separate .as file that contains only constants (no classes or functions...just constants). I have this ActionScript class, say ClassOne.as that uses a lot of constants. I have another ActionScript class, say ClassTwo.as that also uses the same constants. Right now, all of the same constants are declared twice, once in each class. But what I want is to make a seperate file to just hold those constants and then import them from both classes, but I can't figure it out. I know that to import external .as files in an .mxml file, you can just use Script source=file_name.as/. But, to import an external .as file from within another .as file, I don't know how. I've tried using import files.*, but since the file is just a list of constants, and not a class, it doesn't work. I've also tried include files/file_name.as, but I get an error for having more than one externally visible definition...? Any help would be great...my code is too bloated to stand right now, with all this redundant code...haha Thanks in advance. Charles -- Flexcoders 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=M acromedia+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+developmentw 2=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+development w2=Computer+software+developmentw3=Software+design+and+development w4=Macromedia+flexw5=Software+development+best+practicec=5s=166.s ig=1pMBCdo3DsJbuU9AEmO1oQ Macromedia flexhttp://groups.yahoo.com/gads? t=msk=Macromedia+flexw1=Web+site+design+developmentw2=Computer+sof tware+developmentw3=Software+design+and+developmentw4=Macromedia+fl exw5=Software+development+best+practicec=5s=166.sig=OO6nPIrz7_EpZ I36cYzBjw Software development best practicehttp://groups.yahoo.com/gads? t=msk=Software+development+best+practicew1=Web+site+design+developm entw2=Computer+software+developmentw3=Software+design+and+developme ntw4=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]flexcoders- [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