RE: [flexcoders] Updates for Flex 2.0?
We will certainly be considering coder features for later releases. I cant promise what will be done when as we need to focus on some other things first (like getting it out on Mac). Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Sergey Kovalyov Sent: Thursday, July 20, 2006 9:24 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Updates for Flex 2.0? Just posted there. Sure, it's interesting to know, whether new features of IDE will be implemented in next version only or they can arrive with some kind on Flex 2.0 Update Pack. :) On 7/20/06, Tom Chiverton tom.chiverton@halliwells.com wrote: On Thursday 20 July 2006 15:34, Sergey Kovalyov wrote: Are there any plans regarding updates or add-ons for Flex 2.0 by Adobe? I imagine so. Have you dropped your list in the box at http://adobe.com/go/wish ? -- Tom Chiverton __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] performance issues
Well DataGrid scrolling performance is something that weve spent a lot of time tuning so I would love for us to get a full test case that we can look at. I saw in the thread you linked mentioning a 1600x1200 monitor, is the DataGrid taking up most of that real estate? The more visible rows the slower the scrolling will be. Another thing you could look at is in your setter for the data comparing against the old value and if it hasnt changed not doing anything, it may be that its invalidating too often? Ill ask one of the people who worked on performance if she has any thoughts. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Pan Troglodytes Sent: Wednesday, July 19, 2006 11:44 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] performance issues Well, specifically I had a DataGrid using this for the itemRenderer: package nes { import mx.controls.dataGridClasses.DataGridListData ; import mx.controls.Label; public class SignColorItemRenderer extends Label { public var negativeColor:uint = 0xFF; public var positiveColor:uint = 0x008000; public var zeroColor:uint; override public function set data(value:Object):void { super.data = ""> var n:Number = data[DataGridListData(listData).dataField]; if (n 0) setStyle(color, negativeColor); else if (n 0) setStyle(color, positiveColor); else if (n == 0) setStyle(color, zeroColor); } } } I brought it up in this thread: http://groups.yahoo.com/group/flexcoders/message/43243;_ylc=X3oDMTM3cWM2MG9mBF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTYwMDAwNzIwNwRtc2dJZAM0MzI2MwRzZWMDZnRyBHNsawN2dHBjBHN0aW1lAzExNTI4NTY4NDUEdHBjSWQDNDMyNDM- I tried LOADS of different ways to do it. I found that anytime I put much of any extra code in, it took away from the responsiveness. Even replacing the above data procedure with just a single setStyle statement. As I said, it's not horrible. But I definitely notice it. The other main thing I can point out is some sluggishness when resizing the browser window and having it resize/relayout the Flex app. But it's hard to tell how much of that is the browser and how much is Flex. On 7/20/06, Matt Chotin [EMAIL PROTECTED] wrote: Can you provide a little more detail on the performance areas that are hurting you? If there's a sample that demonstrates the speed issue it may be something we can look at. Matt From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com ] On Behalf Of Pan Troglodytes Sent: Wednesday, July 19, 2006 10:49 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] So? What are folks here actually building...? Well, since I have never programmed in ActionScript at all, my projects have served a dual purpose - functional and educational. In other words, some of the software may never see the light of day but that's okay - at least it taught me how to build in Flex. My most real application has been an ad-hoc query builder. We have some financial reporting that it broken down into various fields: branch, quarter, period, that kind of thing. So I gave each field an accordion pane and filled it with the values for that field. Then I let the user drag-n-drop the values for each field into another List, arranging them hierarchically however they want. This then feeds a sql statement that uses group by and rollup to get all the data both on the detail level and summarized by each parent level. I then feed that into a DataGrid that has many custom renderers. The main powerhouse is the tree renderer. Basically, the first column down the page looks like a tree of those key fields. So if they chose to report by quarter, then branch, then manager, it would look like: (view the following in a fixed width font) Gross Expenses Profit Total X X X 1Q-2006 X X X Branch 1 X X X Jane Doe X X X John Smith X X X Branch 2 X X X Phil Johnson X X X 2Q-2006 X X X Branch 1 X X X Jane Doe X X X John Smith X X X Branch 2 X X X Phil Johnson X X X I put in Xs because I got tired of making up stuff. But you get the picture. It's basically very pivot-table-ish. It's really the graphical touches that seal the deal. There's icons and animations and colors all over the place. Not too much, but more than I could have coded in the week or so I've been building it. I'm an experienced Delphi user and have to say I'm really blown away by Flex. Delphi is RAD but Flex is RAD^2. Okay, for my VERY basic advice on what I would put some effort into. Well, first, fix the bugs that have come out here. You have a pretty wide base of components already and I would like them to be very stable. Nothing slows a developer down more than spending hours on a problem to only find the bug isn't in his/her code. Second, I would REALLY like to see some optimization done. I know this is going to be hard with the dynamic, frequently untyped nature of Flex. But some of the code runs
[flexcoders] Incomplete Java API docs
The Java API doc which is included in the Flex2 final release is incomplete and doesn't reflect the actual class library packaged in the jar files. For example the MessageBroker and MessageClient is missing from the Java API docs. Furthermore the information contained in the Java API doc is not very verbose. A development guide and up to date docs would be very much appreciated. Anyone has a reference to the complete and up to date Java API doc? 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] routeMessageToService and routeMessageToClient
The selector attribute of the Consumer class allows messages to be filtered based on information in the header of the message. The downside is that a message is always delivered to all clients which is inefficient and is also a potential security hazard. I just want to deliver a message to a single client from a server side Java class. Both methods, routeMessageToService and routeMessageToClient, are missing from the Flex Java API. The routeMessageToService obviously routes messages to all clients connect to the same destination. It maybe very likely that the routeMessageToClient will route the message to a single peer. But the methods needs a MessageClient which is also missing from the Java doc. With some googling I found a Java doc which contains a very terse definition of the MessageClient. But only very terse and of no use to someone who doesn't now the Flex internals. Is there any example or some more verbose documentation on how to use these classes. Much appreciate 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 from Actionscript
Hi Alberto, From what I can tell, it seems you use bindSetter to bind to an ordinary function. If you want to bind to a 'set' function you actually need to use bindProperty (because 'set' functions are treated as properties). See the demo app I have pasted below that shows both approaches. Paul ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical creationComplete=handleCreationComplete() mx:Label text=Input: / mx:TextInput id=textInput/ mx:Label text=Bound To Property: / mx:Label id=propertyOutput/ mx:Label text=Bound To Function: / mx:Label id=setterOutput/ mx:Script ![CDATA[ import mx.binding.utils.*; public function set myTextSetter( text : String ) : void { propertyOutput.text = text; } public function myText( text : String ) : void { setterOutput.text = text; } public function handleCreationComplete() : void { BindingUtils.bindProperty( this, myTextSetter, textInput, text, false ); BindingUtils.bindSetter( myText, textInput, text, false ); } ]] /mx:Script /mx:Application -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alberto Albericio Sent: Tuesday, July 18, 2006 10:20 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Binding from Actionscript Hello all, I have an MXML component that has an mxml binding to a setter function like this: mx:Binding source=model.podManager.getPod( mypodId ).destroy destination=handleDestroy / and a setter function defined : private function set handleDestroy( destroy:Boolean ): void { // some code } This works 100% but I need to create this binding in an actionscript component; I have tried the following: BindingUtils.bindSetter( handleDestroy, model.podManager.getPod( this.mypodId ), destroy, false ); and having the same setter function. It complains about the setter function. If I remove the set keyword (on the setter function) it compiles but does nothing ( the binding doesnt seem to enter the function ) How can I create this binding from actionscript? Can someone give a working example on how to create a binding to a setter function in actionscript? It should be easy but I have found no documentation at all on this. I need the help of an expert. Thank you very much. Alberto -- 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 ~-- 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] routeMessageToService and routeMessageToClient
I'm in the same boat, looking for the same information. The only help I can provide is regarding selectors: the filtering happens server-side, so only consumers that have subscribed using that selector will receive the message. We still want a way to be able to send a message to a specific client (like client.call() in FMS2), and there's got to be a better way than using selectors.-TomOn 7/21/06, m88e24 [EMAIL PROTECTED] wrote: The selector attribute of the Consumer class allows messages to be filtered based on information in the header of the message. The downside is that a message is always delivered to all clients which is inefficient and is also a potential security hazard. I just want to deliver a message to a single client from a server side Java class. Both methods, routeMessageToService and routeMessageToClient, are missing from the Flex Java API. The routeMessageToService obviously routes messages to all clients connect to the same destination. It maybe very likely that the routeMessageToClient will route the message to a single peer. But the methods needs a MessageClient which is also missing from the Java doc. With some googling I found a Java doc which contains a very terse definition of the MessageClient. But only very terse and of no use to someone who doesn't now the Flex internals. Is there any example or some more verbose documentation on how to use these classes. Much appreciate any help. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Sending Arrays of VO's from Flex to CF
On Thursday 20 July 2006 23:46, briggzaytravel wrote: I've been working on a particularly sticky wicket for many hours now. First thing to do is either to turn on debug log level in your services-config.xml or make use of FlexDebugPanel (http://www.mikenimer.com/index.cfm/2006/7/5/FlexDebugPanel) and see what CF is actually sending to your Flex app. I'm sending multiple .AS valueObjects from Flex to a ColdFusion CFC, and can't seem to get it to work. My array is set and passed properly to the CFC, but once there, i can't seem to get it read the object - and can't even get it to pass the object back to FLEX You don't say what happens when you try. Is offerInstanceDataManager a RemoteObject ? Your saveAll() call uses accessKeys, but your loop pushes onto accessKeysOutgoing, which I don't get :-) -- 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. 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] Flex Builder 2 RDS Connection problems
On Thursday 20 July 2006 16:44, Brian Holmes wrote: beginning to think that it's got to be something on our network as I have been able to connect to RDS everywhere but here it seems. You could stick something like ethereal in there, and see what is actually going back and forth on the wire. -- 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. 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: Chart data transitions effects when using AS
On Thursday 20 July 2006 18:06, Doug Lowder wrote: The interpolation should work when adding data sets; I'm thinking it would look the same as going from a 0-datapoint series to a non-0 series. Removing a data set, on the other hand, may just cause it to instantly disappear from the chart, since the effect is defined on the series. Hmm. Looks like I might have to be a bit more clever, and do a check to see if the series is allready there or not before adding it, rather than clearing the list down and adding the ones I want. -- 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. 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: Detect if Object exists
Hi Nick, you could use something like an itemRenderer as the tab and its data property to compare against the selected item of your data grid. Here is a simple example: snip ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml layout=vertical mx:Script ![CDATA[ import mx.collections.ArrayCollection; [Bindable] private var people : ArrayCollection = initPeople(); private function initPeople() : ArrayCollection { var result : ArrayCollection = new ArrayCollection(); result.addItem(John Miller); result.addItem(Steve Jones); result.addItem(Ramirez Maria Santa Cruz); return result; } private function showInTab( event : Event ) : void { var selectedItem : String = event.target.selectedItem as String; var tab : MyTab = findTab( selectedItem ); if( tab == null ) { tab = createTab( selectedItem ); tn.addChild( tab ); } tn.selectedChild = tab; } private function findTab( item : * ) : MyTab { var numChildren : int = tn.numChildren; for( var i : int = 0; i numChildren; i++ ) { var tab : MyTab = tn.getChildAt( i ) as MyTab; if( tab.data == item ) { return tab; } } return null; } private function createTab( item : * ) : MyTab { var result : MyTab = new MyTab(); result.data = ""> return result; } ]] /mx:Script mx:ComboBox dataProvider={ people } change=showInTab( event )/ mx:TabNavigator id=tn width=500/ /mx:Application snip ?xml version=1.0 encoding=utf-8? mx:VBox xmlns:mx=http://www.adobe.com/2006/mxml width=100% height=100% label={ renderLabel( data )} mx:Script ![CDATA[ private function renderText( data : Object ) : String { return data as String; } private function renderLabel( data : Object ) : String { return data as String; } ]] /mx:Script mx:Label text={ renderText( data )} / /mx:VBox snip Cheers, Ralf. On 7/21/06, Nick Collins [EMAIL PROTECTED] wrote: I tried something very similar to that, but got the following error, as I did this time:1118: Implicit coercion of a value with static type flash.display:DisplayObject to a possibly unrelated type mx.core:Container. On 7/20/06, fwscott [EMAIL PROTECTED] wrote: Hey Nick, You could assign a name to your tab and then use this.windowTabs.getChildByName(newtab.name); Something like private function createTab(createTabName:String):void { var newid:String = 'userTab' + this.masterList.selectedItem.ContribNum; var selectTab:Container = this.windowTabs.getChildByName(newid); if(!selectTab) { var newVbox:VBox = new VBox(); var newHbox:HBox = new HBox(); var newTab:Canvas = new Canvas(); var newSpacer:Spacer = new Spacer(); var tabCloseBtn:Button = new Button(); // create button to close tab tabCloseBtn.label = Close Tab; tabCloseBtn.addEventListener (MouseEvent.CLICK,myClickListener); // create spacer to position close button newSpacer.percentWidth = 100; // create box layout controls newHbox.percentWidth = 100; newHbox.addChild(newSpacer); newHbox.addChild(tabCloseBtn); newVbox.addChild(newHbox); newVbox.addChild (getTithesComponent(this.masterList.selectedItem.ContribNum)); // create tab newTab.label = createTabName; newTab.id = newid; newTab.name = newid; newTab.addChild(newVbox); this.windowTabs.addChild(newTab); this.windowTabs.selectedChild = newTab; } else this.windowTabs.selectedChild = selectTab; } Scotty http://www.franciswscott.com --- In flexcoders@yahoogroups.com , Nick Collins [EMAIL PROTECTED] wrote: I've got a datagrid with a list of people, that when you double click on one, it creates a new tab with that person's data into a TabNavigator. I'm trying to get it so it will only open one instance of a tab for each person, and if you try to open a person again, it will simply select their tab that already exists. Sounds pretty straightforward, right? Here's what I've got, when you click the button for their data or double click their name, an event is launched which then calls this function, createTab: private function createTab(createTabName:String):void { var newVbox:VBox = new VBox(); var newHbox:HBox = new HBox(); var newTab:Canvas = new Canvas(); var
[flexcoders] ComboBox instance method open() doesn't work first time when in particular state
I have base application class:package { import mx.controls.ComboBox; import mx.core.Application; public class ExampleBase extends Application {public var myComboBox : ComboBox; public function ExampleBase() { }protected function onEditStateEnter() : void { myComboBox.open(); } }}and inherited MXML: ?xml version=1.0 encoding=utf-8?ExampleBase xmlns:mx=http://www.adobe.com/2006/mxml xmlns=* currentState=viewState states mx:State name=viewState mx:AddChild relativeTo={this} position=lastChildmx:target mx:Text id=myLabel selectable=true text=Yo! click=currentState = 'editState' //mx:target /mx:AddChild /mx:State mx:State name=editState enterState=onEditStateEnter() mx:AddChild relativeTo={this} position=lastChild mx:target mx:HBox id=myHBox mx:ComboBox id=myComboBox dataProvider={[1, 2, 3]} / mx:Button label=Exit click=currentState = 'viewState' / /mx:HBox/mx:target /mx:AddChild /mx:State /states /ExampleBaseYou can find call enterState=onEditStateEnter() there and myComboBox.open(); in method implementation. The problem is that ComboBox is opened only second time you enter the state. When I debugged I found that upon the first state appearance dropdown property of ComboBox is null. What's wrong with my example? __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. 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 from Actionscript
Hi Ralf ! Im fine thank you! ( I will mail you personally at gmail ) Thanks for your help. I finally got that binding working! Paul sent me some stuff (same stuff posted in flexcoders I think) and with some time I managed to make it work. In summary, I was creating the binding in the wrong place. I was creating the binding in the class constructor and creating it in the createChildren protected method made the trick, and the binding was not a binding to a display object! :/ It was a binding from an object in the model to a setter function in the class. Anyway, thanks to everyone and specially thanks to Ralf and Paul in the EMEA Adobe Consulting team. Cheers, Alberto Ralf Bokelberg escribió: PS. It only works, when i use the other binding instead On 7/21/06, Ralf Bokelberg [EMAIL PROTECTED] wrote: Hi Alberto, how are you doing? I'm not sure, why it works in the first place. I can't get it to run it with the following code. What is different in your code? snip ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute mx:Script ![CDATA[ [Bindable] private var mypodId : int = 0; private function set handleDestroy( destroy:* ): void { trace(handleDestroy + destroy); } [Bindable] private var model : Model = Model.getInstance(); [Bindable] private var currentPod : Pod = model.podManager.getPod( mypodId ); ]] /mx:Script !--mx:Binding source=currentPod.destroy destination=handleDestroy /-- mx:Binding source=model.podManager.getPod( mypodId ).destroy destination=handleDestroy / mx:Button click=model.podManager.getPod( mypodId ).destroy = true / /mx:Application snip package { public class Model { [Bindable] public var podManager : PodManager; public function Model() { podManager = new PodManager(); } private static var instance : Model; public static function getInstance() : Model { if( instance == null ) instance = new Model(); return instance; } } } snip package { import mx.collections.ArrayCollection; import flash.events.Event; import flash.events.EventDispatcher; public class PodManager extends EventDispatcher { private var pods : ArrayCollection; public function PodManager() { pods = new ArrayCollection(); pods.addItem( new Pod(pod0)); pods.addItem( new Pod(pod1)); pods.addItem( new Pod(pod2)); pods.addItem( new Pod(pod3)); } public function getPod( podId : int ) : Pod { return pods.getItemAt( podId ) as Pod; } } } snip package { public class Pod { public var name : String; [Bindable] public var destroy : Boolean; public function Pod( name : String ) { this.name = name; } } } snip Cheers, Ralf On 7/18/06, Alberto Albericio [EMAIL PROTECTED] wrote: Hello all, I have an MXML component that has an mxml binding to a setter function like this: mx:Binding source=model.podManager.getPod( mypodId ).destroy destination=handleDestroy / and a setter function defined : private function set handleDestroy( destroy:Boolean ): void { // some code } This works 100% but I need to create this binding in an actionscript component; I have tried the following: BindingUtils.bindSetter( handleDestroy, model.podManager.getPod( this.mypodId ), destroy, false ); and having the same setter function. It complains about the setter function. If I remove the set keyword (on the setter function) it compiles but does nothing ( the binding doesnt seem to enter the function ) How can I create this binding from actionscript? Can someone give a working example on how to create a binding to a setter function in actionscript? It should be easy but I have found no documentation at all on
[flexcoders] FlashPlayerTrust files don't get updated by Flex Builder 2
Has anyone experienced that when running a SWF from Flex Builder 2 which accesses a local file (i.e. pull XML file through HTTPService) sometimes Security Sandbox violations happen and sometimes not? On my machine it all boils down to the fact that the flexbuilder_plugin.cfg and flexbuilder_plugin.fbr files in the local user FlashPlayerTrust don't get updated correctly. For example, running the plugin version of FB2 the files don't get updated wheras running the standalone version they get updated. It seems that by default Flex Builder 2 automatically adds the current workspace and the current project folders to the above files to allow SWFs started from FB2 to access local data. For some reasons, this does not always happen and we frequently run into those Sandbox violations again and again. Dirk. 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] Any way to get a navbar to maintain state, acting kinda like a tabNavigator
I like the look of the navbar, but in using it to control a viewStack, I would like to be able to keep one of the buttons in the bar a different color at all times. I actually want manual control over this because there are some special cases. But is there any way to say that a specific button in the bar should be a different color? Hank __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] setting value on cfc invoke another method on cfc
Session scope. Coldfusion maintains session for remoting as it does for http requests from html apps. How would you hold normally hold session data? Maybe a facade object?On 21/07/06, Doug Arthur [EMAIL PROTECTED] wrote: How would you invoke one method on a cfc from flex, then call another method on the same cfc and the cfc maintain the values from the first invoke? example: cfcomponent cffunction name=init access=remote output= false returntype=any cfreturn this / /cffunction cffunction name=doSomething access= remote output=false returntype= any cfreturn getSomeValue() ' is the value you asked for...' / /cffunction cffunction name=setSomeValue access=remote output= false returntype=any cfargument name=someValue required= true default= / cfset Variables.someValue = arguments.someValue / /cffunction cffunction name=getSomeValue access= remote output=false returntype=any cfreturn Variables.someValue / /cffunction/cfcomponent remoteObject.setSomeValue('something'); remotObject.doSomething(); // I'm looking for event.result to contain the string 'something is the value you asked for...' __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Any field types to past pic?
I have a quick question. We need a field to store a small 70x70 pixel picture file that will serve as a use icon on our project. Is there any type of field in flex that I can paste a picture into from the UI? Or do I need to upload an image file via flex, have it stored on an HD somewhere and then call that image to display into a layout? What would be REALLY cool is if you could hoook a camera up to a computer and when setting up the user, take the pic and have it go straight to flex. 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] Flex Store SendCart()
Hi I am try to implement function SendCart() for Flex Store Example. I don´t know how I can send a email with the items selected when click on Submit Order I am trying to send one Array with this information but my .ASP not work OK. When the user click On Submit Order [Bindable] private var misItems:Array = []; private function Manda():void{ var items:Array = productList.items; for (var i:int=0; i items.length; i++) { var product:Product = items[i].product; misItems.push({Nombre:product.name, Precio:product.price, Cantidad:product.qty}); trace(misItems[i].Nombre + "-" + misItems[i].Precio + "-" + misItems[i].Cantidad); } conexion.send(misItems); } I configured my HTTPServices mx:HTTPService url=""http://localhost/email.asp">http://localhost/email.asp" id="conexion" method="POST" resultFormat="text" And then. my .ASP % Set Mail = Server.CreateObject("Persits.MailSender") Mail.Host = "smtp.xxx..com" Mail.From = Request.Form("myemail") Mail.FromName = "Pepe Lopez" Mail.AddAddress pepe@gmail.com, "Pepe Lopez" Mail.Subject = Request.Form("asunto") Mail.Body = Mail.Body Request.Form.Count VbCrLf (If I select2 phones for examples Request.Form.Count return "2") For index = 1 to Request.Form.Count Mail.Body = Mail.Body Request.Form("misItems[index].Nombre" index) VbCrLf Mail.Body = Mail.Body Request.Form("misItems[index].Precio" index) VbCrLf Mail.Body = Mail.Body Request.Form("misItems[index].Cantidad" index) VbCrLf next Mail.Send % I dont know how to stract "misItems[index].Nombre" this value for example Nokia 3210 Please I need your help Thaks To All. Cesar __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Flex Store SendCart()
Hi I am try to implement function SendCart() for Flex Store Example. I don´t know how I can send a email with the items selected when click on Submit Order I am trying to send one Array with this information but my .ASP not work OK. When the user click On Submit Order [Bindable] private var misItems:Array = []; private function Manda():void{ var items:Array = productList.items; for (var i:int=0; i items.length; i++) { var product:Product = items[i].product; misItems.push({Nombre:product.name, Precio:product.price, Cantidad:product.qty}); trace(misItems[i].Nombre + "-" + misItems[i].Precio + "-" + misItems[i].Cantidad); } conexion.send(misItems); } I configured my HTTPServices mx:HTTPService url=""http://localhost/email.asp">http://localhost/email.asp" id="conexion" method="POST" resultFormat="text" And then. my .ASP % Set Mail = Server.CreateObject("Persits.MailSender") Mail.Host = "smtp.xxx..com" Mail.From = Request.Form("myemail") Mail.FromName = "Pepe Lopez" Mail.AddAddress pepe@gmail.com, "Pepe Lopez" Mail.Subject = Request.Form("asunto") Mail.Body = Mail.Body Request.Form.Count VbCrLf (If I select2 phones for examples Request.Form.Count return "2") For index = 1 to Request.Form.Count Mail.Body = Mail.Body Request.Form("misItems[index].Nombre" index) VbCrLf Mail.Body = Mail.Body Request.Form("misItems[index].Precio" index) VbCrLf Mail.Body = Mail.Body Request.Form("misItems[index].Cantidad" index) VbCrLf next Mail.Send % I dont know how to stract "misItems[index].Nombre" this value for example Nokia 3210 Please I need your help Thaks To All. Cesar __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. 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] Radiobutton bug in Repeater
All, Ive been experiencing several issues with the radiobutton when in a repeater the main problem at the moment is this error: TypeError: Error #1009: Cannot access a property or method of a null object reference. at mx.controls::RadioButton/mx.controls:RadioButton::addToGroup()[C:\dev\GMC\sdk\frameworks\mx\controls\RadioButton.as:454] Debugging the code it would appear that the document property in the RadioButton.as is returning null, as a result group is also returning null even though I have set group to equal a radiobutton group in the component. This error doesnt happen all the time, but it is a show stopper when it does pop up!! Any ideas? Cheers Steve __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Flex Pricing question
Hi,Is the Eclipse plug-in for the Flex-builder free orI have to pay for it. CanI get this without the flexbuilder?If yes, what is the cost?I dont see the price for Flex Data Serviceon the site, what's the pricing model for this? I understand the express version is free to download. What is the limitation of express version?Whats the days-limit for trial flex charting?Thanks Umesh. Thanks Umesh How low will we go? Check out Yahoo! Messengers low PC-to-Phone call rates. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. 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] TextSnapshot not working in Flex 2
Hi there, I have a TextArea which gets dynamically populated with text received from Server. At the client on some specific event I need to retrieve X and Y co ordinates of some text. There is property in TextArea called textSnapshot, but whenever I try to get it the character count is always Zero and hence doesn't help me. Anybody, has any ideas on this? or Have ever tried using text snapshot? or tried getting X,Y co ordinates of specific text in TextArea? Thanx in advance, Jignesh Satra 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] Data Paging without FDS
Is it posible Data Paging without FDS?, I've been reading docs and there is no real answer for this. Maybe someboy knows. 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] Help needed in saving data through Data Service
Sorry for not replying you earliar. I am using jrun shipped with beta3. Do I have to do something to add transaction manager? Peter Farland [EMAIL PROTECTED] wrote: Are you using Tomcat? If so which version? You may need to add JOTM to your tomcat installation.From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Umesh GargSent: Friday, June 30, 2006 1:08 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Help needed in saving data through Data ServiceHi,I have an issue when I am trying toupdate the datagrid data to the database. As soon as I update something in the datagrid, I am getting the following error in the console:[Flex] [ERROR] Exception when invoking service: data-service with message: Flex Message (flex.data.messages.DataMessage) operation = transacted id = null clientId = A86DDAFA-7E0F-33ED-3D83-DC64732B0F45 correlationId = destination = pmoiq.psctask messageId = 6169FEC0-BB73-0CD7-8F31-25DBE55430C2 timestamp = 1151686403422 timeToLive = 0 body = [ Flex Message (flex.data.messages.DataMessage) operation = update id = {taskId=2} clientId = 5FCA8A13-4C2A-26AA-896D-25DB9717D6D1 correlationId = 6169FEC0-BB73-0CD7-8F31-25DBE55430C2 destination = pmoiq.psctask messageId = AAE8CBDE-AB51-DEE9-B75B-25DBE5548767 timestamp = 0 timeToLive = 0 body = [ [ fte ], [EMAIL PROTECTED], [EMAIL PROTECTED] ] ] hdr(DSEndpoint) = my-rtmp exception: flex.data.DataServiceException: Unable to access UserTransaction inDataService.[Flex] [DEBUG] Error handling rtmp message: flex.data.DataServiceException: Unable to access UserTransaction in DataService. incomingMessage: Flex Message (flex.data.messages.DataMessage) operation = transacted id = null clientId = A86DDAFA-7E0F-33ED-3D83-DC64732B0F45 correlationId = destination = pmoiq.psctask messageId = 6169FEC0-BB73-0CD7-8F31-25DBE55430C2 timestamp = 1151686403422 timeToLive = 0 body = [ Flex Message (flex.data.messages.DataMessage) operation = update id = {taskId=2} clientId = 5FCA8A13-4C2A-26AA-896D-25DB9717D6D1 correlationId = 6169FEC0-BB73-0CD7-8F31-25DBE55430C2 destination = pmoiq.psctask messageId = AAE8CBDE-AB51-DEE9-B75B-25DBE5548767 timestamp = 0 timeToLive = 0 body = [ [ fte ], [EMAIL PROTECTED], com.aed.pmoiq.model.businesso! [EMAIL PROTECTED] ] ] hdr(DSEndpoint) = my-rtmp errorReply: Flex Message (flex.messaging.messages.ErrorMessage) clientId = null correlationId = 6169FEC0-BB73-0CD7-8F31-25DBE55430C2 destination = null messageId = A86DDAFA-7E19-1289-133B-44481F12D29B timestamp = 1151686403422 timeToLive = 0 body = null code = Server.Processing message = Unable to access UserTransaction in DataService. details = null rootCause = java.lang.ClassCastException body = null extendedData = null[Flex] [DEBUG] cause=java.lang.ClassCastException type=class java.lang.ClassCastExceptionjava.lang.ClassCastException at flex.data.DataServiceTransaction.doBegin(DataServiceTransaction.java:546) at flex.data.DataServiceTransaction.begin(DataServiceTransaction.java:517) at flex.data.DataService.serviceTransactedMessage(DataService.java:440) at flex.data.DataService.serviceMessage(DataService.java:220) at flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java:565) at flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpoint.java:298) at flex.messaging.endpoints.rtmp.AbstractRTMPServer.dispatchMessage(AbstractRTMPServer.java:653) at flex.messaging.endpoints.rtmp.NIORTMPConnection$RTMPReader.run(NIORTMPConnection.java:650) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:643) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:668) at java.lang.Thread.run(Unknown Source)The datagrid is defined like this:mx:DataGrid y="261" dataProvider="{acPscTasks}" editable="true" enabled="true" right="-3" left="13" id="dgPscTasks" change="pscTaskChange()" Do you Yahoo!?Everyone is raving about the all-new Yahoo! Mail Beta. 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
[flexcoders] Problem with PopUps with Flash Player 9,0,16,0 ?
Hello, Dave Lowe here. I've just updated my Flash Player from version 9,0,0,296 to version 9,0,16,0 and PopUps appear to have stopped working (no PopUp is displayed - see code at the end of this post). This code works under 9,0,0,296. Am I doing something wrong or is this a bug in 9,0,16,0? Cheers, Dave. _ PopUpTest.mxml == ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; mx:Script ![CDATA[ import mx.managers.PopUpManager; import mx.containers.TitleWindow; private function showPopUp():void { var popUpWindow:TitleWindow = TitleWindow (PopUpManager.createPopUp(this, ThePopUp, true)); popUpWindow.title=PopUp Test; } ]] /mx:Script mx:Button label=Show PopUp click=showPopUp() / /mx:Application _ ThePopUp.mxml = ?xml version=1.0 encoding=utf-8? mx:TitleWindow xmlns:mx=http://www.adobe.com/2006/mxml; creationComplete=doInit() horizontalAlign=center backgroundColor=blue height=150 width=400 mx:Script ![CDATA[ import mx.managers.PopUpManager; private function doInit():void { // Center the TitleWindow container over the control that created it. PopUpManager.centerPopUp(this); } private function removePopUp():void { // Remove pop up. PopUpManager.removePopUp(this); } ]] /mx:Script mx:Label text=PopUp Test textAlign=center color=white fontSize=20 / mx:Spacer height=100%/ mx:Button label=Continue click=removePopUp() / /mx:TitleWindow 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] flex2: context out of Function
Hi, everyone. Is it possible in Flex 2 to get context for some method described by Function object? I need to call another method out of that context (another method of that object). public class TestClassThatCalls extends TestClass { private var _context : someClass; public function someFunction(method : Function) { // // put into _context object that this method belongs to // _context.doSmth(); } } public class TestClassContainsCalled extends TestClass { var _counter : int; public function funcThatWePass(): void { } public function doSmth() : void { _counter++; } } later we do: TestClassThatCalls.someFunction( TestClassContainsCalled.funcThatWePass ); after this _counter value have to be increased by 1. Thanks, Roma. 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] Populating ComboBox from Model/XML
Hi, newbie question here ... just learning. I'm using Flex 2. There seem to be numerous errors and typos in the Adobe Flex Help files/PDFs and I'm hitting a snag here ... What I'd like to do, to begin with, is to populate a ComboBox from an external XML file. The section in the help files called Populating a ComboBox control using variables and models seems pertinent, but the second part of example doesn't work. The relevant code is this ... mx:Model id=myDP obj item label=AL data=Montgomery/ item labelAK/label dataJuneau/data /item item labelAR/label dataLittle Rock/data /item /obj /mx:Model mx:ArrayCollection id=stateAC source={myDP.obj.item}/ mx:ComboBox dataProvider={stateAC}/ Should I be using XML or XMLList instead? Later I'd like to have the dataProvider be from an external source (HTTPService or WebService), but I can't even get this simpler code to work. Any help appreciated. Thanks. This email and any files transmitted with it may be confidential and are intended solely for the use of the individual or entity to whom they are addressed. This email may contain personal information of individuals, and be subject to Commonwealth and/or State privacy laws in Australia. This email is also subject to copyright. If you are not the intended recipient, you must not read, print, store, copy, forward or use this email for any reason, in accordance with privacy and copyright laws. If you have received this email in error, please notify the sender by return email, and delete this email from your inbox. 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] Re: Setting a stylesheet property on a TextArea control.
Hi there, Even i has a similar issue. Got a patchy workaround. Use TextRange and do manual selection of the text you want and then apply the Style that you want. Jignesh --- In flexcoders@yahoogroups.com, mateo_eastcoast [EMAIL PROTECTED] wrote: Hello, I am trying to assign a new StyleSheet object to the stylesheet property of a TextArea control. When I create that TextArea declarative using mxml I get an exception saying: Error: Error #2009: This method cannot be used on a text field with a style sheet. at flash.text::TextField/set defaultTextFormat() at mx.core::UITextField/set htmlText()[C:\dev\GMC\sdk\frameworks\mx\core\UITextField.as:314] at mx.controls::TextArea/mx.controls:TextArea::commitProperties() [C:\dev\GMC\sdk\frameworks\mx\controls\TextArea.as:1787] at mx.core::UIComponent/validateProperties() [C:\dev\GMC\sdk\frameworks\mx\core\UIComponent.as:5218] at mx.managers::LayoutManager/mx.managers:LayoutManager::validatePropert ies()[C:\dev\GMC\sdk\frameworks\mx\managers\LayoutManager.as:517] at mx.managers::LayoutManager/mx.managers:LayoutManager::doPhasedInstant iation()[C:\dev\GMC\sdk\frameworks\mx\managers\LayoutManager.as:658] at Function/http://adobe.com/AS3/2006/builtin::apply() at mx.core::UIComponent/mx.core:UIComponent::callLaterDispatcher2() [C:\dev\GMC\sdk\frameworks\mx\core\UIComponent.as:7789] at mx.core::UIComponent/mx.core:UIComponent::callLaterDispatcher() [C:\dev\GMC\sdk\frameworks\mx\core\UIComponent.as:7732] The code: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute mx:Script ![CDATA[ import public function inits():void { var style:StyleSheet = new StyleSheet(); /* var heading:Object = new Object(); heading.fontWeight = bold; heading.color = #FF; var body:Object = new Object(); body.fontStyle = italic; style.setStyle(.heading, heading); style.setStyle(body, body); */ thetextarea.htmlText = bodyspan class='heading'Hello /spanWorld.../body; thetextarea.styleSheet = style; } ]] /mx:Script mx:Button x=171 y=323 label=Button click=inits()/ mx:TextArea id=thetextarea x=40 y=245 width=800 / /mx:Application If you instanciate the TextArea programatically then you get a null pointer type of exception. Any ideas? M. PS: I noticed a post with a similar problem (but not a resolution) here: http://groups.yahoo.com/group/flexcoders/message/34106 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: Detect if Object exists
Change var selectTab:Container = this.windowTabs.getChildByName(newid);to var selectTab:Container = Container(this.windowTabs.getChildByName(newid));Or var selectTab:Container = this.windowTabs.getChildByName(newid) as Container;Im not sure which syntax is the correct way or what the difference is. Anyone care to explain the difference?Scotty On 7/20/06, Nick Collins [EMAIL PROTECTED] wrote: I tried something very similar to that, but got the following error, as I did this time:1118: Implicit coercion of a value with static type flash.display:DisplayObject to a possibly unrelated type mx.core:Container . On 7/20/06, fwscott [EMAIL PROTECTED] wrote: Hey Nick, You could assign a name to your tab and then use this.windowTabs.getChildByName(newtab.name); Something like private function createTab(createTabName:String):void { var newid:String = 'userTab' + this.masterList.selectedItem.ContribNum; var selectTab:Container = this.windowTabs.getChildByName(newid); if(!selectTab) { var newVbox:VBox = new VBox(); var newHbox:HBox = new HBox(); var newTab:Canvas = new Canvas(); var newSpacer:Spacer = new Spacer(); var tabCloseBtn:Button = new Button(); // create button to close tab tabCloseBtn.label = Close Tab; tabCloseBtn.addEventListener (MouseEvent.CLICK,myClickListener); // create spacer to position close button newSpacer.percentWidth = 100; // create box layout controls newHbox.percentWidth = 100; newHbox.addChild(newSpacer); newHbox.addChild(tabCloseBtn); newVbox.addChild(newHbox); newVbox.addChild (getTithesComponent(this.masterList.selectedItem.ContribNum)); // create tab newTab.label = createTabName; newTab.id = newid; newTab.name = newid; newTab.addChild(newVbox); this.windowTabs.addChild(newTab); this.windowTabs.selectedChild = newTab; } else this.windowTabs.selectedChild = selectTab; } Scotty http://www.franciswscott.com --- In flexcoders@yahoogroups.com , Nick Collins [EMAIL PROTECTED] wrote: I've got a datagrid with a list of people, that when you double click on one, it creates a new tab with that person's data into a TabNavigator. I'm trying to get it so it will only open one instance of a tab for each person, and if you try to open a person again, it will simply select their tab that already exists. Sounds pretty straightforward, right? Here's what I've got, when you click the button for their data or double click their name, an event is launched which then calls this function, createTab: private function createTab(createTabName:String):void { var newVbox:VBox = new VBox(); var newHbox:HBox = new HBox(); var newTab:Canvas = new Canvas(); var newSpacer:Spacer = new Spacer(); var tabCloseBtn:Button = new Button(); // create button to close tab tabCloseBtn.label = Close Tab; tabCloseBtn.addEventListener (MouseEvent.CLICK, myClickListener); // create spacer to position close button newSpacer.percentWidth = 100; // create box layout controls newHbox.percentWidth = 100; newHbox.addChild(newSpacer); newHbox.addChild(tabCloseBtn); newVbox.addChild(newHbox); newVbox.addChild (getTithesComponent( this.masterList.selectedItem.ContribNum)); // create tab newTab.label = createTabName; newTab.id = 'userTab' + this.masterList.selectedItem.ContribNum ; newTab.addChild(newVbox); var selectTab:ObjectName = newTab.id; if (!selectTab) { this.windowTabs.selectedChild = selectTab; } else { this.windowTabs.addChild(newTab); this.windowTabs.selectedChild = newTab; } } Now from the docs I've found, it seems like doing an if statement with the condition of ! objectID should be checking if that id exists, right? for some reason it always returns false, even when a new canvas in the TabNavigator stack with that id value already exists. Any ideas how I can accurately detect if the object exists? __._,_.___ -- Flexcoders Mailing List FAQ:
Re: [flexcoders] Deselecting a Tab ??
Well I took a different approach but here it is: http://www.everythingflex.com/blog/1/2006/07/MultiRowTabs.cfm Rich On 7/20/06, Ralf Bokelberg [EMAIL PROTECTED] wrote: You can override it, but you can't change the internal _selectedIndex, so it's useless. Found another solution though: tabNavigator.getTabAt(tn.selectedIndex).selected=false; Cheers, Ralf. On 7/20/06, Tom Chiverton [EMAIL PROTECTED] wrote: On Thursday 20 July 2006 15:26, Ralf Bokelberg wrote: Unfortunately _selectedIndex is private, so we are not able to assign Can you not use override public set selectedIndex() ? -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Ralf Bokelberg [EMAIL PROTECTED] Flex Flash Consultant based in Cologne/Germany -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Rich Tretola mx:EverythingFlex/ http://www.EverythingFlex.com 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] Flex Pricing question
On Friday 21 July 2006 06:27, Umesh Garg wrote: Whats the days-limit for trial flex charting? Zero. It has 'trial' stamped on it till you pay up. -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. 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] TODO/FIXME extension for Flex Builder 2
I finally found some time to finish the TODO/FIXME extension for Flex Builder 2 - thanks to Jean-Luc ;) Please go ahead and give it a try: http://www.richinternet.de/blog/index.cfm?entry=911D4B57-0F0D-5A73-AF6F4 D4D04099757 Dirk. 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] Thread synchronization and async messages
I don't know how the Flash player operates but I can imagine that it is multithreaded. When using FDS for delivering async messages to the client it is imperative that access to local functions or collections can be synchronized in some way. Let's say I'm iterating over the values in a collection and an async messages arrives adding or removing an item to or from the collection. What will happen? How are things synchronized in ActionScript? Is there some sort of synchronized mechanism in ActionScript like in Java? Is there a design pattern to mimic synchronized behaviour? Has anyone given this topic any thought? I hope to hear from you. 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] TODO/FIXME extension for Flex Builder 2
Watch out for line breaks in the URL! Otherwise just go to http://www.richinternet.de/blog and grab it there. Dirk. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dirk Eismann Sent: Friday, July 21, 2006 2:46 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] TODO/FIXME extension for Flex Builder 2 I finally found some time to finish the TODO/FIXME extension for Flex Builder 2 - thanks to Jean-Luc ;) Please go ahead and give it a try: http://www.richinternet.de/blog/index.cfm?entry=911D4B57-0F0D- 5A73-AF6F4 D4D04099757 Dirk. 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 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] Thread synchronization and async messages
Afaik a running actionscript operation is never interrupted. If you are iterating over a collection and an update comes from the server, the iteration will be finished before the update of the collection. Cheers, Ralf On 7/21/06, m88e24 [EMAIL PROTECTED] wrote: I don't know how the Flash player operates but I can imagine that it is multithreaded. When using FDS for delivering async messages to the client it is imperative that access to local functions or collections can be synchronized in some way. Let's say I'm iterating over the values in a collection and an async messages arrives adding or removing an item to or from the collection. What will happen? How are things synchronized in ActionScript? Is there some sort of synchronized mechanism in ActionScript like in Java? Is there a design pattern to mimic synchronized behaviour? Has anyone given this topic any thought? I hope to hear from you. -- 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 -- Ralf Bokelberg [EMAIL PROTECTED] Flex Flash Consultant based in Cologne/Germany 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: performance issues
--- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: comparing against the old value and if it hasn't changed not doing anything, it may be that it's invalidating too often? A couple of days ago I discovered that this 'event' fires every time the row is scrolled into or out of view. So if you are scrolling quickly, this code could be firing tens of times just over a half second or whatever. Setting a flag is definitely a good idea. Here is what my code ended up looking like (itemRenderer was just a checkbox with a dynamic label): private var str_label:String; override public function set data(value:Object):void { use namespace DOCUMENT_METADATA_NAMESPACE; var q:QName = new QName(DOCUMENT_METADATA_NAMESPACE, PlanNumber); super.data = value; if(super.data[q] != str_label) { cb_planNumber.label = str_label = super.data[q]; cb_planNumber.selected = false; } } HTH, Ben 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] TextSnapshot not working in Flex 2
TextSnapshot is only for static text, not dynamic or input. - Original Message - From: satrajignesh [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, July 21, 2006 1:23 AM Subject: [flexcoders] TextSnapshot not working in Flex 2 Hi there, I have a TextArea which gets dynamically populated with text received from Server. At the client on some specific event I need to retrieve X and Y co ordinates of some text. There is property in TextArea called textSnapshot, but whenever I try to get it the character count is always Zero and hence doesn't help me. Anybody, has any ideas on this? or Have ever tried using text snapshot? or tried getting X,Y co ordinates of specific text in TextArea? Thanx in advance, Jignesh Satra -- 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/
Re: [flexcoders] Any field types to past pic?
Want an image stored on the web? mx:Image source=your.jpg / Want an image from the user's hard drive? - upload image - ask server for URL mx:Image source=serverURL.jpg / Want a Camera image? - Camera.get (or whatever it is in ActionScript 3 now) - use the Bitmap object to capture a frame when the user presses a button You can then use various algorithms posted on the net and here to convert it to an image later and upload it to the server. - Original Message - From: mthielman11 [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, July 21, 2006 8:11 AM Subject: [flexcoders] Any field types to past pic? I have a quick question. We need a field to store a small 70x70 pixel picture file that will serve as a use icon on our project. Is there any type of field in flex that I can paste a picture into from the UI? Or do I need to upload an image file via flex, have it stored on an HD somewhere and then call that image to display into a layout? What would be REALLY cool is if you could hoook a camera up to a computer and when setting up the user, take the pic and have it go straight to flex. -- 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 ~-- 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] Problem with PopUps with Flash Player 9,0,16,0 ?
The code is correct. Did you also update your Flex Builder 2 plugin / IDE or just the player? - Original Message - From: david_c_lowe [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, July 21, 2006 5:57 AM Subject: [flexcoders] Problem with PopUps with Flash Player 9,0,16,0 ? Hello, Dave Lowe here. I've just updated my Flash Player from version 9,0,0,296 to version 9,0,16,0 and PopUps appear to have stopped working (no PopUp is displayed - see code at the end of this post). This code works under 9,0,0,296. Am I doing something wrong or is this a bug in 9,0,16,0? Cheers, Dave. _ PopUpTest.mxml == ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; mx:Script ![CDATA[ import mx.managers.PopUpManager; import mx.containers.TitleWindow; private function showPopUp():void { var popUpWindow:TitleWindow = TitleWindow (PopUpManager.createPopUp(this, ThePopUp, true)); popUpWindow.title=PopUp Test; } ]] /mx:Script mx:Button label=Show PopUp click=showPopUp() / /mx:Application _ ThePopUp.mxml = ?xml version=1.0 encoding=utf-8? mx:TitleWindow xmlns:mx=http://www.adobe.com/2006/mxml; creationComplete=doInit() horizontalAlign=center backgroundColor=blue height=150 width=400 mx:Script ![CDATA[ import mx.managers.PopUpManager; private function doInit():void { // Center the TitleWindow container over the control that created it. PopUpManager.centerPopUp(this); } private function removePopUp():void { // Remove pop up. PopUpManager.removePopUp(this); } ]] /mx:Script mx:Label text=PopUp Test textAlign=center color=white fontSize=20 / mx:Spacer height=100%/ mx:Button label=Continue click=removePopUp() / /mx:TitleWindow -- 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 ~-- 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] SWF Volume
Can anyone point me the direction on how to control the volume in my swf, loaded with swfloader? Would I use SoundTransform class? Any suggestions are always appreciated! thanks Jenn 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] Moderators: Please remove me from the list
Hi, Ive been trying for about a week to unsubscribe from this list without luck. Ive followed the instructions and replied back to the confirmation email from yahoo. Ive tried writing to yahoos support to get them to remove me. No luck! Someone, please remove me from the list. Thank you, Doug __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. 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: List and ViewStack Problem
Thanks Hilary and Scott, your suggestions worked beautifully! I am so relieved now. Ciao Sal --- In flexcoders@yahoogroups.com, Scotty Scott [EMAIL PROTECTED] wrote: You could also allow binding to take care of everything for you, if you are trying to have the list display the titles of your panels in the ViewStack. Something like mx:List x=0 y=0 width=10% height=10% id=myList dataProvider={ panelVS.getChildren()} labelField=title /mx:List mx:ViewStack id=panelVS width=50% height=50% selectedIndex={ myList.selectedIndex} mx:Panel width=100% height=100% id=panelOne title=Panel One/ mx:Panel width=100% height=100% id=panelTwo title=Panel Two/ /mx:ViewStack Hope this helps, Scotty Scott http://www.franciswscott.com On 7/20/06, s_hernandez01 [EMAIL PROTECTED] wrote: Hey Flexers I am trying to use the ViewStack to switch Panels from a List Component, but I am having no luck because I get an error saying Call to possibly undefined method ItemClickEvent. Could someone help me, please? mx:Canvas x=0 y=0 width=100% height=100% mx:HBox x=0 y=0 width=100% height=100% horizontalAlign=center verticalAlign=middle mx:List x=0 y=0 width=10% height=10% id=myList itemClick=panelVS.selectedIndex=ItemClickEvent(event).index mx:dataProvider mx:Array mx:Object label = Panel 1/ mx:Object label = Panel 2/ /mx:Array /mx:dataProvider /mx:List mx:ViewStack id=panelVS width=50% height=50% mx:Panel width=100% height=100% id=panelOne title=Panel One/ mx:Panel width=100% height=100% id=panelTwo title=Panel Two/ /mx:ViewStack /mx:HBox /mx:Canvas Thanks Sal 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] SWF Volume
Bottom of the page there is an example: http://livedocs.macromedia.com/flex/2/langref/flash/media/SoundTransform.html - Original Message - From: flexnewbie06 [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, July 21, 2006 9:08 AM Subject: [flexcoders] SWF Volume Can anyone point me the direction on how to control the volume in my swf, loaded with swfloader? Would I use SoundTransform class? Any suggestions are always appreciated! thanks Jenn -- 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 ~-- 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] Moderators: Please remove me from the list
- Original Message - From: Doug Hughes To: flexcoders@yahoogroups.com Sent: Friday, July 21, 2006 2:10 PM Subject: [flexcoders] Moderators: Please remove me from the list Hi, Ive been trying for about a week to unsubscribe from this list without luck. Ive followed the instructions and replied back to the confirmation email from yahoo. Ive tried writing to yahoos support to get them to remove me. No luck! Someone, please remove me from the list. Just go to the online yahoo groups page, sign in and go to the flexcoders group. If you edit your membership settings you'll find a big button that says "leave group". Bobs your uncle.. Thank you, Doug __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. 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: Strange issue with drag and drop between Lists
I'm running into a similar issue. I can tell you that the height of the dead space is directly related to the header height of the Panel (or title window in your case). To prove this out, try adding headerHeight=100 to the root titleWindow tag. --- In flexcoders@yahoogroups.com, Pan Troglodytes [EMAIL PROTECTED] wrote: Well, I can certainly confirm what you're seeing. It's not just a dead area at the top, it seems it's thinking you're still in the box when you're actually below it. So it seems like there's something screwed up in its detection of where the mouse is that only comes out in popups. I'd say you have a pretty solid test case to submit to http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform On 7/20/06, gotgoose09 [EMAIL PROTECTED] wrote: I'm beginning to think that this is a bug. Is there something I'm missing here? --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, gotgoose09 thegoosmans@ wrote: In one of my projects, I create a new TitleWindow that has two Lists in which can drag items from one to the other. However, when I try dragging items from one to the other, there is a blank space at the top of each list that I can not drop items into - I have to drop the items in the bottom of the list. If I have the same two lists not in a TitleWindow, dragging and dropping works fine, with no barrier. You can view the problem at the link below, and recreate the problem with the steps below. http://www.thegoosmans.com/flexproblem/TitleWindowDragAndDrop.swf http://www.thegoosmans.com/flexproblem/TitleWindowDragAndDrop.swf Hi, to recreate my problem: 1. Create a new project (basic) 2. In the application mxml file, paste this code in: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical mx:Script ![CDATA[ import mx.managers.PopUpManager; private function makePopUp():void { PopUpManager.createPopUp(this, MyPopup, true); } ]] /mx:Script mx:Button label=Make Popup id=bPopup click=makePopUp (); / mx:HBox mx:List id=list1 dragEnabled=true dragMoveEnabled=true dropEnabled=true width=100 height=100 mx:dataProvider mx:StringItem 1/mx:String mx:StringItem 2/mx:String /mx:dataProvider /mx:List mx:List id=list2 dragEnabled=true dragMoveEnabled=true dropEnabled=true width=100 height=100 / /mx:HBox /mx:Application 3. Create a new MXML Component, base it off of TitleWindow, call it MyPopup.mxml 4. Paste this code into that file: ?xml version=1.0 encoding=utf-8? mx:TitleWindow xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical mx:HBox mx:List id=list1 dragEnabled=true dragMoveEnabled=true dropEnabled=true width=100 height=100 mx:dataProvider mx:StringItem 1/mx:String mx:StringItem 2/mx:String /mx:dataProvider /mx:List mx:List id=list2 dragEnabled=true dragMoveEnabled=true dropEnabled=true width=100 height=100 / /mx:HBox /mx:TitleWindow 5. Run the application. 6. Try dragging items from list to list on the main application. Then, click the button and try dragging and dropping, notice the difference in where you can drop items. -- Jason 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] flex2: context out of Function
Hi, everyone. Is it possible in Flex 2 to get context for some method described by Function object? I need to call another method out of that context (another method of that object). public class TestClassThatCalls extends TestClass { private var _context : someClass; public function someFunction(method : Function) { // // put into _context object that this method belongs to // _context.doSmth(); } } public class TestClassContainsCalled extends TestClass { var _counter : int; public function addIt() : TestClassThatCalls { var c : TestClassThatCalls = new TestClassThatCalls(); c.someFunction( funcThatWePass ); return c; } public function funcThatWePass(): void { } public function doSmth() : void { _counter++; } } later we do: var a : TestClassContainsCalled = new TestClassContainsCalled(); var b : TestClassThatCalls = a.addIt(); after this _counter value have to be increased by 1. Thanks, Roma. 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] Flex work in the UK
Hi, I've been working with Flex application development for a good while now and am looking for a new role. Can anyone recommend either companies that might be seeking Flex app designers/developers or recruitment agencies that are well placed for such roles, in the UK ? Apologies if this post is inappropriate but it seems to be the largest group of 'FlexHeads' on the internet and I've been hanging around here for a while! Thanks in advance (or apologies if required!), Jamie. 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] So? What are folks here actually building...?
I'm a Learning Technologist at the University of Aberdeen (Scotland) Currently I'm working on a Virtual Museum - it's not 3D or anything though that would be nice in the future :-) it's more like an image gallery, but with object models rather than images. It'll allow students and guest lecturers to curate the collection too. It uses Flex 2, PHP and mySQL (via AMFPHP). At some point I'll be doing a Video Gallery much like the old Macromedia Video Gallery, where staff and students can leave tips and advice. Flex 2 + Flash Media Server 2. I have a Virtual Fieldtrip Environment (VFE) that allows users to upload a background (such as a map) and place resources at relevant points on the map. It was written in the days of Flash 5 using the J-ACK framework (when Flex was probably only a twinkle in Macromedias eye? I guess you could say the work of the guys that did things like J-ACK then ultimately lead to the development of Flex?) - I'm about the re-write it the VFE using Flex 2, AMFPHP, mySQL and FMS 2 We're just talking about doing some sort of virtual campus that allows to students to find their way about (what place does what, who's based where etc), ask questions and communicate with each other. That'll likely be Flex 2 and FMS 2 I love this stuff 8-) and do hope you're going to release the AVM2 as a stand alone for devices (no need for keeping the AVM1 as all that legacy stuff will kill the devices and there's comparatively little stuff written already - AS3 will be awesome on phones :-) ) I'd like our students and staff to be able to interact with the VFE while in remote locations accessing and uploading info and communicating with each other Cheers for making my job enjoyable! Phil David Mendels wrote: Hello, It has been less than a month since we shipped Flex, but I know many folks on this list had projects they started back in the public beta time. I know in many cases you may not be able to talk about what projects you are working on, but for those who can I'd love to get a view onto what folks are building. We spent a long time (almost two years) on all the parts of the Flex 2 product line (and the Flash Player 9) and it is very cool to see the traffic here, the emergence of third party conferences like www.flexseminar.com, the books coming out on Flex, the 60K plus downloads of the IDE in the public beta, but we'd love to get a sense of what real applications people are starting to build. The team is already working on plans for mid-term and longer term upgrades to Flex, and it helps us to really understand what people are building. So, if you are able to talk about what you are building please do share--I think it would be very interesting for the community and very valuable for us on the Flex team at Adobe. --David Adobe -- __ Phil Marston Learning Technologist Learning Technology Unit Edward Wright G33, University of Aberdeen, Aberdeen, AB24 3QY, UK [EMAIL PROTECTED] Tel: +44(0)1224 273329 / +44(0)7798 723660 http://www.abdn.ac.uk/diss/ltu/pmarston/ http://www.abdn.ac.uk/diss/ltu/ __ The University of Aberdeen Open Day 29th August 2006 Booking is essential www.abdn.ac.uk/openday email [EMAIL PROTECTED] or call 0800 027 1495 __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Re: Flex work in the UK
if you dont mind working in scotland, then company I'm working for are looking for more people. check out http://www.inps.co.uk look under the dundee section. if your interested send your CV of to [EMAIL PROTECTED] you'll have to know a bit about java as well. Most of the guys here are doing both java and flex. mainly flex though. --- In flexcoders@yahoogroups.com, jamiebadman [EMAIL PROTECTED] wrote: Hi, I've been working with Flex application development for a good while now and am looking for a new role. Can anyone recommend either companies that might be seeking Flex app designers/developers or recruitment agencies that are well placed for such roles, in the UK ? Apologies if this post is inappropriate but it seems to be the largest group of 'FlexHeads' on the internet and I've been hanging around here for a while! Thanks in advance (or apologies if required!), Jamie. 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] tabbing in flex
if I have a Vbox with say 10 items in it. from buttons to text boxes, as well as a custom component which I've extended. then when the app loads I tab my way through the app which works fine until it comes to the custom component. it has a tabIndex like the rest of the buttons and text boxes, but it never recieves focus if you tab. the focus moves straight to the next non-custom component. Any ideas how to get around this. cheers. I'm using flex 1.5 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] Re: Strange issue with drag and drop between Lists
I've submitted a bug report now. --- In flexcoders@yahoogroups.com, jeff tapper [EMAIL PROTECTED] wrote: I'm running into a similar issue. I can tell you that the height of the dead space is directly related to the header height of the Panel (or title window in your case). To prove this out, try adding headerHeight=100 to the root titleWindow tag. --- In flexcoders@yahoogroups.com, Pan Troglodytes chimpathetic@ wrote: Well, I can certainly confirm what you're seeing. It's not just a dead area at the top, it seems it's thinking you're still in the box when you're actually below it. So it seems like there's something screwed up in its detection of where the mouse is that only comes out in popups. I'd say you have a pretty solid test case to submit to http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform On 7/20/06, gotgoose09 thegoosmans@ wrote: I'm beginning to think that this is a bug. Is there something I'm missing here? --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, gotgoose09 thegoosmans@ wrote: In one of my projects, I create a new TitleWindow that has two Lists in which can drag items from one to the other. However, when I try dragging items from one to the other, there is a blank space at the top of each list that I can not drop items into - I have to drop the items in the bottom of the list. If I have the same two lists not in a TitleWindow, dragging and dropping works fine, with no barrier. You can view the problem at the link below, and recreate the problem with the steps below. http://www.thegoosmans.com/flexproblem/TitleWindowDragAndDrop.swf http://www.thegoosmans.com/flexproblem/TitleWindowDragAndDrop.swf Hi, to recreate my problem: 1. Create a new project (basic) 2. In the application mxml file, paste this code in: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical mx:Script ![CDATA[ import mx.managers.PopUpManager; private function makePopUp():void { PopUpManager.createPopUp(this, MyPopup, true); } ]] /mx:Script mx:Button label=Make Popup id=bPopup click=makePopUp (); / mx:HBox mx:List id=list1 dragEnabled=true dragMoveEnabled=true dropEnabled=true width=100 height=100 mx:dataProvider mx:StringItem 1/mx:String mx:StringItem 2/mx:String /mx:dataProvider /mx:List mx:List id=list2 dragEnabled=true dragMoveEnabled=true dropEnabled=true width=100 height=100 / /mx:HBox /mx:Application 3. Create a new MXML Component, base it off of TitleWindow, call it MyPopup.mxml 4. Paste this code into that file: ?xml version=1.0 encoding=utf-8? mx:TitleWindow xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical mx:HBox mx:List id=list1 dragEnabled=true dragMoveEnabled=true dropEnabled=true width=100 height=100 mx:dataProvider mx:StringItem 1/mx:String mx:StringItem 2/mx:String /mx:dataProvider /mx:List mx:List id=list2 dragEnabled=true dragMoveEnabled=true dropEnabled=true width=100 height=100 / /mx:HBox /mx:TitleWindow 5. Run the application. 6. Try dragging items from list to list on the main application. Then, click the button and try dragging and dropping, notice the difference in where you can drop items. -- Jason 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: Detect if Object exists
Hmm... well Scotty, interestingly enough, this train of thought isn't working... for some reason the condition is always returning true, even when no tabs at all have been created... back to the drawing board I guess. On 7/20/06, Scotty Scott [EMAIL PROTECTED] wrote: Change var selectTab:Container = this.windowTabs.getChildByName(newid);to var selectTab:Container = Container(this.windowTabs.getChildByName(newid));Or var selectTab:Container = this.windowTabs.getChildByName(newid) as Container;Im not sure which syntax is the correct way or what the difference is. Anyone care to explain the difference?Scotty On 7/20/06, Nick Collins [EMAIL PROTECTED] wrote: I tried something very similar to that, but got the following error, as I did this time:1118: Implicit coercion of a value with static type flash.display:DisplayObject to a possibly unrelated type mx.core:Container . On 7/20/06, fwscott [EMAIL PROTECTED] wrote: Hey Nick, You could assign a name to your tab and then use this.windowTabs.getChildByName(newtab.name); Something like private function createTab(createTabName:String):void { var newid:String = 'userTab' + this.masterList.selectedItem.ContribNum; var selectTab:Container = this.windowTabs.getChildByName(newid); if(!selectTab) { var newVbox:VBox = new VBox(); var newHbox:HBox = new HBox(); var newTab:Canvas = new Canvas(); var newSpacer:Spacer = new Spacer(); var tabCloseBtn:Button = new Button(); // create button to close tab tabCloseBtn.label = Close Tab; tabCloseBtn.addEventListener (MouseEvent.CLICK,myClickListener); // create spacer to position close button newSpacer.percentWidth = 100; // create box layout controls newHbox.percentWidth = 100; newHbox.addChild(newSpacer); newHbox.addChild(tabCloseBtn); newVbox.addChild(newHbox); newVbox.addChild (getTithesComponent(this.masterList.selectedItem.ContribNum)); // create tab newTab.label = createTabName; newTab.id = newid; newTab.name = newid; newTab.addChild(newVbox); this.windowTabs.addChild(newTab); this.windowTabs.selectedChild = newTab; } else this.windowTabs.selectedChild = selectTab; } Scotty http://www.franciswscott.com --- In flexcoders@yahoogroups.com , Nick Collins [EMAIL PROTECTED] wrote: I've got a datagrid with a list of people, that when you double click on one, it creates a new tab with that person's data into a TabNavigator. I'm trying to get it so it will only open one instance of a tab for each person, and if you try to open a person again, it will simply select their tab that already exists. Sounds pretty straightforward, right? Here's what I've got, when you click the button for their data or double click their name, an event is launched which then calls this function, createTab: private function createTab(createTabName:String):void { var newVbox:VBox = new VBox(); var newHbox:HBox = new HBox(); var newTab:Canvas = new Canvas(); var newSpacer:Spacer = new Spacer(); var tabCloseBtn:Button = new Button(); // create button to close tab tabCloseBtn.label = Close Tab; tabCloseBtn.addEventListener (MouseEvent.CLICK, myClickListener); // create spacer to position close button newSpacer.percentWidth = 100; // create box layout controls newHbox.percentWidth = 100; newHbox.addChild(newSpacer); newHbox.addChild(tabCloseBtn); newVbox.addChild(newHbox); newVbox.addChild (getTithesComponent( this.masterList.selectedItem.ContribNum)); // create tab newTab.label = createTabName; newTab.id = 'userTab' + this.masterList.selectedItem.ContribNum ; newTab.addChild(newVbox); var selectTab:ObjectName = newTab.id; if (!selectTab) { this.windowTabs.selectedChild = selectTab; } else { this.windowTabs.addChild(newTab); this.windowTabs.selectedChild = newTab; } } Now from the docs I've found, it seems like doing an if statement with the condition of ! objectID should be checking if that id exists, right? for some reason it
Re: [flexcoders] So? What are folks here actually building...?
I'm working on a Flex port of my ARP web log (prototype: http://tinyurl.com/nnt37), and a Flex 2 prototyping tool that links devnotes to application states (prototype: http://tinyurl.com/nk7ob). The web log will be built in ARP, the devnotes in Cairngorm. Mike 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: ComboBox instance method open() doesn't work first time when in particular state
I found that myComboBox is not initialized when onEditStateEnter() is running, so I could use workaround like: protected function onEditStateEnter() : void { if (myComboBox.initialized) { onEditStateInitialize(); } else { myComboBox.addEventListener(FlexEvent.INITIALIZE, onEditStateInitialize); } } Are there any better solutions? :) On 7/21/06, Sergey Kovalyov [EMAIL PROTECTED] wrote: I have base application class: package { import mx.controls.ComboBox; import mx.core.Application; public class ExampleBase extends Application { public var myComboBox : ComboBox; public function ExampleBase() { } protected function onEditStateEnter() : void { myComboBox.open(); } } } and inherited MXML: ?xml version=1.0 encoding=utf-8? ExampleBase xmlns:mx=http://www.adobe.com/2006/mxml; xmlns=* currentState=viewState states mx:State name=viewState mx:AddChild relativeTo={this} position=lastChild mx:target mx:Text id=myLabel selectable=true text=Yo! click=currentState = 'editState' / /mx:target /mx:AddChild /mx:State mx:State name=editState enterState=onEditStateEnter() mx:AddChild relativeTo={this} position=lastChild mx:target mx:HBox id=myHBox mx:ComboBox id=myComboBox dataProvider={[1, 2, 3]} / mx:Button label=Exit click=currentState = 'viewState' / /mx:HBox /mx:target /mx:AddChild /mx:State /states /ExampleBase You can find call enterState=onEditStateEnter() there and myComboBox.open(); in method implementation. The problem is that ComboBox is opened only second time you enter the state. When I debugged I found that upon the first state appearance dropdown property of ComboBox is null. What's wrong with my example? 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] flex purchase - source without media/download
I just realized something that might be a problem. We're buying Flex w/ Charting from our reseller. I told him we don't need the media because all I need it the license key to unlock the trial. But I just realized the trial doesn't come with source for charting. Is there some way to download that if you have a license, short of purchasing from the Adobe store? -- 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: SPAM-LOW: Re: [flexcoders] Moderators: Please remove me from the list
Im not subscribed with a yahoo address. How can I log in? What would I use as the password? From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Paul Andrews Sent: Friday, July 21, 2006 9:27 AM To: flexcoders@yahoogroups.com Subject: SPAM-LOW: Re: [flexcoders] Moderators: Please remove me from the list - Original Message - From: Doug Hughes To: flexcoders@yahoogroups.com Sent: Friday, July 21, 2006 2:10 PM Subject: [flexcoders] Moderators: Please remove me from the list Hi, Ive been trying for about a week to unsubscribe from this list without luck. Ive followed the instructions and replied back to the confirmation email from yahoo. Ive tried writing to yahoos support to get them to remove me. No luck! Someone, please remove me from the list. Just go to the online yahoo groups page, sign in and go to the flexcoders group. If you edit your membership settings you'll find a big button that says leave group. Bobs your uncle.. Thank you, Doug __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. 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: SPAM-LOW: Re: [flexcoders] Moderators: Please remove me from the list
Doug I see this at the bottom of my emails from flexcodersTo unsubscribe from this group, send an email to: [EMAIL PROTECTED]DougOn 7/21/06, Doug Hughes [EMAIL PROTECTED] wrote: I'm not subscribed with a yahoo address. How can I log in? What would I use as the password? From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Paul Andrews Sent: Friday, July 21, 2006 9:27 AM To: flexcoders@yahoogroups.com Subject: SPAM-LOW: Re: [flexcoders] Moderators: Please remove me from the list - Original Message - From: Doug Hughes To: flexcoders@yahoogroups.com Sent: Friday, July 21, 2006 2:10 PM Subject: [flexcoders] Moderators: Please remove me from the list Hi, I've been trying for about a week to unsubscribe from this list without luck. I've followed the instructions and replied back to the confirmation email from yahoo. I've tried writing to yahoo's support to get them to remove me. No luck! Someone, please remove me from the list. Just go to the online yahoo groups page, sign in and go to the flexcoders group. If you edit your membership settings you'll find a big button that says leave group. Bobs your uncle.. Thank you, Doug -- Douglas Knudsenhttp://www.cubicleman.comthis is my signature, like it? __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] performance issues
Yeah, I've tried that. Here's the the actual full code I'm using: override public function set data(value:Object):void { var dirty:Boolean = (value != null) (data != value); super.data = ""> if (dirty) { var n:Number = data[DataGridListData(listData).dataField]; if (n 0) setStyle(color, negativeColor); else if (n 0) setStyle(color, positiveColor); else if (n == 0) setStyle(color, zeroColor); } }As I mentioned before, the main slowness is not just scrolling a row at a time but whole pages. The hit is coming in when it has to set the data on every itemRenderer onscreen at once. This usually happens when scrolling by quickly dragging the scroll thumb. And yes, there are a lot of records on-screen. Probably about 45. If I shrink it, performance gets better. It's probably also hurting that all eight columns have to be itemRenderers, because I need to color the row background on a per-row basis depending on the data. Only one of the rows are something other than simple text. What I think might help the most is to build a smarter datagrid that knows how to do some events at the grid level ( e.g. set the styling of each cell depending on the data) rather than forcing anything other than plain text that's the same on every row to use a custom renderer.As for ben's reply, I believe it fires every time any row scrolls into and out of view is because it reuses renderers, setting the data instead of creating a whole new renderer. When you scroll down, the top row gets reused as the new bottom row. Found this out when I didn't properly invalidate my colored backgrounds. On 7/21/06, Matt Chotin [EMAIL PROTECTED] wrote: Well DataGrid scrolling performance is something that we've spent a lot of time tuning so I would love for us to get a full test case that we can look at. I saw in the thread you linked mentioning a 1600x1200 monitor, is the DataGrid taking up most of that real estate? The more visible rows the slower the scrolling will be. Another thing you could look at is in your setter for the data comparing against the old value and if it hasn't changed not doing anything, it may be that it's invalidating too often? I'll ask one of the people who worked on performance if she has any thoughts. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com ] On Behalf Of Pan Troglodytes Sent: Wednesday, July 19, 2006 11:44 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] performance issues Well, specifically I had a DataGrid using this for the itemRenderer: package nes { import mx.controls.dataGridClasses.DataGridListData ; import mx.controls.Label; public class SignColorItemRenderer extends Label { public var negativeColor:uint = 0xFF; public var positiveColor:uint = 0x008000; public var zeroColor:uint; override public function set data(value:Object):void { super.data = ""> var n:Number = data[DataGridListData(listData).dataField]; if (n 0) setStyle(color, negativeColor); else if (n 0) setStyle(color, positiveColor); else if (n == 0) setStyle(color, zeroColor); } } } I brought it up in this thread: http://groups.yahoo.com/group/flexcoders/message/43243;_ylc=X3oDMTM3cWM2MG9mBF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTYwMDAwNzIwNwRtc2dJZAM0MzI2MwRzZWMDZnRyBHNsawN2dHBjBHN0aW1lAzExNTI4NTY4NDUEdHBjSWQDNDMyNDM- I tried LOADS of different ways to do it. I found that anytime I put much of any extra code in, it took away from the responsiveness. Even replacing the above data procedure with just a single setStyle statement. As I said, it's not horrible. But I definitely notice it. The other main thing I can point out is some sluggishness when resizing the browser window and having it resize/relayout the Flex app. But it's hard to tell how much of that is the browser and how much is Flex. On 7/20/06, Matt Chotin [EMAIL PROTECTED] wrote: Can you provide a little more detail on the performance areas that are hurting you? If there's a sample that demonstrates the speed issue it may be something we can look at. Matt From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com ] On Behalf Of Pan Troglodytes Sent: Wednesday, July 19, 2006 10:49 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] So? What are folks here actually building...? Well, since I have never programmed in ActionScript at all, my projects have served a dual purpose - functional and educational. In other words, some of the software may never see the light of day but that's okay - at least it taught me how to build in Flex. My most real application has been an ad-hoc query builder. We have some financial reporting that it broken down into various fields: branch, quarter, period, that kind of thing. So I gave each field an accordion pane and filled it with the values for that field. Then I let the user drag-n-drop the values for each field into
Re: SPAM-LOW: Re: [flexcoders] Moderators: Please remove me from the list
I don't think there is any way you can subscribe without having a yahoo address. You probably just told it to send them to your alternate address. Just go to http://groups.yahoo.com/group/flexcoders/ and click Sign In. Then click Forget your ID or password?. Fill out the info (hopefully you gave them correct info or can remember the fake info) and choose the option to put in your alternate email address. I think it will send you your yahoo ID and maybe even reset your password. If not, just do this process again and choose option 1. On 7/21/06, Doug Hughes [EMAIL PROTECTED] wrote: I'm not subscribed with a yahoo address. How can I log in? What would I use as the password? From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com ] On Behalf Of Paul Andrews Sent: Friday, July 21, 2006 9:27 AM To: flexcoders@yahoogroups.com Subject: SPAM-LOW: Re: [flexcoders] Moderators: Please remove me from the list - Original Message - From: Doug Hughes To: flexcoders@yahoogroups.com Sent: Friday, July 21, 2006 2:10 PM Subject: [flexcoders] Moderators: Please remove me from the list Hi, I've been trying for about a week to unsubscribe from this list without luck. I've followed the instructions and replied back to the confirmation email from yahoo. I've tried writing to yahoo's support to get them to remove me. No luck! Someone, please remove me from the list. Just go to the online yahoo groups page, sign in and go to the flexcoders group. If you edit your membership settings you'll find a big button that says leave group. Bobs your uncle.. Thank you, Doug -- Jason __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Re: SWF Volume
I did see that example, but got confused because the sound in my swf is included in the swf not seperate. --- In flexcoders@yahoogroups.com, JesterXL [EMAIL PROTECTED] wrote: Bottom of the page there is an example: http://livedocs.macromedia.com/flex/2/langref/flash/media/SoundTransfo rm.html - Original Message - From: flexnewbie06 [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, July 21, 2006 9:08 AM Subject: [flexcoders] SWF Volume Can anyone point me the direction on how to control the volume in my swf, loaded with swfloader? Would I use SoundTransform class? Any suggestions are always appreciated! thanks Jenn -- 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 ~-- 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: SPAM-LOW: Re: [flexcoders] Moderators: Please remove me from the list
Hi Doug, I guess you'll have to wait for the moderators to kick in. Maybe it's a fate thing and you are destined to be a flex coder... Hope you get sorted out soon. You can always filter the flexcoders list for the moment.. Paul - Original Message - From: Doug Hughes To: flexcoders@yahoogroups.com Sent: Friday, July 21, 2006 3:33 PM Subject: RE: SPAM-LOW: Re: [flexcoders] Moderators: Please remove me from the list Im not subscribed with a yahoo address. How can I log in? What would I use as the password? From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Paul AndrewsSent: Friday, July 21, 2006 9:27 AMTo: flexcoders@yahoogroups.comSubject: SPAM-LOW: Re: [flexcoders] Moderators: Please remove me from the list - Original Message - From: Doug Hughes To: flexcoders@yahoogroups.com Sent: Friday, July 21, 2006 2:10 PM Subject: [flexcoders] Moderators: Please remove me from the list Hi, Ive been trying for about a week to unsubscribe from this list without luck. Ive followed the instructions and replied back to the confirmation email from yahoo. Ive tried writing to yahoos support to get them to remove me. No luck! Someone, please remove me from the list. Just go to the online yahoo groups page, sign in and go to the flexcoders group. If you edit your membership settings you'll find a big button that says "leave group". Bobs your uncle.. Thank you, Doug __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. 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] TODO/FIXME extension for Flex Builder 2
Nice, this plugin looks really nice :) 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] Looking for FLEX/AS3/Java coders
Hi! We are looking for Flex and Java coders (freelancers). We have an innovative project related with speech technologies (TTS/ASR) and we need to develop a Flash 9 web client for a commercial speech server. Don't hesitate to contact us for more details. Thank in advance, Franky 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] Re: Populating ComboBox from Model/XML
Hi, here is something that works, if you know cold fusion then create a cfc that has the data you want and call it from a webservice, other wise populate an xml file and call that. Step one; Create xml file - name it mydata.xml ?xml version=1.0 encoding=UTF-8? obj item labelAL/label dataMontgomery/data /item item labelAK/label dataJuneau/data /item item labelAR/label dataLittle Rock/data /item /obj Step two; copy and paste this code into flex builder ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute mx:XML id=xmlData source=myData.xml format=e4x / mx:Panel layout=absolute title=States left=5 top=5 bottom=5 right=5 mx:ComboBox dataProvider={xmlData.item.label} left=5 top=20/ mx:ComboBox dataProvider={xmlData.item.data} left=150 top=20 / /mx:Panel /mx:Application The file myData.xml is used to populate the combo boxes From one newbie to another. Hope this helps Eric --- In flexcoders@yahoogroups.com, John Mazzocchi [EMAIL PROTECTED] wrote: Hi, newbie question here ... just learning. I'm using Flex 2. There seem to be numerous errors and typos in the Adobe Flex Help files/PDFs and I'm hitting a snag here ... What I'd like to do, to begin with, is to populate a ComboBox from an external XML file. The section in the help files called Populating a ComboBox control using variables and models seems pertinent, but the second part of example doesn't work. The relevant code is this ... mx:Model id=myDP obj item label=AL data=Montgomery/ item labelAK/label dataJuneau/data /item item labelAR/label dataLittle Rock/data /item /obj /mx:Model mx:ArrayCollection id=stateAC source={myDP.obj.item}/ mx:ComboBox dataProvider={stateAC}/ Should I be using XML or XMLList instead? Later I'd like to have the dataProvider be from an external source (HTTPService or WebService), but I can't even get this simpler code to work. Any help appreciated. Thanks. This email and any files transmitted with it may be confidential and are intended solely for the use of the individual or entity to whom they are addressed. This email may contain personal information of individuals, and be subject to Commonwealth and/or State privacy laws in Australia. This email is also subject to copyright. If you are not the intended recipient, you must not read, print, store, copy, forward or use this email for any reason, in accordance with privacy and copyright laws. If you have received this email in error, please notify the sender by return email, and delete this email from your inbox. 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: SPAM-LOW: Re: [flexcoders] Moderators: Please remove me from the list
Actually, you can subscribe without having an yahoo ID: http://www.flexcoders.org/index.html Dirk. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Pan TroglodytesSent: Friday, July 21, 2006 4:48 PMTo: flexcoders@yahoogroups.comSubject: Re: SPAM-LOW: Re: [flexcoders] Moderators: Please remove me from the list I don't think there is any way you can subscribe without having a yahoo address. You probably just told it to send them to your alternate address. Just go to http://groups.yahoo.com/group/flexcoders/ and click Sign In. Then click " Forget your ID or password?". Fill out the info (hopefully you gave them correct info or can remember the fake info) and choose the option to put in your alternate email address. I think it will send you your yahoo ID and maybe even reset your password. If not, just do this process again and choose option 1. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. 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: SPAM-LOW: Re: [flexcoders] Moderators: Please remove me from the list
Woo hoo! This was spot-on. Thanks a lot! Now I can reclaim my inbox! Doug From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Pan Troglodytes Sent: Friday, July 21, 2006 10:48 AM To: flexcoders@yahoogroups.com Subject: Re: SPAM-LOW: Re: [flexcoders] Moderators: Please remove me from the list I don't think there is any way you can subscribe without having a yahoo address. You probably just told it to send them to your alternate address. Just go to http://groups.yahoo.com/group/flexcoders/ and click Sign In. Then click Forget your ID or password?. Fill out the info (hopefully you gave them correct info or can remember the fake info) and choose the option to put in your alternate email address. I think it will send you your yahoo ID and maybe even reset your password. If not, just do this process again and choose option 1. On 7/21/06, Doug Hughes [EMAIL PROTECTED] wrote: I'm not subscribed with a yahoo address. How can I log in? What would I use as the password? From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com ] On Behalf Of Paul Andrews Sent: Friday, July 21, 2006 9:27 AM To: flexcoders@yahoogroups.com Subject: SPAM-LOW: Re: [flexcoders] Moderators: Please remove me from the list - Original Message - From: Doug Hughes To: flexcoders@yahoogroups.com Sent: Friday, July 21, 2006 2:10 PM Subject: [flexcoders] Moderators: Please remove me from the list Hi, I've been trying for about a week to unsubscribe from this list without luck. I've followed the instructions and replied back to the confirmation email from yahoo. I've tried writing to yahoo's support to get them to remove me. No luck! Someone, please remove me from the list. Just go to the online yahoo groups page, sign in and go to the flexcoders group. If you edit your membership settings you'll find a big button that says leave group. Bobs your uncle.. Thank you, Doug -- 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: SPAM-LOW: Re: [flexcoders] Moderators: Please remove me from the list
Well, amusingly, the more I try to get off the list the more I actually work with Flex. I bet as soon as Im off I have some question that could only be answered here. Doug From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Paul Andrews Sent: Friday, July 21, 2006 10:56 AM To: flexcoders@yahoogroups.com Subject: Re: SPAM-LOW: Re: [flexcoders] Moderators: Please remove me from the list Hi Doug, I guess you'll have to wait for the moderators to kick in. Maybe it's a fate thing and you are destined to be a flex coder... Hope you get sorted out soon. You can always filter the flexcoders list for the moment.. Paul - Original Message - From: Doug Hughes To: flexcoders@yahoogroups.com Sent: Friday, July 21, 2006 3:33 PM Subject: RE: SPAM-LOW: Re: [flexcoders] Moderators: Please remove me from the list Im not subscribed with a yahoo address. How can I log in? What would I use as the password? From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Paul Andrews Sent: Friday, July 21, 2006 9:27 AM To: flexcoders@yahoogroups.com Subject: SPAM-LOW: Re: [flexcoders] Moderators: Please remove me from the list - Original Message - From: Doug Hughes To: flexcoders@yahoogroups.com Sent: Friday, July 21, 2006 2:10 PM Subject: [flexcoders] Moderators: Please remove me from the list Hi, Ive been trying for about a week to unsubscribe from this list without luck. Ive followed the instructions and replied back to the confirmation email from yahoo. Ive tried writing to yahoos support to get them to remove me. No luck! Someone, please remove me from the list. Just go to the online yahoo groups page, sign in and go to the flexcoders group. If you edit your membership settings you'll find a big button that says leave group. Bobs your uncle.. Thank you, Doug __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. 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: [Junk E-Mail - LOW] RE: SPAM-LOW: Re: [flexcoders] Moderators: Please remove me from the list
Doug- Stay on the list. Just create a rule in your email client to move flexcoders stuff to a folder other than your inbox :) Shan From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Doug HughesSent: Friday, July 21, 2006 10:11 AMTo: flexcoders@yahoogroups.comSubject: [Junk E-Mail - LOW] RE: SPAM-LOW: Re: [flexcoders] Moderators: Please remove me from the list Well, amusingly, the more I try to get off the list the more I actually work with Flex. I bet as soon as Im off I have some question that could only be answered here. Doug From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Paul AndrewsSent: Friday, July 21, 2006 10:56 AMTo: flexcoders@yahoogroups.comSubject: Re: SPAM-LOW: Re: [flexcoders] Moderators: Please remove me from the list Hi Doug, I guess you'll have to wait for the moderators to kick in. Maybe it's a fate thing and you are destined to be a flex coder... Hope you get sorted out soon. You can always filter the flexcoders list for the moment.. Paul - Original Message - From: Doug Hughes To: flexcoders@yahoogroups.com Sent: Friday, July 21, 2006 3:33 PM Subject: RE: SPAM-LOW: Re: [flexcoders] Moderators: Please remove me from the list Im not subscribed with a yahoo address. How can I log in? What would I use as the password? From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Paul AndrewsSent: Friday, July 21, 2006 9:27 AMTo: flexcoders@yahoogroups.comSubject: SPAM-LOW: Re: [flexcoders] Moderators: Please remove me from the list - Original Message - From: Doug Hughes To: flexcoders@yahoogroups.com Sent: Friday, July 21, 2006 2:10 PM Subject: [flexcoders] Moderators: Please remove me from the list Hi, Ive been trying for about a week to unsubscribe from this list without luck. Ive followed the instructions and replied back to the confirmation email from yahoo. Ive tried writing to yahoos support to get them to remove me. No luck! Someone, please remove me from the list. Just go to the online yahoo groups page, sign in and go to the flexcoders group. If you edit your membership settings you'll find a big button that says "leave group". Bobs your uncle.. Thank you, Doug --No virus found in this incoming message.Checked by AVG Free Edition.Version: 7.1.394 / Virus Database: 268.10.3/394 - Release Date: 7/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.10.3/394 - Release Date: 7/20/2006
RE: SPAM-LOW: Re: [flexcoders] Moderators: Please remove me from the list
Ive followed these instructions about 20 times. Seriously. Yahoo then sends a confirmation email. You need to reply to it. Ive done that too. It has no impact. Doug From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Douglas Knudsen Sent: Friday, July 21, 2006 10:45 AM To: flexcoders@yahoogroups.com Subject: Re: SPAM-LOW: Re: [flexcoders] Moderators: Please remove me from the list Doug I see this at the bottom of my emails from flexcoders To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Doug On 7/21/06, Doug Hughes [EMAIL PROTECTED] wrote: I'm not subscribed with a yahoo address. How can I log in? What would I use as the password? From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Paul Andrews Sent: Friday, July 21, 2006 9:27 AM To: flexcoders@yahoogroups.com Subject: SPAM-LOW: Re: [flexcoders] Moderators: Please remove me from the list - Original Message - From: Doug Hughes To: flexcoders@yahoogroups.com Sent: Friday, July 21, 2006 2:10 PM Subject: [flexcoders] Moderators: Please remove me from the list Hi, I've been trying for about a week to unsubscribe from this list without luck. I've followed the instructions and replied back to the confirmation email from yahoo. I've tried writing to yahoo's support to get them to remove me. No luck! Someone, please remove me from the list. Just go to the online yahoo groups page, sign in and go to the flexcoders group. If you edit your membership settings you'll find a big button that says leave group. Bobs your uncle.. Thank you, Doug -- Douglas Knudsen http://www.cubicleman.com this is my signature, like it? __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: SPAM-LOW: Re: [flexcoders] Moderators: Please remove me from the list
Well, in that case why you would unsubscribe is beyond me. You can just filter the flexcoder stuff into a seperate folder - always there as a reference if need be and you might see something interesting if you dip in. Paul - Original Message - From: Doug Hughes To: flexcoders@yahoogroups.com Sent: Friday, July 21, 2006 4:10 PM Subject: RE: SPAM-LOW: Re: [flexcoders] Moderators: Please remove me from the list Well, amusingly, the more I try to get off the list the more I actually work with Flex. I bet as soon as Im off I have some question that could only be answered here. Doug From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Paul AndrewsSent: Friday, July 21, 2006 10:56 AMTo: flexcoders@yahoogroups.comSubject: Re: SPAM-LOW: Re: [flexcoders] Moderators: Please remove me from the list Hi Doug, I guess you'll have to wait for the moderators to kick in. Maybe it's a fate thing and you are destined to be a flex coder... Hope you get sorted out soon. You can always filter the flexcoders list for the moment.. Paul - Original Message - From: Doug Hughes To: flexcoders@yahoogroups.com Sent: Friday, July 21, 2006 3:33 PM Subject: RE: SPAM-LOW: Re: [flexcoders] Moderators: Please remove me from the list Im not subscribed with a yahoo address. How can I log in? What would I use as the password? From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Paul AndrewsSent: Friday, July 21, 2006 9:27 AMTo: flexcoders@yahoogroups.comSubject: SPAM-LOW: Re: [flexcoders] Moderators: Please remove me from the list - Original Message - From: Doug Hughes To: flexcoders@yahoogroups.com Sent: Friday, July 21, 2006 2:10 PM Subject: [flexcoders] Moderators: Please remove me from the list Hi, Ive been trying for about a week to unsubscribe from this list without luck. Ive followed the instructions and replied back to the confirmation email from yahoo. Ive tried writing to yahoos support to get them to remove me. No luck! Someone, please remove me from the list. Just go to the online yahoo groups page, sign in and go to the flexcoders group. If you edit your membership settings you'll find a big button that says "leave group". Bobs your uncle.. Thank you, Doug __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. 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] TODO/FIXME extension for Flex Builder 2
hi Dirk, Thanks for the great plugin.Btw, next time you can try tinyurl.com to shorten the url, the link would looks like this: http://tinyurl.com/l4m33Jeremy.On 7/21/06, Weyert de Boer [EMAIL PROTECTED] wrote: Nice, this plugin looks really nice :) __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. 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 purchase - source without media/download
The source for charting is *indeed* there, after you filled in the serial number, it will be extracted from the charting.jar to framework folder.Jeremy.On 7/21/06, Pan Troglodytes [EMAIL PROTECTED] wrote: I just realized something that might be a problem. We're buying Flex w/ Charting from our reseller. I told him we don't need the media because all I need it the license key to unlock the trial. But I just realized the trial doesn't come with source for charting. Is there some way to download that if you have a license, short of purchasing from the Adobe store? -- 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: SPAM-LOW: Re: [flexcoders] Moderators: Please remove me from the list
On Friday 21 July 2006 15:48, Pan Troglodytes wrote: I don't think there is any way you can subscribe without having a yahoo address. I've not got one. -- 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. 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] where do I get a good countries list
Many websites that require registration ask for a country and the country is in a popup. Does anybody know a good politically correct source for this list. For example I went to yahoo and they have some kind of list but have Yugoslavia (Serbia and Montenegro). This cant be the right way to handle this, but I dont know. I am not a geopolitical expert and I dont want to study this. I'd just like one good web ready answer. What do others do? Hank __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: SPAM-LOW: Re: [flexcoders] Moderators: Please remove me from the list
holy kow! They need a real framewaork then, eh?DKOn 7/21/06, Doug Hughes [EMAIL PROTECTED] wrote: I've followed these instructions about 20 times. Seriously. Yahoo then sends a confirmation email. You need to reply to it. I've done that too. It has no impact. Doug From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Douglas Knudsen Sent: Friday, July 21, 2006 10:45 AM To: flexcoders@yahoogroups.com Subject: Re: SPAM-LOW: Re: [flexcoders] Moderators: Please remove me from the list Doug I see this at the bottom of my emails from flexcoders To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Doug On 7/21/06, Doug Hughes [EMAIL PROTECTED] wrote: I'm not subscribed with a yahoo address. How can I log in? What would I use as the password? From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Paul Andrews Sent: Friday, July 21, 2006 9:27 AM To: flexcoders@yahoogroups.com Subject: SPAM-LOW: Re: [flexcoders] Moderators: Please remove me from the list - Original Message - From: Doug Hughes To: flexcoders@yahoogroups.com Sent: Friday, July 21, 2006 2:10 PM Subject: [flexcoders] Moderators: Please remove me from the list Hi, I've been trying for about a week to unsubscribe from this list without luck. I've followed the instructions and replied back to the confirmation email from yahoo. I've tried writing to yahoo's support to get them to remove me. No luck! Someone, please remove me from the list. Just go to the online yahoo groups page, sign in and go to the flexcoders group. If you edit your membership settings you'll find a big button that says leave group. Bobs your uncle.. Thank you, Doug -- Douglas Knudsen http://www.cubicleman.com this is my signature, like it? -- Douglas Knudsenhttp://www.cubicleman.comthis is my signature, like it? __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] Data Paging without FDS
What mid-tier technology do you use? - Kelly -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of nigasak Sent: Friday, July 21, 2006 2:41 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Data Paging without FDS Is it posible Data Paging without FDS?, I've been reading docs and there is no real answer for this. Maybe someboy knows. 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 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] creationPolicy=all for view states?
Is there an equivilent to creationPolicy=all for view states? I'd love to have the ability to have all the child elements in a view automatically created in the few times when i need them to be, much like we can do with creationPolicy for viewStacks 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: creationPolicy=all for view states?
nevermind, i found it. mx:AddChild position=lastChild creationPolicy=all --- In flexcoders@yahoogroups.com, jeff tapper [EMAIL PROTECTED] wrote: Is there an equivilent to creationPolicy=all for view states? I'd love to have the ability to have all the child elements in a view automatically created in the few times when i need them to be, much like we can do with creationPolicy for viewStacks 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] any way to pre-render a screen so when you move it onto the screen it doesnt hesitate
Sounds more like you have communications issue (based on the behavior on re-enter)- some of the resources are not embedded. If you do have everything embedded, we break apps in sets ofself-initialized modules - essentially to give tou chance to prepare any resources for your screen within load stage. Regards, Anatole On 7/21/06, hank williams [EMAIL PROTECTED] wrote: One of my first screens slides onto the display, but because it hasnt been seen before it needs to build the screen. It also has some embedded fonts so it probably needs to render the fonts.In any case as it slides in it stutters midway through the slide. If you go to another screen and come back it is smooth. this obviously relates to something (I assume the font) not being cached. Is there any way to fix this. Hank __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] any way to pre-render a screen so when you move it onto the screen it doesnt hesitate
This is a simple screen. It only has text. The font *is* embedded because otherwise it would draw in the wrong typeface. It is a very non standard typeface, which is why it is embedded.I dont know what you mean by we break apps in sets ofself-initialized modules What is a self-initialized module. I would think all apps and all code initializes itself or it wouldnt run. Perhaps you could give me a more concrete example of what you are talking about.RegardsHank On 7/21/06, Anatole Tartakovsky [EMAIL PROTECTED] wrote: Sounds more like you have communications issue (based on the behavior on re-enter)- some of the resources are not embedded. If you do have everything embedded, we break apps in sets ofself-initialized modules - essentially to give tou chance to prepare any resources for your screen within load stage. Regards, Anatole On 7/21/06, hank williams [EMAIL PROTECTED] wrote: One of my first screens slides onto the display, but because it hasnt been seen before it needs to build the screen. It also has some embedded fonts so it probably needs to render the fonts.In any case as it slides in it stutters midway through the slide. If you go to another screen and come back it is smooth. this obviously relates to something (I assume the font) not being cached. Is there any way to fix this. Hank __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] undelete/move to trash options for builder
Is it possible to tell Flex Builder to do file deletions the kind and gentle way by moving them to the trash?Second, is it possible to undelete items from Flex Builder, or does it actually use a filesystem delete call? Almost got bit by this just now and would like a way to avoid shooting myself in the foot.-- 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: SPAM-LOW: Re: [flexcoders] Moderators: Please remove me from the list
Sorry, realized I missed this message.Just FYI, I tested signing up totally bypassing the yahoo thing. Then I sent the unsubscribe for that address. I never got a confirmation email or anything, it just unsubscribed me. Are you positive it didn't use a yahoo address to subscribe you? When I was testing it, it tried to subtly trick me into using my yahoo account. I signed up using a non-yahoo address, it sent the confirmation email, I clicked on the link. Well, the page only had one join button and that would have used the yahoo account I was signed into. I signed out of yahoo, went to my non-yahoo email and clicked on the confirmation link. Only then did I get the second option on the webpage to NOT use a yahoo account to sign up. Is it possible someone else using the same computer was already logged into yahoo when you signed up and you didn't notice? It's fairly easy. In any case, the moderators will eventually see all the traffic on this thread if nothing else. :DOn 7/21/06, Doug Hughes [EMAIL PROTECTED] wrote: I've followed these instructions about 20 times. Seriously. Yahoo then sends a confirmation email. You need to reply to it. I've done that too. It has no impact. Doug From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com ] On Behalf Of Douglas Knudsen Sent: Friday, July 21, 2006 10:45 AM To: flexcoders@yahoogroups.com Subject: Re: SPAM-LOW: Re: [flexcoders] Moderators: Please remove me from the list Doug I see this at the bottom of my emails from flexcoders To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Doug On 7/21/06, Doug Hughes [EMAIL PROTECTED] wrote: I'm not subscribed with a yahoo address. How can I log in? What would I use as the password? From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Paul Andrews Sent: Friday, July 21, 2006 9:27 AM To: flexcoders@yahoogroups.com Subject: SPAM-LOW: Re: [flexcoders] Moderators: Please remove me from the list - Original Message - From: Doug Hughes To: flexcoders@yahoogroups.com Sent: Friday, July 21, 2006 2:10 PM Subject: [flexcoders] Moderators: Please remove me from the list Hi, I've been trying for about a week to unsubscribe from this list without luck. I've followed the instructions and replied back to the confirmation email from yahoo. I've tried writing to yahoo's support to get them to remove me. No luck! Someone, please remove me from the list. Just go to the online yahoo groups page, sign in and go to the flexcoders group. If you edit your membership settings you'll find a big button that says leave group. Bobs your uncle.. Thank you, Doug -- Douglas Knudsen http://www.cubicleman.com this is my signature, like it? -- 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] flex purchase - source without media/download
Cool, I thought it might be something that clever but had missed it being mentioned on the group. Gracias!On 7/21/06, Jeremy Lu [EMAIL PROTECTED] wrote: The source for charting is *indeed* there, after you filled in the serial number, it will be extracted from the charting.jar to framework folder.Jeremy. On 7/21/06, Pan Troglodytes [EMAIL PROTECTED] wrote: I just realized something that might be a problem. We're buying Flex w/ Charting from our reseller. I told him we don't need the media because all I need it the license key to unlock the trial. But I just realized the trial doesn't come with source for charting. Is there some way to download that if you have a license, short of purchasing from the Adobe store? -- Jason -- Jason __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] better to use mxml or actionscript for new component?
Just curious, is it actually more efficient to use AS instead of MXML (or vice versa) when deriving new components? I'm talking about where it's just as easy to code it either way. I'm just wondering about how the guts of the compiler work. For example, take these two:package nes { import mx.controls.Label; import mx.controls.dataGridClasses.DataGridListData; import flash.display.Graphics; import mx.controls.DataGrid; public class DetailBgColorRenderer extends Label { override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void { super.updateDisplayList(unscaledWidth, unscaledHeight); var g:Graphics = graphics; if (data != null) { if (data.backgroundColor != 0) { var grid:DataGrid = DataGrid(DataGridListData(listData).owner); g.beginFill(data.backgroundColor); g.drawRect(0, 0, unscaledWidth, unscaledHeight); g.endFill(); } else g.clear(); } } }}?xml version=1.0 encoding=utf-8? mx:Label xmlns:mx=http://www.adobe.com/2006/mxml mx:Script ![CDATA[ override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void { super.updateDisplayList(unscaledWidth, unscaledHeight); var g:Graphics = graphics; if (data != null) { if (data.backgroundColor != 0) { var grid:DataGrid = DataGrid(DataGridListData(listData).owner); g.beginFill(data.backgroundColor); g.drawRect(0, 0, unscaledWidth, unscaledHeight); g.endFill(); } else g.clear(); } } ]] /mx:Script/mx:Label-- 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: SPAM-LOW: Re: [flexcoders] Moderators: Please remove me from the list
Cool, didn't know that! I'm switching over to directly use my gmail address instead of having the yahoo bounce-through.Doug - while you're waiting for the moderators, one last attempt. Did you send an email to [EMAIL PROTECTED] from the email address you're subscribed from? I tried subscribing and unsubscribing with that non-yahoo link and it worked automatically. On 7/21/06, Dirk Eismann [EMAIL PROTECTED] wrote: Actually, you can subscribe without having an yahoo ID: http://www.flexcoders.org/index.html Dirk. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com ] On Behalf Of Pan TroglodytesSent: Friday, July 21, 2006 4:48 PMTo: flexcoders@yahoogroups.com Subject: Re: SPAM-LOW: Re: [flexcoders] Moderators: Please remove me from the list I don't think there is any way you can subscribe without having a yahoo address. You probably just told it to send them to your alternate address. Just go to http://groups.yahoo.com/group/flexcoders/ and click Sign In. Then click Forget your ID or password?. Fill out the info (hopefully you gave them correct info or can remember the fake info) and choose the option to put in your alternate email address. I think it will send you your yahoo ID and maybe even reset your password. If not, just do this process again and choose option 1. -- 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] better to use mxml or actionscript for new component?
My guess is that the AS version is more efficient, although I haven't checked this. To see what the compiler is doing, you can use the -keep flag on the compiler, which will allow you to see the generated ActionScript for any particular MXML file. -Sho From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Pan TroglodytesSent: Friday, July 21, 2006 8:50 AMTo: flexcodersSubject: [flexcoders] better to use mxml or actionscript for new component? Just curious, is it actually more efficient to use AS instead of MXML (or vice versa) when deriving new components? I'm talking about where it's just as easy to code it either way. I'm just wondering about how the guts of the compiler work. For example, take these two:package nes { import mx.controls.Label; import mx.controls.dataGridClasses.DataGridListData; import flash.display.Graphics; import mx.controls.DataGrid; public class DetailBgColorRenderer extends Label { override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void { super.updateDisplayList(unscaledWidth, unscaledHeight); var g:Graphics = graphics; if (data != null) { if (data.backgroundColor != 0) { var grid:DataGrid = DataGrid(DataGridListData(listData).owner); g.beginFill(data.backgroundColor); g.drawRect(0, 0, unscaledWidth, unscaledHeight); g.endFill(); } else g.clear(); } } }}?xml version="1.0" encoding="utf-8"? mx:Label xmlns:mx="http://www.adobe.com/2006/mxml" mx:Script ![CDATA[ override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void { super.updateDisplayList(unscaledWidth, unscaledHeight); var g:Graphics = graphics; if (data != null) { if (data.backgroundColor != 0) { var grid:DataGrid = DataGrid(DataGridListData(listData).owner); g.beginFill(data.backgroundColor); g.drawRect(0, 0, unscaledWidth, unscaledHeight); g.endFill(); } else g.clear(); } } ]] /mx:Script/mx:Label-- 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] undelete/move to trash options for builder
While there is no way to get Flex Builder to delete things the "kind and gentle" way, there is a really great workaround. Right click on the project and choose "Restore from local history". Eclipse (and therefore Flex Builder) keeps a local version of all changes you have made, so you can undelete files, or even revert to earlier saved versions of a particular file! -Sho From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Pan TroglodytesSent: Friday, July 21, 2006 8:51 AMTo: flexcodersSubject: [flexcoders] undelete/move to trash options for builder Is it possible to tell Flex Builder to do file deletions the "kind and gentle" way by moving them to the trash?Second, is it possible to undelete items from Flex Builder, or does it actually use a filesystem delete call? Almost got bit by this just now and would like a way to avoid shooting myself in the foot.-- Jason __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Re: Rotating VSlider
I'm having a similar problem with just changing the width and height of the slider thumb. I tried extending the mx.skins.halo.SliderThumbSkin and setting the width and height values in the constructor like this: package com.mydomain.view.skins{import mx.skins.halo.SliderThumbSkin;/*** The skin for all the states of a thumb in a Slider.*/public class SliderThumbSkinLarge extends SliderThumbSkin{ /** * @private * Constructor. */ public function SliderThumbSkinLarge() { super(); this.width=30; this.height=30; }}} My slider mxml looks like this: mx:VSlider thumbDownSkin="com.mydomain.view.skins.SliderThumbSkinLarge" thumbDisabledSkin="com.mydomain.view.skins.SliderThumbSkinLarge"thumbUpSkin="com.mydomain.view.skins.SliderThumbSkinLarge" thumbOverSkin="com.mydomain.view.skins.SliderThumbSkinLarge"tickInterval="1" snapInterval="1" ...etc/ but I can't seem to get it to work. Any help with my skinning implementation or a solution that avoids skinning is much appreciated.-Dustin--- In flexcoders@yahoogroups.com, "Manish Jethani" [EMAIL PROTECTED] wrote: On 4/3/06, Sreejith Unnikrishnan [EMAIL PROTECTED] wrote: Is it possible to rotate the VSlider so that the thumbs face to the right than to the default left? 2.0? Create a new skin extending mx.skins.halo.SliderThumbSkin. In the constructor, set its scaleX to -1. And assign this skin to the "thumbOverSkin", "thumbDownSkin", etc., styles. Manish __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. 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: SPAM-LOW: Re: [flexcoders] Moderators: Please remove me from the list
I think you're making Doug H. cry.;)On 7/21/06, Doug Lowder [EMAIL PROTECTED] wrote: If you're signed in, you can click the My Groups link at the top right, then click Edit My Groups link on the left above the group list, and choose No Email for the message delivery option for the flexcoders group. Your inbox won't get filled up anymore, and you'll still be able to read and/or post at http://groups.yahoo.com/group/flexcoders/messages. --- In flexcoders@yahoogroups.com, Doug Hughes [EMAIL PROTECTED] wrote: Well, amusingly, the more I try to get off the list the more I actually work with Flex. I bet as soon as I'm off I have some question that could only be answered here. Doug _ From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of Paul Andrews Sent: Friday, July 21, 2006 10:56 AM To: flexcoders@yahoogroups.com Subject: Re: SPAM-LOW: Re: [flexcoders] Moderators: Please remove me from the list Hi Doug, I guess you'll have to wait for the moderators to kick in. Maybe it's a fate thing and you are destined to be a flex coder... Hope you get sorted out soon. You can always filter the flexcoders list for the moment.. Paul - Original Message - From: Doug Hughes mailto:dhughes@... To: flexcoders@yahoogroups.com Sent: Friday, July 21, 2006 3:33 PM Subject: RE: SPAM-LOW: Re: [flexcoders] Moderators: Please remove me from the list I'm not subscribed with a yahoo address. How can I log in? What would I use as the password? _ From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of Paul Andrews Sent: Friday, July 21, 2006 9:27 AM To: flexcoders@yahoogroups.com Subject: SPAM-LOW: Re: [flexcoders] Moderators: Please remove me from the list - Original Message - From: Doug Hughes mailto:dhughes@... To: flexcoders@yahoogroups.com Sent: Friday, July 21, 2006 2:10 PM Subject: [flexcoders] Moderators: Please remove me from the list Hi, I've been trying for about a week to unsubscribe from this list without luck. I've followed the instructions and replied back to the confirmation email from yahoo. I've tried writing to yahoo's support to get them to remove me. No luck! Someone, please remove me from the list. Just go to the online yahoo groups page, sign in and go to the flexcoders group. If you edit your membership settings you'll find a big button that says leave group. Bobs your uncle.. Thank you, Doug -- Jason __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Flash 9/AS3
I'm interested in connecting a Flash 9 /AS3 app to a speech recognition engine. That is sending audio from the client computer to a SR engine at the server and creating the response in flash. Do you know of any links source or documentation that would be helpful? Could I capture the microphone sound and send to my J2EE speech server? What internal format uses Flash Player for microphone sounds? wav? Thanks Geminy 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] DateField cellRenderer not working with date as String
Maybe it needs MM/TT/ ? Cheers,Ralf. On 7/21/06, John Buhl [EMAIL PROTECTED] wrote: I stillget this error when I select the date, tab off of the cell, and return back to that cell. Type Coercion failed: cannot convert 04/13/2005 to Date Is there something I am missing here? Here is my code below: mx:DataGrid draggableColumns=true id=dgVersions dataProvider={getVersionRequest.lastResult.root.versions.VersionHeader}mx:columnsmx:DataGridColumn itemEditor=RendererDate dataField=VERSIONACTIVEDATE headerText=Active Date width=100/ /mx:columns/mx:DataGrid And this is my RendererDate.mxml component: ?xml version=1.0 encoding=utf-8?mx:DateField xmlns:mx= http://www.adobe.com/2006/mxml mx:Script ![CDATA[ private function getActiveDate( data : Object ) : Date { return new Date( Date.parse (data.VERSIONACTIVEDATE)); } public override function set data( data : Object ) : void { super.data = ""> selectedDate = getActiveDate( data ); } ]] /mx:Script/mx:DateField On 7/20/06, Ralf Bokelberg [EMAIL PROTECTED] wrote: Works for me, if i use the following external itemEditor ?xml version=1.0 encoding=utf-8?mx:DateField xmlns:mx= http://www.adobe.com/2006/mxmlmx:Script![CDATA[ private function getActiveDate( data : Object ) : Date{ return new Date( Date.parse ( data.MyActiveDate));}public override function set data( data : Object ) : void{ super.data = ""> selectedDate = getActiveDate( data ); } ]] /mx:Script /mx:DateFieldcheers,Ralf. On 7/20/06, John Buhl [EMAIL PROTECTED] wrote: Yes. The data can be parsed fine. I think I need somehow to use a Model with my XML so I can massage the data first, and then set the dataProvider to the Model instead of the XML object. Still researching... On 7/20/06, Tom Chiverton [EMAIL PROTECTED] wrote: On Thursday 20 July 2006 15:53, John Buhl wrote: field comes across as text, so I'm trying to cast it into a Date object before using the cellRenderer component.But it just won't work.Has What format is the data string in ? Is it one Date can parse itself ?--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. 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 ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links* To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ -- ***John Buhl770-722-5209 (c)770-234-6710 (f) *** -- Ralf Bokelberg [EMAIL PROTECTED] Flex Flash Consultant based in Cologne/Germany -- *** John Buhl770-722-5209 (c)770-234-6710 (f)*** -- Ralf Bokelberg [EMAIL PROTECTED]Flex Flash Consultant based in Cologne/Germany __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL
[flexcoders] IE Only: Error #2032 (Flex 2.0)
I have a complete app that is currently working fine when loaded in Firefox. However, in IE, some (but not all) HTTPService requests return the following error: Error: [IOErrorEvent type=ioError bubbles=false cancelable=false evenPhase=2 text=Error #2032: Stream Error. URL: http://localhost/pw/modifyProject.xml;] URL: http://localhost/pw/modifyProject.xml As you can see from the URL, I'm just running it on my own development machine. All URLs point to Localhost, so there shouldn't be any need for a crossdomain.xml file. Why is this happening on IE but not Firefox? What could cause this error (besides the cross-domain policy issue)? 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] Re: How to create a number Pad using repeater
There's a 3x3 example right in the docs. Here. http://livedocs.macromedia.com/flex/2/langref/mx/core/Repeater.html#includeExamplesSummary --- In flexcoders@yahoogroups.com, "junhufr" [EMAIL PROTECTED] wrote: Hello, I'd like to create a 3x4 Number Pad(10 numbers with 2 letters) by using repeater, anyone could give me some ideas? Thank you in advance. Jun __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. 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] tracing into SDK
Is there no way to trace into the SDK libraries, like DataGrid?-- 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] clean up on aisle three - formatting request for Adobe
Remind me to have you do a code review before I post code, lol! - Original Message - From: Pan Troglodytes To: flexcoders Sent: Friday, July 21, 2006 12:53 PM Subject: [flexcoders] clean up on aisle three - formatting request for Adobe At some point, it would be nice if someone could go through the various AS files in the SDK and standardize on using space for indent or tabs for indent - not both. This is especially bad because it appears some coders there use proportional fonts (sacrilege!). Anyone doing that has no business using spaces to indent. XD For example, here's what I see using fixed width font and two space tabs (DataGrid.as): override protected function mouseOverHandler(event:MouseEvent):void { if (movingColumn) return; var r:IListItemRenderer; if (enabled sortableColumns showHeaders listItems.length !isPressed) { s = Sprite(listContent.getChildByName("sortArrowHitArea")); if (event.target != s) r = mouseEventToItemRenderer(event); var n:int = listItems[0].length; for (var i:int = 0; i n; i++) { if (!r s == event.target visibleColumns[i].colNum == sortIndex) { r = listItems[0][i]; } if (r == listItems[0][i]) { if (visibleColumns[i].sortable) { var s:Sprite = Sprite( selectionLayer.getChildByName("headerSelection")); if (!s) { s = new FlexSprite(); s.name = "headerSelection"; selectionLayer.addChild(s); } var g:Graphics = s.graphics; g.clear (); g.beginFill(getStyle("rollOverColor")); g.drawRect(0, 0, visibleColumns[i].width, rowInfo[0].height - 0.5); g.endFill(); s.x = r.x; s.y = rowInfo[0].y; } return; } } } lastItemDown = null; super.mouseOverHandler(event); }OUCH.-- 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] clean up on aisle three - formatting request for Adobe
The convention is 4 spaces for an indent, tabs are converted to 4 spaces. I imagine everyone uses fixed-width fonts and Eclipse doesnt show whitespace characters (that I know of, to-date) so code formatting like this must have just slipped through the cracks (in my experience this is not unusual for large source bases). FWIW, in the past Ive heard arguments of not doing such clean-ups as it complicates change history, however modern source control systems have the ability to do diffs ignoring whitespace so this point is somewhat moot. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Pan Troglodytes Sent: Friday, July 21, 2006 12:53 PM To: flexcoders Subject: [flexcoders] clean up on aisle three - formatting request for Adobe At some point, it would be nice if someone could go through the various AS files in the SDK and standardize on using space for indent or tabs for indent - not both. This is especially bad because it appears some coders there use proportional fonts (sacrilege!). Anyone doing that has no business using spaces to indent. XD For example, here's what I see using fixed width font and two space tabs (DataGrid.as): override protected function mouseOverHandler(event:MouseEvent):void { if (movingColumn) return; var r:IListItemRenderer; if (enabled sortableColumns showHeaders listItems.length !isPressed) { s = Sprite(listContent.getChildByName(sortArrowHitArea)); if (event.target != s) r = mouseEventToItemRenderer(event); var n:int = listItems[0].length; for (var i:int = 0; i n; i++) { if (!r s == event.target visibleColumns[i].colNum == sortIndex) { r = listItems[0][i]; } if (r == listItems[0][i]) { if (visibleColumns[i].sortable) { var s:Sprite = Sprite( selectionLayer.getChildByName(headerSelection)); if (!s) { s = new FlexSprite(); s.name = headerSelection; selectionLayer.addChild(s); } var g:Graphics = s.graphics; g.clear (); g.beginFill(getStyle(rollOverColor)); g.drawRect(0, 0, visibleColumns[i].width, rowInfo[0].height - 0.5); g.endFill(); s.x = r.x; s.y = rowInfo[0].y; } return; } } } lastItemDown = null; super.mouseOverHandler(event); } OUCH. -- 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] Flex Pricing question
the Eclipse plugin is the same cost as Flex Builder. As far as that goes, the Eclipse Plugin IS Flexbuilder, as Flex Builder is really eclipse streamlined and with a different splash screen. In fact, it's the same installer and you choose which you want to install. As far as Flex Data Services, the model is as follows:Express: free but limited to 1 application on a 1 CPU server, no concurrent user limitDepartmental: $6000 per CPU, unlimited applications, CPUs limited only to what you've paid for, 100 concurrent user limit Enterprise: MSRP $20,000 per CPU, unlimited applications, CPUs limited only to what you've paid for, no concurrent user limit (per Matt's comment, nobody pays list for this but they have to have a number as a starting point) On 7/21/06, Umesh Garg [EMAIL PROTECTED] wrote: Hi,Is the Eclipse plug-in for the Flex-builder free orI have to pay for it. CanI get this without the flexbuilder?If yes, what is the cost? I don't see the price for Flex Data Serviceon the site, what's the pricing model for this? I understand the express version is free to download. What is the limitation of express version? What's the days-limit for trial flex charting?Thanks Umesh. Thanks Umesh How low will we go? Check out Yahoo! Messenger's low PC-to-Phone call rates. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. 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] Architectural questions RE: Cairngorm 2
Hi all. I've only just started using Cairngorm in my application, and already it's helping to clean up a lot of code. Many cudos to all the contributors! I've been reading and soaking up every bit of documentation and Flexcoders posts I can. A couple of arshitectural questions have come up as to how I can leverage Cairngorm in my app. First a brief background: Our app is a BI Dashboard tool, that is uber configurable by the user. Selecting Grids/Charts/maps/other custom visualizations, and adding them to a layout on a dashboard. 1.) How to maintain the data results in the ModelLocator dynamically for a dynamically created visualization? Pretty much all of the examples I've seen are pretty 'static' in terms of the application data. There's a Search Results or a Shopping Cart. All the data and state I have is dynamically created as users add visualizations to the app, and bind it to data. Controls are used multiple times bound to different data, added to Visualization Tiles that are layed out on the dashboard. Do you guys have any suggestions on how to build and reference this dynamic data/dynamic views using the ModelLocator pattern? 2.) I'm using Flex Data Management Services to keep my application configuration current, synchronized between clients, and persisted (via Hibernate). I noticed that that the ServiceLocator is still directed at supporting RPC services... are there any patterns for Data Management Services? Something for managing and tracking the different DataServices? All of my managed classes are VO's that will be in the ModelLocator, but what about owning the DataService classes associated with the data? I hope this wasn't too wordy or unclear. I'm sure others must be dealing with the same kinds of things right? Thanks in advance, Thunder 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] AMF serialization of floats (REPOST)
My original post seems to have gotten removed, so I am posting again with hopes someone has experience with this issue. I am transfering float values from Java DTOs to corresponding AS objects using both FDS and remote objects. The Java float values have a precision of 4 decimal places (verified before serialization e.g. 0.4398) yet when they are created in AS they have 16 decimal places with values extending throughout the 16 digits (e.g. 0.4398283772047382). I suppose I can round the values when I receive them at the client, but can someone tell me if there's a better way to insure the destination values are the same as the source? Thanks, Mike 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] QuickDateFormatter - how can I make it MXML enabled?
Hello all, I have created and documented a class that greatly simplifies the process of converting a date string to an alternately formatted date string. The current incarnation is described here: http://www.returnundefined.com/2006/07/quickdateformatter-efficient-date-formatting-in-as3/, but I am wondering how I would go about making a version that is able to be used in MXML. I know it would involve the creation of some public properties but beyond that I am pretty clueless. Can someone point me in the right direction? Thanks, Ben 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] Re: Detect if Object exists
Hey Nick,I used this as a test case its stripped down from what you are doing but maybe it will point you in the right direction.?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml layout=vertical creationComplete=init() mx:Script ![CDATA[ import mx.containers.Canvas; import mx.core.Container; private function init():void {trace(tabExists('test')); windowTab.addChild(newTab('test')); trace(tabExists('test'));trace(tabExists('test2')); windowTab.addChild(newTab('test2')); trace(tabExists('test2')); trace(tabExists('test3'));} private function tabExists(str:String):Boolean {return windowTab.getChildByName (str) != null; } private function newTab(str:String):Canvas { var tmpcon:Canvas = new Canvas(); tmpcon.percentWidth = 100;tmpcon.percentHeight = 100; tmpcon.id = str;tmpcon.name = str; tmpcon.label = str;return tmpcon; } ]] /mx:Script mx:TabNavigator id=windowTab width=100% height=100% /mx:TabNavigator /mx:Applicationshows in the console:falsetrue falsetruefalse Maybe we need to just change the if statement so it checks for nullif ( selectTab != null )Scotty On 7/21/06, Nick Collins [EMAIL PROTECTED] wrote: Hmm... well Scotty, interestingly enough, this train of thought isn't working... for some reason the condition is always returning true, even when no tabs at all have been created... back to the drawing board I guess. On 7/20/06, Scotty Scott [EMAIL PROTECTED] wrote: Change var selectTab:Container = this.windowTabs.getChildByName(newid);to var selectTab:Container = Container(this.windowTabs.getChildByName(newid));Or var selectTab:Container = this.windowTabs.getChildByName(newid) as Container;Im not sure which syntax is the correct way or what the difference is. Anyone care to explain the difference?Scotty On 7/20/06, Nick Collins [EMAIL PROTECTED] wrote: I tried something very similar to that, but got the following error, as I did this time:1118: Implicit coercion of a value with static type flash.display:DisplayObject to a possibly unrelated type mx.core:Container . On 7/20/06, fwscott [EMAIL PROTECTED] wrote: Hey Nick, You could assign a name to your tab and then use this.windowTabs.getChildByName( newtab.name); Something like private function createTab(createTabName:String):void { var newid:String = 'userTab' + this.masterList.selectedItem.ContribNum; var selectTab:Container = this.windowTabs.getChildByName(newid); if(!selectTab) { var newVbox:VBox = new VBox(); var newHbox:HBox = new HBox(); var newTab:Canvas = new Canvas(); var newSpacer:Spacer = new Spacer(); var tabCloseBtn:Button = new Button(); // create button to close tab tabCloseBtn.label = Close Tab; tabCloseBtn.addEventListener (MouseEvent.CLICK,myClickListener); // create spacer to position close button newSpacer.percentWidth = 100; // create box layout controls newHbox.percentWidth = 100; newHbox.addChild(newSpacer); newHbox.addChild(tabCloseBtn); newVbox.addChild(newHbox); newVbox.addChild (getTithesComponent(this.masterList.selectedItem.ContribNum)); // create tab newTab.label = createTabName; newTab.id = newid; newTab.name = newid; newTab.addChild(newVbox); this.windowTabs.addChild(newTab); this.windowTabs.selectedChild = newTab; } else this.windowTabs.selectedChild = selectTab; } Scotty http://www.franciswscott.com --- In flexcoders@yahoogroups.com , Nick Collins [EMAIL PROTECTED] wrote: I've got a datagrid with a list of people, that when you double click on one, it creates a new tab with that person's data into a TabNavigator. I'm trying to get it so it will only open one instance of a tab for each person, and if you try to open a person again, it will simply select their tab that already exists. Sounds pretty straightforward, right? Here's what I've got, when you click the button for their data or double click their name, an event is launched which then calls this function, createTab: private function createTab(createTabName:String):void { var newVbox:VBox = new VBox(); var newHbox:HBox = new HBox(); var newTab:Canvas = new Canvas(); var newSpacer:Spacer = new Spacer(); var tabCloseBtn:Button = new Button(); // create button