[flexcoders] Re: How to hide backMonthButton and fwdMonthButton of DateChooser Control?
--- In flexcoders@yahoogroups.com, Gordon Smith [EMAIL PROTECTED] wrote: In Beta 2, try mx:DateChooser initialize=backMonthButton.visible = false; fwdMonthButton.visible = false/ - Gordon Thanks Gordon for your reply. It get work in Beta 1. Do you know New Flex Beta 2 come out? I wanna know for Beta 2. In Beta 2, there are problems message: Access of undefined property 'backMonthButton' Access of undefined property 'fwdMonthButton'. http://labs.macromedia.com/wiki/index.php/Flex:Beta_1_to_Beta_2_Changes#Changes_to_the_mx.controls_Package Thanks. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of flexhtoo Sent: Wednesday, March 22, 2006 10:04 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] How to hide backMonthButton and fwdMonthButton of DateChooser Control? I want to konw how to hide backMonthButton and fwdMonthButton of DateChooser in Flex Beta 2. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Question about RemoveChild
Hi, I want to delete dynamically created buttons. The documentation of Flex says: Removing a child does not delete it, so you can redisplay it later without recreating it. So if RemoveChild doesn't delete them how can i do so? Greetings, Richard -- 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] Cairgnorm beta release?
Hi Oriol, There is still a selectedChild property on ViewStack. The only thingyou need to do is type stronger. UIComponent is the base class of Container but Containter goes into aViewStack.Beta 2 is stricter here. In addition to that, I wouldn't recommend yourworkaround using the Number inthe workflow statevariable. As soon asyou'll add another workflow type variable to ModelLocator,you would need new state variable values, which could not map to ViewStack::selectedIndex anymore. Best, Alex Alex UhlmannConsultant (Rich Internet Applications)Adobe ConsultingWestpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UKp: 44 (0) 131 338 6969 m: 44 (0)7917 428 951[EMAIL PROTECTED] From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Oriol GualSent: 21 March 2006 20:16To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Cairgnorm beta release? Just one more point, I've tried the Cairngorm login example, and after changing the namespaces to http://www.adobe.com/2006/mxml, I can compile but I get this error:Implicit coercion of a value with static type ' mx.core:UIComponent' to a possibly unrelated type 'mx.core:Container' in line 68, which is:mx:ViewStack id="appView" selectedChild="{ getView( model.workflowState ) }"If look at it, and viewstack has no selectedChild propertie, so if I change it to: selectedIndex="{ model.workflowState }" it works. My question is, how should it be if I want to return a view instead of an int?Thanks,Oriol. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] TabNavigator Display Issue [Flex 2 Beta 2]
Harris, Try to increase your tabWidth style.If you remove it you'll see that there is no problem with your labels. João Fernandes -Original Message- From: flexcoders@yahoogroups.com on behalf of Harris Reynolds Sent: Thu 23-Mar-06 3:30 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] TabNavigator Display Issue [Flex 2 Beta 2] I have the very simple Flex script that is listed below. When the script is compiled and displayed the first tab is only rendering: Brow... After selecting the 2nd tab the whole word 'Broswer' displays. However, after selecting the 1st tab again the whole word 'Browser' is displayed, but now the end of the 'r' is shaved off. The first impression when looking at this is YUCK! The same file looks great in Flex 1.5. Is there a way to make the tab labels look good at the outset using 2.0? Also... is there a way to have characters with overhangs (like a lowercase 'r') render properly when selected? thanks, ~harris ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; xmlns=* mx:Panel title=Blah Manager width=525 height=250 mx:TabNavigator id=tabNavigator width=500 height=200 tabWidth=120 mx:Canvas id=browserCanvas label=Browser /mx:Canvas mx:Canvas id=editorCanvas label=Editor /mx:Canvas /mx:TabNavigator /mx:Panel /mx:Application -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ winmail.dat
Re: [flexcoders] TabNavigator Display Issue [Flex 2 Beta 2]
I remember this was reported as a bug in beta 1 and was supposed to be fixed in beta 2! - Original Message - From: João Fernandes To: flexcoders@yahoogroups.com Sent: Thursday, March 23, 2006 2:56 PM Subject: RE: [flexcoders] TabNavigator Display Issue [Flex 2 Beta 2] Harris,Try to increase your tabWidth style.If you remove it you'll see that there is no problem with your labels. João Fernandes-Original Message-From: flexcoders@yahoogroups.com on behalf of Harris ReynoldsSent: Thu 23-Mar-06 3:30 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] TabNavigator Display Issue [Flex 2 Beta 2]I have the very simple Flex script that is listed below. When the script is compiled and displayed the first tab is only rendering:Brow...After selecting the 2nd tab the whole word 'Broswer' displays. However, after selecting the 1st tab again the whole word 'Browser' is displayed, but now the end of the 'r' is shaved off.The "first impression" when looking at this is YUCK! The same file looks great in Flex 1.5. Is there a way to make the tab labels look good at the outset using 2.0? Also... is there a way to have characters with overhangs (like a lowercase 'r') render properly when selected?thanks,~harris?xml version="1.0" encoding="utf-8"?mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" mx:Panel title="Blah Manager" width="525" height="250" mx:TabNavigator id="tabNavigator" width="500" height="200" tabWidth="120" mx:Canvas id="browserCanvas" label="Browser" /mx:Canvas mx:Canvas id="editorCanvas" label="Editor" /mx:Canvas /mx:TabNavigator /mx:Panel/mx:Application--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 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 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] Tree key handlers problem
There are still some strange behaviors when using the Tree component with up, down, left and right keys, but flex shows no error as in beta 1. You can open the tree node and go down to child nodes with pressing down and right keys, but try then to press left key twice. You will go to parent node, but then you can't close the node, as expected. I've noticed also other strange behaviors when using keys to handle node opening/closing, so I beleive that key handlers should be polished even more. Milan This example is taken from flex 2 beta 2 - as3/mxml API (mx.controls.Tree): ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; backgroundColor=#FF !-- Simple example to demonstrate the Tree control -- mx:XML id=myxml Company label=Macromedia Branch label=Newton Department label=Flex Doc Title label=Intern Name label=Kapil Virdi/Name /Title /Department /Branch /Company /mx:XML mx:Panel id=treePanel title=Tree Trace Panel paddingTop=10 mx:VBox mx:Tree id=EmployeeTrace width=285 height=196 showRoot=false labelField=@label mx:dataProvider {myxml} /mx:dataProvider /mx:Tree /mx:VBox /mx:Panel /mx:Application -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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] addColumn removed from Beat 2
hi guys: Could anyone tell me how to add columns to datagrid in actionscript? I did it by using addColumn in Beta 1 but it's removed from Beta 2. cheers, xd -- 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: Headers of Panel in Flex 2 Similar to Flex 1.5
Thank you, I will try it --- In flexcoders@yahoogroups.com, jeremy lu [EMAIL PROTECTED] wrote: panelAlpha = 1 headerHeight = 22 will also look very much alike those found in aqua... On 3/22/06, mvbaffa [EMAIL PROTECTED] wrote: Hi everybody, How can I set the appearance of Flex 2 Panels and TitleWindows headers similar to one of Flex 1.5 Thanks -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders% 40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Flex Action Script 2.0 Related Books Sites
HiI am new starter on flex and action script 2.0. Please can you any one suggest mewhat are all the books avialble related to flex and action script 2.0in indian editions and flex action scrit 2.0learning related sites.Thanks Jiyo cricket on Yahoo! India cricket Yahoo! Messenger Mobile Stay in touch with your buddies all the time. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Binding properties of Custom Component in Flex 2
Hi everybody, I am migrating a Custom Component, from Flex 1.5 to Flex 2 Beta 2, that has inside it two other components: - ClienteList: A datagrid with a list of Clients - ClientSummary: Panel that show the details of a Selected Client in the DataGrid The main component is like this [Bindable] public var selectedClient : ClientVO; private function doSelectClient(event:Event) : void { var e:ControllerEvent = ControllerEvent (event); selectedClient = (ClientVO) e.result; } mx:HBox label= themeColor=haloSilver width=100% height=100% view:ClienteList id=listClients clientSelected=doSelectClient (event); width=60% height=100% / view:ClientSummary id=summClient clientDetail={ selectedClient } width=40% height=100%/ /mx:HBox When the change event occurs in ClientList it fires an event, clientSelected, that executes the function doSelectClient. This is working because I can debug and see that doSelectClient is executing when I select an item in the datagrid. As you can see doSelectClient sets the property selectedClient that is bounded to the property clientDetail of ClientSummary. At ClientSummary this property is defined like this [Bindable] public var clienteDetail : ClienteVO; and the PanelTitle is defined like this mx:Panel id=summaryPanel width=100% height=100% layout=absolute title={ clienteDetail != null ? clienteDetail.name: 'Client' } themeColor=haloSilver styleName=PanelHeader cornerRadius=7 The property clientDetail binds to the Title of ClientSummary with the clientName. But nothing works. In Flex 1.5 this is working OK but in Flex 2 it seems that a update in the property clientDetail does not cause any changes in ClientSummary I don't know what is happening, can anybody help me -- 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: dynamically creating a remote object
Thanks Tracy, but the example is for web service. Where can I get the syntax for RemoteObject call. Thanks dv --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: This is not supported in 1.5, but is possible to do. See this article: http://jeff.mxdj.com/calling_a_webservice_purely_through_as.htm Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of deepu_verma Sent: Wednesday, March 22, 2006 6:50 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] dynamically creating a remote object How can I dynamically create an instance of remote object in flex 1.5 I am trying the following testRemote = mx.core.Application.application.createClassObject(mx.servicetags.RemoteO bject, text_mc, 0, {endpoint:http://dverma01.corp.adobe.com:8300/cfusion/flashservices/gat eway/, source:webreqapp.test,result:testText.text=event.result}); mx.core.Application.application.text_mc.test(); Thanks dv -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Flex2 beta2 bug - Focus does not work on lists
Hello Benoit, Indeed, making all my VO classes dynamic solves the problem. Not very clean, but excellent workaround ;). that is so interesting that I've spend few minutes on that, try another way which seems for me to not be a work around: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; xmlns=* mx:Script ![CDATA[ import mx.utils.UIDUtil; import mx.utils.ObjectProxy; import mx.controls.Alert; import mx.collections.*; [Bindable] public var collection:ArrayCollection; public function loadWithClassInstances():void { var item1:ItemVO = new ItemVO(); item1.label = Item 1 (class); var item2:ItemVO = new ItemVO(); item2.label = Item 2 (class); var item3:ItemVO = new ItemVO(); item3.label = Item 3 (class); collection = new ArrayCollection( [new ObjectProxy(item1, UIDUtil.createUID()), new ObjectProxy(item2, UIDUtil.createUID()), new ObjectProxy(item3, UIDUtil.createUID())]); } public function loadWithObjects():void { collection = new ArrayCollection([{label:Item 1 (object)}, {label:Item 2 (object)}, {label:Item 3 (object)}]); } ]] /mx:Script mx:Button label=Load with class instances click=loadWithClassInstances() / mx:Button label=Load with objects click=loadWithObjects() / mx:List id=list dataProvider={collection} rowCount=5 width=180 click=Alert.show('ItemVO.label: '+ItemVO(ObjectProxy(list.selectedItem).object_proxy::object).label);/ /mx:Application the only problem is additional coding is required when: - data provider is build - you are accessing proxied object and need to cast it to original class (proxiedItem.object_proxy to ItemVO), but that seems to work fine, also if your other classes use uid you can consider adding custom public namespace to your class for that property to avoid conflict with IUID namespace, kind regards, Peter Blazejewicz -- 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] addColumn removed from Beat 2
To handle datagrid columns in beta2, you need to directly access and manipulate the columns array property. Benoit Hediard -Message d'origine- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de ZhaoXingdong Envoyé : jeudi 23 mars 2006 08:22 À : flexcoders@yahoogroups.com Objet : [flexcoders] addColumn removed from Beat 2 hi guys: Could anyone tell me how to add columns to datagrid in actionscript? I did it by using addColumn in Beta 1 but it's removed from Beta 2. cheers, xd -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Flex 2.0 b2: 'getClassByName' method of the 'flash.util' package
Is there some special mxmlc option to prevent optimization, and force compiler to include all classes from classpath or at least imported ones (like import MyClass;) ? I saw -compiler.keep-all- type-selectors option, described as disables the pruning of unused type selectors (advanced), but don't clearly understand it effect. -- Thanks, Vadim Melnik. --- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED] wrote: No, you must have a refernence to MyClass somewhere in your code in order for it to be linked in to the SWF at compile time. A string 'myPackage.MyClass' does not constitute a reference. This is not a bug - the compiler must optimize what classes are actually needed to keep the SWF size down. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of tyombria Sent: Wednesday, March 22, 2006 4:44 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex 2.0 b2: 'getClassByName' method of the 'flash.util' package Hi, all. Method 'getClassByName' works correctly only with adobe classes. For example, getClassByName('flash.net.URLLoader') works fine. I've got a problem with my custom classes. For example: var myClassReference:MyClass = getClassByName('myPackage.MyClass'); I get error: Error #1065: Variable MyClass is not defined. Class exists in classpath or in the library. If i put somewhere inside declaration block: var myClass:MyClass It (getClassByName) works fine. Is it a bug? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Image source path bug?
Hi all, Im experiencing an strange behaviour (bug?) with the Image tag in Flex2b2. If I use the tag like: mx:Image source=foo.jpg / it works when compiled with Flex Builder and the image displays correctly. If I move this application (and picture) to j2ee server, I type the url in the browser and the application runs but no image is displayed. A simple application like this : [testImage.mxml] mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; xmlns=* mx:Image source=transportes.jpg / /mx:Application does not show any image (only a broken image icon) when accessed through : http://./testImage.mxml But, If I run this sample using Flex Builder it works fine. And if I run locally (not through a browser) the generated swf at the j2ee server it works fine. And accessing that same swf through the web browser, it does show that broken-image icon! Is this a bug? Thanks in advance -- Alberto Albericio Salvador Aura S.A. Seguros Departamento Informática -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Re: mxmlc/compc versus web server compile
Renaun, We use ANT on developer machines and on the server for deployment. Typically a single build.xml file sits in the root of the SVN repository for a project. We typically define tasks for incremental SWF and RSL compilation, java compilation, and larger tasks for ground up builds. The smaller tasks are used during development for a faster edit compile debug cycle and the larger tasks are used for deployment or when larger changes have been integrated. Dave is being modest about the larger ANT tasks. In a majority of Cynergy Systems projects, running ANT tomcat.build ejects a fully configured Tomcat HTTP/HTTPS server with custom deployed WAR files including compiled SWF/RSL/JARS/JSP/HTML/SERVLETS. On any project, we are 12 minutes from having a full configured Tomcat server running on any machine. MXMLC/COMPC compilation is about 9 minutes of that build process. I have been working with the Flex2SDK and the compilation times are much improved at almost 100%-200% gains. On all Flex 2 projects we will be using the Flex2SDK and ANT for build automation both within Flex Builder and ANT directly. It seems like a lot of work but there is tremendous value gained in terms of software quality and reliability with a standardized build process. ANT does a tremendous amount of work for us so that we can focus on delivering great applications for our consulting clients. Cheers, Cynergy Systems, Inc. Theodore Patrick Sr. Consultant [EMAIL PROTECTED] tel: 1.866.CYNERGY http://www.cynergysystems.com From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Renaun Erickson Sent: Wednesday, March 22, 2006 6:55 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: mxmlc/compc versus web server compile Dave, Thanks for the response. So you use ANT build scripts on developers boxes? I see prefectly where the mxmlc builds make sense for server deployment. Renaun -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.2.6/287 - Release Date: 3/21/2006 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] FB2 :: Flex printing
Hi, a) Check out http://livedocs.macromedia.com/labs/1/flex/langref/mx/print/package-detail.html b) Please be specific and give us reproducible bugs so we can address as many issues as possible and/or log ECRs for future! -David Adobe From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Phil MarstonSent: Wednesday, March 22, 2006 9:26 AMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] FB2 :: Flex printing I haven't used this yet, but our University teaching apps would certainly need good functionality here so hope there isn't a problem like there's been with the implementation of printing in Flash in the past.As far back as a Flash 5 project we hit a bug in the Flash player to do with printing nested movieClips - after months of trying to fix it someone from Macromedia eventually let us know that it was a known issue but they didn't think anyone would notice - as far as I'm aware it's never been fixed.Compared to all the other features in Flash, printing always seems to be a bit of a poor cousin sort of implementation. Maybe with Adobe's print heritage that will change . . . :-)PhilDima Ulich wrote: I would like to ask adobe team. Do you guys have any plans on making printing from flex a bit easier? I think it is very important for RIAs to have very flexible printing feateres so users and devs wouldn't have problems creating different kind of reports. For now it is not event possible to print bitmap images aloing with vector graphics. To print images you need to have them embeded or use printAsBitmap feature, but printAsBitmap makes all the other things on page look nasty. It won't work for good reports. In Flex Beta past and new version there was a FlexPrintJob package it prints in bitmap format which makes it impossible for use. And flash.print.printJob package is pretty hard to use, and it doesn't solve the problem. Flexcoders, what do you think about printing in flex? Ulich Dima __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- __ Phil Marston Learning TechnologistLearning Technology Unit Edward Wright G33, University of Aberdeen, Aberdeen, AB24 3QY, UK[EMAIL PROTECTED] Tel: 44(0)1224 273329 / 44(0)7798 723660 http://www.abdn.ac.uk/diss/ltu/__ -- 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] Saving object graphs
Hi, I'm using data services with the JavaAdapter with the hierarchical values approach and I'm finding that when I invoke commit() from the client the object graph that I'm receiving in the server after the unmarshalling to Java is not what I'd expect. The original object graph that I sent to the client was: Library - Books (as an ArrayList) and the object graph I'm receiving is Library - Books (as an ArrayCollection of ManagedProxies). Hibernate is rejecting this graph on save (*). I don't know if this is the intended behaviour or not. Am I supposed to deep convert the Library object graph to the original form by my own?. Is there, in the HibernateAdapter, some class that I could use?. Thanks in advance, Pepe. (*) Please note that I'm not using the HibernateAdapter. I'm using the JavaAdapter with our current application which is Spring/Hibernate. -- 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] addColumn removed from Beat 2
thanks Benoit, it works well now. On Thu, 23 Mar 2006 13:29:04 +0100 Benoit Hediard [EMAIL PROTECTED] wrote: To handle datagrid columns in beta2, you need to directly access and manipulate the columns array property. Benoit Hediard -Message d'origine- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de ZhaoXingdong Envoy\xF1: jeudi 23 mars 2006 08:22 タ : flexcoders@yahoogroups.com Objet : [flexcoders] addColumn removed from Beat 2 hi guys: Could anyone tell me how to add columns to datagrid in actionscript? I did it by using addColumn in Beta 1 but it's removed from Beta 2. cheers, xd -- 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 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 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: Binding properties of Custom Component in Flex 2
Never mind, I have already discovered the problem. I am using AMFPHP and when you return a recordset, with Flex 2, AMFPHP, in fact, return an array of array, and the fields of the records are numbers not the field name. This does not occurs when you return only one record. So you have to map the selected client, fill the attributes of the record, and call an updateView function. So the binding will not work until AMFPHP or Flex 2, or both make some adjustments to receive recordsets. Thansk anyway --- In flexcoders@yahoogroups.com, mvbaffa [EMAIL PROTECTED] wrote: Hi everybody, I am migrating a Custom Component, from Flex 1.5 to Flex 2 Beta 2, that has inside it two other components: - ClienteList: A datagrid with a list of Clients - ClientSummary: Panel that show the details of a Selected Client in the DataGrid The main component is like this [Bindable] public var selectedClient : ClientVO; private function doSelectClient(event:Event) : void { var e:ControllerEvent = ControllerEvent (event); selectedClient = (ClientVO) e.result; } mx:HBox label= themeColor=haloSilver width=100% height=100% view:ClienteList id=listClients clientSelected=doSelectClient (event); width=60% height=100% / view:ClientSummary id=summClient clientDetail={ selectedClient } width=40% height=100%/ /mx:HBox When the change event occurs in ClientList it fires an event, clientSelected, that executes the function doSelectClient. This is working because I can debug and see that doSelectClient is executing when I select an item in the datagrid. As you can see doSelectClient sets the property selectedClient that is bounded to the property clientDetail of ClientSummary. At ClientSummary this property is defined like this [Bindable] public var clienteDetail : ClienteVO; and the PanelTitle is defined like this mx:Panel id=summaryPanel width=100% height=100% layout=absolute title={ clienteDetail != null ? clienteDetail.name: 'Client' } themeColor=haloSilver styleName=PanelHeader cornerRadius=7 The property clientDetail binds to the Title of ClientSummary with the clientName. But nothing works. In Flex 1.5 this is working OK but in Flex 2 it seems that a update in the property clientDetail does not cause any changes in ClientSummary I don't know what is happening, can anybody help me -- 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: TabNavigator Bug Flex 2 Beta 2
Sreejith, You are correct... this BUG was reporting earlier (see thread below) and I have confirmed that it still exists. Can anyone from Adobe confirm this? ~harris --- In flexcoders@yahoogroups.com, Jonathan Miranda [EMAIL PROTECTED] wrote: It sometimes lays out correctly after you have focused off and on the tab, but still the initial label is truncated. And if the label is long, even with a lower-case it doesn't work correctly. _ Jonathan Miranda Flexible Master of the Web In the game of chess, it's important to never let your opponent see your pieces. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Deepa Subramaniam Sent: Thursday, February 02, 2006 3:13 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] TabNavigator and Flex2 Beta I just glanced quickly at the code and it looks like it is an issue with the measuring of the label text for the selected tab. The bug only happens when the leading characters of the selected tab's label starts with capital letters. If you try: mx:VBox label=afta mx:VBox label=aFTA Or similar variations you'll see the TabNavigator will layout correctly. If you can live with alternative labels then you might be ok, but if others have workarounds please share them. Thanks, deepa -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jonathan Miranda Sent: Thursday, February 02, 2006 7:58 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] TabNavigator and Flex2 Beta Any luck with that workaround or has anyone else figured a way to fix this? _ Jonathan Miranda Flexible Master of the Web In the game of chess, it's important to never let your opponent see your pieces. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Deepa Subramaniam Sent: Wednesday, February 01, 2006 1:04 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] TabNavigator and Flex2 Beta Hi Jonathan - Ok, that's definitely a bug. It something to do with the initial layout of the tab, because if you select another tab and come back to the AFTA tab you'll see that it doesn't truncate (though it is a bit clipped). I'll log this for you. I'm not sure of a workaround off the top of my head - I'll investigate a bit more and see if I can find one. deepa -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jonathan Miranda Sent: Wednesday, February 01, 2006 11:25 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] TabNavigator and Flex2 Beta Yup still doesn't work. Even if I put in tabWidth to like 200 (no more percentages in Flex2 beta), it still messes up. mx:TabNavigator id=mainTN width=70% height=100% backgroundAlpha=0 marginLeft=0 marginRight=0 change=refreshDG() mx:VBox label=AFTA width=100% height=100% backgroundAlpha=0 /mx:VBox mx:VBox label=Emergency Monitor width=100% height=100% backgroundAlpha=0 /mx:VBox mx:VBox label=Communication width=100% height=100% backgroundAlpha=0 /mx:VBox /mx:TabNavigator _ Jonathan Miranda Flexible Master of the Web In the game of chess, it's important to never let your opponent see your pieces. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Deepa Subramaniam Sent: Wednesday, February 01, 2006 12:03 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] TabNavigator and Flex2 Beta Hi Jonathan - I can't seem to reproduce your case. I can't size my TabNavigator such that the label for a tab is not truncated when not selected, and then truncated when selected. Could you send me some code that reproduces that case? Thanks, deepa -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jonathan Miranda Sent: Wednesday, February 01, 2006 10:25 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] TabNavigator and Flex2 Beta Just noticed, when you click on a tab...the font weight changes and the label doesn't resize now...so you'll get AFTA becoming AFT... even when there is plenty of room. Work-around for this bug? _ Jonathan Miranda Flexible Master of the Web In the game of chess, it's important to never let your opponent see your pieces. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development http://groups.yahoo.com/gads?
[flexcoders] Help : Hibernate Adapter
Hi, I am new with Flex, can anybody give me some advice how to use Hibernate-Adapter in Flex 2.0 Thank's Arsalan -- 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: Is there a way to change the default error color of the TextInput border?
OK, that puts me halfway there by changing the color of the ToolTip. Is there a way to also change the border color of the TextInput (that shows when a validation error occurs)? Right now it is Red. Where are the default stylesheets where StyleManager is getting its information? I have searched the hard drive for a file containing ErrorTip and found nothing. --- In flexcoders@yahoogroups.com, Manish Jethani [EMAIL PROTECTED] wrote: On 3/23/06, Jason Y. Kwong [EMAIL PROTECTED] wrote: Sorry, I thought you meant Flex 2. I haven't used Flex 1.5 so I'm not much help there. In 1.5: StyleManager.styles[ErrorTip].setStyle(borderColor, 0x00FF00); Manish -- 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] Extending MXML components (change from 1.5 to 2)
Tony, Yes, we absolutely intend to continue supporting extending MXML with MXML, with the constraint that only one set of children be specified anywhere in the chain of derived components or the component instantiation. What youre seeing is a bug in beta 2 the framework incorrectly raises the multiple sets of children in base and derived components error in cases where the superclass (A.mxml in your example) in fact has no children. This will be fixed for beta 3; the workaround in beta 2 is to insert the following Script/ code into the superclass, e.g. A.mxml: mx:Script /** * This namespace is used for undocumented APIs -- usually implementation * details -- which can't be private because they need to visible * to other classes. * APIs in this namespace are completely unsupported and are likely to * change in future versions of Flex. */ namespace mx_internal = http://www.adobe.com/2006/flex/mx/internal; override mx_internal function setDocumentDescriptor(desc:mx.core.UIComponentDescriptor):void { if (mx_internal::_documentDescriptor mx_internal::_documentDescriptor.properties.childDescriptors) { if (desc.properties.childDescriptors) { throw new Error(Multiple sets of visual children have been specified for this component (base component definition and derived component definition).); } } else { mx_internal::_documentDescriptor = desc; mx_internal::_documentDescriptor.document = this; } } /mx:Script Basil From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tony Pujals Sent: Wednesday, March 22, 2006 6:02 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Extending MXML components (change from 1.5 to 2) In Flex 1.5, you could create an MXML component and then extend it with another custom component. For example, this would work: A.mxml ?xml version=1.0 encoding=utf-8? mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml /mx:Canvas B.mxml A xmlns:mx=http://www.adobe.com/2006/mxml mx:Button label=Hello click=mx.controls.Alert.show('Hello') / /A Test.mxml mx:Application xmlns:mx=http://www.adobe.com/2006/mxml B / /mx:Application How was this useful? Well, for example, for an HTML page editor, we had an Element.mxml component subclassed by ImageElement.mxml and TextElement.mxml. This does not work with any of the Flex 2 alpha/betas. Flash 8.5 displays this diagnostic: Error: Multiple sets of visual children have been specified for this component (base component definition and derived component definition) at mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::setDocumentDescriptor() at A/initialize() at B/initialize() at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::rawChildAdded() at mx.core::UIComponent/addChildAt() at mx.core::Container/addChild() at mx.core::Container/createComponentFromDescriptor() at mx.core::Container/createComponentsFromDescriptors() at mx.core::Application/createComponentsFromDescriptors() at mx.core::Container/mx.core:Container::createChildren() at mx.core::UIComponent/initialize() at mx.core::Container/initialize() at mx.core::Application/initialize() at flextest/initialize() at mx.managers::SystemManager/::initializeChild() at mx.managers::SystemManager/::initializeTopLevelWindow() at mx.managers::SystemManager/::frameEndHandler() Its not that the error message isnt clear, per se, but since this is different behavior, Im curious . Can you only extend mx components but not youre own, or this only possible with ActionScript components and not mxml.? Thanks, Tony tony pujals| senior engineer | Yahoo! SiteBuilder Express p. 408.349.6284 |e. tonyp * yahoo-inc * com| y!id tonypujals -- Flexcoders 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: Is there a way to change the default error color of the TextInput border?
On 3/23/06, Libby [EMAIL PROTECTED] wrote: OK, that puts me halfway there by changing the color of the ToolTip. Is there a way to also change the border color of the TextInput (that shows when a validation error occurs)? I did a quick Google search and found this: http://www.asfusion.com/blog/entry/using-global-css-in-your-cfform _global.styles.ErrorTip.setStyle( borderColor, 0x339900); _global.styles.ErrorTip.setStyle( color, 0x00); Try it. Manish -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: mxmlc/compc versus web server compile
hi ted,have you got an example of a flex2 mxmlc ant script that works properly?ThanksjohanOn 3/23/06, Ted Patrick [EMAIL PROTECTED] wrote:Renaun,We use ANT on developer machines and on the server for deployment. Typically a single build.xml file sits in the root of the SVN repository for a project. We typically define tasks for incremental SWF and RSL compilation, java compilation, and larger tasks for ground up builds. The smaller tasks are used during development for a faster edit compile debug cycle and the larger tasks are used for deployment or when larger changes have been integrated. Dave is being modest about the larger ANT tasks. In a majority of Cynergy Systems projects, running ANT tomcat.build ejects a fully configured Tomcat HTTP/HTTPS server with custom deployed WAR files including compiled SWF/RSL/JARS/JSP/HTML/SERVLETS. On any project, we are 12 minutes from having a full configured Tomcat server running on any machine. MXMLC/COMPC compilation is about 9 minutes of that build process.I have been working with the Flex2SDK and the compilation times are much improved at almost 100%-200% gains. On all Flex 2 projects we will be using the Flex2SDK and ANT for build automation both within Flex Builder and ANT directly. It seems like a lot of work but there is tremendous value gained in terms of software quality and reliability with a standardized build process. ANT does a tremendous amount of work for us so that we can focus on delivering great applications for our consulting clients. Cheers,Cynergy Systems, Inc.Theodore PatrickSr. Consultant[EMAIL PROTECTED]tel: 1.866.CYNERGY http://www.cynergysystems.comFrom: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of Renaun EricksonSent: Wednesday, March 22, 2006 6:55 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Re: mxmlc/compc versus web server compile Dave,Thanks for the response.So you use ANT build scripts on developers boxes?I see prefectly where the mxmlc builds make sense for server deployment.Renaun--No virus found in this outgoing message. Checked by AVG Free Edition.Version: 7.1.385 / Virus Database: 268.2.6/287 - Release Date: 3/21/2006--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/ -- j:pn http://www.lennel.org -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] How to set a background in FLEX 2 Beta 2
On 3/23/06, Dion Mendel [EMAIL PROTECTED] wrote: On Wed, Mar 22, 2006 at 02:26:04PM +0530, Manish Jethani wrote: There's no backgroud-repeat in Flex yet. So you'll have to either make your SWF repeat the pattern, or you'll have to write a programmatic skin and go about repeating the pattern in the skin's updateDisplayList method. What skin style do we attach the programmatic skin to? I would think something like backgroundSkin, but that doesn't exist. Just backgroundImage Manish -- 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] Flash custom components in Flex 2
Hi everyone,In the Flex 1.5 docs there was a section on how to make a custom component in Flash and how to export it etc for use in Flex. I have noticed that this content is missing from the new Flex 2 docs. Is this not encouraged anymore or have they just not been included?I have tried to make a swc component using the directions in the old docs. I am not very good with Flash at all - but here is what I did: I am trying something simple - I create a graphic in Flash - in the library, I make the graphic to be a component called Navigator and I have an associated .as class file like this:class Navigator extends mx.core.UIComponent { static var symbolName:String=Navigator; static var symbolOwner:Object=Navigator; var className:String=Navigator; function Navigator() { } function init() { super.init(); invalidate(); }}I then export this as a swc and call it Navigator.swc. I place this swc file in the root of my app - the same place where the mxml files are. In my main.mxml I then try and instantiate it as Navigator /The Flex Builder compiler then says 'Could not resolve Navigator to be a component implementation.Do I need to do anything else? The end result needs (I guess once I have the basic thing above working) is to have a graphic with a bunch of objects of different shapes that are actually buttons - but they do not look like buttons - they have irregualr edges and I need to be able to disable/enable them from Flex and monitor in Flex when they get clicked etc. Any idea as to where I am going wrong?ThanksJonathan -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Re: Flex Beta 2 - Loader not loading SWF 100%
Hi, I did apoor solution to this problem but I believe that is a start to solve the problem: I put the following code in the application that will be loaded: private function resizeLoader(event:Event = null):void{ width = parent.parent.parent.width; height = parent.parent.parent.height;}private function initApp():void{ resizeLoader(); parent.parent.parent.addEventListener(resize, resizeLoader);} onCreationComplete execute the initApp()... I try to create a AppLoader component extend the loader and adjust the content after the complete event but I don't know how to access the content proprieties, if some one know how to change the content properties please let me know... Tks... On 3/22/06, Doug Lowder [EMAIL PROTECTED] wrote: I know in 1.5 the trick was to provide the loaded (inner) app withgetPreferredHeight() and getPreferredWidth() functions; may be worth atry in your case if you are able to modify the code for the loaded apps. In AS2, it was:function getPreferredHeight() { return _parent? _parent.layoutHeight : super.getPreferredHeight();}function getPreferredWidth() { return _parent? _parent.layoutWidth : super.getPreferredWidth(); }--- In flexcoders@yahoogroups.com , inawire [EMAIL PROTECTED] wrote: With further testing, the loaded (inner) app (application.width) is scailing to the correct size on initial load. When the outer shell resizes, the inner app resize does not get called (it does when it runs on its own). Also when the inner app first loads, thought the inner app is showing the correct width available, the inner content does not scale to fit available size of the inner app. Does anyone have any ideas? Ross --- In flexcoders@yahoogroups.com, Bruno Martins bheman@ wrote: I had the same problem, but I don't fix yet.On 3/21/06, inawire ross@ wrote: Hi I just converted my app to Beta 2. Ran the conversion scripts, switch layout constraintes, changed LinkBar click to itemClick (that got me),worked through some new warnings that were not present before. Everything works fine now ... but (always a but) I'm loading other Flex apps into a shell Flex app. I had the loaded apps expanding to fill 100% of the available space. The shell app has a top control panel, a bottom status bar and the rest is left to the following code (below) to fill out the middle. In Beta 1, the apps would load into the shell and expand to fit the available width/height. Now when I load the apps they come in as 500x375. The apps on their own fill the browser window. Also, if I set the apps to be say 600 wide, they will come in 600 wide (loader will expand to fit). Something has changed, does anyone have any ideas? Is this related to the issue: Resize effect problems The Resize effect doesn't work with layout constraints. (from known issues) If so is there a workaround? Thanks Ross - Code from shell app that loads sub apps. ... mx:HBox width=100% height=100% borderStyle=solid cornerRadius=5 styleName=colorPanel dropShadowEnabled=true horizontalGap=0 mx:VBox width=100% height=100% mx:Loader height=100% width=100% id=applet minHeight=400 minWidth=354 source={app} scaleContent=true complete=doneLoading() showBusyCursor=true / /mx:VBox /mx:HBox ... --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 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. -- Bruno Gustavo MartinsMobile: (55)(11)9585-9587[EMAIL PROTECTED]experience everywhere http://www.dclick.com.br/blog -- Flexcoders 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] FB2 :: Flex printing
Hi I have used the package you are pointing at. To reproduce the bug try to print out a page with text and bitmap image (do not embed image load it dynamically). When you use FlexPrintJob package, you'll get bitmap quality printing which is not good at all for use in reports. When you use flash.print.PrintJob package you will get vector printing, but you won't get the image printed. My question was would there be an option to print images and text on one page in good vector printing quality? Is there a way to set FlexPrintJob to print in vector format? Dima Ulich --- David Mendels [EMAIL PROTECTED] wrote: Hi, a) Check out http://livedocs.macromedia.com/labs/1/flex/langref/mx/print/package-deta il.html b) Please be specific and give us reproducible bugs so we can address as many issues as possible and/or log ECRs for future! -David Adobe From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Phil Marston Sent: Wednesday, March 22, 2006 9:26 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] FB2 :: Flex printing I haven't used this yet, but our University teaching apps would certainly need good functionality here so hope there isn't a problem like there's been with the implementation of printing in Flash in the past. As far back as a Flash 5 project we hit a bug in the Flash player to do with printing nested movieClips - after months of trying to fix it someone from Macromedia eventually let us know that it was a known issue but they didn't think anyone would notice - as far as I'm aware it's never been fixed. Compared to all the other features in Flash, printing always seems to be a bit of a poor cousin sort of implementation. Maybe with Adobe's print heritage that will change . . . :-) Phil Dima Ulich wrote: I would like to ask adobe team. Do you guys have any plans on making printing from flex a bit easier? I think it is very important for RIAs to have very flexible printing feateres so users and devs wouldn't have problems creating different kind of reports. For now it is not event possible to print bitmap images aloing with vector graphics. To print images you need to have them embeded or use printAsBitmap feature, but printAsBitmap makes all the other things on page look nasty. It won't work for good reports. In Flex Beta past and new version there was a FlexPrintJob package it prints in bitmap format which makes it impossible for use. And flash.print.printJob package is pretty hard to use, and it doesn't solve the problem. Flexcoders, what do you think about printing in flex? Ulich Dima __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- __ 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/ __ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+ site+design+developmentw2=Computer+software+developmentw3=Software+des ign+and+developmentw4=Macromedia+flexw5=Software+development+best+prac ticec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ Computer software development http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=We b+site+design+developmentw2=Computer+software+developmentw3=Software+d esign+and+developmentw4=Macromedia+flexw5=Software+development+best+pr acticec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw Software design and development http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=
[flexcoders] Re: Is there a way to change the default error color of the TextInput border?
Thanks, Manish That has the same effect as the previous code, it changes the color of the ToolTip (error message) but not the border of the TextInput. I think I need to subclass the TextInput in order to get to the appropriate style property / attribute. However, I do not know what the appropriate style attribute is at this point. --- In flexcoders@yahoogroups.com, Manish Jethani [EMAIL PROTECTED] wrote: On 3/23/06, Libby [EMAIL PROTECTED] wrote: OK, that puts me halfway there by changing the color of the ToolTip. Is there a way to also change the border color of the TextInput (that shows when a validation error occurs)? I did a quick Google search and found this: http://www.asfusion.com/blog/entry/using-global-css-in-your-cfform _global.styles.ErrorTip.setStyle( borderColor, 0x339900); _global.styles.ErrorTip.setStyle( color, 0x00); Try it. Manish -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: mxmlc/compc versus web server compile
Ted, Thanks for the for depth of insight. My mind finally has got mxmlc/compc and build scripts in the right prespective. Renaun --- In flexcoders@yahoogroups.com, Ted Patrick [EMAIL PROTECTED] wrote: Renaun, We use ANT on developer machines and on the server for deployment. Typically a single build.xml file sits in the root of the SVN repository for a project. We typically define tasks for incremental SWF and RSL compilation, java compilation, and larger tasks for ground up builds. The smaller tasks are used during development for a faster edit compile debug cycle and the larger tasks are used for deployment or when larger changes have been integrated. Dave is being modest about the larger ANT tasks. In a majority of Cynergy Systems projects, running ANT tomcat.build ejects a fully configured Tomcat HTTP/HTTPS server with custom deployed WAR files including compiled SWF/RSL/JARS/JSP/HTML/SERVLETS. On any project, we are 12 minutes from having a full configured Tomcat server running on any machine. MXMLC/COMPC compilation is about 9 minutes of that build process. I have been working with the Flex2SDK and the compilation times are much improved at almost 100%-200% gains. On all Flex 2 projects we will be using the Flex2SDK and ANT for build automation both within Flex Builder and ANT directly. It seems like a lot of work but there is tremendous value gained in terms of software quality and reliability with a standardized build process. ANT does a tremendous amount of work for us so that we can focus on delivering great applications for our consulting clients. Cheers, Cynergy Systems, Inc. Theodore Patrick Sr. Consultant [EMAIL PROTECTED] tel: 1.866.CYNERGY http://www.cynergysystems.com From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Renaun Erickson Sent: Wednesday, March 22, 2006 6:55 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: mxmlc/compc versus web server compile Dave, Thanks for the response. So you use ANT build scripts on developers boxes? I see prefectly where the mxmlc builds make sense for server deployment. Renaun -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.2.6/287 - Release Date: 3/21/2006 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Flex 2.0: mxmlc question
Hi Roger; So, to link corelib.swc into my application, youd supply the path to corelib as an argument to the library-path option? Heres the command-line Im using: mxmlc -actionscript-classpath=D:\PerforceDepot\galiano\Galiano.Tobias_Patton\Client\classes -library-path D:\PerforceDepot\galiano\Galiano.Tobias_Patton\tools\compiler\Flex2b2\frameworks\libs\ D:\PerforceDepot\galiano\Galiano.Tobias_Patton\Client\oem\corelib\bin\corelib.swc -- D:\PerforceDepot\galiano\Galiano.Tobias_Patton\Client\DashboardJobsView\DashboardJobsView.mxml This compiles, but I get the following runtime error when I launch my application: Error: Key outOfBounds was not found in resource bundle SharedResources at mx.resource::ResourceBundle/getObject() at mx.resource::ResourceBundle/getString() at mx.collections::ListCollectionView$/::loadResources() at mx.managers::SystemManager$/registerInitCallback() at mx.collections::ListCollectionView$cinit() at global$init() at global$init() at _DashboardJobsView_FlexInit$/init() at mx.managers::SystemManager/::frameEndHandler() This used to work in Beta 1. If I remove the reference to corelib.swc from the command line (and comment out any code that depends on corelib), I can compile and run the application. Can you suggest what might be wrong with the way Im building the application? Thanks. Tobias. BTW: The reason flex-config.xml couldnt be found was that I was running mxmlc with java jar mxmlc.jar From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Roger Gonzalez Sent: Wednesday, March 22, 2006 8:09 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex 2.0: mxmlc question library-path makes SWCs available for resolving class dependencies. Thisis normally what you want. include-libraries forces all symbols in the SWCs to be included in the application, whether they are needed or not. I don't know why you'd get that error unless you're not using mxmlc or Flex Builder. By default, the compiler tries to load flex-config.xml out of ${flexlib}, which for mxmlc.exe is relative to the bin directory, and I suspect is set explicitly by Flex Builder. I don't know what the does not use a config file by default means. mxmlc certainly loads a flex-config.xml file by default. I'm not positive what Flex Builder does, though. In beta 2, you should be able to use -load-config+=otherfile.xml to overlay your config on top of the default config. In other words, the config file isn't required, but there are some default settings that are trying to load it. Something about your setup sounds broken. -rg From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tobias Patton Sent: Wednesday, March 22, 2006 4:38 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex 2.0: mxmlc question Can someone explain the difference between the -include-libraries and -library-path compiler options? The documentation states that -include-libraries is commonly used to link in an .swc file containing localized resources. But what about .swc file containing other .swc files used by the application? The documentation for -library-path implies that this option should be used to link in custom components. What is the difference? When I add a library in Flex Builder, does this translate to an -include-libraries option of a -library-path option? Also, the documentation states that the Flex compilers do not use a config file by default. However, unless I specify the -load-config option, I get the error: defaults: Error: unable to open './flex-config.xml'. Is this flag required or not? Thanks. Tobias. Creo Inc., a subsidiary of Kodak Tobias Patton | Software Developer | Tel: 1.604.451.2700 ext: 5148 | mailto:[EMAIL PROTECTED] | http://www.creo.com -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] How to create new custom Style in custom component?
Hi FlexCoders, I'm wondering how I can create new custom style in my ActionScript Component? And how to use it with StyleManager? Can anybody point me to documentation where this topic is described? Best regards Stanislav -- 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] Saving object graphs
ArrayCollection on the server extends ArrayList so that should work, but if you've got ManagedProxies instead of Books then it's likely the Book client type wasn't linked in to the SWF and/or properly registered with the correct [RemoteClass(alias=...)] metadata. Can you try adding a reference to the Book type in your code somewhere... Not just an import, but use it in a var type, or a function arg type or return type so that a dependency is created on the class and thus the compiler's optmizer will leave it in the SWF? Thanks, Pete -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of pepe_perez_perez_perez Sent: Thursday, March 23, 2006 8:22 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Saving object graphs Hi, I'm using data services with the JavaAdapter with the hierarchical values approach and I'm finding that when I invoke commit() from the client the object graph that I'm receiving in the server after the unmarshalling to Java is not what I'd expect. The original object graph that I sent to the client was: Library - Books (as an ArrayList) and the object graph I'm receiving is Library - Books (as an ArrayCollection of ManagedProxies). Hibernate is rejecting this graph on save (*). I don't know if this is the intended behaviour or not. Am I supposed to deep convert the Library object graph to the original form by my own?. Is there, in the HibernateAdapter, some class that I could use?. Thanks in advance, Pepe. (*) Please note that I'm not using the HibernateAdapter. I'm using the JavaAdapter with our current application which is Spring/Hibernate. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Headers of Panel in Flex 2 Similar to Flex 1.5
Does anyone know the event that gets fired by Panels or TitleWindows, when the user clicks the header? This should be what the PopUpManager listens for, to enable dragging. I would like to intercept that event, for custom dragging or to stop dragging. ScottOn 3/22/06, mvbaffa [EMAIL PROTECTED] wrote: Hi everybody, How can I set the appearance of Flex 2 Panels and TitleWindows headers similar to one of Flex 1.5 Thanks -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service . -- : : ) Scott -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] How to create new custom Style in custom component?
Sure, there is a chapter on this topic in the Creating Components book at: http://livedocs.macromedia.com/labs/1/flex20beta2/1813.html Stephen -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stanislav Zayarsky Sent: Thursday, March 23, 2006 11:30 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] How to create new custom Style in custom component? Hi FlexCoders, I'm wondering how I can create new custom style in my ActionScript Component? And how to use it with StyleManager? Can anybody point me to documentation where this topic is described? Best regards Stanislav -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] AS3 :: Interface type verses Concrete type return
2 pc: If you ever want to swap behaviors internally at runtime, use interfaces: : ) ScottOn 3/17/06, Michael Schmalle [EMAIL PROTECTED] wrote: Thanks roger, That answers my question exactly! :) This is how I program, so that makes me happy. Sometimes intuition of feeling goes along way with oop. Peace, MikeOn 3/17/06, Roger Gonzalez [EMAIL PROTECTED] wrote: My rules of thumb: When passed in from the outside, use an interface. There's generally no reason to bake in a dependency to a particular implementation, whereas adding a concrete type reference will make it strongly coupled; whenever your class is compiled, it will always force the other type to be linked in (ka-ching!). If using the interface feels awkward, there's probably a thinko in your (or our) design abstraction. When used internally, can you imagine any situation where you might use a different implemetation? If not, use a concrete type. -rg From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Michael SchmalleSent: Friday, March 17, 2006 6:05 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] AS3 :: Interface type verses Concrete type return Hello,The question I have is what is the general concensus dealing with how you pass and type a property.Would you type a property with a concerte type if it is used internally in a class ?Or with say ArrayCollection, you need to type it IListViewCollection?I guess the real question is, where is the line between interface implementation and concrete implementation?It's a lot easier to use the getItemAt() of array collection then the cursor internally sometimes, but for a returned type I do understand that you want to hide that by using the interface of ArrayCollection's IListViewCollection.If I keep the interface type this is forcing the client to use the IViewCursor right?Now, is this the standard practice the methods like getItemAt() are only supposed to be used by the objects owner not a client?I'm just trying to nail standard practices here.This question really pertains to the ArrayCollection for me right now. Peace, MikePS Yes, program to an interface not to an implementation. Sorry if this post might not be clear. I am having a hard time explaing what my true question is :)-- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service . -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service . -- : : ) Scott -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] How to create new custom Style in custom component?
I believe the simplest way is to look in the generated code - it gives you the better understanding on both code and timing. The code would go like this: .. var style:CSSStyleDeclaration;style = StyleManager.getStyleDeclaration(".yourStyleName");if (!style){style = new CSSStyleDeclaration();StyleManager.setStyleDeclaration(".yourStyleName", style, false);}if (style.factory == null){style.factory = function():void{this.paddingBottom = 0;this.paddingTop = 0;};} Hope this helps, Anatole Tartakovsky - Original Message - From: Stanislav Zayarsky To: flexcoders@yahoogroups.com Sent: Thursday, March 23, 2006 11:29 AM Subject: [flexcoders] How to create new custom Style in custom component? Hi FlexCoders,I'm wondering how I can create new custom style in my ActionScriptComponent? And how to use it with StyleManager?Can anybody point me to documentation where this topic is described?Best regardsStanislav -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] How to create new custom Style in custom component?
Thanks Anatole, This helps! Best regards Stanislav On 3/23/06, Anatole Tartakovsky [EMAIL PROTECTED] wrote: I believe the simplest way is to look in the generated code - it gives you the better understanding on both code and timing. The code would go like this: .. var style:CSSStyleDeclaration; style = StyleManager.getStyleDeclaration(.yourStyleName); if (!style) { style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(.yourStyleName, style, false); } if (style.factory == null) { style.factory = function():void { this.paddingBottom = 0; this.paddingTop = 0; }; } Hope this helps, Anatole Tartakovsky - Original Message - From: Stanislav Zayarsky To: flexcoders@yahoogroups.com Sent: Thursday, March 23, 2006 11:29 AM Subject: [flexcoders] How to create new custom Style in custom component? Hi FlexCoders, I'm wondering how I can create new custom style in my ActionScript Component? And how to use it with StyleManager? Can anybody point me to documentation where this topic is described? Best regards Stanislav -- 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. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. - Original Message - From: Stanislav Zayarsky To: flexcoders@yahoogroups.com Sent: Thursday, March 23, 2006 11:29 AM Subject: [flexcoders] How to create new custom Style in custom component? Hi FlexCoders, I'm wondering how I can create new custom style in my ActionScript Component? And how to use it with StyleManager? Can anybody point me to documentation where this topic is described? Best regards Stanislav -- 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. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 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 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] How to create new custom Style in custom component?
Thanks Stephen, I suppose it will work with Flex 1.5 too? Best regards Stanislav On 3/23/06, Stanislav Zayarsky [EMAIL PROTECTED] wrote: Thanks Anatole, This helps! Best regards Stanislav On 3/23/06, Anatole Tartakovsky [EMAIL PROTECTED] wrote: I believe the simplest way is to look in the generated code - it gives you the better understanding on both code and timing. The code would go like this: .. var style:CSSStyleDeclaration; style = StyleManager.getStyleDeclaration(.yourStyleName); if (!style) { style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(.yourStyleName, style, false); } if (style.factory == null) { style.factory = function():void { this.paddingBottom = 0; this.paddingTop = 0; }; } Hope this helps, Anatole Tartakovsky - Original Message - From: Stanislav Zayarsky To: flexcoders@yahoogroups.com Sent: Thursday, March 23, 2006 11:29 AM Subject: [flexcoders] How to create new custom Style in custom component? Hi FlexCoders, I'm wondering how I can create new custom style in my ActionScript Component? And how to use it with StyleManager? Can anybody point me to documentation where this topic is described? Best regards Stanislav -- 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. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. - Original Message - From: Stanislav Zayarsky To: flexcoders@yahoogroups.com Sent: Thursday, March 23, 2006 11:29 AM Subject: [flexcoders] How to create new custom Style in custom component? Hi FlexCoders, I'm wondering how I can create new custom style in my ActionScript Component? And how to use it with StyleManager? Can anybody point me to documentation where this topic is described? Best regards Stanislav -- 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. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 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 Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Re: mxmlc/compc versus web server compile
The real key to ANT is leveraging the depends property. target name=flex.build depends=rsl.build / In this case calling ANT flex.build, will first run rsl.build just before running flex.build. depends allows you to create a very large build from very small encapsulated _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Renaun Erickson Sent: Thursday, March 23, 2006 10:48 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: mxmlc/compc versus web server compile Ted, Thanks for the for depth of insight. My mind finally has got mxmlc/compc and build scripts in the right prespective. Renaun --- In flexcoders@yahoogroups.com, Ted Patrick [EMAIL PROTECTED] wrote: Renaun, We use ANT on developer machines and on the server for deployment. Typically a single build.xml file sits in the root of the SVN repository for a project. We typically define tasks for incremental SWF and RSL compilation, java compilation, and larger tasks for ground up builds. The smaller tasks are used during development for a faster edit compile debug cycle and the larger tasks are used for deployment or when larger changes have been integrated. Dave is being modest about the larger ANT tasks. In a majority of Cynergy Systems projects, running ANT tomcat.build ejects a fully configured Tomcat HTTP/HTTPS server with custom deployed WAR files including compiled SWF/RSL/JARS/JSP/HTML/SERVLETS. On any project, we are 12 minutes from having a full configured Tomcat server running on any machine. MXMLC/COMPC compilation is about 9 minutes of that build process. I have been working with the Flex2SDK and the compilation times are much improved at almost 100%-200% gains. On all Flex 2 projects we will be using the Flex2SDK and ANT for build automation both within Flex Builder and ANT directly. It seems like a lot of work but there is tremendous value gained in terms of software quality and reliability with a standardized build process. ANT does a tremendous amount of work for us so that we can focus on delivering great applications for our consulting clients. Cheers, Cynergy Systems, Inc. Theodore Patrick Sr. Consultant [EMAIL PROTECTED] tel: 1.866.CYNERGY HYPERLINK http://www.cynergysystems.comhttp://www.cynergysystems.com From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Renaun Erickson Sent: Wednesday, March 22, 2006 6:55 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: mxmlc/compc versus web server compile Dave, Thanks for the response. So you use ANT build scripts on developers boxes? I see prefectly where the mxmlc builds make sense for server deployment. Renaun -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.2.6/287 - Release Date: 3/21/2006 -- Flexcoders Mailing List FAQ: HYPERLINK http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txthttp://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: HYPERLINK http://www.mail-archive.com/flexcoders%40yahoogroups.comhttp://www.mail-archive.com/flexcoders%40yahoogroups.com _ YAHOO! GROUPS LINKS *Visit your group HYPERLINK http://groups.yahoo.com/group/flexcodersflexcoders; on the web. *To unsubscribe from this group, send an email to: HYPERLINK mailto:[EMAIL PROTECTED][EMAIL PROTECTED] *Your use of Yahoo! Groups is subject to the HYPERLINK http://docs.yahoo.com/info/terms/Yahoo! Terms of Service. _ -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.3.0/290 - Release Date: 3/23/2006 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.3.0/290 - Release Date: 3/23/2006 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] Headers of Panel in Flex 2 Similar to Flex 1.5
hi mvbaffa, forget about what I said, the api changed in beta2, correct way to do that is now : borderAlpha = 1; headerColors = [0xE7E7E7, 0xD9D9D9]; which will make a aqua-alike panel with grey-gradient titlebar. jeremy. On 3/22/06, mvbaffa [EMAIL PROTECTED] wrote: Hi everybody, How can I set the appearance of Flex 2 Panels and TitleWindows headers similar to one of Flex 1.5 Thanks -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service . -- : : ) Scott -- 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 Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Headers of Panel in Flex 2 Similar to Flex 1.5
hi scott, extends Panel/TitleWindow then use following code: this.titleBar.addEventListener(mouseDown, onMouseDown); you can pretty much do anything you like to titleBar. jeremy. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] GetCamera(someCam) returns null (Beta 2)
Hi there, Im trying to get a specific camera like this: for(var i:uint = 0; i Camera.names.length; i+){ if(Camera.names[i] == VHScrCap){ ssCamera = Camera.getCamera(Camera.names[i]); ssCamera.setMode(640, 480,10,true); ssCamera.setQuality(0,50); break; } } In debugging, I can see that Camera.names returns the wanted Cam but Camera.getCamera(Camera.names[i]) always return null. That cam isnt being used . 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] Re: mxmlc/compc versus web server compile
The real key to ANT is leveraging the depends property. target name=flex.build depends=rsl.build / In this case calling ANT flex.build, will first run rsl.build just before running flex.build. depends allows you to create a very large build from very small encapsulated tasks. It is the lever that makes ANT so powerful in both the large and in the small. I have to admit that I was not an ANT fan prior to joining Cynergy and tended to use Python for build automation. The key difference is that each python build script was exact but limited in its reusability in a larger build process. Although I still prefer a real language over XML tag logic any day of the week, its more readable, more understandable. Then again it would take a mountain of work to eject a fully configured Tomcat instance from Python and life is too short! Cheers, Cynergy Systems, Inc. Theodore Patrick Sr. Consultant [EMAIL PROTECTED] tel: 1.866.CYNERGY http://www.cynergysystems.com -- Ted, Thanks for the for depth of insight. My mind finally has got mxmlc/compc and build scripts in the right prespective. Renaun -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.3.0/290 - Release Date: 3/23/2006 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] CairngormLogin sample on Flex 2.0 beta 2
Hello everybody, I am trying to use Cairngorm 2.0 with the new Flex 2.0 beta 2. And for that, I am trying to run the CairngormLogin sample. I changed some things that happen between beta 1 and beta 2 of Flex 2.0, but I have still a Problem: To the line «mx:ViewStack id=appView selectedChild={ getView( model.workflowState ) }» in CairngormLogin.mxml, I have this problem: «Implicit coercion of a value with static type mx.core:UIComponent to a possibly unrelated type mx.core:Container» Is someone can explain to me what does it mean? William. -- 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] TitleWindow lost focus on startup
I have a TitleWindow set to popup at the startup of my application. I use this window at other points in the program with absolutely no problems. But when it's called on startup using the 'initialize' event on my main canvas, it opens the popup, and it functions fairly normally, but A: does not obtain focus automatically, B: does not capture tab key presses. The loginWin TitleWindow is set to setFocus() on one of the text input boxes... It highlights it in blue, but when you type, the text doesn't go into it, unless you manually click in teh box. Then if I hit tab, it tabs through the items in my main canvas, vs tabbing through items in the popup. I'm guessing this is somehow related to the window loading before the main components are finished initializing, but I'm not sure how to get around this. I've tried all sorts of tips and tricks, but still can't get it to work. Any suggestions would be appreciated. Code snippits below: Main Canvas: mx:Canvas id=mainCanvas width=100% height=100% initialize=startUp(); loginWin definition: var loginWin:Object; startUp() function: function startUp() { loginWin=TitleWindow(PopUpManager.createPopUp(mainCanvas, loginBox , true)); loginWin.mainApp = this; loginWin.centerPopUp(); } -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Flex Action Script 2.0 Related Books Sites
ActionScript 3.0 guide http://livedocs.macromedia.com/flex/20beta1/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=2352.html Similar one exists for Flex and MXML programming. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of srini vasan Sent: Thursday, March 23, 2006 3:39 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex Action Script 2.0 Related Books Sites Hi I am new starter on flex and action script 2.0. Please can you any one suggest mewhat are all the books avialble related to flex and action script 2.0in indian editions and flex action scrit 2.0learning related sites. Thanks Jiyo cricket on Yahoo! India cricket Yahoo! Messenger Mobile Stay in touch with your buddies all the time. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Re: Flex Beta 2 - Loader not loading SWF 100%
Thanks Bruno and Doug, This is on the right track (though I still do not know why this worked in beta 1 with out all this extra code). Bruno, your code worked for me fine (flex 2 version of Doug's idea). When I load my inner app, the content resizes perfectly (see inner app below). The only trouble I am having now it a basic problem that anyone could probably help me with. The event listener for the 'resize' is still being called from the shell when I try to load a second inner app. I have been trying to use removeListener but do not seam to find an event that lets me know when the first inner app is being removed (or unloaded). I have tried to call unload() on the instance of the Loader app in the shell app and keep getting the error 'Call to a possibly undefined method 'unLoad' through a reference with static type 'mx.controls:Loader' Is there an event I can make the inner app listen for that tells me that it is being removed when I load a new inner app (or is it being removed)? Thanks Ross P.S. Bruno, as for your question, using your code and the fact that my inner apps scale using the layout anchors, I did not have to talk to the inner app from the shell app. I have tried using the LoaderInstanceName.content.propertyInInnerApp and I can not get around the same compliler error as stated above. Thanks for your help. Code for sample inner app the resizes to fit == ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; mlns=* layout=absolute width=100% height=100% creationComplete=initApp(); paddingBottom=0 paddingLeft=0 paddingRight=0 paddingTop=0 mx:Script import flash.util.trace; private function resizeLoader(event:Event = null):void { width = parent.parent.parent.width; height = parent.parent.parent.height; } public function unLoader():void { trace('unLoader called') parent.parent.parent.removeEventListener(resize, resizeLoader); } private function initApp():void { resizeLoader(); parent.parent.parent.addEventListener(resize, resizeLoader); } /mx:Script mx:Canvas left=0 right=0 top=0 bottom=0 id=main mx:DataGrid id=dg left=0 top=0 bottom=0 right=0 mx:columns mx:DataGridColumn headerText=Column 1 dataField=col1/ mx:DataGridColumn headerText=Column 2 dataField=col2/ mx:DataGridColumn headerText=Column 3 dataField=col3/ /mx:columns /mx:DataGrid /mx:Canvas /mx:Application --- In flexcoders@yahoogroups.com, Bruno Martins [EMAIL PROTECTED] wrote: Hi, I did a poor solution to this problem but I believe that is a start to solve the problem: I put the following code in the application that will be loaded: private function resizeLoader(event:Event = null):void { width = parent.parent.parent.width; height = parent.parent.parent.height; } private function initApp():void{ resizeLoader(); parent.parent.parent.addEventListener(resize, resizeLoader); } onCreationComplete execute the initApp()... I try to create a AppLoader component extend the loader and adjust the content after the complete event but I don't know how to access the content proprieties, if some one know how to change the content properties please let me know... Tks... On 3/22/06, Doug Lowder [EMAIL PROTECTED] wrote: I know in 1.5 the trick was to provide the loaded (inner) app with getPreferredHeight() and getPreferredWidth() functions; may be worth a try in your case if you are able to modify the code for the loaded apps. In AS2, it was: function getPreferredHeight() { return _parent? _parent.layoutHeight : super.getPreferredHeight(); } function getPreferredWidth() { return _parent? _parent.layoutWidth : super.getPreferredWidth (); } --- In flexcoders@yahoogroups.com, inawire ross@ wrote: With further testing, the loaded (inner) app (application.width) is scailing to the correct size on initial load. When the outer shell resizes, the inner app resize does not get called (it does when it runs on its own). Also when the inner app first loads, thought the inner app is showing the correct width available, the inner content does not scale to fit available size of the inner app. Does anyone have any ideas? Ross --- In flexcoders@yahoogroups.com, Bruno Martins bheman@ wrote: I had the same problem, but I don't fix yet. On 3/21/06, inawire ross@ wrote: Hi I just converted my app to Beta 2. Ran the conversion scripts, switch layout constraintes, changed LinkBar click to itemClick (that got me),worked through some new warnings that were not present before. Everything works fine now ... but (always a but) I'm loading other Flex apps
[flexcoders] Re: Saving object graphs
Can you try adding a reference to the Book type in your code somewhere... [Bindable] public var book : Book = new Book(); And, ¡bingo!, works perfectly. I don't know why I don't ask for help before. Have been with this 3 days. If that is the intended behaviour I'd report that as an error. Another problem now is that the Books are losing the backreference to Library but I'd send another message if I could not solve it by myself. Thanks a lot, Pepe. -- 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] Where is the IncludeLayout
Hi all, Flex 2 beta 1 had a property, includeLayout, that relased the screen space of invisible components. I could not find it in Beta 2. Does anyone knows what is the new name os includeLayout. Thanks in advance -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Re: dynamically creating a remote object
I don't know of a specific example. I would try use the same methodology and just substitute RemoteObject. You might find an example via google. Is there a very good reason you need to do this? You do understand that you can declare a data service in mxml and then manipulate it programmatically, right? Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of deepu_verma Sent: Thursday, March 23, 2006 2:11 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: dynamically creating a remote object Thanks Tracy, but the example is for web service. Where can I get the syntax for RemoteObject call. Thanks dv --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: This is not supported in 1.5, but is possible to do. See this article: http://jeff.mxdj.com/calling_a_webservice_purely_through_as.htm Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of deepu_verma Sent: Wednesday, March 22, 2006 6:50 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] dynamically creating a remote object How can I dynamically create an instance of remote object in flex 1.5 I am trying the following testRemote = mx.core.Application.application.createClassObject(mx.servicetags.RemoteO bject, text_mc, 0, {endpoint:http://dverma01.corp.adobe.com:8300/cfusion/flashservices/gat eway/, source:webreqapp.test,result:testText.text=event.result}); mx.core.Application.application.text_mc.test(); Thanks dv -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] AS3 :: Interface type verses Concrete type return
Thanks Scott, The question was really aimed at ArrayCollection, so internally I type it as ArrayCollection and if say a public methods returns it, I would use ICollectionView, then this as you said allows me to swap behaviors in the client class. Peace, MikeOn 3/23/06, Scott Langeberg [EMAIL PROTECTED] wrote: 2 pc: If you ever want to swap behaviors internally at runtime, use interfaces: : ) Scott On 3/17/06, Michael Schmalle [EMAIL PROTECTED] wrote: Thanks roger, That answers my question exactly! :) This is how I program, so that makes me happy. Sometimes intuition of feeling goes along way with oop. Peace, MikeOn 3/17/06, Roger Gonzalez [EMAIL PROTECTED] wrote: My rules of thumb: When passed in from the outside, use an interface. There's generally no reason to bake in a dependency to a particular implementation, whereas adding a concrete type reference will make it strongly coupled; whenever your class is compiled, it will always force the other type to be linked in (ka-ching!). If using the interface feels awkward, there's probably a thinko in your (or our) design abstraction. When used internally, can you imagine any situation where you might use a different implemetation? If not, use a concrete type. -rg From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Michael SchmalleSent: Friday, March 17, 2006 6:05 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] AS3 :: Interface type verses Concrete type return Hello,The question I have is what is the general concensus dealing with how you pass and type a property.Would you type a property with a concerte type if it is used internally in a class ?Or with say ArrayCollection, you need to type it IListViewCollection?I guess the real question is, where is the line between interface implementation and concrete implementation?It's a lot easier to use the getItemAt() of array collection then the cursor internally sometimes, but for a returned type I do understand that you want to hide that by using the interface of ArrayCollection's IListViewCollection.If I keep the interface type this is forcing the client to use the IViewCursor right?Now, is this the standard practice the methods like getItemAt() are only supposed to be used by the objects owner not a client?I'm just trying to nail standard practices here.This question really pertains to the ArrayCollection for me right now. Peace, MikePS Yes, program to an interface not to an implementation. Sorry if this post might not be clear. I am having a hard time explaing what my true question is :)-- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service . -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service . -- : : ) Scott -- 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. -- What goes up,
[flexcoders] How to enumerate ApplicationDomain classes?
Hi All, ApplicationDomain provides getClass(getDefinition??) method to retrieve class definition. Is it possible to enumerate all available class definitions or class names loaded by certain application domain at runtime from AS code? -- Thanks, Vadim Melnik. -- 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: TitleWindow lost focus on startup
I did quite a bit of investigation on this, including Jester's take on the problem over on his site. The root of the problem is that the browser does not automatically give the Flash player focus when the page loads. For Internet Explorer, there is a way to accomplish this through Javascript. As far as I know, Mozilla browsers do not allow setting the focus to a plugin via Javascript. Here is html that you can use as a wrapper to set the focus to a Flash app on startup. Just set the mxmlname and url variables approiately for your case and browse to the html page instead of your mxml app. html head titleAboveNet Customer Portal/title /head script language=JavaScript !-- var mxmlname = app.mxml; var url = http://server:port/path/; + mxmlname; var flashname = mxmlname + .swf; var appframename = appframe; function setInitialFocus(sFrame, sFlash) { document.frames[sFrame].document[sFlash].focus(); } document.writeln(frameset onload=\setInitialFocus(' + appframename + ', ' + flashname + ')\); document.writeln(frame name=' + appframename + ' scrolling='no' width='100%' height='100%' + frameborder=0 topmargin=0 bottommargin=0 leftmargin=0 rightmargin=0 marginwidth=0 marginheight=0 + src=' + url + '); document.writeln(/frame); document.writeln(/frameset); //-- /script /html --- In flexcoders@yahoogroups.com, xithor [EMAIL PROTECTED] wrote: I have a TitleWindow set to popup at the startup of my application. I use this window at other points in the program with absolutely no problems. But when it's called on startup using the 'initialize' event on my main canvas, it opens the popup, and it functions fairly normally, but A: does not obtain focus automatically, B: does not capture tab key presses. The loginWin TitleWindow is set to setFocus() on one of the text input boxes... It highlights it in blue, but when you type, the text doesn't go into it, unless you manually click in teh box. Then if I hit tab, it tabs through the items in my main canvas, vs tabbing through items in the popup. I'm guessing this is somehow related to the window loading before the main components are finished initializing, but I'm not sure how to get around this. I've tried all sorts of tips and tricks, but still can't get it to work. Any suggestions would be appreciated. Code snippits below: Main Canvas: mx:Canvas id=mainCanvas width=100% height=100% initialize=startUp(); loginWin definition: var loginWin:Object; startUp() function: function startUp() { loginWin=TitleWindow(PopUpManager.createPopUp (mainCanvas, loginBox , true)); loginWin.mainApp = this; loginWin.centerPopUp(); } -- 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] Where is the IncludeLayout
This property is includeInLayout (one of the best addition in beta1!). Benoit Hediard -Message d'origine- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de mvbaffa Envoyé : jeudi 23 mars 2006 16:06 À : flexcoders@yahoogroups.com Objet : [flexcoders] Where is the IncludeLayout Hi all, Flex 2 beta 1 had a property, includeLayout, that relased the screen space of invisible components. I could not find it in Beta 2. Does anyone knows what is the new name os includeLayout. Thanks in advance -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- 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: TitleWindow lost focus on startup
A more appropriate page title would probably be in order, too. ;) --- In flexcoders@yahoogroups.com, Doug Lowder [EMAIL PROTECTED] wrote: I did quite a bit of investigation on this, including Jester's take on the problem over on his site. The root of the problem is that the browser does not automatically give the Flash player focus when the page loads. For Internet Explorer, there is a way to accomplish this through Javascript. As far as I know, Mozilla browsers do not allow setting the focus to a plugin via Javascript. Here is html that you can use as a wrapper to set the focus to a Flash app on startup. Just set the mxmlname and url variables approiately for your case and browse to the html page instead of your mxml app. html head titleAboveNet Customer Portal/title /head script language=JavaScript !-- var mxmlname = app.mxml; var url = http://server:port/path/; + mxmlname; var flashname = mxmlname + .swf; var appframename = appframe; function setInitialFocus(sFrame, sFlash) { document.frames[sFrame].document[sFlash].focus(); } document.writeln(frameset onload=\setInitialFocus(' + appframename + ', ' + flashname + ')\); document.writeln(frame name=' + appframename + ' scrolling='no' width='100%' height='100%' + frameborder=0 topmargin=0 bottommargin=0 leftmargin=0 rightmargin=0 marginwidth=0 marginheight=0 + src=' + url + '); document.writeln(/frame); document.writeln(/frameset); //-- /script /html --- In flexcoders@yahoogroups.com, xithor frog@ wrote: I have a TitleWindow set to popup at the startup of my application. I use this window at other points in the program with absolutely no problems. But when it's called on startup using the 'initialize' event on my main canvas, it opens the popup, and it functions fairly normally, but A: does not obtain focus automatically, B: does not capture tab key presses. The loginWin TitleWindow is set to setFocus() on one of the text input boxes... It highlights it in blue, but when you type, the text doesn't go into it, unless you manually click in teh box. Then if I hit tab, it tabs through the items in my main canvas, vs tabbing through items in the popup. I'm guessing this is somehow related to the window loading before the main components are finished initializing, but I'm not sure how to get around this. I've tried all sorts of tips and tricks, but still can't get it to work. Any suggestions would be appreciated. Code snippits below: Main Canvas: mx:Canvas id=mainCanvas width=100% height=100% initialize=startUp(); loginWin definition: var loginWin:Object; startUp() function: function startUp() { loginWin=TitleWindow(PopUpManager.createPopUp (mainCanvas, loginBox , true)); loginWin.mainApp = this; loginWin.centerPopUp(); } -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Re: How to hide backMonthButton and fwdMonthButton of DateChooser Control?
Hmmm... these properties are no longer public, but you could always use geChildAt() to get references to anything to want inside a component. It looks like they'd be getChildAt(10) and getChildAt(11). - Gordon -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of flexhtoo Sent: Thursday, March 23, 2006 12:07 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: How to hide backMonthButton and fwdMonthButton of DateChooser Control? --- In flexcoders@yahoogroups.com, Gordon Smith [EMAIL PROTECTED] wrote: In Beta 2, try mx:DateChooser initialize=backMonthButton.visible = false; fwdMonthButton.visible = false/ - Gordon Thanks Gordon for your reply. It get work in Beta 1. Do you know New Flex Beta 2 come out? I wanna know for Beta 2. In Beta 2, there are problems message: Access of undefined property 'backMonthButton' Access of undefined property 'fwdMonthButton'. http://labs.macromedia.com/wiki/index.php/Flex:Beta_1_to_Beta_2_Changes# Changes_to_the_mx.controls_Package Thanks. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of flexhtoo Sent: Wednesday, March 22, 2006 10:04 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] How to hide backMonthButton and fwdMonthButton of DateChooser Control? I want to konw how to hide backMonthButton and fwdMonthButton of DateChooser in Flex Beta 2. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] How to create new custom Style in custom component?
That will work for Flex 2.0 only. Stephen -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stanislav Zayarsky Sent: Thursday, March 23, 2006 12:13 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] How to create new custom Style in custom component? Thanks Stephen, I suppose it will work with Flex 1.5 too? Best regards Stanislav On 3/23/06, Stanislav Zayarsky [EMAIL PROTECTED] wrote: Thanks Anatole, This helps! Best regards Stanislav On 3/23/06, Anatole Tartakovsky [EMAIL PROTECTED] wrote: I believe the simplest way is to look in the generated code - it gives you the better understanding on both code and timing. The code would go like this: .. var style:CSSStyleDeclaration; style = StyleManager.getStyleDeclaration(.yourStyleName); if (!style) { style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(.yourStyleName, style, false); } if (style.factory == null) { style.factory = function():void { this.paddingBottom = 0; this.paddingTop = 0; }; } Hope this helps, Anatole Tartakovsky - Original Message - From: Stanislav Zayarsky To: flexcoders@yahoogroups.com Sent: Thursday, March 23, 2006 11:29 AM Subject: [flexcoders] How to create new custom Style in custom component? Hi FlexCoders, I'm wondering how I can create new custom style in my ActionScript Component? And how to use it with StyleManager? Can anybody point me to documentation where this topic is described? Best regards Stanislav -- 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. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. - Original Message - From: Stanislav Zayarsky To: flexcoders@yahoogroups.com Sent: Thursday, March 23, 2006 11:29 AM Subject: [flexcoders] How to create new custom Style in custom component? Hi FlexCoders, I'm wondering how I can create new custom style in my ActionScript Component? And how to use it with StyleManager? Can anybody point me to documentation where this topic is described? Best regards Stanislav -- 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. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 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 Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Re: Flex 2.0 b2: 'getClassByName' method of the 'flash.util' package
-include-libraries will force entire SWCs to be linked in. (And Beta 3 will have -include, which will do it for individual definitions.) A better path might be to dynamically load another SWF that contains the definitions that you want to have soft references to. -rg -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Vadim Melnik Sent: Thursday, March 23, 2006 4:49 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Flex 2.0 b2: 'getClassByName' method of the 'flash.util' package Is there some special mxmlc option to prevent optimization, and force compiler to include all classes from classpath or at least imported ones (like import MyClass;) ? I saw -compiler.keep-all- type-selectors option, described as disables the pruning of unused type selectors (advanced), but don't clearly understand it effect. -- Thanks, Vadim Melnik. --- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED] wrote: No, you must have a refernence to MyClass somewhere in your code in order for it to be linked in to the SWF at compile time. A string 'myPackage.MyClass' does not constitute a reference. This is not a bug - the compiler must optimize what classes are actually needed to keep the SWF size down. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of tyombria Sent: Wednesday, March 22, 2006 4:44 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex 2.0 b2: 'getClassByName' method of the 'flash.util' package Hi, all. Method 'getClassByName' works correctly only with adobe classes. For example, getClassByName('flash.net.URLLoader') works fine. I've got a problem with my custom classes. For example: var myClassReference:MyClass = getClassByName('myPackage.MyClass'); I get error: Error #1065: Variable MyClass is not defined. Class exists in classpath or in the library. If i put somewhere inside declaration block: var myClass:MyClass It (getClassByName) works fine. Is it a bug? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Cannot print text in chart running on linux server, urgent!
Hi, everyone, I'm dying... It's our local time 3:00 a.m. It is the first time for us to depoy the flex 1.5 code to linux server. As the result, all the text in the chart cannot be printed at all using flex print function while it's ok in windows, and there are many display features different with in windows. Maybe it is due to AWT's poor graphic function? There is no graphic card on the linux server. Anyway, I have never realized that before. Could anyone kindly help me? Thanks a lot!!! -- 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] Flash custom components in Flex 2
Hi... due to changes between the virtual machines in Flash Player 8 and 8.5, there is no cross-compatibility with scripting between the two versions. Until the new AS3-basedversion of Flash Authoring comes out, we are only supporting a workflow based on non-scripted assets. You basically will create individual assets in Flash 8, export them in the library with a unique name, and then use Embed in Flex 2 to pull them in. All scripting needs to be done on the Flex side. You can either use var-level Embed to have an AS3 class for your asset created for you, or you can use class-level Embed on an appropriate class for the particular asset type you want to use. See the docs on skinning for more details. -rg From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jonathan BezuidenhoutSent: Thursday, March 23, 2006 6:58 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Flash custom components in Flex 2 Hi everyone,In the Flex 1.5 docs there was a section on how to make a custom component in Flash and how to export it etc for use in Flex. I have noticed that this content is missing from the new Flex 2 docs.Is this not encouraged anymore or have they just not been included?I have tried to make a swc component using the directions in the old docs. I am not very good with Flash at all - but here is what I did: I am trying something simple - I create a graphic in Flash - in the library, I make the graphic to be a component called Navigator and I have an associated .as class file like this:class Navigator extends mx.core.UIComponent { static var symbolName:String="Navigator"; static var symbolOwner:Object="Navigator"; var className:String="Navigator"; function Navigator() { } function init() { super.init(); invalidate(); }}I then export this as a swc and call it Navigator.swc. I place this swc file in the root of my app - the same place where the mxml files are. In my main.mxml I then try and instantiate it as Navigator /The Flex Builder compiler then says 'Could not resolve Navigator to be a component implementation.Do I need to do anything else?The end result needs (I guess once I have the basic thing above working) is to have a graphic with a bunch of objects of different shapes that are actually buttons - but they do not look like buttons - they have irregualr edges and I need to be able to disable/enable them from Flex and monitor in Flex when they get clicked etc. Any idea as to where I am going wrong?ThanksJonathan -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Re: Saving object graphs
It is intended behavior and it's not an error (although a common one). If you don't create a reference to the class the optimizer won't keep it in the swf. If you didn't do this then each SWF would contain every class in the classpath - this is not good. An import doesn't guarantee the class will be used. Note that you don't need to make it bindable nor public nor does it necessarily have to be a variable to create a reference... also, I'd suggest making it static if you don't have a legitimate place in your API to create a reference to the class so that it doesn't effect every instance of the component (well, if it's on the top level Application this isn't as important). -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of pepe_perez_perez_perez Sent: Thursday, March 23, 2006 12:22 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Saving object graphs Can you try adding a reference to the Book type in your code somewhere... [Bindable] public var book : Book = new Book(); And, ¡bingo!, works perfectly. I don't know why I don't ask for help before. Have been with this 3 days. If that is the intended behaviour I'd report that as an error. Another problem now is that the Books are losing the backreference to Library but I'd send another message if I could not solve it by myself. Thanks a lot, Pepe. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Bug in list.selectedIndices
Just a quick note to Adobe: I reported a bug in Flex 2 Beta 1 where the selectedIndices property of a list control would not contain the correct values if the user selected multiple entries using the shift key. The problems is still in Beta 2. Thanks. Tobias. Creo Inc., a subsidiary of Kodak Tobias Patton | Software Developer | Tel: 1.604.451.2700 ext: 5148 | mailto:[EMAIL PROTECTED] | http://www.creo.com -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Closing tab - Eclipse style
Is there a way to decorate the Flex tabs with a [x] so that one can click on it to close the tab, similar to how it is done in eclipse? -- 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] CairngormLogin sample on Flex 2.0 beta 2
Hi William, I asked the same thing few posts earlier, just look for Cairngorm beta release? or click hereOriol. 2006/3/23, William Lambé [EMAIL PROTECTED]: Hello everybody, I am trying to use Cairngorm 2.0 with the new Flex 2.0 beta 2. And for that, I am trying to run the CairngormLogin sample. I changed some things that happen between beta 1 and beta 2 of Flex 2.0, but I have still a Problem: To the line «mx:ViewStack id=appView selectedChild={ getView( model.workflowState ) }» in CairngormLogin.mxml, I have this problem: «Implicit coercion of a value with static type 'mx.core:UIComponent' to a possibly unrelated type 'mx.core:Container'» Is someone can explain to me what does it mean? William. -- 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 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] Headers of Panel in Flex 2 Similar to Flex 1.5
Thanks so much. That's what I've been looking for, for some time!!ScottOn 3/23/06, jeremy lu [EMAIL PROTECTED] wrote: hi scott, extends Panel/TitleWindow then use following code: this.titleBar.addEventListener(mouseDown, onMouseDown); you can pretty much do anything you like to titleBar. jeremy. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service . -- : : ) Scott -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] AS3 :: Interface type verses Concrete type return
I'm not sure if this is what you're looking for, but this is what i'm trying to illustrate:Class A { var collection:ICollectionView function setCollection(newCollection:ICollectionView) { collection = newCollection; }}In this case, an instance of A can change its collection implementation at runtime, as long as that implementation is from ICollectionView. This may be unapplicable in your case, but this approach is very flexible in OOP. For instance, in the Strategy pattern, an object is able to change its behaviors at runtime, based on the behavior object(s) it contains internally. ScottOn 3/23/06, Michael Schmalle [EMAIL PROTECTED] wrote: Thanks Scott, The question was really aimed at ArrayCollection, so internally I type it as ArrayCollection and if say a public methods returns it, I would use ICollectionView, then this as you said allows me to swap behaviors in the client class. Peace, MikeOn 3/23/06, Scott Langeberg [EMAIL PROTECTED] wrote: 2 pc: If you ever want to swap behaviors internally at runtime, use interfaces: : ) Scott On 3/17/06, Michael Schmalle [EMAIL PROTECTED] wrote: Thanks roger, That answers my question exactly! :) This is how I program, so that makes me happy. Sometimes intuition of feeling goes along way with oop. Peace, MikeOn 3/17/06, Roger Gonzalez [EMAIL PROTECTED] wrote: My rules of thumb: When passed in from the outside, use an interface. There's generally no reason to bake in a dependency to a particular implementation, whereas adding a concrete type reference will make it strongly coupled; whenever your class is compiled, it will always force the other type to be linked in (ka-ching!). If using the interface feels awkward, there's probably a thinko in your (or our) design abstraction. When used internally, can you imagine any situation where you might use a different implemetation? If not, use a concrete type. -rg From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Michael SchmalleSent: Friday, March 17, 2006 6:05 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] AS3 :: Interface type verses Concrete type return Hello,The question I have is what is the general concensus dealing with how you pass and type a property.Would you type a property with a concerte type if it is used internally in a class ?Or with say ArrayCollection, you need to type it IListViewCollection?I guess the real question is, where is the line between interface implementation and concrete implementation?It's a lot easier to use the getItemAt() of array collection then the cursor internally sometimes, but for a returned type I do understand that you want to hide that by using the interface of ArrayCollection's IListViewCollection.If I keep the interface type this is forcing the client to use the IViewCursor right?Now, is this the standard practice the methods like getItemAt() are only supposed to be used by the objects owner not a client?I'm just trying to nail standard practices here.This question really pertains to the ArrayCollection for me right now. Peace, MikePS Yes, program to an interface not to an implementation. Sorry if this post might not be clear. I am having a hard time explaing what my true question is :)-- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service . -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO!
[flexcoders] Mac Flex developing
Just curious, how and if there are differences with developing Flex on a Mac (the only thing I can foresee is tools limited to Windows environments). _ Jonathan Miranda Flexible Master of the Web Try not to become a man of success, but a man of value. - Albert Einstein HealthGrades: Guiding America to Better Healthcare NASDAQ: HGRD w (720) 963-3832 c (707) 761-0868 [EMAIL PROTECTED] _ The message contains confidential and/or legally privileged information and is intended for use only by the indicated addressee. If you are not the named addressee you should not disseminate, distribute, or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmissions cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed,arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Extending MXML components (change from 1.5 to 2)
Thank you very much for the response you have no idea how timely it is for us internally. Ive been a strong advocate for Flex 2. Unfortunately, I cant say more on a public list, but I would be very interested in having a private dialog about some of the barriers that are affecting our direction. Best regards, Tony tony pujals| senior engineer | Yahoo! SiteBuilder Express p. 408.349.6284 |e. tonyp * yahoo-inc * com| y!id tonypujals From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Basil Hosmer Sent: Thursday, March 23, 2006 6:48 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Extending MXML components (change from 1.5 to 2) Tony, Yes, we absolutely intend to continue supporting extending MXML with MXML, with the constraint that only one set of children be specified anywhere in the chain of derived components or the component instantiation. What youre seeing is a bug in beta 2 the framework incorrectly raises the multiple sets of children in base and derived components error in cases where the superclass (A.mxml in your example) in fact has no children. This will be fixed for beta 3; the workaround in beta 2 is to insert the following Script/ code into the superclass, e.g. A.mxml: mx:Script /** * This namespace is used for undocumented APIs -- usually implementation * details -- which can't be private because they need to visible * to other classes. * APIs in this namespace are completely unsupported and are likely to * change in future versions of Flex. */ namespace mx_internal = http://www.adobe.com/2006/flex/mx/internal; override mx_internal function setDocumentDescriptor(desc:mx.core.UIComponentDescriptor):void { if (mx_internal::_documentDescriptor mx_internal::_documentDescriptor.properties.childDescriptors) { if (desc.properties.childDescriptors) { throw new Error(Multiple sets of visual children have been specified for this component (base component definition and derived component definition).); } } else { mx_internal::_documentDescriptor = desc; mx_internal::_documentDescriptor.document = this; } } /mx:Script Basil From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tony Pujals Sent: Wednesday, March 22, 2006 6:02 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Extending MXML components (change from 1.5 to 2) In Flex 1.5, you could create an MXML component and then extend it with another custom component. For example, this would work: A.mxml ?xml version=1.0 encoding=utf-8? mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml /mx:Canvas B.mxml A xmlns:mx=http://www.adobe.com/2006/mxml mx:Button label=Hello click=mx.controls.Alert.show('Hello') / /A Test.mxml mx:Application xmlns:mx=http://www.adobe.com/2006/mxml B / /mx:Application How was this useful? Well, for example, for an HTML page editor, we had an Element.mxml component subclassed by ImageElement.mxml and TextElement.mxml. This does not work with any of the Flex 2 alpha/betas. Flash 8.5 displays this diagnostic: Error: Multiple sets of visual children have been specified for this component (base component definition and derived component definition) at mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::setDocumentDescriptor() at A/initialize() at B/initialize() at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::rawChildAdded() at mx.core::UIComponent/addChildAt() at mx.core::Container/addChild() at mx.core::Container/createComponentFromDescriptor() at mx.core::Container/createComponentsFromDescriptors() at mx.core::Application/createComponentsFromDescriptors() at mx.core::Container/mx.core:Container::createChildren() at mx.core::UIComponent/initialize() at mx.core::Container/initialize() at mx.core::Application/initialize() at flextest/initialize() at mx.managers::SystemManager/::initializeChild() at mx.managers::SystemManager/::initializeTopLevelWindow() at mx.managers::SystemManager/::frameEndHandler() Its not that the error message isnt clear, per se, but since this is different behavior, Im curious . Can you only extend mx components but not youre own, or this only possible with ActionScript components and not mxml.? Thanks, Tony tony pujals| senior engineer | Yahoo! SiteBuilder Express p. 408.349.6284 |e. tonyp * yahoo-inc * com| y!id tonypujals -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Re: Flex Beta 2 - Loader not loading SWF 100%
Hi, I know about this listener problem but I'll try other solution as soon as possible... Tks On 3/23/06, inawire [EMAIL PROTECTED] wrote: Thanks Bruno and Doug, This is on the right track (though I still do not know why this worked in beta 1 with out all this extra code). Bruno, your code worked for me fine (flex 2 version of Doug's idea). When I load my inner app, the content resizes perfectly (see inner app below).The only trouble I am having now it a basic problem that anyone could probably help me with. The event listener for the 'resize' is still being called from the shell when I try to load a second inner app. I have been trying to use removeListener but do not seam to find an event that lets me know when the first inner app is being removed (or unloaded). I have tried to call unload() on the instance of the Loader app in the shell app and keep getting the error'Call to a possibly undefined method 'unLoad' through a reference with static type 'mx.controls:Loader 'Is there an event I can make the inner app listen for that tells me that it is being removed when I load a new inner app (or is it being removed)?Thanks RossP.S. Bruno, as for your question, using your code and the fact that my inner apps scale using the layout anchors, I did not have to talk to the inner app from the shell app. I have tried using the LoaderInstanceName.content.propertyInInnerApp and I can not get around the same compliler error as stated above. Thanks for your help.Code for sample inner app the resizes to fit==?xml version=1.0 encoding=utf-8?mx:Application xmlns:mx= http://www.adobe.com/2006/mxml mlns=* layout=absolute width=100% height=100% creationComplete=initApp();paddingBottom=0 paddingLeft=0 paddingRight=0 paddingTop=0 mx:Script import flash.util.trace; private function resizeLoader(event:Event = null):void { width = parent.parent.parent.width; height = parent.parent.parent.height; } public function unLoader():void { trace('unLoader called') parent.parent.parent.removeEventListener(resize, resizeLoader); } private function initApp():void { resizeLoader(); parent.parent.parent.addEventListener(resize, resizeLoader); } /mx:Scriptmx:Canvas left=0 right=0 top=0 bottom=0 id=mainmx:DataGrid id=dg left=0 top=0 bottom=0 right=0 mx:columns mx:DataGridColumn headerText=Column 1 dataField=col1/ mx:DataGridColumn headerText=Column 2 dataField=col2/ mx:DataGridColumn headerText=Column 3 dataField=col3/ /mx:columns/mx:DataGrid/mx:Canvas/mx:Application --- In flexcoders@yahoogroups.com, Bruno Martins [EMAIL PROTECTED] wrote: Hi, I did a poor solution to this problem but I believe that is a start to solve the problem: I put the following code in the application that will be loaded: private function resizeLoader(event:Event = null):void { width = parent.parent.parent.width; height = parent.parent.parent.height; } private function initApp():void{ resizeLoader(); parent.parent.parent.addEventListener(resize, resizeLoader); } onCreationComplete execute the initApp()... I try to create a AppLoader component extend the loader and adjust the content after the complete event but I don't know how to access the content proprieties, if some one know how to change the content properties please let me know... Tks... On 3/22/06, Doug Lowder [EMAIL PROTECTED] wrote: I know in 1.5 the trick was to provide the loaded (inner) app with getPreferredHeight() and getPreferredWidth() functions; may be worth a try in your case if you are able to modify the code for the loaded apps. In AS2, it was: function getPreferredHeight() { return _parent? _parent.layoutHeight : super.getPreferredHeight(); } function getPreferredWidth() { return _parent? _parent.layoutWidth : super.getPreferredWidth(); } --- In flexcoders@yahoogroups.com , inawire ross@ wrote: With further testing, the loaded (inner) app (application.width) is scailing to the correct size on initial load. When the outer shell resizes, the inner app resize does not get called (it does when it runs on its own). Also when the inner app first loads, thought the inner app is showing the correct width available, the inner content does not scale to fit available size of the inner app. Does anyone have any ideas? Ross --- In flexcoders@yahoogroups.com, Bruno Martins bheman@ wrote: I had the same problem, but I don't fix yet. On 3/21/06, inawire ross@ wrote: Hi I just converted my app to Beta 2. Ran the conversion scripts, switch layout constraintes, changed LinkBar click to itemClick (that got me),worked through some new warnings that were not present before. Everything works fine now ... but (always a but) I'm loading other Flex apps into a shell Flex app. I had the loaded apps expanding to fill 100% of the available space. The shell app has a
Re: [flexcoders] AS3 :: Interface type verses Concrete type return
Scott, Yeah I totally get what your saying. I think when I was talking with roger I had mentioned that I wanted to access like getItemAt() through the ArrayCollection but, if it was used as a public or passed, I would want the client to use the IViewCursor interface. My reasoning is that for internal manipulation of what I want to a complish, it was esier to use ArrayCollection's public api. I know I could use IViewCursor but, it ends up being a lot more code to accomplish simple things that I need. Maybe with this scenario, it comes down to personal preference? ;-) PS, yeah I really didn't need a Strategy implementation with what I was trying to accomplish. The ArrayCollection is always going to be an ArrayCollection. Peace, MikeOn 3/23/06, Scott Langeberg [EMAIL PROTECTED] wrote: I'm not sure if this is what you're looking for, but this is what i'm trying to illustrate:Class A { var collection:ICollectionView function setCollection(newCollection:ICollectionView) { collection = newCollection; }}In this case, an instance of A can change its collection implementation at runtime, as long as that implementation is from ICollectionView. This may be unapplicable in your case, but this approach is very flexible in OOP. For instance, in the Strategy pattern, an object is able to change its behaviors at runtime, based on the behavior object(s) it contains internally. Scott On 3/23/06, Michael Schmalle [EMAIL PROTECTED] wrote: Thanks Scott, The question was really aimed at ArrayCollection, so internally I type it as ArrayCollection and if say a public methods returns it, I would use ICollectionView, then this as you said allows me to swap behaviors in the client class. Peace, MikeOn 3/23/06, Scott Langeberg [EMAIL PROTECTED] wrote: 2 pc: If you ever want to swap behaviors internally at runtime, use interfaces: : ) Scott On 3/17/06, Michael Schmalle [EMAIL PROTECTED] wrote: Thanks roger, That answers my question exactly! :) This is how I program, so that makes me happy. Sometimes intuition of feeling goes along way with oop. Peace, MikeOn 3/17/06, Roger Gonzalez [EMAIL PROTECTED] wrote: My rules of thumb: When passed in from the outside, use an interface. There's generally no reason to bake in a dependency to a particular implementation, whereas adding a concrete type reference will make it strongly coupled; whenever your class is compiled, it will always force the other type to be linked in (ka-ching!). If using the interface feels awkward, there's probably a thinko in your (or our) design abstraction. When used internally, can you imagine any situation where you might use a different implemetation? If not, use a concrete type. -rg From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Michael SchmalleSent: Friday, March 17, 2006 6:05 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] AS3 :: Interface type verses Concrete type return Hello,The question I have is what is the general concensus dealing with how you pass and type a property.Would you type a property with a concerte type if it is used internally in a class ?Or with say ArrayCollection, you need to type it IListViewCollection?I guess the real question is, where is the line between interface implementation and concrete implementation?It's a lot easier to use the getItemAt() of array collection then the cursor internally sometimes, but for a returned type I do understand that you want to hide that by using the interface of ArrayCollection's IListViewCollection.If I keep the interface type this is forcing the client to use the IViewCursor right?Now, is this the standard practice the methods like getItemAt() are only supposed to be used by the objects owner not a client?I'm just trying to nail standard practices here.This question really pertains to the ArrayCollection for me right now. Peace, MikePS Yes, program to an interface not to an implementation. Sorry if this post might not be clear. I am having a hard time explaing what my true question is :)-- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to:
Re: [flexcoders] Closing tab - Eclipse style
Dosn't it do that already? I use the tab x's to close each tab. Peace, Mike PS I am not using the plugin version, standalone.On 3/23/06, engkee [EMAIL PROTECTED] wrote: Is there a way to decorate the Flex tabs with a [x] so that one can click on it to close the tab, similar to how it is done in eclipse? -- 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. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Flex 2: Chart problem
Hi, I am working on an application with a Line Chart that contains various line series. I have made some checkboxes which should hide/show the different line series. Here is the mxml/actionscript for the various elements: Checkbox: mx:CheckBox id=euribor3 label=Euribor 3 mese lettera click=changeEuribor(); / Chart: mx:LineChart id=financeChart dataProvider={chartData} mx:series mx:LineSeries id=lineEuribor3 displayName=Euribor 3 mese lettera yField=Euribor3 showDataEffect=fadeIn hideDataEffect=fadeOut mx:stroke mx:Stroke color=0xFF weight=3 alpha=0.8/ /mx:stroke /mx:LineSeries /mx:series /mx:LineChart mx:Legend dataProvider={financeChart}/ Checkbox click function: private function changeEuribor2():void { lblTest.text = event fired; if (euribor3.selected == true) { if (lineEuribor3.alpha = 0.1) { lineEuribor3.showDataEffect(); } } else if (euribor3.selected == false) { lineEuribor3.hideDataEffect() ; lblTest.text = Hide Line; } } Problem: When I click on the checkbox I get the following error message: TypeError: Error #1006: Call attempted on an object that is not a function. at EnaCharts/::changeEuribor() at EnaCharts/__euribor3_click() What am I doing Wrong Thanks. Torben Nielsen -- Flexcoders 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] Mac Flex developing
I didn't see whether you specified 1.X or 2.0, and I'm sure someone else will be better able to speak about Flex 1.X, but I might be able to offer some insights for Flex 2.0. I'm a PC guy myself but my colleague is currently working on a Mac running Eclipse with the FlexBuilder 2 plug-ins (copied directly from a PC install). Here's what you don't get: - Debugging ( or run in debug player ) - Therefore trace() - see workaround below - IDE makes the carat jump around and highlight various things, occaisionally he switches to FDT when it all gets too much - No MXML highlighting and code completion in MXML documents (if anyone knows the location of the DTD I'm sure you can at least hook up XMLBuddy or something to it to get some sort of highlighting and prompting). - Errors e.g."null has no properties" just causes app to stop working You do get: - "intellisense"/code completion / look up declarationin AS documents - Run as release build Design view I'm not sure on, would have to check, not used much. So in summary, it is workable for now as long as there's a PC guy around to debug if it all gets too much. I wrote a quick little Logger class and compatible output panel that uses LocalConnection if anyone would like it, very simple but it might save you 5 minsand it's better to have some sort of trace than none at all if you must use a Mac ;) Also tried running Eclipse in VirtualPC, as you'd expectno good even on the fastest Macs, if anyone has any insights into running Darwine on Tiger I'd love to be able to pass it on. Rich From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jonathan MirandaSent: 23 March 2006 19:34To: flexcoders@yahoogroups.comSubject: [flexcoders] Mac Flex developing Just curious, how and if there are differences with developing Flex on a Mac (the only thing I can foresee is tools limited to Windows environments). _ Jonathan Miranda Flexible Master of the Web "Try not to become a man of success, but a man of value." - Albert Einstein HealthGrades: Guiding America to Better Healthcare NASDAQ: HGRD w (720) 963-3832 c (707) 761-0868 [EMAIL PROTECTED] _ The message contains confidential and/or legally privileged information and is intended for use only by the indicated addressee. If you are not the named addressee you should not disseminate, distribute, or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmissions cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed,arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. -- Flexcoders 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] Fault handling in webservices without a proxy
I've found this page on Adobe Forums that describes the 'fault' object that fires up on a faulty webservice call. I was particularly interested in the fault.detail and fault.type properties to use them in Flex 1.5. However, they seem to be undefined when the useProxy='false' setting is used. The fault.faultcode is always set to 'Server.Connection'. Is this correct? Is there a workaround? Thanks in advance, Pablo Gustavo Apanasionek -- Flexcoders 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 2.0 b2: 'getClassByName' method of the 'flash.util' package
-include-libraries will force entire SWCs to be linked in. (And Beta 3 will have -include, which will do it for individual definitions.) We can move our classes to external library and it will be automatically linked. The reason I've asked this question is that in Flex Library Project, we can control which classes to include in SWC file (Properties | Flex Build Path | Classes dialog). But default Flex Project doesn't provide this tab, and I expect my custom classes created in this project will be automatically included to the final app SWF. But project classes/components are not included till explicitly referenced in application code. (It's possible that I missed something, and this functionality is available...). A better path might be to dynamically load another SWF that contains the definitions that you want to have soft references to. It's interesting idea. But current Flex release doesn't provide good external libraries support as for me. Some RSL initialization code is statically injected by mxlmlc to the application SWF file during compilation process ( binding initialization, remote class registration etc). It makes impossible to update library binaries without recompilation of application SWF. Each time shared library is updated, we need to recompile all applications as well. Also all dynamic classes declared in RSL must be explicitly referenced by main application,(as otherwise these classes will be loaded without initialization). For the same reason we are unable to load unknown library at runtime and dynamically create class without problem (I mean classes with complex UI, remoting code etc). Ideally it would be better if compc stored all initialization information in SWC binaries. So loader could access it at runtime and automatically initialize external library on demand. Just my 2c... -- Thanks, Vadim Melnik. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Vadim Melnik Sent: Thursday, March 23, 2006 4:49 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Flex 2.0 b2: 'getClassByName' method of the 'flash.util' package Is there some special mxmlc option to prevent optimization, and force compiler to include all classes from classpath or at least imported ones (like import MyClass;) ? I saw -compiler.keep- all- type-selectors option, described as disables the pruning of unused type selectors (advanced), but don't clearly understand it effect. -- Thanks, Vadim Melnik. --- In flexcoders@yahoogroups.com, Peter Farland pfarland@ wrote: No, you must have a refernence to MyClass somewhere in your code in order for it to be linked in to the SWF at compile time. A string 'myPackage.MyClass' does not constitute a reference. This is not a bug - the compiler must optimize what classes are actually needed to keep the SWF size down. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of tyombria Sent: Wednesday, March 22, 2006 4:44 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex 2.0 b2: 'getClassByName' method of the 'flash.util' package Hi, all. Method 'getClassByName' works correctly only with adobe classes. For example, getClassByName('flash.net.URLLoader') works fine. I've got a problem with my custom classes. For example: var myClassReference:MyClass = getClassByName ('myPackage.MyClass'); I get error: Error #1065: Variable MyClass is not defined. Class exists in classpath or in the library. If i put somewhere inside declaration block: var myClass:MyClass It (getClassByName) works fine. Is it a bug? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Mac Flex developing
I develop flex 2.0 on a mac with flex builder beta 1 i had a great set up by copying the files from the windows plugin. for me the debug view worked perfectly. For editing i used the oxygen plugin as the flex builder one for mxml crashed eclipse and the AS editor had a cursor that jumped around the page as you typed... not workable at all. I used the xsd from flex 1.0 and updated the namespace to get code completion with oxygen for mxml.with beta 2 copying the files across doesn't do anything to my eclipse. it just ignores them completely... so i've had to set up an ant build to run mxmlc... a real pain because i've lost error checking on save and more importantly mxmlc takes 10-15 seconds from the command line.. but only took about 1 second from flex builder with beta 1. no idea why it takes so much longer.for traces i would advise using the debug player and setting it up so traces are written to a text file (by creating an mm.cfg file). There is an eclipse plugin called flash log from paul spitzer - which outputs the contents of this file to an eclipse panel. paul's website is no longer online... feel free to email me offlist if anyone wants me to send them the plugin.so developing flex on a mac is a bit of a pain... but i still love it (flex and the mac).cheers, AlOn 23 Mar 2006, at 20:09, Richard Leggett wrote: I didn't see whether you specified 1.X or 2.0, and I'm sure someone else will be better able to speak about Flex 1.X, but I might be able to offer some insights for Flex 2.0. I'm a PC guy myself but my colleague is currently working on a Mac running Eclipse with the FlexBuilder 2 plug-ins (copied directly from a PC install). Here's what you don't get: - Debugging ( or run in debug player ) - Therefore trace() - see workaround below - IDE makes the carat jump around and highlight various things, occaisionally he switches to FDT when it all gets too much - No MXML highlighting and code completion in MXML documents (if anyone knows the location of the DTD I'm sure you can at least hook up XMLBuddy or something to it to get some sort of highlighting and prompting). - Errors e.g. "null has no properties" just causes app to stop working You do get: - "intellisense"/code completion / look up declaration in AS documents - Run as release build Design view I'm not sure on, would have to check, not used much. So in summary, it is workable for now as long as there's a PC guy around to debug if it all gets too much. I wrote a quick little Logger class and compatible output panel that uses LocalConnection if anyone would like it, very simple but it might save you 5 mins and it's better to have some sort of trace than none at all if you must use a Mac ;) Also tried running Eclipse in VirtualPC, as you'd expect no good even on the fastest Macs, if anyone has any insights into running Darwine on Tiger I'd love to be able to pass it on. Rich From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan MirandaSent: 23 March 2006 19:34To: flexcoders@yahoogroups.comSubject: [flexcoders] Mac Flex developing Just curious, how and if there are differences with developing Flex on a Mac (the only thing I can foresee is tools limited to Windows environments)._Jonathan MirandaFlexible Master of the Web"Try not to become a man of success, but a man of value." - Albert EinsteinHealthGrades: Guiding America to Better Healthcare™NASDAQ: HGRDw (720) 963-3832c (707) 761-0868[EMAIL PROTECTED] _The message contains confidential and/or legally privileged information and is intended for use only by the indicated addressee. If you are not the named addressee you should not disseminate, distribute, or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmissions cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed,arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comSPONSORED 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
[flexcoders] Re: Flex 2: Chart problem
I believe showDataEffect and hideDataEffect are Effect objects, not functions. Try lineEuribor3.showDataEffect.play() and lineEuribor3.hideDataEffect.play(). --- In flexcoders@yahoogroups.com, Torben Nielsen [EMAIL PROTECTED] wrote: Hi, I am working on an application with a Line Chart that contains various line series. I have made some checkboxes which should hide/show the different line series. Here is the mxml/actionscript for the various elements: Checkbox: mx:CheckBox id=euribor3 label=Euribor 3 mese lettera click=changeEuribor(); / Chart: mx:LineChart id=financeChart dataProvider={chartData} mx:series mx:LineSeries id=lineEuribor3 displayName=Euribor 3 mese lettera yField=Euribor3 showDataEffect=fadeIn hideDataEffect=fadeOut mx:stroke mx:Stroke color=0xFF weight=3 alpha=0.8/ /mx:stroke /mx:LineSeries /mx:series /mx:LineChart mx:Legend dataProvider={financeChart}/ Checkbox click function: private function changeEuribor2():void { lblTest.text = event fired; if (euribor3.selected == true) { if (lineEuribor3.alpha = 0.1) { lineEuribor3.showDataEffect(); } } else if (euribor3.selected == false) { lineEuribor3.hideDataEffect() ; lblTest.text = Hide Line; } } Problem: When I click on the checkbox I get the following error message: TypeError: Error #1006: Call attempted on an object that is not a function. at EnaCharts/::changeEuribor() at EnaCharts/__euribor3_click() What am I doing Wrong Thanks. Torben Nielsen -- 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] Closing tab - Eclipse style
I think the poster wants to implement an interface like Eclipse's within Flex, and was not commenting on Flex Builder. - Richard On 3/23/06, Michael Schmalle [EMAIL PROTECTED] wrote: Dosn't it do that already? I use the tab x's to close each tab. Peace, Mike PS I am not using the plugin version, standalone. On 3/23/06, engkee [EMAIL PROTECTED] wrote: Is there a way to decorate the Flex tabs with a [x] so that one can click on it to close the tab, similar to how it is done in eclipse? -- 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. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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 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] Question about RemoveChild
I assume this is Flex 2. If you've called removeChild() or removeChildAt() and you don't have any other references to this child, it will get garbage collected at some point. But if you've stored a reference to that child on some object, it won't go away. - Gordon -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Richard Schutten Sent: Thursday, March 23, 2006 12:32 AM To: [EMAIL PROTECTED] Com Subject: [flexcoders] Question about RemoveChild Hi, I want to delete dynamically created buttons. The documentation of Flex says: Removing a child does not delete it, so you can redisplay it later without recreating it. So if RemoveChild doesn't delete them how can i do so? Greetings, Richard -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Flex 2: Chart problem
Is it typo in attached code, that function declared as changeEuribor2 but click handler calls changeEuribor? -- Thanks, Vadim Melnik. --- In flexcoders@yahoogroups.com, Torben Nielsen [EMAIL PROTECTED] wrote: Hi, I am working on an application with a Line Chart that contains various line series. I have made some checkboxes which should hide/show the different line series. Here is the mxml/actionscript for the various elements: Checkbox: mx:CheckBox id=euribor3 label=Euribor 3 mese lettera click=changeEuribor(); / Chart: mx:LineChart id=financeChart dataProvider={chartData} mx:series mx:LineSeries id=lineEuribor3 displayName=Euribor 3 mese lettera yField=Euribor3 showDataEffect=fadeIn hideDataEffect=fadeOut mx:stroke mx:Stroke color=0xFF weight=3 alpha=0.8/ /mx:stroke /mx:LineSeries /mx:series /mx:LineChart mx:Legend dataProvider={financeChart}/ Checkbox click function: private function changeEuribor2():void { lblTest.text = event fired; if (euribor3.selected == true) { if (lineEuribor3.alpha = 0.1) { lineEuribor3.showDataEffect(); } } else if (euribor3.selected == false) { lineEuribor3.hideDataEffect() ; lblTest.text = Hide Line; } } Problem: When I click on the checkbox I get the following error message: TypeError: Error #1006: Call attempted on an object that is not a function. at EnaCharts/::changeEuribor() at EnaCharts/__euribor3_click() What am I doing Wrong Thanks. Torben Nielsen -- 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] Mac Flex developing
Hi Richard, I would love to have that class if it's saves time. Of course, I can use the Windows version of Flex but the dockbar and quicksilver are so awesome to work with. Anyway hopefully they will support the Mac in Beta 3!!! Yours, Weyert I didn't see whether you specified 1.X or 2.0, and I'm sure someone else will be better able to speak about Flex 1.X, but I might be able to offer some insights for Flex 2.0. I'm a PC guy myself but my colleague is currently working on a Mac running Eclipse with the FlexBuilder 2 plug-ins (copied directly from a PC install). Here's what you don't get: - Debugging ( or run in debug player ) - Therefore trace() - see workaround below - IDE makes the carat jump around and highlight various things, occaisionally he switches to FDT when it all gets too much - No MXML highlighting and code completion in MXML documents (if anyone knows the location of the DTD I'm sure you can at least hook up XMLBuddy or something to it to get some sort of highlighting and prompting). - Errors e.g. null has no properties just causes app to stop working You do get: - intellisense/code completion / look up declaration in AS documents - Run as release build Design view I'm not sure on, would have to check, not used much. So in summary, it is workable for now as long as there's a PC guy around to debug if it all gets too much. I wrote a quick little Logger class and compatible output panel that uses LocalConnection if anyone would like it, very simple but it might save you 5 mins and it's better to have some sort of trace than none at all if you must use a Mac ;) Also tried running Eclipse in VirtualPC, as you'd expect no good even on the fastest Macs, if anyone has any insights into running Darwine on Tiger I'd love to be able to pass it on. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Flex 2 Beta 2 ViewStack Bug
Thanks, setting creationPolicy=all in my sample app gets it to work but its still not working on the big application Im developing. It has a ViewStack nested inside another ViewStack. I set creationPolicy=all on both of them but the show events are not firing the first time I view an item in the nested ViewStack. I didnt have this problem in Beta 1. Weird. Colin Wiseley From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of sinatosk Sent: Thursday, March 23, 2006 3:43 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Flex 2 Beta 2 ViewStack Bug I might be wrong but I think it's something to do with the way things are inialized. trying setting the creationPolicy to all like this mx:ViewStack id=viewstack1creationPolicy=all but don't set it on your childs. I've not tried this... for some reason my browser keeps crashing everytime I try run Flex apps in debug mode... dunno why. Just a warning though if you have alot of view stacks... having creationPolicy set to all will slow your application load time down( only when it firsts gets initalized then afterit's all nice n fast :p) hope this helps ;) On 3/23/06, Colin Wiseley [EMAIL PROTECTED] wrote: Hi, I have a bug that I've noticed with the recent release of Flex 2 Beta 2. The show event is not being dispatched when an item in a ViewStack becomes visible for the first time. This problem was not present in Beta 1. You can use the code below to reproduce the problem. Run the application in Debug Mode and you'll see that the trace statement does not get displayed until the second time that you click the Forward button. Is there a workaround for this or do I need to wait for Beta 3? Thanks! ?xml version=1.0? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml backgroundColor=#FF mx:ViewStack id=viewstack1 mx:Canvas label=View 1 width=100% height=100% mx:Button x=57 y=69 label=Forward click={viewstack1.selectedIndex = 1}/ /mx:Canvas mx:Canvas label= width=100% height=100% show={trace('Show Called')} mx:Button x=57 y=69 label=Back click={viewstack1.selectedIndex = 0}/ /mx:Canvas /mx:ViewStack /mx:Application Colin Wiseley -- Flexcoders 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 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] Installing Coldfusion Mystic beta 2.
Gareth, There's something up with the Mystic Beta 2 installer, and a bug has been filed. If you change java.home in jvm.config to point to C:\JRun4\runtime\jre and re-start CF services you should be in business. Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Gareth Edwards Sent: Wednesday, March 22, 2006 11:28 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Installing Coldfusion Mystic beta 2. Everything seemed to install o.k, but.. I'm running JRUN / Multiserver and it seems it didn't update my JRE to 1.4.2_06? Anyone know why this might be? Cheers Gareth. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Re: Flex 2: Chart problem
Hi, that did not work. Maybe its better if I explain what I am trying to obtain. I have created to effects in my mxml: mx:Fade id=fadeIn alphaTo=1.0 duration=500/ mx:Fade id=fadeOut alphaTo=0.1 duration=500/ These I would lake to use every time on of the lineseries is selected or unselected to make an more elegant change when a line series is made visibile or invisibile. Any ideas? Thanks. Torben -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Doug Lowder Sent: giovedì 23 marzo 2006 21.39 To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Flex 2: Chart problem I believe showDataEffect and hideDataEffect are Effect objects, not functions. Try lineEuribor3.showDataEffect.play() and lineEuribor3.hideDataEffect.play(). --- In flexcoders@yahoogroups.com, Torben Nielsen [EMAIL PROTECTED] wrote: Hi, I am working on an application with a Line Chart that contains various line series. I have made some checkboxes which should hide/show the different line series. Here is the mxml/actionscript for the various elements: Checkbox: mx:CheckBox id=euribor3 label=Euribor 3 mese lettera click=changeEuribor(); / Chart: mx:LineChart id=financeChart dataProvider={chartData} mx:series mx:LineSeries id=lineEuribor3 displayName=Euribor 3 mese lettera yField=Euribor3 showDataEffect=fadeIn hideDataEffect=fadeOut mx:stroke mx:Stroke color=0xFF weight=3 alpha=0.8/ /mx:stroke /mx:LineSeries /mx:series /mx:LineChart mx:Legend dataProvider={financeChart}/ Checkbox click function: private function changeEuribor2():void { lblTest.text = event fired; if (euribor3.selected == true) { if (lineEuribor3.alpha = 0.1) { lineEuribor3.showDataEffect(); } } else if (euribor3.selected == false) { lineEuribor3.hideDataEffect() ; lblTest.text = Hide Line; } } Problem: When I click on the checkbox I get the following error message: TypeError: Error #1006: Call attempted on an object that is not a function. at EnaCharts/::changeEuribor() at EnaCharts/__euribor3_click() What am I doing Wrong Thanks. Torben Nielsen -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Request to Adobe re: Documentation format
I can assure you we read this and other forums. Hey, where do you think my best code samples come from? ;) As for changing the numbering format of the docs, I've forwarded Cortlandt's request on to one of the editors, but changes like that would have to be approved at a much higher level in order to make their way into the template. Let's just say it's not going to happen for Beta 3. :) Matthew Horn Flex docs From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of dos dedosSent: Wednesday, March 22, 2006 4:24 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Request to Adobe re: Documentation format Thank you very much for the links. Big help!I'm sure Adobe documentation team will find your ideas re document structure pretty useful. Just one note on a much higher level :) ...I view programming languages are basically formal logic systems having non-universal axioms (i.e. "non-logical" in the formal sense) and rules of inference, so it follows that:1. Some perfectly well formed statements in any given language would be impossible to prove as perfectly executable (i.e. with no error) based on the axioms of the language, and this holds true no matter how many axioms we add to the system.2. Any given programming language could only be proven to be consistent by other languages. This makes the consistency proof conditional on the consistency of the second language, which in turn could only be validated by a third, and so on. No consistency proof for any formal logic system could be final.That's why I stopped worrying a! nd learned to love the inconsistency.:)Cortlandt Winters [EMAIL PROTECTED] wrote: Hi Dos Dedos,They are herehttp://labs.macromedia.com/wiki/index.php/Flex:Release_Notes#Beta_2_documentationIf any adobe docs folk do read this to look for requests, it would be nice in the future for alpha docs to be chaptered and indexed with page numbers offset by chapter rather than by total (like they do with tax and legal docs). The reason that would be nice is that you could print out a pdf and then when a new version of a chapter pops up, you can just reprint out that one chapter. If the page numbers are reletive to the chapters we can have printouts that change as the alpha docs do without getting page numbers out of synch. I still like to print out docs, mainly when learning something new, so that I can write in the margins, highlight points, and review it later.I love that the level of technical scope in the Flex2 docs is generally a level higher than flash docs in the past. These seem written more for programmers than for the casual coder as has been in the past. I like the little notes as to why a certain language design choice was decided upon amongst options. It inspires more confidence into the thinking behind the choices. -Cort On 3/22/06, dos dedos [EMAIL PROTECTED] wrote: I'm glad the new Beta 2 IDE includes links to documentation ...I was wondering if we can have it in Adobe Acrobat f! ormat so we can print it and read it offline? Yahoo! MailUse Photomail to share photos without annoying attachments. --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 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 . Blab-away for as little as 1¢/min. Make PC-to-Phone Calls using 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 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] Installing Coldfusion Mystic beta 2.
Thanks for the tip, I actually opened up the installer with winrar, grabbed the jre, backed up the old one and replaced it. Didn't release it existed in runtime Cheers Gareth. Battershall, Jeff wrote: Gareth, There's something up with the Mystic Beta 2 installer, and a bug has been filed. If you change java.home in jvm.config to point to C:\JRun4\runtime\jre and re-start CF services you should be in business. Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Gareth Edwards Sent: Wednesday, March 22, 2006 11:28 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Installing Coldfusion Mystic beta 2. Everything seemed to install o.k, but.. I'm running JRUN / Multiserver and it seems it didn't update my JRE to 1.4.2_06? Anyone know why this might be? Cheers Gareth. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Re: Flex 2: Chart problem
Set the showEffect/hideEffect instead of showDataEffect/hideEffect, and set the visibility of the series to true/false. When you toggle the visibility, the show/hide effects will be played automatically. Ely. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Torben Nielsen Sent: Thursday, March 23, 2006 1:15 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: Flex 2: Chart problem Hi, that did not work. Maybe it's better if I explain what I am trying to obtain. I have created to effects in my mxml: mx:Fade id=fadeIn alphaTo=1.0 duration=500/ mx:Fade id=fadeOut alphaTo=0.1 duration=500/ These I would lake to use every time on of the lineseries is selected or unselected to make an more elegant change when a line series is made visibile or invisibile. Any ideas? Thanks. Torben -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Doug Lowder Sent: giovedì 23 marzo 2006 21.39 To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Flex 2: Chart problem I believe showDataEffect and hideDataEffect are Effect objects, not functions. Try lineEuribor3.showDataEffect.play() and lineEuribor3.hideDataEffect.play(). --- In flexcoders@yahoogroups.com, Torben Nielsen [EMAIL PROTECTED] wrote: Hi, I am working on an application with a Line Chart that contains various line series. I have made some checkboxes which should hide/show the different line series. Here is the mxml/actionscript for the various elements: Checkbox: mx:CheckBox id=euribor3 label=Euribor 3 mese lettera click=changeEuribor(); / Chart: mx:LineChart id=financeChart dataProvider={chartData} mx:series mx:LineSeries id=lineEuribor3 displayName=Euribor 3 mese lettera yField=Euribor3 showDataEffect=fadeIn hideDataEffect=fadeOut mx:stroke mx:Stroke color=0xFF weight=3 alpha=0.8/ /mx:stroke /mx:LineSeries /mx:series /mx:LineChart mx:Legend dataProvider={financeChart}/ Checkbox click function: private function changeEuribor2():void { lblTest.text = event fired; if (euribor3.selected == true) { if (lineEuribor3.alpha = 0.1) { lineEuribor3.showDataEffect(); } } else if (euribor3.selected == false) { lineEuribor3.hideDataEffect() ; lblTest.text = Hide Line; } } Problem: When I click on the checkbox I get the following error message: TypeError: Error #1006: Call attempted on an object that is not a function. at EnaCharts/::changeEuribor() at EnaCharts/__euribor3_click() What am I doing Wrong Thanks. Torben Nielsen -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Tree kicking my butt. Need some help
In my app, I have a section that is suposed to display in a tree all documents that are in a specific folder. The issue I have is that, when I test the code, the tree has this output [object Object]. Is this because it not formated correctly in my cfc? Or is it something more sinister and evil. I have this cfc code. This code works. cffunction name=displayDocsListQry access=remote returntype=array output=true cfargument name=fileNum required=no type=string / cfdirectory action=list recurse=yes directory=#APPLICATION.storePath##APPLICATION.systemInfo.fld_officeCode#/L060001 name=ListDir / cfquery name=ListDirQry dbtype=query select * from ListDir where type = 'Dir' /cfquery cfset dirArray = arrayNew(1) cfset dcounter = 1 cfset fcounter = 1 cfloop query=ListDirQry cfset dirArray[dcounter] = structnew() cfset dirArray[dcounter].dir = ListDirQry.name cfquery name=ListFileQry dbtype=query select * from ListDir where type = 'File' and directory = '#APPLICATION.storePath##APPLICATION.systemInfo.fld_officeCode#/#arguments.fileNum#/#dirArray[dcounter].dir#' /cfquery cfloop query=ListFileQry cfset dirArray[dcounter].file = ListFileQry.name /cfloop cfif dcounter neq ListDirQry.RecordCount cfset dcounter = dcounter + 1 /cfif /cfloop cfreturn dirArray / /cffunction Now, I call this function like this. Webservice -- !-- POPULATES TREE -- mx:WebService id=DocDisplayMod useProxy=false wsdl=http://flex.homesmartagent.com/cfc/adminList.cfc?wsdl; showBusyCursor=true mx:operation name=displayDocsListQry result=DocDisplayModdisplayDocsListQryResult( DocDisplayMod.displayDocsListQry.result ) fault=DocDisplayModdisplayDocsListQryFault( event ) / /mx:WebService AS Connected to the webservice: function DocDisplayModdisplayDocsListQry(fileNum){ DocDisplayMod.displayDocsListQry(fileNum);} // called when results received function DocDisplayModdisplayDocsListQryResult( result ){ DocTree.dataProvider = result; } function DocDisplayModdisplayDocsListQryFault ( event ){} Code for my tree: mx:Tree x=10 id=DocTree rootVisible=true y=10 height=75% width=85%/ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Re: Flex 2: Chart problem
Hi Ely, Thanks for your reply. I already tried to toggle the visibility, but this does not trigger the effect. Even though it works, its not very elegant. There are not a method in the LineSeries class called showEffect or hideEffect. Could I maybe do somthing using the dispatchEvent method? Best regards. Torben Nielsen -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ely Greenfield Sent: giovedì 23 marzo 2006 22.31 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: Flex 2: Chart problem Set the showEffect/hideEffect instead of showDataEffect/hideEffect, and set the visibility of the series to true/false. When you toggle the visibility, the show/hide effects will be played automatically. Ely. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Torben Nielsen Sent: Thursday, March 23, 2006 1:15 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: Flex 2: Chart problem Hi, that did not work. Maybe it's better if I explain what I am trying to obtain. I have created to effects in my mxml: mx:Fade id=fadeIn alphaTo=1.0 duration=500/ mx:Fade id=fadeOut alphaTo=0.1 duration=500/ These I would lake to use every time on of the lineseries is selected or unselected to make an more elegant change when a line series is made visibile or invisibile. Any ideas? Thanks. Torben -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Doug Lowder Sent: giovedì 23 marzo 2006 21.39 To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Flex 2: Chart problem I believe showDataEffect and hideDataEffect are Effect objects, not functions. Try lineEuribor3.showDataEffect.play() and lineEuribor3.hideDataEffect.play(). --- In flexcoders@yahoogroups.com, Torben Nielsen [EMAIL PROTECTED] wrote: Hi, I am working on an application with a Line Chart that contains various line series. I have made some checkboxes which should hide/show the different line series. Here is the mxml/actionscript for the various elements: Checkbox: mx:CheckBox id=euribor3 label=Euribor 3 mese lettera click=changeEuribor(); / Chart: mx:LineChart id=financeChart dataProvider={chartData} mx:series mx:LineSeries id=lineEuribor3 displayName=Euribor 3 mese lettera yField=Euribor3 showDataEffect=fadeIn hideDataEffect=fadeOut mx:stroke mx:Stroke color=0xFF weight=3 alpha=0.8/ /mx:stroke /mx:LineSeries /mx:series /mx:LineChart mx:Legend dataProvider={financeChart}/ Checkbox click function: private function changeEuribor2():void { lblTest.text = event fired; if (euribor3.selected == true) { if (lineEuribor3.alpha = 0.1) { lineEuribor3.showDataEffect(); } } else if (euribor3.selected == false) { lineEuribor3.hideDataEffect() ; lblTest.text = Hide Line; } } Problem: When I click on the checkbox I get the following error message: TypeError: Error #1006: Call attempted on an object that is not a function. at EnaCharts/::changeEuribor() at EnaCharts/__euribor3_click() What am I doing Wrong Thanks. Torben Nielsen -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- 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: Tree kicking my butt. Need some help
One thing you'll want to do is make sure your dataprovider is set to an array in the case where you are reading a directory that consists of only a single item. Flex will interpret that as an object instead of an array, so you will need the following: function DocDisplayModdisplayDocsListQryResult( result ){ DocTree.dataProvider = mx.utils.ArrayUtil.toArray(result); } Doug --- In flexcoders@yahoogroups.com, Jeremy Rottman [EMAIL PROTECTED] wrote: In my app, I have a section that is suposed to display in a tree all documents that are in a specific folder. The issue I have is that, when I test the code, the tree has this output [object Object]. Is this because it not formated correctly in my cfc? Or is it something more sinister and evil. I have this cfc code. This code works. cffunction name=displayDocsListQry access=remote returntype=array output=true cfargument name=fileNum required=no type=string / cfdirectory action=list recurse=yes directory=#APPLICATION.storePath##APPLICATION.systemInfo.fld_officeC ode#/L060001 name=ListDir / cfquery name=ListDirQry dbtype=query select * from ListDir where type = 'Dir' /cfquery cfset dirArray = arrayNew(1) cfset dcounter = 1 cfset fcounter = 1 cfloop query=ListDirQry cfset dirArray[dcounter] = structnew() cfset dirArray[dcounter].dir = ListDirQry.name cfquery name=ListFileQry dbtype=query select * from ListDir where type = 'File' and directory = '#APPLICATION.storePath##APPLICATION.systemInfo.fld_officeCode#/#ar guments.fileNum#/#dirArray[dcounter].dir#' /cfquery cfloop query=ListFileQry cfset dirArray[dcounter].file = ListFileQry.name /cfloop cfif dcounter neq ListDirQry.RecordCount cfset dcounter = dcounter + 1 /cfif /cfloop cfreturn dirArray / /cffunction Now, I call this function like this. Webservice -- !-- POPULATES TREE -- mx:WebService id=DocDisplayMod useProxy=false wsdl=http://flex.homesmartagent.com/cfc/adminList.cfc?wsdl; showBusyCursor=true mx:operation name=displayDocsListQry result=DocDisplayModdisplayDocsListQryResult ( DocDisplayMod.displayDocsListQry.result ) fault=DocDisplayModdisplayDocsListQryFault( event ) / /mx:WebService AS Connected to the webservice: function DocDisplayModdisplayDocsListQry (fileNum){ DocDisplayMod.displayDocsListQry(fileNum);} // called when results received function DocDisplayModdisplayDocsListQryResult( result ){ DocTree.dataProvider = result; } function DocDisplayModdisplayDocsListQryFault ( event ){} Code for my tree: mx:Tree x=10 id=DocTree rootVisible=true y=10 height=75% width=85%/ -- 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: Flex 2: Chart problem
No real experience with Flex 2 effects here, but couldn't you just play your effect in the changeEuribor() function? Something like fadeIn.play([lineEuribor3]); with adjustments for AS3, if necessary. --- In flexcoders@yahoogroups.com, Torben Nielsen [EMAIL PROTECTED] wrote: Hi, that did not work. Maybe it's better if I explain what I am trying to obtain. I have created to effects in my mxml: mx:Fade id=fadeIn alphaTo=1.0 duration=500/ mx:Fade id=fadeOut alphaTo=0.1 duration=500/ These I would lake to use every time on of the lineseries is selected or unselected to make an more elegant change when a line series is made visibile or invisibile. Any ideas? Thanks. Torben -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Doug Lowder Sent: giovedì 23 marzo 2006 21.39 To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Flex 2: Chart problem I believe showDataEffect and hideDataEffect are Effect objects, not functions. Try lineEuribor3.showDataEffect.play() and lineEuribor3.hideDataEffect.play(). --- In flexcoders@yahoogroups.com, Torben Nielsen torben@ wrote: Hi, I am working on an application with a Line Chart that contains various line series. I have made some checkboxes which should hide/show the different line series. Here is the mxml/actionscript for the various elements: Checkbox: mx:CheckBox id=euribor3 label=Euribor 3 mese lettera click=changeEuribor(); / Chart: mx:LineChart id=financeChart dataProvider={chartData} mx:series mx:LineSeries id=lineEuribor3 displayName=Euribor 3 mese lettera yField=Euribor3 showDataEffect=fadeIn hideDataEffect=fadeOut mx:stroke mx:Stroke color=0xFF weight=3 alpha=0.8/ /mx:stroke /mx:LineSeries /mx:series /mx:LineChart mx:Legend dataProvider={financeChart}/ Checkbox click function: private function changeEuribor2():void { lblTest.text = event fired; if (euribor3.selected == true) { if (lineEuribor3.alpha = 0.1) { lineEuribor3.showDataEffect (); } } else if (euribor3.selected == false) { lineEuribor3.hideDataEffect() ; lblTest.text = Hide Line; } } Problem: When I click on the checkbox I get the following error message: TypeError: Error #1006: Call attempted on an object that is not a function. at EnaCharts/::changeEuribor() at EnaCharts/__euribor3_click() What am I doing Wrong Thanks. Torben Nielsen -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders% 40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Flex 2.0: mxmlc question
First, make certain you don't have any Beta1 SWCs being loaded by Beta2. That will break. If you add corelib.swc (or its parent directory) to your library path, it will make it available to be linked in. Its choking in the ResourceBundle code, which implies to me that ListCollectionView isn't getting something it needs. Have you done the same sort of "copy the en_us directory" locale hack that has worked for other people? -rg From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tobias PattonSent: Thursday, March 23, 2006 8:15 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flex 2.0: mxmlc question Hi Roger; So, to link corelib.swc into my application, youd supply the path to corelib as an argument to the library-path option? Heres the command-line Im using: mxmlc -actionscript-classpath=D:\PerforceDepot\galiano\Galiano.Tobias_Patton\Client\classes -library-path D:\PerforceDepot\galiano\Galiano.Tobias_Patton\tools\compiler\Flex2b2\frameworks\libs\ D:\PerforceDepot\galiano\Galiano.Tobias_Patton\Client\oem\corelib\bin\corelib.swc -- D:\PerforceDepot\galiano\Galiano.Tobias_Patton\Client\DashboardJobsView\DashboardJobsView.mxml This compiles, but I get the following runtime error when I launch my application: Error: Key outOfBounds was not found in resource bundle SharedResources at mx.resource::ResourceBundle/getObject() at mx.resource::ResourceBundle/getString() at mx.collections::ListCollectionView$/::loadResources() at mx.managers::SystemManager$/registerInitCallback() at mx.collections::ListCollectionView$cinit() at global$init() at global$init() at _DashboardJobsView_FlexInit$/init() at mx.managers::SystemManager/::frameEndHandler() This used to work in Beta 1. If I remove the reference to corelib.swc from the command line (and comment out any code that depends on corelib), I can compile and run the application. Can you suggest what might be wrong with the way Im building the application? Thanks. Tobias. BTW: The reason flex-config.xml couldnt be found was that I was running mxmlc with java jar mxmlc.jar From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Roger GonzalezSent: Wednesday, March 22, 2006 8:09 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flex 2.0: mxmlc question library-path makes SWCs available for resolving class dependencies. Thisis normally what you want. include-libraries forces all symbols in the SWCs to be included in the application, whether they are needed or not. I don't know why you'd get that error unless you're not using mxmlc or Flex Builder. By default, the compiler tries to load flex-config.xml out of ${flexlib}, which for mxmlc.exe is relative to the bin directory, and I suspect is set explicitly by Flex Builder. I don't know what the "does not use a config file by default" means. mxmlc certainly loads a flex-config.xml file by default. I'm not positive what Flex Builder does, though. In beta 2, you should be able to use -load-config+=otherfile.xml to overlay your config on top of the default config. In other words, the config file isn't required, but there are some default settings that are trying to load it. Something about your setup sounds broken. -rg From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tobias PattonSent: Wednesday, March 22, 2006 4:38 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Flex 2.0: mxmlc question Can someone explain the difference between the -include-libraries and -library-path compiler options? The documentation states that -include-libraries is commonly used to link in an .swc file containing localized resources. But what about .swc file containing other .swc files used by the application? The documentation for -library-path implies that this option should be used to link in custom components. What is the difference? When I add a library in Flex Builder, does this translate to an -include-libraries option of a -library-path option? Also, the documentation states that the Flex compilers do not use a config file by default. However, unless I specify the -load-config option, I get the error: defaults: Error: unable to open './flex-config.xml'. Is this flag required or not? Thanks. Tobias. Creo Inc., a subsidiary of Kodak Tobias Patton | Software Developer | Tel: 1.604.451.2700 ext: 5148 | mailto:[EMAIL PROTECTED] | http://www.creo.com -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:
[flexcoders] Re: Tree kicking my butt. Need some help
I have added the code you suggested and it still just displays it as [object Object]. I even trimed my cfc down to this, just to test the folders. cffunction name=displayDocsListQry access=remote returntype=array output=true cfargument name=fileNum required=no type=string / cfdirectory action=list directory=#APPLICATION.storePath##APPLICATION.systemInfo.fld_officeCode#/#arguments.fileNum# name=ListDir / cfset dirArray = arrayNew(1) cfset dcounter = 1 cfloop query=ListDir cfset dirArray[dcounter] = structnew() cfset dirArray[dcounter].dir = ListDir.name cfset dcounter = dcounter + 1 /cfloop cfreturn dirArray / /cffunction --- In flexcoders@yahoogroups.com, Doug Lowder [EMAIL PROTECTED] wrote: One thing you'll want to do is make sure your dataprovider is set to an array in the case where you are reading a directory that consists of only a single item. Flex will interpret that as an object instead of an array, so you will need the following: function DocDisplayModdisplayDocsListQryResult( result ){ DocTree.dataProvider = mx.utils.ArrayUtil.toArray(result); } Doug --- In flexcoders@yahoogroups.com, Jeremy Rottman jarottman@ wrote: In my app, I have a section that is suposed to display in a tree all documents that are in a specific folder. The issue I have is that, when I test the code, the tree has this output [object Object]. Is this because it not formated correctly in my cfc? Or is it something more sinister and evil. I have this cfc code. This code works. cffunction name=displayDocsListQry access=remote returntype=array output=true cfargument name=fileNum required=no type=string / cfdirectory action=list recurse=yes directory=#APPLICATION.storePath##APPLICATION.systemInfo.fld_officeC ode#/L060001 name=ListDir / cfquery name=ListDirQry dbtype=query select * from ListDir where type = 'Dir' /cfquery cfset dirArray = arrayNew(1) cfset dcounter = 1 cfset fcounter = 1 cfloop query=ListDirQry cfset dirArray[dcounter] = structnew() cfset dirArray[dcounter].dir = ListDirQry.name cfquery name=ListFileQry dbtype=query select * from ListDir where type = 'File' and directory = '#APPLICATION.storePath##APPLICATION.systemInfo.fld_officeCode#/#ar guments.fileNum#/#dirArray[dcounter].dir#' /cfquery cfloop query=ListFileQry cfset dirArray[dcounter].file = ListFileQry.name /cfloop cfif dcounter neq ListDirQry.RecordCount cfset dcounter = dcounter + 1 /cfif /cfloop cfreturn dirArray / /cffunction Now, I call this function like this. Webservice -- !-- POPULATES TREE -- mx:WebService id=DocDisplayMod useProxy=false wsdl=http://flex.homesmartagent.com/cfc/adminList.cfc?wsdl; showBusyCursor=true mx:operation name=displayDocsListQry result=DocDisplayModdisplayDocsListQryResult ( DocDisplayMod.displayDocsListQry.result ) fault=DocDisplayModdisplayDocsListQryFault( event ) / /mx:WebService AS Connected to the webservice: function DocDisplayModdisplayDocsListQry (fileNum){ DocDisplayMod.displayDocsListQry(fileNum);} // called when results received function DocDisplayModdisplayDocsListQryResult( result ){ DocTree.dataProvider = result; } function DocDisplayModdisplayDocsListQryFault ( event ){} Code for my tree: mx:Tree x=10 id=DocTree rootVisible=true y=10 height=75% width=85%/ -- 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] Bug in list.selectedIndices
I can reproduce the bug. Do you remember the bug # that you filed. Or, I will file a new one. I cant seem to find the original bug. Thanks, Joan From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tobias Patton Sent: Thursday, March 23, 2006 11:01 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Bug in list.selectedIndices Just a quick note to Adobe: I reported a bug in Flex 2 Beta 1 where the selectedIndices property of a list control would not contain the correct values if the user selected multiple entries using the shift key. The problems is still in Beta 2. Thanks. Tobias. Creo Inc., a subsidiary of Kodak Tobias Patton | Software Developer | Tel: 1.604.451.2700 ext: 5148 | mailto:[EMAIL PROTECTED] | http://www.creo.com -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Re: Tree kicking my butt. Need some help
In addition, you might need labelField or labelFunction. |-+- | | | | | Doug Lowder | | | [EMAIL PROTECTED] | | | Sent by: | | | flexcoders@yahoogroups.com | | | 03/23/2006 04:52 PM| | | Please respond to | | | flexcoders | | | | |-+- -| | | | To: flexcoders@yahoogroups.com | | cc: | | Subject: [flexcoders] Re: Tree kicking my butt. Need some help | -| One thing you'll want to do is make sure your dataprovider is set to an array in the case where you are reading a directory that consists of only a single item. Flex will interpret that as an object instead of an array, so you will need the following: function DocDisplayModdisplayDocsListQryResult( result ){ DocTree.dataProvider = mx.utils.ArrayUtil.toArray(result); } Doug --- In flexcoders@yahoogroups.com, Jeremy Rottman [EMAIL PROTECTED] wrote: In my app, I have a section that is suposed to display in a tree all documents that are in a specific folder. The issue I have is that, when I test the code, the tree has this output [object Object]. Is this because it not formated correctly in my cfc? Or is it something more sinister and evil. I have this cfc code. This code works. cffunction name=displayDocsListQry access=remote returntype=array output=true cfargument name=fileNum required=no type=string / cfdirectory action=list recurse=yes directory=#APPLICATION.storePath##APPLICATION.systemInfo.fld_officeC ode#/L060001 name=ListDir / cfquery name=ListDirQry dbtype=query select * from ListDir where type = 'Dir' /cfquery cfset dirArray = arrayNew(1) cfset dcounter = 1 cfset fcounter = 1 cfloop query=ListDirQry cfset dirArray[dcounter] = structnew() cfset dirArray[dcounter].dir = ListDirQry.name cfquery name=ListFileQry dbtype=query select * from ListDir where type = 'File' and directory = '#APPLICATION.storePath##APPLICATION.systemInfo.fld_officeCode#/#ar guments.fileNum#/#dirArray[dcounter].dir#' /cfquery cfloop query=ListFileQry cfset dirArray[dcounter].file = ListFileQry.name /cfloop cfif dcounter neq ListDirQry.RecordCount cfset dcounter = dcounter + 1 /cfif /cfloop cfreturn dirArray / /cffunction Now, I call this function like this. Webservice -- !-- POPULATES TREE -- mx:WebService id=DocDisplayMod useProxy=false wsdl=http://flex.homesmartagent.com/cfc/adminList.cfc?wsdl; showBusyCursor=true mx:operation name=displayDocsListQry result=DocDisplayModdisplayDocsListQryResult ( DocDisplayMod.displayDocsListQry.result ) fault=DocDisplayModdisplayDocsListQryFault( event ) / /mx:WebService AS Connected to the webservice: function DocDisplayModdisplayDocsListQry (fileNum){ DocDisplayMod.displayDocsListQry(fileNum);} // called when results received function DocDisplayModdisplayDocsListQryResult( result ){ DocTree.dataProvider = result; } function DocDisplayModdisplayDocsListQryFault ( event ){} Code for my tree: mx:Tree x=10 id=DocTree rootVisible=true y=10 height=75% width=85%/ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links --- This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, proprietary , confidential and exempt from disclosure. If you are not the intended
[flexcoders] : Flex and Coldfusion : where to ask ?
Hi, Flexcoders are great but when there are some issues related to CF connectivity for Flex 2 Beta where is the best place to post our issues? There are a lot of ppl from the Flex team here, but it seems that from CF team there is none. The Labs wiki is a total desert. The CF Connectivity forum doesn't seem to be watched by CF folks either. I know that they have a lot of work now with Mystic and maybe already preparing Scorpio but if we can't get some answers, we'll never know if it's a bug or if we are doing something wrong. Like that, we can't find bugs that should be removed from the final release. João Fernandes -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Bug in list.selectedIndices
Its number 162791 Its supposedly fixed now but I havent tried it. Tobias, The fix should be in the next public release. Thanks! From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Joan Tan Sent: Thursday, March 23, 2006 2:15 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Bug in list.selectedIndices I can reproduce the bug. Do you remember the bug # that you filed. Or, I will file a new one. I cant seem to find the original bug. Thanks, Joan From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tobias Patton Sent: Thursday, March 23, 2006 11:01 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Bug in list.selectedIndices Just a quick note to Adobe: I reported a bug in Flex 2 Beta 1 where the selectedIndices property of a list control would not contain the correct values if the user selected multiple entries using the shift key. The problems is still in Beta 2. Thanks. Tobias. Creo Inc., a subsidiary of Kodak Tobias Patton | Software Developer | Tel: 1.604.451.2700 ext: 5148 | mailto:[EMAIL PROTECTED] | http://www.creo.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.