[flexcoders] Re: Tabbing through items in a container
I tried using LinkButtons and was still not able to get tabbing to work: mx:HBox tabChildren=true mx:Label text=1. / mx:LinkButton label=A tabIndex=0 tabEnabled=true / mx:LinkButton label=B tabIndex=1 tabEnabled=true / mx:Label text=2. / mx:LinkButton label=C tabIndex=2 tabEnabled=true / mx:LinkButton label=D tabIndex=3 tabEnabled=true / /mx:HBox --- In flexcoders@yahoogroups.com, Deepa Subramaniam [EMAIL PROTECTED] wrote: Currently in the framework, you cannot tab through components like Label, Text and Image. They will not respond with a focus highlight which other controls, like a Button, do. Try your same test case with a Button and you'll see that the controls respond to tabbing in the order specified by tabIndex. -deepa -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of polestar11 Sent: Tuesday, June 20, 2006 6:40 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Tabbing through items in a container Hi there I am trying to build a custom list that allows the same type of cursor tabbing though child items as a list / datagrid. I have created a custom class that extends HBox. I have chosen a container rather than a list to extend from, because I do not want a fixed column width for items. I have tried various test cases to implement tabbing though a container's children with no luck. Ultimately I want to build a custom class that extends a container and dynamically adds child UI-items that can be tabbed through. Alternatively, is there a way to allow for dynamic column sizes for items within a list? Code: mx:Canvas tabChildren=true mx:Label text=1. / mx:Label text=A tabIndex=0 tabEnabled=true / mx:Label text=B tabIndex=1 tabEnabled=true / mx:Label text=2. / mx:Label text=C tabIndex=2 tabEnabled=true / mx:Label text=D tabIndex=3 tabEnabled=true / /mx:Canvas -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links Yahoo! Groups Sponsor ~-- Check out the new improvements in Yahoo! Groups email. http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Flex2B2 - cut off any gui controls that appear outside of parent container
Excellent!! binding has done the trick. thanks --- In flexcoders@yahoogroups.com, Jason Y. Kwong [EMAIL PROTECTED] wrote: Ah, ok. So if you want to clip 20 pixels, then you need to make sure that button2 is always 20 pixels wider than the enclosing canvas. You can make use of binding: mx:HBox width=100% height=100% backgroundColor=yellow mx:Button label=number1 width=75%/ mx:Canvas id=mycanvas width=25% horizontalScrollPolicy=off mx:Button width={mycanvas.width+20} label=number2/ /mx:Canvas /mx:HBox Yes, it's quite a pain when the HBox/VBox just won't clip their content. I always thought it was a bug. On 6/20/06, bhaq1972 [EMAIL PROTECTED] wrote: sorry, the width of button2 should have been 100% (i only want to specify percentage widths). I'm not sure exactly what effect you want. Do you always want a part of button2 to be clipped off the right? If so, by how much? Thats correct. i want to have part of the button clipped off to the right. i'm only using a button as an example (could be any gui control). Essentially i want to clip the right edge of the following example. mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; mx:HBox width=100% height=100 backgroundColor=yellow paddingRight=-20 clipContent=true mx:Button label=number1 width=75%/ mx:Canvas width=25% horizontalScrollPolicy=off mx:Button width=100% label=number2/ /mx:Canvas /mx:HBox /mx:Application if i was using a Canvas instead of an HBox in the above example. it works.but then i'll have to position the children. --- In flexcoders@yahoogroups.com, Jason Y. Kwong inlineblue@ wrote: I'm not sure exactly what effect you want. Do you always want a part of button2 to be clipped off the right? If so, by how much? What's happening in my example is that the nested Canvas gives button2 only 25% of the available horizontal space. When the HBox was 300 pixels wide, that gave it 75 pixels. Since I set button2 to be 100 pixels wide, the right 25 pixels are cut off. But if you set the HBox's width to be 100%, then that 25% space could be a lot wider than 75 pixels. If it goes over 100 pixels, then of course all of button2 would be shown. You'll have to play with the numbers to get a specific effect. On 6/20/06, bhaq1972 mbhaque@ wrote: hi Jason How can I keep this effect if i modify your example to become mx:HBox width=100% height=100 backgroundColor=yellow mx:Button label=number1 width=75%/ mx:Canvas width=25% horizontalScrollPolicy=off mx:Button width=100 label=number2/ /mx:Canvas /mx:HBox thanks bod --- In flexcoders@yahoogroups.com, Jason Y. Kwong inlineblue@ wrote: Have a nested container do the clipping for you. eg: mx:HBox width=300 height=100 backgroundColor=yellow mx:Button label=number1 width=75%/ mx:Canvas width=25% horizontalScrollPolicy=off mx:Button width=100 label=number2/ /mx:Canvas /mx:HBox On 6/16/06, bhaq1972 mbhaque@ wrote: Mike and Tom thanks for the input. firstly, I tried using clipContent before but doesn't work. if i was dealing with fixed widths and set the horizonatalScrollPolicy 'off', i can achieve the effect i was looking for eg mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; xmlns=* mx:HBox width=300 height=100 backgroundColor=yellow horizontalScrollPolicy=off mx:Button label=number1 width=225/ mx:Button label=number2 width=85/ /mx:HBox /mx:Application But as i'm not dealing with fixed button widths, i had to think of another way to get this effecthence paddingRight=-15 and some kind of contentClip. As i'm only dealing with layout, i would have thought something would work out of the box. Adobe??? I'm willing to try your suggestion of a mask, if you can gives us a few ideas on how to do that thanks. regrds bod --- In flexcoders@yahoogroups.com, Michael Schmalle teoti.graphix@ wrote: I don't think the layout algorithm takes negetives into account. I didn't mean it doesn't use the negetive padding, just it doesn't calculate the 'measured width' right when laying out the mask for the container using a negetive padding with a percentage. Ah, to hard to explain right. Peace, Mike On 6/15/06, Michael Schmalle teoti.graphix@ wrote: Hi, For you to
[flexcoders] States within List
Is it possible to create states within a List that changes height on select? Basically, I need to switch between a simple and advanced view in a list only on select. I tried using a Repeater in a VBox, but navigating up and down using arrow keys is not possible(?) when using a repeater. Any guidance is appreciated. Thanks Sree __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%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: ACcess SOAP fault code
Hi, Can someone explain to me that since you've caught the exception in your code, then how does the fault event handler in flex gets called? Generally speaking, what is the mechanism that triggers the fault event in flex? Thanks, __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com Yahoo! Groups Sponsor ~-- Something is new at Yahoo! Groups. Check out the enhanced email design. http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: FlexPrintJob and large DataGrids?
The docs recommend that, for print jobs, you create a seperate custom component that contans the DataGrid in it's full size (no scroll bars). The print DataGrid is bound to the same dataProvider as the view DataGrid.Right. Use mx.printing.PrintDataGrid in that separate component and you would also need to do write some code to add header/footer/content...Check out Flex 2.0 help in Flexbuilder 2.0. Flex 2.0 Developer's Guide Flex Programming Topics Printing Printing multipage output-abdul On 6/21/06, Tim Hoff [EMAIL PROTECTED] wrote: Hi,The docs recommend that, for print jobs, you create a seperate custom component that contans the DataGrid in it's full size (no scroll bars).The print DataGrid is bound to the same dataProvider as the view DataGrid.-TH--- In flexcoders@yahoogroups.com, djbrown_rotonews [EMAIL PROTECTED] wrote: I've got a large DataGrid that the user needs to scroll (vertically) through to view completely. When I go to print this, I only get the portion that is currently displayed to print out (I'm using the dataGrid itself as the UI component to print, so that's not the issue). Any ideas? Here's the relevant snippets: public function printGrid(e:Event):void { import mx.printing.FlexPrintJob ; var myPrintJob:FlexPrintJob = new FlexPrintJob(); myPrintJob.start(); myPrintJob.addObject(dgBags, FlexPrintJobScaleType.SHOW_ALL); myPrintJob.send(); } mx:DataGrid id=dgBags x=10 y=75 width=95% height=90% dataProvider={bags_xml} __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%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: ACcess SOAP fault code
I wasn't thinking to use the fault handler, I was just planning on every response being an object with an error property that will usually be null, and checking for it myself. Your idea would be much nicer, but I doubt it's possible, since we're pretending everything worked fine. Maybe changing the status code in a HttpHandler would be a nicer solution after all! -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of z l Sent: 21 June 2006 08:24 To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: ACcess SOAP fault code Hi, Can someone explain to me that since you've caught the exception in your code, then how does the fault event handler in flex gets called? Generally speaking, what is the mechanism that triggers the fault event in flex? Thanks, __ 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 [Inbound Mail Scanned by MessageLabs] __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ Yahoo! Groups Sponsor ~-- See what's inside the new Yahoo! Groups email. http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: Reusing Cairngorm views
On Tuesday 20 June 2006 22:14, Tim Hoff wrote: I think the right approach here is to maintain the view, that you want to duplicate through instantiation, in the ModelLocator. This is similar to the Cairngorm store example's ShoppingCart. You can then create multiple instances of the view and bind them accordingly. public static var wishList : ShoppingCart; ModelLocator.wishList = new ShoppingCart(); In that case though, the ShoppingCart isn't the view, it's the buisness object, no ? The problem (looking at it afresh this morning) is that if I write in the main MXML: mx:TabNavigator borderStyle=none selectedIndex=0 width=95% mx:VBox label=Create new width=100% view:NewView id=newView/ /mx:VBox mx:VBox label=Find in archive id=findViewContainer view:FindView id=findView / /mx:VBox /mx:TabNavigator And then in both the views write view:FilesAndCheckoutControlBar / view:FilesAndCheckoutViewStack / And (taken from the Flex store) these views have components with id= (typicaly the view helpers), then that generates a duplicate id and crash :-/ The simpler case in the Store app doesn't have this problem, because their 'basket' view doesn't contain other views, so can just be duplicated. Hmm ? This is all on Flex2 with the Cairgorm SWC from the phones demo app btw. -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the Year at the 2005 Growth Company Awards Yahoo! Groups Sponsor ~-- Something is new at Yahoo! Groups. Check out the enhanced email design. http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] AMFPHP problems
Hi everybody, I just uploaded one project to the internet and have faced the Malformed AMF message, connection may have dropped problem. Does anyone know what could cause the problem. I just can't get it to work. Thanks Dima __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com Yahoo! Groups Sponsor ~-- Check out the new improvements in Yahoo! Groups email. http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] ComboBox DropDown or DropUp
Hello Group, I have a comboBox that's at the bottom of my FLEX Interface. When I pull down the contents of the ComboBox, the contents are hidden because the dropDown list exceeds the boundary of the FlexApplication UI. My question is: is it possible to instruct the comboBox to pop-up the list towards the north rather than drop down? The normal drop down list looks like: __ ComboBox Text v __ xxx List Element xxx xxx List Element xxx xxx List Element xxx xxx List Element xxx__ I want to change and have like: __ xxx List Element xxx xxx List Element xxx xxx List Element xxx xxx List Element xxx xxx List Element xxx__ ComboBox Text ^ __ Thanks Emery __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%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: Reusing Cairngorm views
On Wednesday 21 June 2006 09:25, Tom Chiverton wrote: Hmm ? Right, I've had an idea - rather than the views containing view:WibbleHelper id=wibbleHelper . selectedItem={wibbleHelper.selectedItem} move the view helpers onto the model, and drop the view: tag, so the 2nd line above becomes selectedItem={model.wibbleHelper.selectedItem} Does that sound resonable, or is it co-opting the model for something it shouldn't be used for ? -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the Year at the 2005 Growth Company Awards Yahoo! Groups Sponsor ~-- Check out the new improvements in Yahoo! Groups email. http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: [FileReference] change title on file chooser
Any info? Thanks in advance K --- In flexcoders@yahoogroups.com, keishichi2001 [EMAIL PROTECTED] wrote: Following code will pop os-native file chooser up. FileReference.browse(); However, I couldn't find any property to change title on the file chooser. Any clue? K Yahoo! Groups Sponsor ~-- Check out the new improvements in Yahoo! Groups email. http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: [Flex2Beta3] CF/Flex integration - 500 NULL
Hi Bill, yes, in fact I am trying to get the SessionTracker sample running. For some reason what-so-ever, it works as I'm typing this - I'm confused. Is it nesseccary to restart the whole system after the CF/Flex connectivity update? Didn't read that anywhere... However, here is what I did, maybe it is helpful somehow: * installed CF and FDS Beta3 as self-contained servers from scratch and into its every default directory * installed the CF/Flex connectivity update - the CF version number after that however is 7,0,2,137072 + ColdFusion/Flex Connectivity Beta 3, not as it is written in the release notes * the JRE version as shown in the cfide is 1.4.2_09 * configured the Flex Messaging Eventgateway and Data Services adapter as described in the release notes Part 1 on the labs site * stopped and restarted both, first FDS then CF * unzipped the SessionTracker example files into the designated directories of FDS and CF * the sessionTracker main.mxml shows both at the bottom, Connected=true and Subscribed=true * tried to set up an instance of FlexMassaging Event Gateway in the cfide as described in the docs shipped in the SessionTracker zip file * then the Flex2CF gateway failed to start up - just a blank page with 500 null on it. however, the other gateway types went well * but now it works and possibly I can continue ;) Greetings, Thomas Thomas Rühl Design, Programming Concepts akitogo OHG Hanauer Landstrasse 188 60314 Frankfurt Telefon +49 (0) 69 800 69 445 Fax +49 (0) 69 800 69 449 Mobil +49 (0) 179 750 75 87 E-Mail [EMAIL PROTECTED] Web http://www.akitogo.com Bill Sahlas wrote: Are you attempting the Sample app called SessionTracker? Can you give me more details? **Bill Sahlas** ColdFusion QA Adobe Systems Inc. 275 Grove Street Newton MA 02246 p: 617.219.2167 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Yahoo! Groups Sponsor ~-- Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: [Flex2Beta3] CF/Flex integration - 500 NULL
On Wednesday 21 June 2006 10:40, Thomas Rühl -akitogo- wrote: * then the Flex2CF gateway failed to start up - just a blank page with 500 null on it. however, the other gateway types went well What was this URL ? What is in the CF and FDS logs ? -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the Year at the 2005 Growth Company Awards Yahoo! Groups Sponsor ~-- Check out the new improvements in Yahoo! Groups email. http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Flex2B3: Container fillColors
Hey man, this is a primitive example: myContainer.setStyle(borderSkin, TaskListTitleBarBorderSkin ); or you know in CSS ;-) code --- package com.teotiGraphix.skins.teo { import flash.geom.Matrix; import flash.display.GradientType; import mx.skins.RectangularBorder; /** * */ public class TaskListTitleBarBorderSkin extends RectangularBorder { var backgroundColor:Number; /** * Constructor */ public function TaskListTitleBarBorderSkin() { super(); } /** * */ public override function setActualSize(w:Number, h:Number):void { super.setActualSize(w, h); graphics.clear(); var radius = getStyle(cornerRadius); var fillColors:Array = getStyle(fillColors); var fillType:String = GradientType.LINEAR; //var colors:Array = [0xFF, 0xC7D3F7]; var alphas:Array = [100, 100]; var ratios:Array = [0x33, 0xFF]; var matr:Matrix = new Matrix(); matr.createGradientBox(w, h - 5, 0/*(Math.PI/2)*/, 0, 0); var spreadMethod:String = SpreadMethod.PAD; graphics.beginGradientFill(fillType, fillColors, alphas, ratios, matr, spreadMethod); graphics.drawRoundRectComplex(0, 0, w, h, radius, radius, 0, 0); graphics.endFill(); } } } Peace, MikeOn 6/20/06, Tim Hoff [EMAIL PROTECTED] wrote: In the process of styling, I wasn't able to apply gradient fillColors to containers (Panel, VBox...). Maybe, didn't make the final cut. In some situations this would come in handy. Vector graphics consume less resources. Has anyone subclassed this, to draw graphics as a container's background? Kindly, Tim Hoff -- What goes up, does come down. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] E4X Interpreter
Not trying to hijack here but , how did you get a xml chain to bind? An yes a need for e4x features would be most handy, but until i get just a simple chain working can help ya ;) I'm trying to do this and getting no results at all? Dynamic binding not working, from the docs it say's Works fora property etc.. "call the method as: watch(host, ["a","b","c"], ...). " When binding to a chain. Go figure? as below mx:Script![CDATA[import mx.binding.utils.*;[Bindable]public var boundtarget:XML;private function Init_TargetBinding():void{boundtarget = new XML(itemfullnametesting/fullnametototest2/toto/item);var owatch:ChangeWatcher = BindingUtils.bindProperty(text1, "text",this , ["boundtarget","item","fullname"]);trace("Watched: " + owatch.isWatching());}]]/mx:Scriptmx:TextInput click="Init_TargetBinding();" id="text1"/ If my array only containes boundtarget then i get the xml. Jason -Message d'origine-De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part de FineLineEnvoy: mercredi 21 juin 2006 03:26: flexcoders@yahoogroups.comObjet: [flexcoders] E4X Interpreter Hi. Yesterday, I set out on what I thought would be a quick task using Flex an E4X interpreter, where a user can view an XML document as source and tree, type in E4X expressions, and see the result of the _expression_. Ultimately, I wanted to be able to perform assignments and see the effect (if any) on the XML. Nice little tool to help learn E4X syntax. As it turns out, this is a lot more difficult than I thought. I was hoping there would be some way of evaluating an E4X _expression_ held in a string. I have found that there was an eval() function in previous versions of ActionScript, but it has been dropped. I can understand that an open-ended eval() function might be a security worry, but it seems a bit restrictive not being able to evaluate E4X expressions held as a string. I have looked into these approaches: Objects and Dynamic classes. These allow you to assign functions to an object or class at runtime, but only functions that are already defined within the source code. Theres no way to create new function from string. Same reasoning as eval() I guess. Event handlers for GUI objects. I found it is not possible to assign to or access the click property of a button, for example. Again, security reason I guess. Bindings. I have tried various ways of assigning the binding of a result field at runtime, the most successful being the BindingUtils.bindProperty method. This works with simple values and XML chains, but not with chains containing E4X features such as searching, as in the following example: BindingUtils.bindProperty( txtField, "text", this, ["xdata","item","(@id=='3456')","description"] ); I have had a look at the generated ActionScript after compiling a project with a simple curly braces bind to the E4X _expression_, and can see that functions have been created to watch for changes to the XML object, and then recalculate the _expression_, see if it has changed and if so update the text field (I think) So anyway, short of rewriting the entire E4X interpretation algorithms, or relying on a new component being compiled dynamically at runtime, can anyone think of a way to do this? Cheers, Tim __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Flex2B3: Container fillColors
Ah, And I realize this is an old one. The setActualSize(w, h) needs to be updateDisplayList(w, h); Sorry about that. :) Peace, MikeOn 6/21/06, Michael Schmalle [EMAIL PROTECTED] wrote: Hey man, this is a primitive example: myContainer.setStyle(borderSkin, TaskListTitleBarBorderSkin ); or you know in CSS ;-) code --- package com.teotiGraphix.skins.teo { import flash.geom.Matrix; import flash.display.GradientType; import mx.skins.RectangularBorder; /** * */ public class TaskListTitleBarBorderSkin extends RectangularBorder { var backgroundColor:Number; /** * Constructor */ public function TaskListTitleBarBorderSkin() { super(); } /** * */ public override function setActualSize(w:Number, h:Number):void { super.setActualSize(w, h); graphics.clear(); var radius = getStyle(cornerRadius); var fillColors:Array = getStyle(fillColors); var fillType:String = GradientType.LINEAR; //var colors:Array = [0xFF, 0xC7D3F7]; var alphas:Array = [100, 100]; var ratios:Array = [0x33, 0xFF]; var matr:Matrix = new Matrix(); matr.createGradientBox(w, h - 5, 0/*(Math.PI/2)*/, 0, 0); var spreadMethod:String = SpreadMethod.PAD; graphics.beginGradientFill(fillType, fillColors, alphas, ratios, matr, spreadMethod); graphics.drawRoundRectComplex(0, 0, w, h, radius, radius, 0, 0); graphics.endFill(); } } } Peace, MikeOn 6/20/06, Tim Hoff [EMAIL PROTECTED] wrote: In the process of styling, I wasn't able to apply gradient fillColors to containers (Panel, VBox...). Maybe, didn't make the final cut. In some situations this would come in handy. Vector graphics consume less resources. Has anyone subclassed this, to draw graphics as a container's background? Kindly, Tim Hoff -- What goes up, does come down. -- What goes up, does come down. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] E4X Interpreter
WishingI read my own writing.. I mean, I can't help you until I get mine working, and yes full e4x features would be great. Sorry bout that. jason -Message d'origine-De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part de Jason HawrylukEnvoy: mercredi 21 juin 2006 12:20: flexcoders@yahoogroups.comObjet: RE: [flexcoders] E4X Interpreter Not trying to hijack here but , how did you get a xml chain to bind? An yes a need for e4x features would be most handy, but until i get just a simple chain working can help ya ;) I'm trying to do this and getting no results at all? Dynamic binding not working, from the docs it say's Works fora property etc.. "call the method as: watch(host, ["a","b","c"], ...). " When binding to a chain. Go figure? as below mx:Script![CDATA[import mx.binding.utils.*;[Bindable]public var boundtarget:XML;private function Init_TargetBinding():void{boundtarget = new XML(itemfullnametesting/fullnametototest2/toto/item);var owatch:ChangeWatcher = BindingUtils.bindProperty(text1, "text",this , ["boundtarget","item","fullname"]);trace("Watched: " + owatch.isWatching());}]]/mx:Scriptmx:TextInput click="Init_TargetBinding();" id="text1"/ If my array only containes boundtarget then i get the xml. Jason -Message d'origine-De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part de FineLineEnvoy: mercredi 21 juin 2006 03:26: flexcoders@yahoogroups.comObjet: [flexcoders] E4X Interpreter Hi. Yesterday, I set out on what I thought would be a quick task using Flex an E4X interpreter, where a user can view an XML document as source and tree, type in E4X expressions, and see the result of the _expression_. Ultimately, I wanted to be able to perform assignments and see the effect (if any) on the XML. Nice little tool to help learn E4X syntax. As it turns out, this is a lot more difficult than I thought. I was hoping there would be some way of evaluating an E4X _expression_ held in a string. I have found that there was an eval() function in previous versions of ActionScript, but it has been dropped. I can understand that an open-ended eval() function might be a security worry, but it seems a bit restrictive not being able to evaluate E4X expressions held as a string. I have looked into these approaches: Objects and Dynamic classes. These allow you to assign functions to an object or class at runtime, but only functions that are already defined within the source code. Theres no way to create new function from string. Same reasoning as eval() I guess. Event handlers for GUI objects. I found it is not possible to assign to or access the click property of a button, for example. Again, security reason I guess. Bindings. I have tried various ways of assigning the binding of a result field at runtime, the most successful being the BindingUtils.bindProperty method. This works with simple values and XML chains, but not with chains containing E4X features such as searching, as in the following example: BindingUtils.bindProperty( txtField, "text", this, ["xdata","item","(@id=='3456')","description"] ); I have had a look at the generated ActionScript after compiling a project with a simple curly braces bind to the E4X _expression_, and can see that functions have been created to watch for changes to the XML object, and then recalculate the _expression_, see if it has changed and if so update the text field (I think) So anyway, short of rewriting the entire E4X interpretation algorithms, or relying on a new component being compiled dynamically at runtime, can anyone think of a way to do this? Cheers, Tim __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] ComboBox DropDown or DropUp
It should, there is y bounds checking in the code. Could you show an example? It might have been something they tunned for the public release also. Never know. Peace, MikeOn 6/21/06, NZEYIMANA Emery Fabrice [EMAIL PROTECTED] wrote: Hello Group, I have a comboBox that's at the bottom of my FLEX Interface. When I pull down the contents of the ComboBox, the contents are hidden because the dropDown list exceeds the boundary of the FlexApplication UI. My question is: is it possible to instruct the comboBox to pop-up the list towards the north rather than drop down? The normal drop down list looks like: __ ComboBox Text v __ xxx List Element xxx xxx List Element xxx xxx List Element xxx xxx List Element xxx__ I want to change and have like: __ xxx List Element xxx xxx List Element xxx xxx List Element xxx xxx List Element xxx xxx List Element xxx__ ComboBox Text ^ __ Thanks Emery -- What goes up, does come down. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Binding chart to XML
I'm trying to bind a chart to an XML document, like this: /* Script */ var sXML:String = '\ data\ item name=Aaa val=6 /\ item name=Bbb val=46 /\ item name=Ccc val=16 /\ /data\ '; gXMLDoc = mx.utils.XMLUtil.createXMLDocument(sXML); pie.dataProvider = gXMLDoc.firstChild.childNodes; /* End of Script */ And my series looks like this: mx:PieSeries labelPosition=callout field=val But I keep getting the error: Property val not found on flash.xml.XMLNode and there is no default value. What am I doing wrong? Thanks The information contained in this e-mail and/or any attachments is confidential and intended only for the individual(s) to which it is addressed. If you are not named as an addressee you must not disclose, copy or take any action in reliance of this transmission. This e-mail and its attachments have been scanned for viruses by MessageLabs Ltd. __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ Yahoo! Groups Sponsor ~-- Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: ComboBox itemRenderer scrolling Bug?
Hi Brendon... I came across exactly the same weirdness when using an itemrenderer that displayed different images in a datagrid column based on specific values. No matter what I do, I continue to get the same weird behaviour where if you scroll down, the values in the rendered column start moving around... I picked up the example code from: http://www.iepl.net/dataGridItemRendererSample/dgItemRendererSample.html and reduced the height of the datagrid so that scrolling is required. And this weird behaviour occurs there as well. This unexpected behaviour is not listed as a known issue at http://labs.adobe.com/wiki/index.php/Flex:Known_Issues#Item_Renderers. So I don't know if it is bug or it is something that all of us are doing incorrectly. Indy --- In flexcoders@yahoogroups.com, Brendan Meutzner [EMAIL PROTECTED] wrote: Sorry if this is a repost, but i didn't see it showing up after being posted this morning.. Hi All, I came across some funky behaviour when using a ComboBox as an itemRenderer for a DataGrid. I've posted the issue at http://www.visualconcepts.ca/flex2/comboboxrenderer/Tester.html. To replicated just change one of the combobox items, and then move your mouse above and below the datagrid. For additional funkiness, go focus on one of the numbers (NumericStepper renderer used) and move the mouse above and below the datagrid to see them disappear as the rows are redrawn... interesting... Brendan Yahoo! Groups Sponsor ~-- Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] More than one class in the same file
Well, i've read that it is possible to place more than one class in the same as file and also within the body of a package, like for example package tutorial{ class Sample1 {} class Sample2 {} class Sample3 {} } but everytime i try to do that, Flex gives me an error saying... A file found in an source-path can not have more than one externally visible definition. ... ok, i understand that if we have more than one class in a file just one of them can be public and the file's name must be the same as the public class. But i don't know why i have that error. Yahoo! Groups Sponsor ~-- See what's inside the new Yahoo! Groups email. http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] FLV can't load in to videoDisplay component from remote machine
hi Tom It is givinging me error of no bitrate matchError: 1000: No bitrate match at mx.controls.videoClasses::VideoPlayer/play() at mx.controls::VideoDisplay/play() at Support/::toggle() at Support/___Button1_click() Tom Chiverton [EMAIL PROTECTED] wrote: On Tuesday 20 June 2006 15:16, Bhavin Padhiyar wrote: I try out with some other examples that also give same kind of error even in flexstore example of adobe having same error.What error is that then ?-- Tom ChivertonThis email is sent for and on behalf of Halliwells LLP.Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society.CONFIDENTIALITYThis email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008.For more information about Halliwells LLP visit www.halliwells.com.We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the Year at the 2005 Growth Company Awards Yahoo! Groups Sponsor ~-- Check out the new improvements in Yahoo! Groups email.http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM~- --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links* To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/* To unsubscribe from this group, send an email to:[EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to:http://docs.yahoo.com/info/terms/ Do you Yahoo!? Get on board. You're invited to try the new Yahoo! Mail Beta. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%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: RESENDING: RE: [flexcoders] Login System
This is something I have been struggling with as well. Since I am brand new to this groups thing how do I download your samples file. It tells me the attachment was not stored and I can not get the file. --- In flexcoders@yahoogroups.com, Bill Sahlas [EMAIL PROTECTED] wrote: Here's a Login sample app (rename to samples.zip) that uses the RemoteObject.setRemoteCredentials(username, password) and the ColdFusion CFLOGIN container. Unzip it to your web server's doc root. In flex builder create a new Flex project of type ColdFusion Flash Remoting Service. Fill out the prompts and specify LoginTest.mxml as your Main application file. Here's a code snippet from the app and it breaks down like this In the MXML ... private function logIn():void { // all this does is set the credentials - these are not sent over until the first actual request is made // set the RemoteObject cf.setRemoteCredentials(this.username.text, this.password.text); loginbtn.enabled = false; logoutbtn.enabled = true; } private function logOut():void { //Alert.show (logout); loginbtn.enabled = true; logoutbtn.enabled = false; cf.setRemoteCredentials(null, null); cf.logout(); cf.logoutuser(); } ... ... mx:FormItem direction=horizontal mx:Button id=loginbtn label=Login click=logIn();/ mx:Button id=logoutbtn label=Logout click=logOut() enabled=false/ /mx:FormItem The CFML included in the app uses the CFLOGIN structure as per CF best practices of usage of this feature. Also note that as part of the new Super Wizard for Flex Builder 2.0 produced by the CF team includes an option to build-in a login scheme (includes a well-formatted login page with user name and password field prompts and the appropriate cfc backend logic). Bill From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton Sent: Friday, May 19, 2006 4:12 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Login System On Thursday 18 May 2006 17:52, s_hernandez01 wrote: code up the login system. Would anybody know how to start that, or know of any references that would help me get started. I know that I'd have the Flash send the username/password to the CF over HTTPS. The CF creates a per-session token and gives that back to the Flash. The Flash then gives that token as the first argument to all other server functions. Obviously some small wibbles with CF keeping track of tokens, validating and expiring them etc., but I'm not gonna write it all out here :-) -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the Year at the 2005 Growth Company Awards -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development http://groups.yahoo.com/gads?
[flexcoders] Adding dynamic items to MenuBar component
Hello All, I have a Window menuitem on the top level of a MenuBar component, and when I add a new window to my application, I'd like to reflect that under the Window menuitem. I know that I can modify the dataprovider for the MenuBar itself (bind it to a ModelLocator.menuBarDP or something of the sort) but I'm actually at a loss as to how to actually edit the dataProvider. How do I find the Window node and change it? I might be psyching myself out. Can I just treat it as standard XML and search through? But then how do I actually edit the node and put it back where it needs to be? I'm really a bit of an E4X/DOM noobie. ANY tip is greatly appreciated!! Thanks in advance, Jordan Snyder Applications Developer Image Action LLC www.imageaction.com __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] More than one class in the same file
There can only be one public class in a package package { public function MyPublicClass() { } } // you need to import here again for the classes below // you can also have functions here function somePackageFunction(arg:Number):void { } MyInternalClass { public function MyInternalClass() { } } Peace Mike On 6/21/06, alglx [EMAIL PROTECTED] wrote: Well, i've read that it is possible to place more than one class in the same as file and also within the body of a package, like for example package tutorial{ class Sample1 {} class Sample2 {} class Sample3 {} } but everytime i try to do that, Flex gives me an error saying... A file found in an source-path can not have more than one externally visible definition. ... ok, i understand that if we have more than one class in a file just one of them can be public and the file's name must be the same as the public class. But i don't know why i have that error. -- What goes up, does come down. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Applet invocation using Flex
You should be able to access the applet with _javascript_. The best thing is to provide a _javascript_ api in your html document and use this from flex.Cheers,Ralf. On 6/21/06, tinywhistles [EMAIL PROTECTED] wrote: Hi Is it possible to call an applet class from a MXML file? I am trying to display a java.awt.image object in a applet window, which is pretty simple. But since I am using Flex as the UI for my application, applet windows are ruled out. Is there a way to overcome this? I am using Flex 2.0(beta 3)and AMF remoting. ThanksRohan __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%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] Noob binding question
I've racked my brain, and searched all the documentation I could find, but seem to be having a problem binding results from a CFC query to flex objects... I know I'm doing the chart all wrong, but I tried binding to a datagrid, and I don't see what's wrong there. I can confirm that the CF server is getting the request, and is sending back the proper number of rows. Here's the app I've been toying with: http://flex.work.iotashan.com/hlstatsx/hlstatsx.html You can view the source on it. Thanks for the help, Shan __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___ -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.9.2/370 - Release Date: 6/20/2006
[flexcoders] Re: Flex2B3: Container fillColors
Thanks Mike, I started trying to do something similar to this before I asked for help. I kept stepping on my own foot figuring out a way to apply it. I have a lot to do today. But, I'll try to work this in. Again, this may be something that has been added to Flex final, but good gymnastics. Thanks again, I'll let you know how it works out. -TH --- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Hey man, this is a primitive example: myContainer.setStyle(borderSkin, TaskListTitleBarBorderSkin ); or you know in CSS ;-) code --- package com.teotiGraphix.skins.teo { import flash.geom.Matrix; import flash.display.GradientType; import mx.skins.RectangularBorder; /** * */ public class TaskListTitleBarBorderSkin extends RectangularBorder { var backgroundColor:Number; /** * Constructor */ public function TaskListTitleBarBorderSkin() { super(); } /** * */ public override function setActualSize(w:Number, h:Number):void { super.setActualSize(w, h); graphics.clear(); var radius = getStyle(cornerRadius); var fillColors:Array = getStyle(fillColors); var fillType:String = GradientType.LINEAR; //var colors:Array = [0xFF, 0xC7D3F7]; var alphas:Array = [100, 100]; var ratios:Array = [0x33, 0xFF]; var matr:Matrix = new Matrix(); matr.createGradientBox(w, h - 5, 0/*(Math.PI/2)*/, 0, 0); var spreadMethod:String = SpreadMethod.PAD; graphics.beginGradientFill(fillType, fillColors, alphas, ratios, matr, spreadMethod); graphics.drawRoundRectComplex(0, 0, w, h, radius, radius, 0, 0); graphics.endFill(); } } } Peace, Mike On 6/20/06, Tim Hoff [EMAIL PROTECTED] wrote: In the process of styling, I wasn't able to apply gradient fillColors to containers (Panel, VBox...). Maybe, didn't make the final cut. In some situations this would come in handy. Vector graphics consume less resources. Has anyone subclassed this, to draw graphics as a container's background? Kindly, Tim Hoff -- What goes up, does come down. Yahoo! Groups Sponsor ~-- Something is new at Yahoo! Groups. Check out the enhanced email design. http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Noob binding question
According to ServiceCapture, your flash Remoting calls are bombing out... It says you were making 'the following service calls:' null.null() Never a good thing! Scott On 6/21/06, Shannon Hicks [EMAIL PROTECTED] wrote: I've racked my brain, and searched all the documentation I could find, but seem to be having a problem binding results from a CFC query to flex objects... I know I'm doing the chart all wrong, but I tried binding to a datagrid, and I don't see what's wrong there. I can confirm that the CF server is getting the request, and is sending back the proper number of rows. Here's the app I've been toying with: http://flex.work.iotashan.com/hlstatsx/hlstatsx.html You can view the source on it. Thanks for the help, Shan --No virus found in this outgoing message.Checked by AVG Free Edition.Version: 7.1.394 / Virus Database: 268.9.2/370 - Release Date: 6/20/2006 -- : : ) Scott __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Re: Reusing Cairngorm views
Yeah, that sounds reasonable. Keep as much in the model as you can. I see your point about child component id's. You might have to take the same concept of instantiation to these as well. It might take a little refactoring. -TH --- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Wednesday 21 June 2006 09:25, Tom Chiverton wrote: Hmm ? Right, I've had an idea - rather than the views containing view:WibbleHelper id=wibbleHelper . selectedItem={wibbleHelper.selectedItem} move the view helpers onto the model, and drop the view: tag, so the 2nd line above becomes selectedItem={model.wibbleHelper.selectedItem} Does that sound resonable, or is it co-opting the model for something it shouldn't be used for ? -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the Year at the 2005 Growth Company Awards Yahoo! Groups Sponsor ~-- Check out the new improvements in Yahoo! Groups email. http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] [Ann] The world's largest Flex application
Robin Hilliard of Rocketboots (www.rocketboots.com.au) will talk about the lessons learnt from the world's largest Flex (1.5) application. Mon 3rd July at the Sydney Flash Platform Developers Group (www.flashdev.org.au) at 6:30 pm for 7pm start at the NSW Sports Club (www.flashdev.org.au/venue). Please RSVP (www/flashdev.org.au/rsvp) for catering purposes. Chris -- Chris Velevitch Manager - Sydney Flash Platform Developers Group www.flashdev.org.au Yahoo! Groups Sponsor ~-- See what's inside the new Yahoo! Groups email. http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] FLV can't load in to videoDisplay component from remote machine
Have you set hardcoded value for the bitrate? -abdulOn 6/21/06, Bhavin Padhiyar [EMAIL PROTECTED] wrote: hi Tom It is givinging me error of no bitrate matchError: 1000: No bitrate match at mx.controls.videoClasses::VideoPlayer/play() at mx.controls::VideoDisplay/play() at Support/::toggle() at Support/___Button1_click() Tom Chiverton [EMAIL PROTECTED] wrote: On Tuesday 20 June 2006 15:16, Bhavin Padhiyar wrote: I try out with some other examples that also give same kind of error even in flexstore example of adobe having same error.What error is that then ?-- Tom Chiverton This email is sent for and on behalf of Halliwells LLP.Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITYThis email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008.For more information about Halliwells LLP visit www.halliwells.com.We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the Year at the 2005 Growth Company Awards Yahoo! Groups Sponsor ~-- Check out the new improvements in Yahoo! Groups email. http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM~- --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links* To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/* To unsubscribe from this group, send an email to: [EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ Do you Yahoo!? Get on board. You're invited to try the new Yahoo! Mail Beta. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%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] Migration problem Flex 1.5 to 2.0.
Hi all, We have around 13 modules for the project say ABC, i've to work on one of the module and we are using Flex2.0. But the re two modules already implemented their modules in Flex 1.5. But we all share common web.xml and deploy as a single EAR file. Now how about other modules (Flex 1.5)? Will they have to migrate to flex 2.0? There is lot of work involved to migrate to Flex2.0 now and they don't have any plans to do that in future. Can any one guide me for this problem? Can we mix Flex1.5 and 2.0 under a single EAR? Thanks -Silpa __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com Yahoo! Groups Sponsor ~-- Check out the new improvements in Yahoo! Groups email. http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] how to handle large menus
What is the best way to handle generating a large menu? What I'm doing currently is looping thru an array and creating a mc and adding a text feild to it, as you can imagine this craps out on larger arrays. I'm sure this is not the preferred way to do something like this and I'm looking for suggestions. Is there a way to just have 1 textfield with a list of clickable items? Thanks for any help Yahoo! Groups Sponsor ~-- Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Binding chart to XML
In E4X parlance, attributes are referred to by prefixing their name with @. i.e., to get the val of the first item in your code, you would write: [EMAIL PROTECTED]; So to have a data component (chart, list, etc) pull a value from an attribute, you need to do the same: PieSeries field="@val" / Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Daniel TuppenySent: Wednesday, June 21, 2006 4:11 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Binding chart to XML I'm trying to bind a chart to an XML document, like this:/* Script */var sXML:String = '\data\item name="Aaa" val="6" /\item name="Bbb" val="46" /\item name="Ccc" val="16" /\/data\';gXMLDoc = mx.utils.XMLUtil.createXMLDocument(sXML);pie.dataProvider = gXMLDoc.firstChild.childNodes;/* End of Script */And my series looks like this:mx:PieSeries labelPosition="callout" field="val"But I keep getting the error: "Property val not found onflash.xml.XMLNode and there is no default value".What am I doing wrong?ThanksThe information contained in this e-mail and/or any attachments is confidential and intended only for the individual(s) to which it is addressed. If you are not named as an addressee you must not disclose, copy or take any action in reliance of this transmission. This e-mail and its attachments have been scanned for viruses by MessageLabs Ltd.__This email has been scanned by the MessageLabs Email Security System.For more information please visit http://www.messagelabs.com/email __ __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%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: flex2gateway woes on UNIX
I've found the solution (actually CheapEnergy on Adobe's CF-Flex Connectivity forum found it). Although I had reinstalled CF a couple of times, apparently there were a couple of processes that didn't get killed after stopping CF and the Web server prior to the reinstall. Killing these before reinstalling CF and Mystic did the trick. Thanks to all who offered suggestions... Bill PS, If anyone is interested here's the url to the thread: http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=592threadid=1162692forumid=60 Yahoo! Groups Sponsor ~-- Something is new at Yahoo! Groups. Check out the enhanced email design. http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] E4X Interpreter
I can understand that an open-ended eval() function might be a security worry Yes, and there are also some other reasons why AS3 doesn't include eval() ... It would make the Player larger than we'd like, because the Player would have to contain the AS3 compiler. And the compiler would have to be in C++ (the language the player is written in) rather than in Java (the language that Flex tools are written in), so we'd have to maintain two copies of the compiler. - Gordon From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of FineLine Sent: Tuesday, June 20, 2006 6:26 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] E4X Interpreter Hi. Yesterday, I set out on what I thought would be a quick task using Flex an E4X interpreter, where a user can view an XML document as source and tree, type in E4X expressions, and see the result of the _expression_. Ultimately, I wanted to be able to perform assignments and see the effect (if any) on the XML. Nice little tool to help learn E4X syntax. As it turns out, this is a lot more difficult than I thought. I was hoping there would be some way of evaluating an E4X _expression_ held in a string. I have found that there was an eval() function in previous versions of ActionScript, but it has been dropped. I can understand that an open-ended eval() function might be a security worry, but it seems a bit restrictive not being able to evaluate E4X expressions held as a string. I have looked into these approaches: Objects and Dynamic classes. These allow you to assign functions to an object or class at runtime, but only functions that are already defined within the source code. Theres no way to create new function from string. Same reasoning as eval() I guess. Event handlers for GUI objects. I found it is not possible to assign to or access the click property of a button, for example. Again, security reason I guess. Bindings. I have tried various ways of assigning the binding of a result field at runtime, the most successful being the BindingUtils.bindProperty method. This works with simple values and XML chains, but not with chains containing E4X features such as searching, as in the following example: BindingUtils.bindProperty( txtField, text, this, [xdata,item,(@id=='3456'),description] ); I have had a look at the generated ActionScript after compiling a project with a simple curly braces bind to the E4X _expression_, and can see that functions have been created to watch for changes to the XML object, and then recalculate the _expression_, see if it has changed and if so update the text field (I think) So anyway, short of rewriting the entire E4X interpretation algorithms, or relying on a new component being compiled dynamically at runtime, can anyone think of a way to do this? Cheers, Tim __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Thoughts on AMFPHP Restaurant Finder
Hi All, In an attempt to get to grips with Flex 2 and AMFPHP after following Mike Potter's tutorial here http://labs.adobe.com/wiki/index.php/Flex_Framework:tutorials:flex2_AMFPHP I've built a Restaurant Finder based on Christophe Coenraets' Flex 1.5 example found here http://coenraets.com/tutorials/restaurant/ Christophe's tutorial was originally about well architected applications, but I couldn't work out how to migrate his good structure to Flex 2! :-/ Anyway here's the outcome http://www.abdn.ac.uk/diss/ltu/pmarston/flex/CafeFinder/ - a bit ropey in places (the dragable rectangle can go off the map) but generally works. The source is here http://www.abdn.ac.uk/diss/ltu/pmarston/flex/CafeFinder/srcview/ (I'd really appreciate an heads ups to glaring errors) and if you want to play with it yourself, you'll need the sql and service files located here http://www.abdn.ac.uk/diss/ltu/pmarston/flex/CafeFinder/srcview/RestaurantSQL.zip and here http://www.abdn.ac.uk/diss/ltu/pmarston/flex/CafeFinder/srcview/RestaurantService.zip - put the php file in your amfphp services directory and use the sql to set up your mySQL tables (obviously you'll also need to set the gateway url in CafeFinder.mxml and the database details in the service file. I hope this is helpful to some of you and as I said I'd like any tips on how to make the code better or better ways of doing things. Cheers, Phil -- __ Phil Marston Learning Technologist Learning Technology Unit Edward Wright G33, University of Aberdeen, Aberdeen, AB24 3QY, UK [EMAIL PROTECTED] Tel: +44(0)1224 273329 / +44(0)7798 723660 http://www.abdn.ac.uk/diss/ltu/pmarston/ http://www.abdn.ac.uk/diss/ltu/ __ The University of Aberdeen Open Day 29th August 2006 Booking is essential www.abdn.ac.uk/openday email [EMAIL PROTECTED] or call 0800 027 1495 Yahoo! Groups Sponsor ~-- Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] [Ann] The world's largest Flex application
Just curious, what was criteria to decide that it's largest Flex app...No offenses..-abdulOn 6/21/06, Chris Velevitch [EMAIL PROTECTED] wrote: Robin Hilliard of Rocketboots (www.rocketboots.com.au) will talk about the lessons learnt from the world's largest Flex (1.5) application. Mon 3rd July at the Sydney Flash Platform Developers Group (www.flashdev.org.au) at 6:30 pm for 7pm start at the NSW Sports Club (www.flashdev.org.au/venue). Please RSVP (www/flashdev.org.au/rsvp) for catering purposes. Chris -- Chris Velevitch Manager - Sydney Flash Platform Developers Group www.flashdev.org.au __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%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] Flash/ASO and ZoneAlarm Security Suite (v6.5.714.000).
Cool! Thanks for sharing the info...-abdulOn 6/21/06, John Grden [EMAIL PROTECTED] wrote: If you use zone alarm and you did the latest update (like I did), you might notice that you're going through a slight nightmare right now with file modified dates not being updated when you save and having to clear ASO or do a clean build with Flex2. ZoneAlarm Security Suite (v6.5.714.000) apparently causes this issue. You need to downgrade to the last version or un-install until they get a fix together.Hth,PS I'm going to verbally harass them to tears and general weeping. No need to spam them...nah, go ahead. -- John Grden - Blitz __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] Re: ACcess SOAP fault code
The way it should work is for the fault handler to be triggered due to the fact that a SOAP fault was returned. At this point, the 500 status code is what's triggering the fault. Carson Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com Email: [EMAIL PROTECTED] Office: 866-CYNERGY Mobile: 1.703.489.6466 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Daniel TuppenySent: Wednesday, June 21, 2006 4:05 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Re: ACcess SOAP fault code I wasn't thinking to use the fault handler, I was just planning on everyresponse being an object with an error property that will usually benull, and checking for it myself. Your idea would be much nicer, but Idoubt it's possible, since we're pretending everything worked fine.Maybe changing the status code in a HttpHandler would be a nicersolution after all! -Original Message-From: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] OnBehalf Of z lSent: 21 June 2006 08:24To: [EMAIL PROTECTED]ups.comSubject: [flexcoders] Re: ACcess SOAP fault codeHi,Can someone explain to me that since you've caught the exception in yourcode, then how does the fault event handler in flex gets called?Generally speaking, what is the mechanism that triggers the fault eventin flex?Thanks,__Do You Yahoo!?Tired of spam? Yahoo! Mail has the best spam protection aroundhttp://mail.yahoo.com --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives:http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links[Inbound Mail Scanned by MessageLabs]__This email has been scanned by the MessageLabs Email Security System.For more information please visit http://www.messagelabs.com/email __ __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%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] FYI - this email address has been abused and is no longer an acceptable email address
Hi there, If you are getting this message it is probably because you tried to email me at [EMAIL PROTECTED] Unfortunately, this email generates too much spam, which renders it quite useless. The best way to reach me is through my myspace account. This way I can be sure I do not get followed by these spammers. http://www.myspace.com/phlux Thank you. I look forward to hearing from you. Smiles, Phlux __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%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: ComboBox itemRenderer scrolling Bug?
Is this a bug then?... can somebody tell me if it's been reported on the beta list?Thanks,BrendanOn 6/20/06, indy_nagpal [EMAIL PROTECTED] wrote: Hi Brendon... I came across exactly the same weirdness when using an itemrenderer that displayed different images in a datagrid column based on specific values. No matter what I do, I continue to get the same weird behaviour where if you scroll down, the values in the rendered column start moving around... I picked up the example code from: http://www.iepl.net/dataGridItemRendererSample/dgItemRendererSample.html and reduced the height of the datagrid so that scrolling is required. And this weird behaviour occurs there as well. This unexpected behaviour is not listed as a known issue at http://labs.adobe.com/wiki/index.php/Flex:Known_Issues#Item_Renderers. So I don't know if it is bug or it is something that all of us are doing incorrectly. Indy --- In flexcoders@yahoogroups.com, Brendan Meutzner [EMAIL PROTECTED] wrote: Sorry if this is a repost, but i didn't see it showing up after being posted this morning.. Hi All, I came across some funky behaviour when using a ComboBox as an itemRenderer for a DataGrid. I've posted the issue at http://www.visualconcepts.ca/flex2/comboboxrenderer/Tester.html. To replicated just change one of the combobox items, and then move your mouse above and below the datagrid. For additional funkiness, go focus on one of the numbers (NumericStepper renderer used) and move the mouse above and below the datagrid to see them disappear as the rows are redrawn... interesting... Brendan __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%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] Migration problem Flex 1.5 to 2.0.
You can probably mix them at the swf level but no lower. In other words, you cant have 2.0 mxml or as files under your 1.5 app. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of silpa s Sent: Wednesday, June 21, 2006 11:55 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Migration problem Flex 1.5 to 2.0. Hi all, We have around 13 modules for the project say ABC, i've to work on one of the module and we are using Flex2.0. But the re two modules already implemented their modules in Flex 1.5. But we all share common web.xml and deploy as a single EAR file. Now how about other modules (Flex 1.5)? Will they have to migrate to flex 2.0? There is lot of work involved to migrate to Flex2.0 now and they don't have any plans to do that in future. Can any one guide me for this problem? Can we mix Flex1.5 and 2.0 under a single EAR? Thanks -Silpa __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Building flat data object based on XML file with complicated structure
Howdy all!! Take the following blurb of XML: item id=0006 qty=2.000 uom=EA matnr=347565 bismt=DBT347565 name=ASSY, SPLIT CLUTCH COVER hasBom=X path=pdf/347565.pdf image=pdf/thumbnails/347565.jpg item id=0001 qty=1.000 uom=EA matnr=347564 bismt=DBT347564 name=SPLIT CLUTCH COVER hasBom=X path=pdf/347564.pdf image=pdf/thumbnails/347564.jpg item id=0001 qty=1.000 uom=EA matnr=313551 bismt=DBT313551 name=CLUTCH COVER MACH. hasBom=X path=pdf/313551.pdf image=pdf/thumbnails/313551.jpg item id=0001 qty=1.000 uom=EA matnr=313552 bismt=DBT313552 name=CLUTCH COVER WELDMENT hasBom=X path=pdf/313552.pdf image=pdf/thumbnails/313552.jpg item id=0001 qty=1.000 uom=EA matnr=169902 bismt=J-548F613MK002 name=HR PLATE hasBom=X path=pdf/169902.pdf image=pdf/thumbnails/169902.jpg item id=0010 qty=2.000 uom=FT2 matnr=131877 bismt= 008 302 72 61 name=PLATE(A572-50)1.00quot; hasBom=/ /item item id=0002 qty=1.000 uom=EA matnr=313554 bismt=DBT313554 name=TUBING hasBom=X path=pdf/313554.pdf image=pdf/thumbnails/313554.jpg item id=0001 qty=0.660 uom=IN matnr=169626 bismt=J-294-07-026 name=15X13-1/2 TUBING C1026 hasBom=/ /item item id=0003 qty=1.000 uom=EA matnr=169903 bismt=J-548F613MK003 name=PLATE hasBom=X path=pdf/169903.pdf image=pdf/thumbnails/169903.jpg item id=0010 qty=1.200 uom=FT2 matnr=131872 bismt= 008 302 72 55 name=PLATE(A572-50).50quot; hasBom=/ /item item id=0004 qty=1.000 uom=EA matnr=313556 bismt=DBT313556 name=END TUBE hasBom=X path=pdf/313556.pdf image=pdf/thumbnails/313556.jpg item id=0001 qty=0.800 uom=FT2 matnr=131883 bismt= 008 302 72 67 name=PLATE(A572-50)1.50quot; hasBom=/ /item item id=0005 qty=1.000 uom=EA matnr=313557 bismt=DBT313557 name=END PLATE hasBom=X path=pdf/313557.pdf image=pdf/thumbnails/313557.jpg item id=0001 qty=0.600 uom=FT2 matnr=131872 bismt= 008 302 72 55 name=PLATE(A572-50).50quot; hasBom=/ /item /item /item /item I've been trying to build an array of objects of it and flatten it down so that each item node would simply be an entry in the array. If I use a recursive function, I only get the deepest node returned. If I use the for each (var prop:XML in myXML.item) loop I only get the children of the root and not the grandchildren. How do I get EVERY node??? Thanks! Wayne Yahoo! Groups Sponsor ~-- Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Binding chart to XML
I wasn't deliberately using E4X (I don't really know what it is!!). I thought I was using XML! :-) I added an @ and get the same issue: "Property @val not found on flash.xml.XMLNode and there is no default value." Any ideas? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ely GreenfieldSent: 21 June 2006 16:54To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Binding chart to XML In E4X parlance, attributes are referred to by prefixing their name with @. i.e., to get the val of the first item in your code, you would write: [EMAIL PROTECTED]; So to have a data component (chart, list, etc) pull a value from an attribute, you need to do the same: PieSeries field="@val" / Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Daniel TuppenySent: Wednesday, June 21, 2006 4:11 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Binding chart to XML I'm trying to bind a chart to an XML document, like this:/* Script */var sXML:String = '\data\item name="Aaa" val="6" /\item name="Bbb" val="46" /\item name="Ccc" val="16" /\/data\';gXMLDoc = mx.utils.XMLUtil.createXMLDocument(sXML);pie.dataProvider = gXMLDoc.firstChild.childNodes;/* End of Script */And my series looks like this:mx:PieSeries labelPosition="callout" field="val"But I keep getting the error: "Property val not found onflash.xml.XMLNode and there is no default value".What am I doing wrong?ThanksThe information contained in this e-mail and/or any attachments is confidential and intended only for the individual(s) to which it is addressed. If you are not named as an addressee you must not disclose, copy or take any action in reliance of this transmission. This e-mail and its attachments have been scanned for viruses by MessageLabs Ltd.__This email has been scanned by the MessageLabs Email Security System.For more information please visit http://www.messagelabs.com/email __ [Inbound Mail Scanned by MessageLabs] __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%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] States within List
Sree, You can create an ItemRenderer based on any UIComponent and add your states into that. Then assign that ItemRenderer to your List. I have started working on an example. This is not complete because it doesnt handle selecting an item. But it should be a good starting point. DynamicListItemRenderer.mxml: ?xml version=1.0 encoding=utf-8? mx:VBox xmlns:mx=http://www.adobe.com/2006/mxml borderStyle=solid backgroundColor=0xFF verticalGap=-2 cornerRadius=4 borderColor=0x00 rollOver=currentState='expanded' rollOut=currentState='' mx:transitions mx:Transition fromState=* toState=* mx:Resize target={this} duration=300/ /mx:Transition /mx:transitions mx:states mx:State name=expanded mx:AddChild creationPolicy=all mx:Label text={data.desc}/ /mx:AddChild /mx:State /mx:states mx:Label text={data.label}/ /mx:VBox Main.mxml: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml xmlns=* width=600 height=500 preinitialize=initList() mx:Script ![CDATA[ import mx.collections.ArrayCollection; [Bindable] public var dataList:ArrayCollection; public function initList():void { dataList = new ArrayCollection([{label:One, desc:The US won the game on a last second goal}, {label:Two, desc:The pressure was too much to overcome}, {label:Four, desc:Look for exciting matchups}]); } ]] /mx:Script mx:List id=mainList itemRenderer=DynamicListItemRenderer variableRowHeight=true width=100% height=300 dataProvider={dataList}/ /mx:Application From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Sreejith Unnikrishnan Sent: Wednesday, June 21, 2006 12:23 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] States within List Is it possible to create states within a List that changes height on select? Basically, I need to switch between a simple and advanced view in a list only on select. I tried using a Repeater in a VBox, but navigating up and down using arrow keys is not possible(?) when using a repeater. Any guidance is appreciated. Thanks Sree __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%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] Flash Player 8 Upload/Download support
Hello, I read somewhere that Flash Player 8 adds Download/Upload support. I was wondering if you can point me to any resource in this regard or any samples would be greatly appreciated. I had implemented the upload functionality using HTML - file upload tag - but I'd like to migrate to Flash if possible.btw, I use Flex 1.5.Thanks,Valy Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail Beta. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%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: Trying out new Cold Fusion/Flex Application Wizard
This has been a problem for me also. It works sometimes but most times it does not. It seems like the results aren't being bound to the form in time (before it pops up the window) very frustrating, because it definately works sometimes. --- In flexcoders@yahoogroups.com, yaagcur [EMAIL PROTECTED] wrote: This looks like an awesome wizrd for RAD However, I have hit a slight problem trying it out I have a master page which provides a list of people which when I select one and press an edit button produces a form with more details of the person. This works fine first time out but when I select another person the form appears with default data(zeros) rather than actual Bit difficult to understand what I'm talking about unless you have tried this but has anyone else had same problem? Yahoo! Groups Sponsor ~-- See what's inside the new Yahoo! Groups email. http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Reusing Cairngorm views
Tom, I think that you would keep your view/viewHelper in the view section and create a Class reference in the ModelLocator. That way you can instantiate the view multiple times. Sub-Views would also have to follow this path. Your dataProviders (VOs) would also need to be instantiated or kept in a collection that binds individual members to individual instances of the view. Intrested to hear what you come up with. -TH --- In flexcoders@yahoogroups.com, Tim Hoff [EMAIL PROTECTED] wrote: Yeah, that sounds reasonable. Keep as much in the model as you can. I see your point about child component id's. You might have to take the same concept of instantiation to these as well. It might take a little refactoring. -TH --- In flexcoders@yahoogroups.com, Tom Chiverton tom.chiverton@ wrote: On Wednesday 21 June 2006 09:25, Tom Chiverton wrote: Hmm ? Right, I've had an idea - rather than the views containing view:WibbleHelper id=wibbleHelper . selectedItem={wibbleHelper.selectedItem} move the view helpers onto the model, and drop the view: tag, so the 2nd line above becomes selectedItem={model.wibbleHelper.selectedItem} Does that sound resonable, or is it co-opting the model for something it shouldn't be used for ? -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the Year at the 2005 Growth Company Awards Yahoo! Groups Sponsor ~-- See what's inside the new Yahoo! Groups email. http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: toolTip for dataGrid headers?
I've seen references to using the setValue() function of the custom renderer to gain access to the header itself and putting the toolTip code in there, but it doesn't look like setValue is called any longer using Beta3. any ideas/suggestions? --- In flexcoders@yahoogroups.com, djbrown_rotonews [EMAIL PROTECTED] wrote: I'm discovered that I need to implement my own headerRenderer as part of each DataGridColumn, but how do I go about accessing what column I'm currently looking at. I'm wanting to add a generic headerRenderer for all 22 columns of my DataGrid, displaying a tool tip based on the id of the UIComponent I'm currently looking at. --- In flexcoders@yahoogroups.com, djbrown_rotonews djbrown_rotonews@ wrote: I'm wanting to add toolTip for dataGrid headers, where a tool tip is displayed when hovering over a header of a data grid that displays more information about that particular column. It doesn't appear than an itemRollOverEvent is generated when rolling over a header, so what's the best way to do this? Yahoo! Groups Sponsor ~-- Something is new at Yahoo! Groups. Check out the enhanced email design. http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Flash Player 8 Upload/Download support
This is the original post on the subject. http://www.adobe.com/devnet/flex/articles/fp8_features.html Google on Flex file upload and you'll get lots of hits. Carson Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com Email: [EMAIL PROTECTED] Office: 866-CYNERGY Mobile: 1.703.489.6466 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Valy SivecSent: Wednesday, June 21, 2006 3:34 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Flash Player 8 Upload/Download support Hello, I read somewhere that Flash Player 8 adds Download/Upload support. I was wondering if you can point me to any resource in this regard or any samples would be greatly appreciated. I had implemented the upload functionality using HTML - file upload tag - but I'd like to migrate to Flash if possible.btw, I use Flex 1.5.Thanks,Valy Do you Yahoo!?Everyone is raving about the all-new Yahoo! Mail Beta. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%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] Beta 3 Bug - ComboBox Colors
This is a bigger problem than just being a style issue. I posted yesterday (see ComboBox itemRenderer scrolling Bug?) that using an itemRenderer with a ComboBox inside a datagrid was causing strange scrolling issues. What appears to be happening is when a ComboBox is opened by clicking on the text portion, when it closes, it retains it's focus (and can't be unfocused). This is the reason for the retained color difference alex mentions, but also why when the mouse is moved off the datagrid, it causes the scrolling I came up against yesterday. If you open the ComboBox instance by click on the side arrow, it loses focus on close as it should normally.So can somebody with Adobe please let me know if this is a known bug? I've managed to work around the scroll problems by setting the selectable property to false for my datagrid, but only because it's not a requirement for me right now. However, all the ComboBoxes opened still show that focus style even though they don't interfere with the usage of the grid anymore. Thx,BrendanOn 5/16/06, alex_aka_joe [EMAIL PROTECTED] wrote: It appears that ComboBoxes behave differently when you open them byclicking on the text as opposed to the area around the text or thedown arrow triangle on the right side.If you click on the text label of the ComboBox control, the list drops down and you can either select an item or click outside the list toclose it again. No matter what your choice, the closed ComboBoxcontrol will retain the rollover color after it is closed and will notreturn to its normal color. eg. for Style:fillColors:#AA, #BB, #CC, #DD;The box will be colored with the 3rd and 4th colors (#CC, #DD)even when the mouse is moved away.When clicking on any other part of the comboBox control, i.e. thearrow on the right side, the behaviour is as expected and the boxreturns to its normal colors (#AA and #BB) upon closing.You can verifyIs there any way to make get around this and make the combo box show normal colors after the label has been clicked? Yahoo! Groups Sponsor ~--Get to your groups with one click. Know instantly when new email arrives http://us.click.yahoo.com/.7bhrC/MGxNAA/yQLSAA/nhFolB/TM~- -- Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links* To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Customized Loading File
Is there a way to use a customized file in place of the built in initializing... that comes up when you load a Flex application? TIA. Yahoo! Groups Sponsor ~-- See what's inside the new Yahoo! Groups email. http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] [Ann] The world's largest Flex application
Will there be some sort of video feed available later for those of us who can't just pop over? I'd be very interested to hear what Robin has to say.On 6/21/06, Chris Velevitch [EMAIL PROTECTED] wrote: Robin Hilliard of Rocketboots (www.rocketboots.com.au) will talk about the lessons learnt from the world's largest Flex (1.5) application. Mon 3rd July at the Sydney Flash Platform Developers Group (www.flashdev.org.au) at 6:30 pm for 7pm start at the NSW Sports Club (www.flashdev.org.au/venue). Please RSVP (www/flashdev.org.au/rsvp) for catering purposes. Chris -- Chris Velevitch Manager - Sydney Flash Platform Developers Group www.flashdev.org.au -- Jason __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] Binding chart to XML
Gotcha. I didn't read your post closely enough. I'm nut sure if you're using Flex 1.5 or 2. In Flex 1.5, Charts don't support rendering XML data. In Flex 2, there are two different types of XML supported by the player. 'Classic' XML (flash.xml.XMLNode) and ECMA Standard XML. When I say E4X, I mean ECMAScript for XML, which is the set of extensions to the language to support XML deeply. Charts support rendering E4X XML, but not classic XML ( in general, unless you have really good reason, don't bother with 'classic' XML). I'd change your code to look something like this: var sXML:XML = data item name="Aaa" val="6" / item name="Bbb" val="46" / item name="Ccc" val="16" //data; chart.dataProvider = sXML.children(); // (or = sXML..item); Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Daniel TuppenySent: Wednesday, June 21, 2006 9:22 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Binding chart to XML I wasn't deliberately using E4X (I don't really know what it is!!). I thought I was using XML! :-) I added an @ and get the same issue: "Property @val not found on flash.xml.XMLNode and there is no default value." Any ideas? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ely GreenfieldSent: 21 June 2006 16:54To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Binding chart to XML In E4X parlance, attributes are referred to by prefixing their name with @. i.e., to get the val of the first item in your code, you would write: [EMAIL PROTECTED]; So to have a data component (chart, list, etc) pull a value from an attribute, you need to do the same: PieSeries field="@val" / Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Daniel TuppenySent: Wednesday, June 21, 2006 4:11 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Binding chart to XML I'm trying to bind a chart to an XML document, like this:/* Script */var sXML:String = '\data\item name="Aaa" val="6" /\item name="Bbb" val="46" /\item name="Ccc" val="16" /\/data\';gXMLDoc = mx.utils.XMLUtil.createXMLDocument(sXML);pie.dataProvider = gXMLDoc.firstChild.childNodes;/* End of Script */And my series looks like this:mx:PieSeries labelPosition="callout" field="val"But I keep getting the error: "Property val not found onflash.xml.XMLNode and there is no default value".What am I doing wrong?ThanksThe information contained in this e-mail and/or any attachments is confidential and intended only for the individual(s) to which it is addressed. If you are not named as an addressee you must not disclose, copy or take any action in reliance of this transmission. This e-mail and its attachments have been scanned for viruses by MessageLabs Ltd.__This email has been scanned by the MessageLabs Email Security System.For more information please visit http://www.messagelabs.com/email __[Inbound Mail Scanned by MessageLabs]__This email has been scanned by the MessageLabs Email Security System.For more information please visit http://www.messagelabs.com/email __ __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%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] ServiceLocator in Cairngorm extends UIComponent?
Hi, Is there a reason why the ServiceLocator in Cairngorm extends the UIComponent? I can't figure it out; maybe you guys can tell me the reason. The reason why I'm asking is because it takes up some space in my app, moving the view a few pixels down. I've got something like this in the main MXML: business:Services id=services / control:ApplicationController id=controller / view:ApplicationView id=applicationView width=100% height=100% / Thanks, Daniel Yahoo! Groups Sponsor ~-- Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Applet invocation using Flex
Hi,I am assuming you are doing this on client side? If yes, can you invoke applet using _javascript_? If yes, then you can do it with Flex...You can use ExternalInterface or navigateToURL (..) to do invoke any _javascript_ function which in turn launches Java Applet... -abdulOn 6/21/06, tinywhistles [EMAIL PROTECTED] wrote: Hi Is it possible to call an applet class from a MXML file? I am trying to display a java.awt.image object in a applet window, which is pretty simple. But since I am using Flex as the UI for my application, applet windows are ruled out. Is there a way to overcome this? I am using Flex 2.0(beta 3)and AMF remoting. ThanksRohan __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%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] Flash Player 8 Upload/Download support
Valy take a look here: http://www.adobe.com/devnet/flex/articles/fp8_features.html. João Fernandes -Original Message- From: flexcoders@yahoogroups.com on behalf of Valy Sivec Sent: Wed 21-Jun-06 8:33 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flash Player 8 Upload/Download support Hello, I read somewhere that Flash Player 8 adds Download/Upload support. I was wondering if you can point me to any resource in this regard or any samples would be greatly appreciated. I had implemented the upload functionality using HTML - file upload tag - but I'd like to migrate to Flash if possible. btw, I use Flex 1.5. Thanks, Valy - Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail Beta. Yahoo! Groups Sponsor ~-- Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ winmail.dat
Re: [flexcoders] Design Pattern books for AS3 and Flex 2
fyi, i stopped by the bookstore and found design patterns for dummies. it seems to be language nuetral too up until the examples which are in java. i read through the first two chapters and it was very easy to understand http://www.amazon.com search design patterns for dummies by steve holzner judah wrote: Are there any design pattern books coming out in the near future that talk about design patterns with ActionScript 3 or Flex 2? Best Regards, Judah Frangipane -- Always bear in mind that your own resolution to succeed is more important than any one thing. You can have anything you want - if you want it badly enough. You can be anything you want to be, do anything you set out to accomplish if you hold to that desire with singleness of purpose. - Abraham Lincoln Yahoo! Groups Sponsor ~-- See what's inside the new Yahoo! Groups email. http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Combobox in a Datagrid
I know someone out there has done this...for the life of me i cant seem to find any documentation, or an example of how it is done. Can someone out there direct me to an example or docs on how to put a combobox in a datagrid. The only codicil is that the combobox must take the value of the of the datagrid dataprovider for that field as the selected value. Anyone? Thanks in advance for your help Vida Yahoo! Groups Sponsor ~-- See what's inside the new Yahoo! Groups email. http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] mouseOver icon
I have a tree control that uses an itemrenderer to display Some data Select. I want the select text to function like a link button. I have tried to put a linkButton in my itemRenderer, but it does not show up. I have gotten a checkbox to show up, but where the linkButton was supposed to be was simply empty space. I figured I would create text to act like a linkButton. I have it working great right now, but I am having trouble changing the cursor from the standard image to the image that comes up when you mouseOver a linkButton. Anyone have a solution for this? Thank you very much, Michael __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] working with XML data
Hi! I'm new to Flex 2.0 so please help me out. I'm trying to build a simple flex application which excepts userpass which is then send via mx:httpservice to my php script. If the login is OK, then the flex application receives a XML file which states that the user can log-in. Now I have to build a checking mechanism, which will check if the user can be logged in or not. If yes, then it should be forwarded to another screen. Please help me out. Thank you. Yahoo! Groups Sponsor ~-- See what's inside the new Yahoo! Groups email. http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Noob binding question
Hi Shannon, Here's a couple things that might get you moving forward. First, add a fault handler to your RPC, to see ifthe CFC result is getting through:fault="Alert.show(event.fault.faultstring, 'Error');" And, some subtle changes to your functions: private function appInit():void{ cfcServer.getServerInfo.send(); cfcServer.getServerLoad.send();}function serverInfoResult(event:ResultEvent):void{ varserverInfoDataArray : Array = mx.utils.ArrayUtil.toArray(event.result); serverInfoData = new ArrayCollection(serverInfoDataArray);} Finally, check to see if the fields that you are binding to the DataGrid columns are syntactically the same as the CFC query. Someone earlier suggested using all CAPS for the field names. But, I was under the impression that they were case-sensitive. Besides that, It looks like it should work. Good luck.-TH --- In flexcoders@yahoogroups.com, "Shannon Hicks" [EMAIL PROTECTED] wrote: I've racked my brain, and searched all the documentation I could find, but seem to be having a problem binding results from a CFC query to flex objects... I know I'm doing the chart all wrong, but I tried binding to a datagrid, and I don't see what's wrong there. I can confirm that the CF server is getting the request, and is sending back the proper number of rows. Here's the app I've been toying with: HYPERLINK "http://flex.work.iotashan.com/hlstatsx/hlstatsx.html"http://flex.work.iotas han.com/hlstatsx/hlstatsx.html You can view the source on it. Thanks for the help, Shan-- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.9.2/370 - Release Date: 6/20/2006 __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] How can I reference the particular item I am using?
Hi everyone,This post title isn't all that descriptive but I couldn't think of a better one. The question is pretty straightforward though. I think it's best explained with an example. Let's say I have an image... mx:Image source="../pictures/banner.jpg"/Now, let's say that if I click the banner, I want to do something with, say the source, like pass it to a function. I could do something like... mx:Image source="../pictures/banner.jpg" click="SomeFunction('../pictures/banner.jpg')"/BUT, I want to know if there is a way to do the same thing without hardcoding in the source again (for my application, the source is a variable, that's why...so I can't hardcode it). I'm looking for something similar to... mx:Image source="../pictures/banner.jpg" click="SomeFunction(this.source)"/ // ERROR - doesn't workIt seems like something that I should be able to do, but I just can't figure out how.Thanks in advanceCharles __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%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] FYI - this email address has been abused and is no longer an acceptable email address
It would be nice if phlux could be removed as a member of the group. I'd do it but don't have access. On Wed, 21 Jun 2006 10:32:51 -0700 (PDT), phlux wrote: Hi there, If you are getting this message it is probably because you tried to email me at [EMAIL PROTECTED] Unfortunately, this email generates too much spam, which renders it quite useless. The best way to reach me is through my myspace account. This way I can be sure I do not get followed by these spammers. http://www.myspace.com/phlux Thank you. I look forward to hearing from you. Smiles, Phlux Yahoo! Groups Sponsor ~-- Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: RESENDING: RE: [flexcoders] Login System
Greg:Just save the attachement to your desktop, then rename it to samples.zip. Then you should be able to open it. If it does not work let me know and I'll email the file to you.Thanks-Pat On 6/20/06, greggohlke [EMAIL PROTECTED] wrote: This is something I have been struggling with as well. Since I am brand new to this groups thing how do I download your samples file. It tells me the attachment was not stored and I can not get the file. --- In flexcoders@yahoogroups.com, Bill Sahlas [EMAIL PROTECTED] wrote: Here's a Login sample app (rename to samples.zip) that uses the RemoteObject.setRemoteCredentials(username, password) and the ColdFusion CFLOGIN container. Unzip it to your web server's doc root. In flex builder create a new Flex project of type ColdFusion Flash Remoting Service. Fill out the prompts and specify LoginTest.mxml as your Main application file. Here's a code snippet from the app and it breaks down like this In the MXML ... private function logIn():void { // all this does is set the credentials - these are not sent over until the first actual request is made // set the RemoteObject cf.setRemoteCredentials(this.username.text, this.password.text); loginbtn.enabled = false; logoutbtn.enabled = true; } private function logOut():void { //Alert.show (logout); loginbtn.enabled = true; logoutbtn.enabled = false; cf.setRemoteCredentials(null, null); cf.logout(); cf.logoutuser(); } ... ... mx:FormItem direction=horizontal mx:Button id=loginbtn label=Login click=logIn();/ mx:Button id=logoutbtn label=Logout click=logOut() enabled=false/ /mx:FormItem The CFML included in the app uses the CFLOGIN structure as per CF best practices of usage of this feature. Also note that as part of the new Super Wizard for Flex Builder 2.0 produced by the CF team includes an option to build-in a login scheme (includes a well-formatted login page with user name and password field prompts and the appropriate cfc backend logic). Bill From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tom Chiverton Sent: Friday, May 19, 2006 4:12 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Login System On Thursday 18 May 2006 17:52, s_hernandez01 wrote: code up the login system. Would anybody know how to start that, or know of any references that would help me get started. I know that I'd have the Flash send the username/password to the CF over HTTPS. The CF creates a per-session token and gives that back to the Flash. The Flash then gives that token as the first argument to all other server functions. Obviously some small wibbles with CF keeping track of tokens, validating and expiring them etc., but I'm not gonna write it all out here :-) -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the Year at the 2005 Growth Company Awards -- Flexcoders
RE: [flexcoders] Blank out password field in a datagrid cell
We are using flex 1.5, I think this is a flex 2.0 feature. Is there another way to accomplish this?Jason Szeto [EMAIL PROTECTED] wrote: You need to create a TextInput with password for your itemEditor as well. JasonFrom: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of jfournetSent: Thursday, June 15, 2006 6:13 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Blank out password field in a datagrid cell How can I blank out a password field in a datagrid cell. I have tried using a text_input field in a cell renderer with the password property set to true, but the clear text password is visable until the focus goes off the cell then the are displayed. Any ideas, and code samples? Do you Yahoo!? Get on board. You're invited to try the new Yahoo! Mail Beta. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%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: toolTip for dataGrid headers?
DJ, I included a hack for this in the following example. Since the column's headeRenderer is a dataGridItemRenderer (TextField), it has a toolTip property. The headerText is set before the itemRenderer is created, so you can compare to data.text to identify the column. http://www.cflex.net/showfiledetails.cfm?ChannelID=1Object=FileobjectID=443 -TH--- In flexcoders@yahoogroups.com, "djbrown_rotonews" [EMAIL PROTECTED] wrote: I've seen references to using the setValue() function of the custom renderer to gain access to the header itself and putting the toolTip code in there, but it doesn't look like setValue is called any longer using Beta3. any ideas/suggestions? --- In flexcoders@yahoogroups.com, "djbrown_rotonews" djbrown_rotonews@ wrote: I'm discovered that I need to implement my own headerRenderer as part of each DataGridColumn, but how do I go about accessing what column I'm currently looking at. I'm wanting to add a generic headerRenderer for all 22 columns of my DataGrid, displaying a tool tip based on the id of the UIComponent I'm currently looking at. --- In flexcoders@yahoogroups.com, "djbrown_rotonews" djbrown_rotonews@ wrote: I'm wanting to add toolTip for dataGrid headers, where a tool tip isdisplayed when hovering over a header of a data grid that displaysmore information about that particular column. It doesn't appear thanan itemRollOverEvent is generated when rolling over a header, sowhat's the best way to do this? __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] How can I reference the particular item I am using?
try this:mx:Image source=../pictures/banner.jpg click=SomeFunction(event)/function someFunction (event:Event):void{ var refToMyComponent = event.target ;}On 6/21/06, Charles [EMAIL PROTECTED] wrote: Hi everyone,This post title isn't all that descriptive but I couldn't think of a better one. The question is pretty straightforward though. I think it's best explained with an example. Let's say I have an image... mx:Image source=../pictures/banner.jpg/Now, let's say that if I click the banner, I want to do something with, say the source, like pass it to a function. I could do something like... mx:Image source=../pictures/banner.jpg click=SomeFunction('../pictures/banner.jpg')/BUT, I want to know if there is a way to do the same thing without hardcoding in the source again (for my application, the source is a variable, that's why...so I can't hardcode it). I'm looking for something similar to... mx:Image source=../pictures/banner.jpg click=SomeFunction(this.source)/ // ERROR - doesn't workIt seems like something that I should be able to do, but I just can't figure out how. Thanks in advanceCharles __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] Flex dataservices:
Mike, The fact that the error said the send failed means that perhaps the RTMP channel isn't running... so I'm guessing something went wrong on starting the web application. Most likely the configuration was invalid. Can you look at the server startup output (perhaps in the console window itself or in the web application logs... depending on how you launched Tomcat) for an indication as to whether there were such errors, and, hopefully, a clue as to what is wrong with the config? Pete From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mike_Robinson_98Sent: Wednesday, June 21, 2006 2:35 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Flex dataservices: I have read some of the posts on issues similar to this one.Especially the Hank Williams and Peter Farland exchange. However, thisproblem is different enough that their posts did not help.I am trying to adapt the samples examples to work with an app I amdeveloping. (BTW, all the samples work on my Tomcat test serverrunning on Windows.)The issues I have is a failure when I try to a fill on a DataService.I've attempted to simplify the configuration files but I must haveleft something out. Anyone who has some experience in this area mayeasily spot my mistake but I have tried all the changes I can think ofwithout any change in the result.Here are the gory details:// This is the script that creates the data service and tries topopulate the orders arraycollection.mx:Script![CDATA[import mx.data.DataService;import mx.collections.ArrayCollection;import com.othenos.metalsmith.order.OrderRow;public var ds:DataService;[Bindable]public var orders:ArrayCollection;[Bindable]public var orderRow:OrderRow;public function initApp():void{orders = new ArrayCollection();ds = new DataService("orderRow");ds.fill(orders);}]]/mx:Script// Here is the AS class that acts as the DTO// **package com.othenos.metalsmith.order{import mx.data.IManaged;import mx.data.utils.Managed;import mx.core.MXMLObjectAdapter;[Managed][RemoteClass(alias="com.othenos.metalsmith.order.OrderRow")]public class OrderRow{public var orderID:int;public var orderDate:Date;public var orderAmount:Number;public var status:String = "";public var salesmanName:String = "";public var customerName:String = "";}}// Part of the Java class that is the Assembler// public class OrderAssembler {public List loadOrders(){try{return orderDao.getOrders();}catch(ModuleException me){System.out.println("Exception in getting orders - " +me.getMessage());}return null;}// The flex-enterprise-services.xml// ?xml version="1.0" encoding="UTF-8"?services-configservicesservice-include file-path="flex-data-service.xml" //serviceschannelschannel-definition id="my-rtmp"class="mx.messaging.channels.RTMPChannel"endpoint uri="rtmp://{server.name}:2037"class="flex.messaging.endpoints.RTMPEndpoint"/propertiesidle-timeout-minutes20/idle-timeout-minutes!-- for deployment on WebSphere, must be mapped to aWorkManager available in the web application's jndi context.websphere-workmanager-jndi-namejava:comp/env/wm/MessagingWorkManager/websphere-workmanager-jndi-name--/properties/channel-definition/channelslogging!-- You may also use flex.messaging.log.ServletLogTarget --!-- You may also use flex.messaging.log.ConsoleTarget --target class="flex.messaging.log.ConsoleTarget" level="Debug"propertiesprefix[Flex] /prefixincludeDatetrue/includeDateincludeTimetrue/includeTimeincludeLeveltrue/includeLevelincludeCategorytrue/includeCategory/propertiesfilters!--patternEndpoint.*/pattern--!--patternService.*/pattern--patternMessage.*/patternpatternDataService.*/patternpatternConfiguration/pattern/filters/target/loggingsystemredeployenabledtrue/enabledwatch-interval20/watch-intervalwatch-file{context.root}/WEB-INF/flex/flex-enterprise-services.xml/watch-filewatch-file{context.root}/WEB-INF/flex/flex-data-service.xml/watch-filetouch-file{context.root}/WEB-INF/web.xml/touch-file/redeploy/system/services-config// The flex-data-service.xml// **?xml version="1.0" encoding="UTF-8"?service id="data-service"class="flex.data.DataService"messageTypes="flex.data.messages.DataMessage"adaptersadapter-definition id="java-dao"class="flex.data.adapters.JavaAdapter"//adaptersdefault-channelschannel ref="my-rtmp"//default-channelsdestination id="orderRow"adapter ref="java-dao" /propertiessourcecom.othenos.metalsmith.order.OrderAssembler/sourcescopeapplication/scopemetadataidentity property="orderID"//metadatanetworksession-timeout20/session-timeoutpaging enabled="false" pageSize="10" /throttle-inbound policy="ERROR" max-frequency="500"/throttle-outbound policy="REPLACE"
[flexcoders] [F2B3] Could Adobe make Flex Framework available trough SVN?
Hi,I want to point to the great post by Joe Berkovitz about the tree bugs in the last Beta3. Other bugs can be find as well in some mails to this list, and other blogs out there. I found as well working with the tree a little frustrating, and knowing that there's a lot of bugs, I decided to wait for next SDK release. But...this way of getting bugs fixeds seems a little slow, don't you think? I'd want to know if people at Adobe thinks about this as I'm sure that we don't want to live again the same problems in flash mx 2004 v2 components to --- flex 1.5 framework.I'm talking about a way to get updates as soon as Adobe engineers fix the bugs. As the framework is free but no open source, Adobe control the source and we could send patches, but they can use that users patches or not...that's ok. But we could put the framework in SVN and available to all of us so we could get changes as soon they upload a patch. I want to know if all of this makes sense. This method will end with :1.- waiting until next release. we need more dinamic approach2.- Avoid to have a framework full of bugs as old framework version since v2 to current days. Hope this idea make sense, and we could get less frustrated as we work with the framework...-- ::| Carlos Rovira::| http://www.carlosrovira.com __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] [F2B3] Could Adobe make Flex Framework available trough SVN?
We are certainly looking into things like this for the future but havent figured out the exact right thing to do. There are plenty of things that we would need to be concerned about from a support perspective if essentially daily builds of the framework were available. We do have plans to release updates more frequently in general. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Carlos Rovira Sent: Wednesday, June 21, 2006 2:19 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] [F2B3] Could Adobe make Flex Framework available trough SVN? Hi, I want to point to the great post by Joe Berkovitz about the tree bugs in the last Beta3. Other bugs can be find as well in some mails to this list, and other blogs out there. I found as well working with the tree a little frustrating, and knowing that there's a lot of bugs, I decided to wait for next SDK release. But...this way of getting bugs fixeds seems a little slow, don't you think? I'd want to know if people at Adobe thinks about this as I'm sure that we don't want to live again the same problems in flash mx 2004 v2 components to --- flex 1.5 framework. I'm talking about a way to get updates as soon as Adobe engineers fix the bugs. As the framework is free but no open source, Adobe control the source and we could send patches, but they can use that users patches or not...that's ok. But we could put the framework in SVN and available to all of us so we could get changes as soon they upload a patch. I want to know if all of this makes sense. This method will end with : 1.- waiting until next release. we need more dinamic approach 2.- Avoid to have a framework full of bugs as old framework version since v2 to current days. Hope this idea make sense, and we could get less frustrated as we work with the framework... -- ::| Carlos Rovira ::| http://www.carlosrovira.com __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Re: [Flex2Beta3] CF/Flex integration - 500 NULL
Hi, the link out of the cfide was and is... http://127.0.0.1:8500/cfide/administrator/eventgateway/gateways.cfm?gwid=Flex2CFaction=start so this addresses the same cfm as the start/stop buttons for the other gateway instances, nothing inappropriate. This was in the cf exception log: Error,web-8,06/20/06,17:54:20,cfadmin, The specific sequence of files included or processed is: C:\CFusionMX7\wwwroot\CFIDE\administrator\eventgateway\gateways.cfm, line: 253 java.lang.NoClassDefFoundError at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:274) at coldfusion.eventgateway.EventServiceImpl.allocateEventGateway(EventServiceImpl.java:1058) at coldfusion.eventgateway.EventServiceImpl.startEventGateway(EventServiceImpl.java:404) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at coldfusion.runtime.StructBean.invoke(StructBean.java:391) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:1662) at cfgateways2ecfm1709667157._factor5(C:\blackstone_updates\cfusion\wwwroot\CFIDE\administrator\eventgateway\gateways.cfm:253) at cfgateways2ecfm1709667157._factor20(C:\blackstone_updates\cfusion\wwwroot\CFIDE\administrator\eventgateway\gateways.cfm:243) at cfgateways2ecfm1709667157.runPage(C:\blackstone_updates\cfusion\wwwroot\CFIDE\administrator\eventgateway\gateways.cfm:1) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152) at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:349) at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65) at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:225) at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:51) at coldfusion.filter.PathFilter.invoke(PathFilter.java:86) at coldfusion.filter.LicenseFilter.invoke(LicenseFilter.java:27) at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:69) at coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:52) at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28) at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38) at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38) at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22) at coldfusion.filter.RequestThrottleFilter.invoke(RequestThrottleFilter.java:115) at coldfusion.CfmServlet.service(CfmServlet.java:107) at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:78) at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91) at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42) at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:257) at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:541) at jrun.servlet.http.WebService.invokeRunnable(WebService.java:172) at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:318) at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:426) at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:264) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) ...and that in the application log: Error,web-8,06/20/06,17:54:20,cfadmin, The specific sequence of files included or processed is: C:\CFusionMX7\wwwroot\CFIDE\administrator\eventgateway\gateways.cfm, line: 253 I couldn't find anything in the Flex logs regarding that error or the timestamps. Greetings, Thomas Thomas Rühl Design, Programming Concepts akitogo OHG Hanauer Landstrasse 188 60314 Frankfurt Telefon +49 (0) 69 800 69 445 Fax +49 (0) 69 800 69 449 Mobil +49 (0) 179 750 75 87 E-Mail [EMAIL PROTECTED] Web http://www.akitogo.com Tom Chiverton wrote: On Wednesday 21 June 2006 10:40, Thomas Rühl -akitogo- wrote: * then the Flex2CF gateway failed to start up - just a blank page with 500 null on it. however, the other gateway types went well What was this URL ? What is in the CF and FDS logs ? Yahoo! Groups Sponsor ~-- See what's inside the new Yahoo! Groups email.
Re: [flexcoders] [F2B3] Could Adobe make Flex Framework available trough SVN?
Great to here that Matt, that will ensure a long live for Flex and finish with a lot of frustration when working with this excelent framework.Thanks again for listening : )C. On 6/21/06, Matt Chotin [EMAIL PROTECTED] wrote: We are certainly looking into things like this for the future but haven't figured out the exact right thing to do. There are plenty of things that we would need to be concerned about from a support perspective if essentially daily builds of the framework were available. We do have plans to release updates more frequently in general. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Carlos Rovira Sent: Wednesday, June 21, 2006 2:19 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] [F2B3] Could Adobe make Flex Framework available trough SVN? Hi, I want to point to the great post by Joe Berkovitz about the tree bugs in the last Beta3. Other bugs can be find as well in some mails to this list, and other blogs out there. I found as well working with the tree a little frustrating, and knowing that there's a lot of bugs, I decided to wait for next SDK release. But...this way of getting bugs fixeds seems a little slow, don't you think? I'd want to know if people at Adobe thinks about this as I'm sure that we don't want to live again the same problems in flash mx 2004 v2 components to --- flex 1.5 framework. I'm talking about a way to get updates as soon as Adobe engineers fix the bugs. As the framework is free but no open source, Adobe control the source and we could send patches, but they can use that users patches or not...that's ok. But we could put the framework in SVN and available to all of us so we could get changes as soon they upload a patch. I want to know if all of this makes sense. This method will end with : 1.- waiting until next release. we need more dinamic approach 2.- Avoid to have a framework full of bugs as old framework version since v2 to current days. Hope this idea make sense, and we could get less frustrated as we work with the framework... -- ::| Carlos Rovira ::| http://www.carlosrovira.com -- ::| Carlos Rovira::| http://www.carlosrovira.com __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] Combobox in a Datagrid
What version of Flex? Check out www.cflex.net for many examples for both versions. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of wi1df1ower Sent: Wednesday, June 21, 2006 4:40 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Combobox in a Datagrid I know someone out there has done this...for the life of me i cant seem to find any documentation, or an example of how it is done. Can someone out there direct me to an example or docs on how to put a combobox in a datagrid. The only codicil is that the combobox must take the value of the of the datagrid dataprovider for that field as the selected value. Anyone? Thanks in advance for your help Vida __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%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] Customized Loading File
Search the livedocs for preloader. http://livedocs.macromedia.com/labs/1/flex20beta3/wwhelp/wwhimpl/js/html/wwhelp.htm Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of parksch2 Sent: Wednesday, June 21, 2006 4:03 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Customized Loading File Is there a way to use a customized file in place of the built in initializing... that comes up when you load a Flex application? TIA. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%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] Building flat data object based on XML file with complicated structure
Is there anyway to post that xml so it stays formatted? I really do not like that part of the new yahoo groups. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of wayneposner Sent: Wednesday, June 21, 2006 2:44 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Building flat data object based on XML file with complicated structure Howdy all!! Take the following blurb of XML: item id=0006 qty=2.000 uom=EA matnr=347565 bismt=DBT347565 name=ASSY, SPLIT CLUTCH COVER hasBom=X path=pdf/347565.pdf image=pdf/thumbnails/347565.jpg item id=0001 qty=1.000 uom=EA matnr=347564 bismt=DBT347564 name=SPLIT CLUTCH COVER hasBom=X path=pdf/347564.pdf image=pdf/thumbnails/347564.jpg item id=0001 qty=1.000 uom=EA matnr=313551 bismt=DBT313551 name=CLUTCH COVER MACH. hasBom=X path=pdf/313551.pdf image=pdf/thumbnails/313551.jpg item id=0001 qty=1.000 uom=EA matnr=313552 bismt=DBT313552 name=CLUTCH COVER WELDMENT hasBom=X path=pdf/313552.pdf image=pdf/thumbnails/313552.jpg item id=0001 qty=1.000 uom=EA matnr=169902 bismt=J-548F613MK002 name=HR PLATE hasBom=X path=pdf/169902.pdf image=pdf/thumbnails/169902.jpg item id=0010 qty=2.000 uom=FT2 matnr=131877 bismt= 008 302 72 61 name=PLATE(A572-50)1.00quot; hasBom=/ /item item id=0002 qty=1.000 uom=EA matnr=313554 bismt=DBT313554 name=TUBING hasBom=X path=pdf/313554.pdf image=pdf/thumbnails/313554.jpg item id=0001 qty=0.660 uom=IN matnr=169626 bismt=J-294-07-026 name=15X13-1/2 TUBING C1026 hasBom=/ /item item id=0003 qty=1.000 uom=EA matnr=169903 bismt=J-548F613MK003 name=PLATE hasBom=X path=pdf/169903.pdf image=pdf/thumbnails/169903.jpg item id=0010 qty=1.200 uom=FT2 matnr=131872 bismt= 008 302 72 55 name=PLATE(A572-50).50quot; hasBom=/ /item item id=0004 qty=1.000 uom=EA matnr=313556 bismt=DBT313556 name=END TUBE hasBom=X path=pdf/313556.pdf image=pdf/thumbnails/313556.jpg item id=0001 qty=0.800 uom=FT2 matnr=131883 bismt= 008 302 72 67 name=PLATE(A572-50)1.50quot; hasBom=/ /item item id=0005 qty=1.000 uom=EA matnr=313557 bismt=DBT313557 name=END PLATE hasBom=X path=pdf/313557.pdf image=pdf/thumbnails/313557.jpg item id=0001 qty=0.600 uom=FT2 matnr=131872 bismt= 008 302 72 55 name=PLATE(A572-50).50quot; hasBom=/ /item /item /item /item I've been trying to build an array of objects of it and flatten it down so that each item node would simply be an entry in the array. If I use a recursive function, I only get the deepest node returned. If I use the for each (var prop:XML in myXML.item) loop I only get the children of the root and not the grandchildren. How do I get EVERY node??? Thanks! Wayne __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] How can I get variable height in datagrid rows?
Hi everyone,I am populating a datagrid, and for some items, there are pictures, and others there are not. I am displaying the pictures using an itemRenderer (the only way I know how), and so to fit the pictures, I've set the height of the renderer to be 100. This works fine. However, for the items that do NOT have pictures, the height is still 100, and not the default 10. So, what I would like to know is if there is a way to get variable height on datagrid rows?I've tried doing something like this in the beginning of my itemRenderer... if (has_picture) height = 100; else height = 10;...but what happens is if the FIRST item in the datagrid has a picture, then ALL of the rows will be set to a row height of 100. If the first item does NOT have a picture, then all of the rows will be set to a row height of 10. So I'm stuck.Thanks in advance.Charles __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] Combobox in a Datagrid
You're in need of a custom Item Renderer (and/or Item Editor) http://livedocs.macromedia.com/labs/1/flex20beta3/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=Part2_DevApps.html Shan From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of wi1df1owerSent: Wednesday, June 21, 2006 3:40 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Combobox in a Datagrid I know someone out there has done this...for the life of me i cantseem to find any documentation, or an example of how it is done.Can someone out there direct me to an example or docs on how to put acombobox in a datagrid. The only codicil is that the combobox musttake the value of the of the datagrid dataprovider for that field asthe selected value.Anyone?Thanks in advance for your helpVida --No virus found in this incoming message.Checked by AVG Free Edition.Version: 7.1.394 / Virus Database: 268.9.2/370 - Release Date: 6/20/2006 __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___ -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.9.2/370 - Release Date: 6/20/2006
Re: [flexcoders] How can I get variable height in datagrid rows?
Do you have variableRowHeight set to true on the DataGrid instance?On 6/21/06, Charles [EMAIL PROTECTED] wrote: Hi everyone,I am populating a datagrid, and for some items, there are pictures, and others there are not. I am displaying the pictures using an itemRenderer (the only way I know how), and so to fit the pictures, I've set the height of the renderer to be 100. This works fine. However, for the items that do NOT have pictures, the height is still 100, and not the default 10. So, what I would like to know is if there is a way to get variable height on datagrid rows? I've tried doing something like this in the beginning of my itemRenderer... if (has_picture) height = 100; else height = 10;...but what happens is if the FIRST item in the datagrid has a picture, then ALL of the rows will be set to a row height of 100. If the first item does NOT have a picture, then all of the rows will be set to a row height of 10. So I'm stuck. Thanks in advance.Charles __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Re: Flex newbie: issues with HTTPServices and my URL
Thanks, Tracy!I'm now able to post with parameters successfully to the server - the current "challenge" is that I don't seem to be handling the server response. I can confirm that I'm making valid calls to the server, and they are responding, but my Flex application is not displaying responses.I've created a status label, which confirms a result from the HTTPService call (and shows errors if it cannot communicate to the server.)I can point my HTTPService call at an example XML response, and it displays correctly. -- When it points to the server, it posts correctly, but doesn't display the response at all.I created a temporary relay page to confirm that posts are being sent correctly, and that responses are being sent correctly. (That's where I got the example XML response file.)Is there a way to debug the response back from the server?Thanks in advance for any help!--- In flexcoders@yahoogroups.com, "Tracy Spratt" [EMAIL PROTECTED] wrote: You know, I send xml by HTTPService all the time, but I always do it in AS, and never declaratively. But in general Try: mx:request xmlns="" xmlLT;somethingGT;LT;systemGT;...LT;/systemGT;LT;/somethingGT; /xml /mx:request __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] Binding chart to XML
In Flex 2.0, the XML class is now the new e4x class. The old XML is still available by using XMLDocument. That message indicates you still have some confusion between the two XML classes. There is NO XMLNode in e4x. Everything is just XML. But mx.utils.XMLUtil.createXMLDocument(sXML); I bet is returning that old class, and there is no @ in that class. Decide which xml you really want to use. (Use e4x unless you have a really good reason not to). Look at the docs on e4x, they are very short, then post back. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Daniel Tuppeny Sent: Wednesday, June 21, 2006 12:22 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Binding chart to XML I wasn't deliberately using E4X (I don't really know what it is!!). I thought I was using XML! :-) I added an @ and get the same issue: Property @val not found on flash.xml.XMLNode and there is no default value. Any ideas? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ely Greenfield Sent: 21 June 2006 16:54 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Binding chart to XML In E4X parlance, attributes are referred to by prefixing their name with @. i.e., to get the val of the first item in your code, you would write: [EMAIL PROTECTED]; So to have a data component (chart, list, etc) pull a value from an attribute, you need to do the same: PieSeries field=@val / Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Daniel Tuppeny Sent: Wednesday, June 21, 2006 4:11 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Binding chart to XML I'm trying to bind a chart to an XML document, like this: /* Script */ var sXML:String = '\ data\ item name=Aaa val=6 /\ item name=Bbb val=46 /\ item name=Ccc val=16 /\ /data\ '; gXMLDoc = mx.utils.XMLUtil.createXMLDocument(sXML); pie.dataProvider = gXMLDoc.firstChild.childNodes; /* End of Script */ And my series looks like this: mx:PieSeries labelPosition=callout field=val But I keep getting the error: Property val not found on flash.xml.XMLNode and there is no default value. What am I doing wrong? Thanks The information contained in this e-mail and/or any attachments is confidential and intended only for the individual(s) to which it is addressed. If you are not named as an addressee you must not disclose, copy or take any action in reliance of this transmission. This e-mail and its attachments have been scanned for viruses by MessageLabs Ltd. __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ [Inbound Mail Scanned by MessageLabs] __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%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] Flash Player 8 Upload/Download support
Check this out http://www.macromedia.com/devnet/flex/articles/fp8_features.html |-+- | | | | | Valy Sivec | | | [EMAIL PROTECTED]| | | Sent by: | | | flexcoders@yahoogroups.com | | | 06/21/2006 03:33 PM| | | Please respond to | | | flexcoders | | | | |-+- -| | | | To: flexcoders@yahoogroups.com | | cc: | | Subject: [flexcoders] Flash Player 8 Upload/Download support | -| Hello, I read somewhere that Flash Player 8 adds Download/Upload support. I was wondering if you can point me to any resource in this regard or any samples would be greatly appreciated. I had implemented the upload functionality using HTML - file upload tag - but I'd like to migrate to Flash if possible. btw, I use Flex 1.5. Thanks, Valy Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail Beta. --- This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, proprietary , confidential and exempt from disclosure. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender and erase this e-mail message immediately. --- Yahoo! Groups Sponsor ~-- Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Re: Flex newbie: issues with HTTPServices and my URL
Are you using a result handler function or binding? Binding is hard to debug, but a result handler makes things much easier. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Bill Dawson Sent: Wednesday, June 21, 2006 4:22 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Flex newbie: issues with HTTPServices and my URL Thanks, Tracy! I'm now able to post with parameters successfully to the server - the current challenge is that I don't seem to be handling the server response. I can confirm that I'm making valid calls to the server, and they are responding, but my Flex application is not displaying responses. I've created a status label, which confirms a result from the HTTPService call (and shows errors if it cannot communicate to the server.) I can point my HTTPService call at an example XML response, and it displays correctly. -- When it points to the server, it posts correctly, but doesn't display the response at all. I created a temporary relay page to confirm that posts are being sent correctly, and that responses are being sent correctly. (That's where I got the example XML response file.) Is there a way to debug the response back from the server? Thanks in advance for any help! --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: You know, I send xml by HTTPService all the time, but I always do it in AS, and never declaratively. But in general Try: mx:request xmlns= xmlLT;somethingGT;LT;systemGT;...LT;/systemGT;LT;/somethingGT; /xml /mx:request __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%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] Best practices questions about Flex/CF and the cflogin container
Ok I have been playing with using cflogin to handle security for my Flex/CF app for about a month. After seeing several examples that only address the most simple login scenarios I started to look a little farther. I am wondering if anyone has a real good example of a login/security system using CFLOGIN that can do the following: 1. Manage a flex app side timer that manages timing out a user and logging them out in the app and on CF (also can it keep alive the CF app when no remote objects are in play but hte user is still active in the app). 2. Works across multiple remote objects. (Do I really have to set credentials for every single object? Why can't the jsessionid and session based login info keep me logged in? Its not a laziness thing it is just that I want to understand why I cannot login once and then be good until the session dies without having to check if the proper credentials are sent every single time.) And one last question, if CFLOGIN is the ColdFusion's answer to a best practice for application security why is it not implemented by the login code that is built by the new CF/Flex wizard? (At least the code I generated last night with the wizard did not employ CFLOGIN or even a application.cfc. Sorry for the wall of text, but this stuff is driving me mad Yahoo! Groups Sponsor ~-- Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] How to parse a date string with custom syntax?
Hi, may you tell me how to parse a date string in german format (24.12.2005) in ActionScript 2, so I get a date object? Bye. ur -- Uwe Raddatz [EMAIL PROTECTED] __ Erweitern Sie FreeMail zu einem noch leistungsstärkeren E-Mail-Postfach! Mehr Infos unter http://freemail.web.de/home/landingpad/?mc=021131 Yahoo! Groups Sponsor ~-- Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Flash/ASO and ZoneAlarm Security Suite (v6.5.714.000).
If you use zone alarm and you did the latest update (like I did), you might notice that you're going through a slight nightmare right now with file modified dates not being updated when you save and having to clear ASO or do a clean build with Flex2. ZoneAlarm Security Suite (v6.5.714.000) apparently causes this issue. You need to downgrade to the last version or un-install until they get a fix together.Hth,PS I'm going to verbally harass them to tears and general weeping. No need to spam them...nah, go ahead. -- John Grden - Blitz __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Re: Flash/ASO and ZoneAlarm Security Suite (v6.5.714.000).
They're latest version fixes this issue. Just released yesterdayOn 6/21/06, John Grden [EMAIL PROTECTED] wrote: If you use zone alarm and you did the latest update (like I did), you might notice that you're going through a slight nightmare right now with file modified dates not being updated when you save and having to clear ASO or do a clean build with Flex2. ZoneAlarm Security Suite (v6.5.714.000) apparently causes this issue. You need to downgrade to the last version or un-install until they get a fix together.Hth,PS I'm going to verbally harass them to tears and general weeping. No need to spam them...nah, go ahead. -- John Grden - Blitz -- John Grden - Blitz __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Re: How to parse a date string with custom syntax?
Untested, so may require debugging: function stringToDate(dateString: String) : Date { var params: Array = dateString.split(.); return new Date( parseInt(params[2], 10), parseInt(params[1], 10) - 1, parseInt(params[0])); } var myDate: Date = stringToDate(24.12.2005); --- In flexcoders@yahoogroups.com, Uwe Raddatz [EMAIL PROTECTED] wrote: Hi, may you tell me how to parse a date string in german format (24.12.2005) in ActionScript 2, so I get a date object? Bye. ur -- Uwe Raddatz [EMAIL PROTECTED] _ _ Erweitern Sie FreeMail zu einem noch leistungsstärkeren E-Mail- Postfach! Mehr Infos unter http://freemail.web.de/home/landingpad/?mc=021131 Yahoo! Groups Sponsor ~-- Check out the new improvements in Yahoo! Groups email. http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Building flat data object based on XML file with complicated structure
H Let's try again :) item id=0006 name=ASSY, SPLIT CLUTCH COVER item id=0001 name=SPLIT CLUTCH COVER item id=0001 name=CLUTCH COVER MACH. item id=0001 name=CLUTCH COVER WELDMENT item id=0001 name=HR PLATE item id=0010 name=PLATE(A572-50)/ /item item id=0002 name=TUBING item id=0001 name=15X13-1/2 TUBING C1026/ /item item id=0003 name=PLATE item id=0010 name=PLATE(A572-50)/ /item item id=0004 name=END TUBE item id=0001 name=PLATE(A572-50)/ /item item id=0005 name=END PLATE item id=0001 name=PLATE(A572-50)/ /item /item /item /item I removed some of the extra attributes to get it to format correctly. Hopefully this works. --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: Is there anyway to post that xml so it stays formatted? I really do not like that part of the new yahoo groups. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of wayneposner Sent: Wednesday, June 21, 2006 2:44 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Building flat data object based on XML file with complicated structure Howdy all!! Take the following blurb of XML: item id=0006 qty=2.000 uom=EA matnr=347565 bismt=DBT347565 name=ASSY, SPLIT CLUTCH COVER hasBom=X path=pdf/347565.pdf image=pdf/thumbnails/347565.jpg item id=0001 qty=1.000 uom=EA matnr=347564 bismt=DBT347564 name=SPLIT CLUTCH COVER hasBom=X path=pdf/347564.pdf image=pdf/thumbnails/347564.jpg item id=0001 qty=1.000 uom=EA matnr=313551 bismt=DBT313551 name=CLUTCH COVER MACH. hasBom=X path=pdf/313551.pdf image=pdf/thumbnails/313551.jpg item id=0001 qty=1.000 uom=EA matnr=313552 bismt=DBT313552 name=CLUTCH COVER WELDMENT hasBom=X path=pdf/313552.pdf image=pdf/thumbnails/313552.jpg item id=0001 qty=1.000 uom=EA matnr=169902 bismt=J-548F613MK002 name=HR PLATE hasBom=X path=pdf/169902.pdf image=pdf/thumbnails/169902.jpg item id=0010 qty=2.000 uom=FT2 matnr=131877 bismt= 008 302 72 61 name=PLATE(A572-50)1.00quot; hasBom=/ /item item id=0002 qty=1.000 uom=EA matnr=313554 bismt=DBT313554 name=TUBING hasBom=X path=pdf/313554.pdf image=pdf/thumbnails/313554.jpg item id=0001 qty=0.660 uom=IN matnr=169626 bismt=J-294-07-026 name=15X13-1/2 TUBING C1026 hasBom=/ /item item id=0003 qty=1.000 uom=EA matnr=169903 bismt=J-548F613MK003 name=PLATE hasBom=X path=pdf/169903.pdf image=pdf/thumbnails/169903.jpg item id=0010 qty=1.200 uom=FT2 matnr=131872 bismt= 008 302 72 55 name=PLATE(A572-50).50quot; hasBom=/ /item item id=0004 qty=1.000 uom=EA matnr=313556 bismt=DBT313556 name=END TUBE hasBom=X path=pdf/313556.pdf image=pdf/thumbnails/313556.jpg item id=0001 qty=0.800 uom=FT2 matnr=131883 bismt= 008 302 72 67 name=PLATE(A572-50)1.50quot; hasBom=/ /item item id=0005 qty=1.000 uom=EA matnr=313557 bismt=DBT313557 name=END PLATE hasBom=X path=pdf/313557.pdf image=pdf/thumbnails/313557.jpg item id=0001 qty=0.600 uom=FT2 matnr=131872 bismt= 008 302 72 55 name=PLATE(A572-50).50quot; hasBom=/ /item /item /item /item I've been trying to build an array of objects of it and flatten it down so that each item node would simply be an entry in the array. If I use a recursive function, I only get the deepest node returned. If I use the for each (var prop:XML in myXML.item) loop I only get the children of the root and not the grandchildren. How do I get EVERY node??? Thanks! Wayne Yahoo! Groups Sponsor ~-- Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] [Ann] The world's largest Flex application
FlexDaddy (http://www.flexdaddy.info/2006/06/19/afr-access-one-of-the-largest-public-flex-apps-to-date/) talks about it and, unfortunately, it won't be recorded. Chris -- Chris Velevitch Manager - Sydney Flash Platform Developers Group www.flashdev.org.au Yahoo! Groups Sponsor ~-- See what's inside the new Yahoo! Groups email. http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] XML CSS (new in FLEX)
Helloi have this xml with a CDATA as u can seecatalog libro nameA orillas de una laguna./name desc![CDATA[ la iUJAT/i a través bDACS/b]]/desc/libro/catalogand this CSS fileTextArea{font-family: Garamond;font-size:16;margin-left:6;margin-right:6;}in flashUJAT a través DACSMY QUESTION IS HOW DO I MAKE DACS TO BE IN ANOTHER FONT LIKE ARIAL OR ANOTHER COLOR LIKE RED? __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%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] e4x filtering question
I have an xml document of the form employees employee name=joe mark department id=id1/ address city=miami state=florida/ /employee employee name=joe mark address city=san francisco state=california/ /employee employee name=mary dooley department id=id1/ address city=los angeles state=california/ /employee /employees Note here that the second employee record doesnt have department element at all. This is just a sample and my original xml is a web service response with some of the child elements missing for some elements. I want to filter the parent element on the child elements which may or may not be present using an e4x expression. The e4x expression of the form: employeesByDept:XMLList = employees.employee.([EMAIL PROTECTED] == id1); fails saying department element not found. If the department element is found for all the employees the above statement goes through. Whats the work-around for this? I thought its fairly common to have child elements/attributes missing within elements and e4x should just ignore those. Thanks in advance for the response. Yahoo! Groups Sponsor ~-- Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] FYI - this email address has been abused and is no longer an acceptable email address
And perhaps someone with a myspace account can tell her to unsubscribe from her lists first AND not to require that her contacts sign up for an account at some third party service in order to contact her. The email address she wants us to use is only available to MySpace users. I'm not signing up for MySpace just so I can chastize her for this. On 6/21/06, Brian [EMAIL PROTECTED] wrote: It would be nice if phlux could be removed as a member of the group. I'd do it but don't have access. On Wed, 21 Jun 2006 10:32:51 -0700 (PDT), phlux wrote: Hi there, If you are getting this message it is probably because you tried to email me at [EMAIL PROTECTED] Unfortunately, this email generates too much spam, which renders it quite useless. The best way to reach me is through my myspace account. This way I can be sure I do not get followed by these spammers. http://www.myspace.com/phlux Thank you. I look forward to hearing from you. Smiles, Phlux -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Then you'll learn, Intern. You will learn. How to Make a Monster Now blogging http://www.blivit.org/blog/index.cfm http://www.blivit.org/mr_urc/index.cfm Yahoo! Groups Sponsor ~-- Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: How can I get variable height in datagrid rows?
Wow...I feel so foolish...haha Thanks! --- In flexcoders@yahoogroups.com, Brendan Meutzner [EMAIL PROTECTED] wrote: Do you have variableRowHeight set to true on the DataGrid instance? On 6/21/06, Charles [EMAIL PROTECTED] wrote: Hi everyone, I am populating a datagrid, and for some items, there are pictures, and others there are not. I am displaying the pictures using an itemRenderer (the only way I know how), and so to fit the pictures, I've set the height of the renderer to be 100. This works fine. However, for the items that do NOT have pictures, the height is still 100, and not the default 10. So, what I would like to know is if there is a way to get variable height on datagrid rows? I've tried doing something like this in the beginning of my itemRenderer... if (has_picture) height = 100; else height = 10; ...but what happens is if the FIRST item in the datagrid has a picture, then ALL of the rows will be set to a row height of 100. If the first item does NOT have a picture, then all of the rows will be set to a row height of 10. So I'm stuck. Thanks in advance. Charles Yahoo! Groups Sponsor ~-- Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] How can I reference the particular item I am using?
My guess would be to give the image an ID... mx:Image id="myPic"source="../pictures/banner.jpg" click="someFunction({myPic.source})" I doubt the syntax is right, but I think that's the right idea... Shan __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___ -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.9.2/370 - Release Date: 6/20/2006
Re: [flexcoders] Applet invocation using Flex
I think that the only way that you could do this would be using Chritophe Coenraets' iFrame trick:http://coenraets.com/viewarticle.jsp?articleId=95 On 6/21/06, tinywhistles [EMAIL PROTECTED] wrote: Hi Is it possible to call an applet class from a MXML file? I am trying to display a java.awt.image object in a applet window, which is pretty simple. But since I am using Flex as the UI for my application, applet windows are ruled out. Is there a way to overcome this? I am using Flex 2.0(beta 3)and AMF remoting. ThanksRohan __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%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: e4x filtering question
Here you go: var employees:XML = employees employee name=joe mark department id=id1/ address city=miami state=florida/ /employee employee name=joe mark address city=san francisco state=california/ /employee employee name=mary dooley department id=id1/ address city=los angeles state=california/ /employee /employees; trace (employees.employee.(child (department)[EMAIL PROTECTED] == id1)); --- In flexcoders@yahoogroups.com, coder_flex [EMAIL PROTECTED] wrote: I have an xml document of the form employees employee name=joe mark department id=id1/ address city=miami state=florida/ /employee employee name=joe mark address city=san francisco state=california/ /employee employee name=mary dooley department id=id1/ address city=los angeles state=california/ /employee /employees Note here that the second employee record doesnt have department element at all. This is just a sample and my original xml is a web service response with some of the child elements missing for some elements. I want to filter the parent element on the child elements which may or may not be present using an e4x expression. The e4x expression of the form: employeesByDept:XMLList = employees.employee.([EMAIL PROTECTED] == id1); fails saying department element not found. If the department element is found for all the employees the above statement goes through. Whats the work-around for this? I thought its fairly common to have child elements/attributes missing within elements and e4x should just ignore those. Thanks in advance for the response. Yahoo! Groups Sponsor ~-- Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Flex dataservices:
Pete, thanks for the response. Yes, you're probably right. It appears that the endpoints are not being created. My guess is it has something to do with a security setting ( I removed all references to security in the config files, as they did not seem necessary). That's just a wild guess. Here's some of the log from the stdout.log file. // from stdout.log // ***' Loading configuration file C:\Tomcat 5.5\webapps\metalsmith\WEB-INF\flex\flex-webtier-config.xml, root element flex-webtier-config Loading configuration file C:\Tomcat 5.5\webapps\metalsmith\WEB-INF\flex\flex-config.xml, root element flex-config 06/21 12:13:12 DEBUG configuration service started. 06/21 12:13:12 DEBUG logger services started. Loading configuration file C:\Tomcat 5.5\webapps\samples\WEB-INF\flex\flex-webtier-config.xml, root element flex-webtier-config Loading configuration file C:\Tomcat 5.5\webapps\samples\WEB-INF\flex\flex-config.xml, root element flex-config [Flex] [INFO] Starting Adobe Flex Data Services 2.0 Express (beta period ends Jul 31, 2006) [Flex] [INFO] Adobe Flex Data Services Build: 138139 [Flex] [INFO] Endpoint my-amf created with security: None at URI: http://{server.name}:{server.port}/{context.root}/messagebroker/amf [Flex] [INFO] Endpoint my-polling-amf created with security: None at URI: http://{server.name}:{server.port}/{context.root}/messagebroker/amfpolling [Flex] [INFO] Endpoint my-http created with security: None at URI: http://{server.name}:{server.port}/{context.root}/messagebroker/http [Flex] [INFO] Endpoint my-secure-amf created with security: None at URI: https://{server.name}:9100/{context.root}/messagebroker/amfsecure [Flex] [INFO] Endpoint my-rtmp created with security: None at URI: rtmp://{server.name}:2037 [Flex] [INFO] Endpoint my-secure-http created with security: None at URI: https://{server.name}:9100/{context.root}/messagebroker/httpsecure [Flex] [ERROR] Exception when invoking service: data-service with message: Flex Message (flex.data.messages.DataMessage) operation = fill id = null clientId = 495BED4E-B85F-C791-613D-F802D929ADAE correlationId = destination = orderRow messageId = 699A031A-F1DF-2517-DE70-F802D9394E53 timestamp = 1150917204500 timeToLive = 0 body = [ ] hdr(DSEndpoint) = my-rtmp exception: flex.messaging.MessageException: No destination 'orderRow' exists in service flex.data.DataService - Mike --- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED] wrote: Mike, The fact that the error said the send failed means that perhaps the RTMP channel isn't running... so I'm guessing something went wrong on starting the web application. Most likely the configuration was invalid. Can you look at the server startup output (perhaps in the console window itself or in the web application logs... depending on how you launched Tomcat) for an indication as to whether there were such errors, and, hopefully, a clue as to what is wrong with the config? Pete From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mike_Robinson_98 Sent: Wednesday, June 21, 2006 2:35 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex dataservices: I have read some of the posts on issues similar to this one. Especially the Hank Williams and Peter Farland exchange. However, this problem is different enough that their posts did not help. I am trying to adapt the samples examples to work with an app I am developing. (BTW, all the samples work on my Tomcat test server running on Windows.) The issues I have is a failure when I try to a fill on a DataService. I've attempted to simplify the configuration files but I must have left something out. Anyone who has some experience in this area may easily spot my mistake but I have tried all the changes I can think of without any change in the result. Here are the gory details: // This is the script that creates the data service and tries to populate the orders arraycollection. mx:Script ![CDATA[ import mx.data.DataService; import mx.collections.ArrayCollection; import com.othenos.metalsmith.order.OrderRow; public var ds:DataService; [Bindable] public var orders:ArrayCollection; [Bindable] public var orderRow:OrderRow; public function initApp():void{ orders = new ArrayCollection(); ds = new DataService(orderRow); ds.fill(orders); } ]] /mx:Script // Here is the AS class that acts as the DTO // ** package com.othenos.metalsmith.order { import mx.data.IManaged; import mx.data.utils.Managed; import mx.core.MXMLObjectAdapter; [Managed] [RemoteClass(alias=com.othenos.metalsmith.order.OrderRow)] public class OrderRow { public var orderID:int; public var orderDate:Date; public var orderAmount:Number; public var status:String = ; public var salesmanName:String = ; public