RE: [flexcoders] Large XML data binding to FLEX Chart
Thanks alot Matt.I had checked also linerealtime.mxml which says "In a real life scenario, you could poll the server here, or use an XMLSocket or Flash Communication Server approach to push data from the server to the client." Can you elaborate more on XMLsocket and how it works?I will try out HTTPService with e4x. But I think using paged remote data providers may be a better technique for my case. This could provide better streaming-like behavior.Matt Chotin [EMAIL PROTECTED] wrote:E4X has an xpath like syntax which may be better for you. Check out the XMLListCollection as something you can assign into a chart and the e4x operators to build the right list. Make sure resultFormat="e4x" on the HTTPService, it might improve performance. Matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of seethinglong Sent: Monday, March 20, 2006 11:14 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Large XML data binding to FLEX Chart Hi all, I am newbie trying to use FLEX to build chart apps but I experience huge problem when the data source in URL from local hard drive is around 6MB (request through mx:HTTPService). Firefox 1.5, Windows XP with adobe FES had failed totally and the memory/IO writes reached almost 1GB/50k before firefox crashed. Later I try with pre-compiled flash with tomcat apache, the charts work work sluggishly. I would like to know is there any binding mechanism that can stream the XML data over through HTTP? Something like active stream format for movie/sound. Is FLEX chart support JXPATH/XSLT? I would like to build a Flex chart that allows user to enter XPATH/XSLT and produce the chart dynamically. Thanks for your patience in the reading. Meanwhile I am finding the answer myself reading the help documents provided.-- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links New Yahoo! Messenger with Voice. Call regular phones from your PC and save big. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Re: need help with programatic skin
If I understand you question correctly. Have a look at the textIndent style this can be set via css or property, otherwiseyour going to have to extend the button. for example css file mx:Style.IndentedtextButton{cornerRadius: 0;textIndent:15;fontWeight:"normal";} /mx:Style mx:Button textAlign="left"styleName="IndentedtextButton" width="150" label="Test" / or mx:Button textAlign="left" textIndent="15"width="150" label="Test" / Hope that helps Jason -Message d'origine-De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part de shemeshkaleEnvoyé: mercredi 29 mars 2006 09:11À: flexcoders@yahoogroups.comObjet: [flexcoders] Re: need help with programatic skinPLEASE HELP !or please refer me to a place i can learn...--- In flexcoders@yahoogroups.com, "shemeshkale" [EMAIL PROTECTED] wrote: hi, i m working with the basic HALO skin. i m trying to change some things without luck. PLEASE HELP: - how do i change the padding (the space between the text and the border) inside a button? i want to make a deafult 2px. - i want to make a top and bottom border on the selected item of a tree. - i want to change the gray arrow in the tree to a +\- sign. how do i do this? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Bug : Popupbar when in viewstack [Flex 2.0 b2]
So there seems to be a bug in the view stack not redrawing it's children, or a bug in the popupbutton. The dropdown menu is not being cleared. The only way to avoid it is to add the menu as a child to the popupbuttons parent container and don't include it in the layout. See below code. Run it an click the popupbutton to see the effect. Then uncomment the addchild and include in layout code and run again to see the temp solution. This is not view stack container specific i.e. same problem on Vbox, Hbox, Controlbar, ApplicationControlbar, Box, Canvas etc.. On the other hand it may very well be the only way to do it. If this is true update the documentation to specify so. Code test: ?xml version="1.0" encoding="utf-8"?mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" layout="absolute" mx:Script![CDATA[import mx.controls.Menu;import mx.events.MenuEvent;private var actionMenu:Menu; private function initMenu():void { actionMenu = new Menu(); //actionMenu.includeInLayout = false; //tools.addChild(actionMenu); var actionMenuDS:Object = [{label: "Complete selected"}, {label: "Delete selected"}, {label: "Export list"}]; actionMenu.width = actionList.width; actionMenu.dataProvider = actionMenuDS; actionMenu.addEventListener("change", handleChange); actionList.popUp = actionMenu; } //Execute the action reqested and update the control display private function handleChange(event:MenuEvent):void { actionList.label = event.menuItem.label; actionList.close(); }]]/mx:Script mx:ViewStack height="100%" id="Cont" width="100%"mx:Canvas id="tools" width="100%" height="34" borderStyle="solid" backgroundColor="#c0c0c0"mx:PopUpButton textAlign="left" id="actionList" cornerRadius="0" label="Actions" width="155" creationComplete="initMenu();"//mx:Canvas/mx:ViewStack /mx:Application Any thoughts ?? Jason -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Re: Internal Build Error
Found it. The compiler is throwing a fit on this line of code: var kpiList:Array = (this.myData as Array)[0]; if I remove as Array, then it compiles and the compiler no longer explodes. I actually added the as Array in because Flex gave me a warning that I was casting Object to Array and I should do it manually! :-) No it compiles, all I have to do is get this code to actually run in Beta 2, at the moment I'm getting a blue screen in my browser, no loading bar, and no application. Argh! Tim. --- In flexcoders@yahoogroups.com, bhaq1972 [EMAIL PROTECTED] wrote: I'm also fustrated by this internal build error. the whole of my monday was wasted on it. i've now gone back to starting the project all over again, but only bringing in a class(or mxml) at a time. painfully slow but has broken yet. --- In flexcoders@yahoogroups.com, Michael Schmalle teoti.graphix@ wrote: Hi, I wrote a couple lengthy posts on this forum. ;-) Search for internal build error, you should see some things I have encountered. Peace, Mike On 3/28/06, Tim Sawyer lists@ wrote: I'm getting An internal build error has occurred. Please check the Error Log. The log says: !ENTRY com.adobe.flexbuilder.project 4 43 2006-03-28 16:28:20.702 !MESSAGE Uncaught exception in compiler !STACK 0 java.lang.NullPointerException at macromedia.asc.semantics.ConstantEvaluator.evaluate (ConstantEvaluator.java :948) at macromedia.asc.parser.MemberExpressionNode.evaluate( MemberExpressionNode.java:31) at macromedia.asc.semantics.ConstantEvaluator.evaluate (ConstantEvaluator.java :1606) at macromedia.asc.parser.ArgumentListNode.evaluate (ArgumentListNode.java:28) at macromedia.asc.semantics.ConstantEvaluator.evaluate (ConstantEvaluator.java :727) at macromedia.asc.parser.SetExpressionNode.evaluate (SetExpressionNode.java :39) at macromedia.asc.semantics.ConstantEvaluator.evaluate (ConstantEvaluator.java :1040) at macromedia.asc.parser.MemberExpressionNode.evaluate( MemberExpressionNode.java:31) at macromedia.asc.semantics.ConstantEvaluator.evaluate (ConstantEvaluator.java :1635) at macromedia.asc.parser.ListNode.evaluate (ListNode.java:27) at macromedia.asc.semantics.ConstantEvaluator.evaluate (ConstantEvaluator.java :1734) at macromedia.asc.parser.ExpressionStatementNode.evaluate( ExpressionStatementNode.java:33) at macromedia.asc.semantics.ConstantEvaluator.evaluate (ConstantEvaluator.java :1714) at macromedia.asc.parser.StatementListNode.evaluate (StatementListNode.java :34) at macromedia.asc.semantics.ConstantEvaluator.evaluate (ConstantEvaluator.java :1786) at macromedia.asc.parser.IfStatementNode.evaluate (IfStatementNode.java:34) at macromedia.asc.semantics.ConstantEvaluator.evaluate (ConstantEvaluator.java :1714) at macromedia.asc.parser.StatementListNode.evaluate (StatementListNode.java :34) at macromedia.asc.semantics.ConstantEvaluator.evaluate (ConstantEvaluator.java :2220) at macromedia.asc.parser.FunctionCommonNode.evaluate (FunctionCommonNode.java :87) at macromedia.asc.semantics.ConstantEvaluator.evaluate (ConstantEvaluator.java :2910) at macromedia.asc.parser.ClassDefinitionNode.evaluate( ClassDefinitionNode.java:86) at macromedia.asc.semantics.ConstantEvaluator.evaluate (ConstantEvaluator.java :2655) at macromedia.asc.parser.ProgramNode.evaluate (ProgramNode.java:63) at flex2.compiler.as3.Compiler.analyze4(Compiler.java:431) at flex2.compiler.API.analyze(API.java:1370) at flex2.compiler.API.analyze(API.java:1283) at flex2.compiler.API.batchInner(API.java:224) at flex2.compiler.API.batch(API.java:270) at flex2.compiler.API.compile(API.java:462) at com.adobe.flexbuilder.project.compiler.Compiler.compile (Compiler.java:204) at com.adobe.flexbuilder.project.compiler.internal.FlexIncrementalBuilde r.buildApplication (FlexIncrementalBuilder.java:352) at com.adobe.flexbuilder.project.compiler.internal.FlexIncrementalBuilde r.build (FlexIncrementalBuilder.java:236) at org.eclipse.core.internal.events.BuildManager$2.run (BuildManager.java:593) at org.eclipse.core.internal.runtime.InternalPlatform.run( InternalPlatform.java:1044) at org.eclipse.core.runtime.Platform.run(Platform.java:783) at org.eclipse.core.internal.events.BuildManager.basicBuild (BuildManager.java :168) at org.eclipse.core.internal.events.BuildManager.basicBuild (BuildManager.java :202) at org.eclipse.core.internal.events.BuildManager$1.run (BuildManager.java:231)
Re: [flexcoders] Re: Internal Build Error
Hi, Not to butt in or anything but, var kpiList:Array = (this.myData as Array)[0]; That is probably not a very good way to write the _expression_ anyway. I can see why there might be a glich, var kpiList:Array = myData[0] as Array; would probably be better. Peace, Mike On 3/29/06, Tim Sawyer [EMAIL PROTECTED] wrote: Found it. The compiler is throwing a fit on this line of code: var kpiList:Array = (this.myData as Array)[0]; if I remove as Array, then it compiles and the compiler no longer explodes. I actually added the as Array in because Flex gave me a warning that I was casting Object to Array and I should do it manually! :-) No it compiles, all I have to do is get this code to actually run in Beta 2, at the moment I'm getting a blue screen in my browser, no loading bar, and no application. Argh! Tim. --- In flexcoders@yahoogroups.com, bhaq1972 [EMAIL PROTECTED] wrote: I'm also fustrated by this internal build error. the whole of my monday was wasted on it. i've now gone back to starting the project all over again, but only bringing in a class(or mxml) at a time. painfully slow but has broken yet. --- In flexcoders@yahoogroups.com, Michael Schmalle teoti.graphix@ wrote: Hi, I wrote a couple lengthy posts on this forum. ;-) Search for internal build error, you should see some things I have encountered. Peace, Mike On 3/28/06, Tim Sawyer lists@ wrote: I'm getting An internal build error has occurred. Please check the Error Log. The log says: !ENTRY com.adobe.flexbuilder.project 4 43 2006-03-28 16:28:20.702 !MESSAGE Uncaught exception in compiler !STACK 0 java.lang.NullPointerException at macromedia.asc.semantics.ConstantEvaluator.evaluate (ConstantEvaluator.java :948) at macromedia.asc.parser.MemberExpressionNode.evaluate( MemberExpressionNode.java:31) at macromedia.asc.semantics.ConstantEvaluator.evaluate (ConstantEvaluator.java :1606) at macromedia.asc.parser.ArgumentListNode.evaluate (ArgumentListNode.java:28) at macromedia.asc.semantics.ConstantEvaluator.evaluate (ConstantEvaluator.java :727) at macromedia.asc.parser.SetExpressionNode.evaluate (SetExpressionNode.java :39) at macromedia.asc.semantics.ConstantEvaluator.evaluate (ConstantEvaluator.java :1040) at macromedia.asc.parser.MemberExpressionNode.evaluate( MemberExpressionNode.java:31) at macromedia.asc.semantics.ConstantEvaluator.evaluate (ConstantEvaluator.java :1635) at macromedia.asc.parser.ListNode.evaluate (ListNode.java:27) at macromedia.asc.semantics.ConstantEvaluator.evaluate (ConstantEvaluator.java :1734) at macromedia.asc.parser.ExpressionStatementNode.evaluate( ExpressionStatementNode.java:33) at macromedia.asc.semantics.ConstantEvaluator.evaluate (ConstantEvaluator.java :1714) at macromedia.asc.parser.StatementListNode.evaluate (StatementListNode.java :34) at macromedia.asc.semantics.ConstantEvaluator.evaluate (ConstantEvaluator.java :1786) at macromedia.asc.parser.IfStatementNode.evaluate (IfStatementNode.java:34) at macromedia.asc.semantics.ConstantEvaluator.evaluate (ConstantEvaluator.java :1714) at macromedia.asc.parser.StatementListNode.evaluate (StatementListNode.java :34) at macromedia.asc.semantics.ConstantEvaluator.evaluate (ConstantEvaluator.java :2220) at macromedia.asc.parser.FunctionCommonNode.evaluate (FunctionCommonNode.java :87) at macromedia.asc.semantics.ConstantEvaluator.evaluate (ConstantEvaluator.java :2910) at macromedia.asc.parser.ClassDefinitionNode.evaluate( ClassDefinitionNode.java:86) at macromedia.asc.semantics.ConstantEvaluator.evaluate (ConstantEvaluator.java :2655) at macromedia.asc.parser.ProgramNode.evaluate (ProgramNode.java:63) at flex2.compiler.as3.Compiler.analyze4(Compiler.java:431) at flex2.compiler.API.analyze(API.java:1370) at flex2.compiler.API.analyze(API.java:1283) at flex2.compiler.API.batchInner(API.java:224) at flex2.compiler.API.batch(API.java:270) at flex2.compiler.API.compile(API.java:462) at com.adobe.flexbuilder.project.compiler.Compiler.compile (Compiler.java:204) at com.adobe.flexbuilder.project.compiler.internal.FlexIncrementalBuilde r.buildApplication (FlexIncrementalBuilder.java:352) at com.adobe.flexbuilder.project.compiler.internal.FlexIncrementalBuilde r.build (FlexIncrementalBuilder.java:236) at org.eclipse.core.internal.events.BuildManager$2.run (BuildManager.java:593) at org.eclipse.core.internal.runtime.InternalPlatform.run( InternalPlatform.java:1044) at org.eclipse.core.runtime.Platform.run(Platform.java:783) at org.eclipse.core.internal.events.BuildManager.basicBuild (BuildManager.java :168) at org.eclipse.core.internal.events.BuildManager.basicBuild (BuildManager.java :202)
[flexcoders] Re: need help with programatic skin
not what i meant. a button in flex have a default gap (padding in html/css) between text and the buttons border - on both leftright sides. how do i change this? --- In flexcoders@yahoogroups.com, Jason Hawryluk [EMAIL PROTECTED] wrote: If I understand you question correctly. Have a look at the textIndent style this can be set via css or property, otherwise your going to have to extend the button. for example css file mx:Style .IndentedtextButton{ cornerRadius: 0; textIndent: 15; fontWeight: normal; } /mx:Style mx:Button textAlign=left styleName=IndentedtextButton width=150 label=Test / or mx:Button textAlign=left textIndent=15 width=150 label=Test / Hope that helps Jason -Message d'origine- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la part de shemeshkale Envoyé : mercredi 29 mars 2006 09:11 À : flexcoders@yahoogroups.com Objet : [flexcoders] Re: need help with programatic skin PLEASE HELP ! or please refer me to a place i can learn... --- In flexcoders@yahoogroups.com, shemeshkale baldhead72@ wrote: hi, i m working with the basic HALO skin. i m trying to change some things without luck. PLEASE HELP: - how do i change the padding (the space between the text and the border) inside a button? i want to make a deafult 2px. - i want to make a top and bottom border on the selected item of a tree. - i want to change the gray arrow in the tree to a +\- sign. how do i do this? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com -- YAHOO! GROUPS LINKS a.. Visit your group flexcoders on the web. b.. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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: need help with programatic skin
Hi, >From what I gather your are looking for the 'marginRight' and 'marginLeft' css styles. Button does not support 'marginTop' and 'marginBottom' css styles. If I were to have made this Button I would have included this. Adobe, what was your reasoning for not allowing us to have top and bottom margins? I can think of a couple things I could use it for. Peace, MikeOn 3/29/06, shemeshkale [EMAIL PROTECTED] wrote: not what i meant. a button in flex have a default gap (padding in html/css) between text and the buttons border - on both leftright sides. how do i change this? --- In flexcoders@yahoogroups.com, Jason Hawryluk [EMAIL PROTECTED] wrote: If I understand you question correctly. Have a look at the textIndent style this can be set via css or property, otherwise your going to have to extend the button. for example css file mx:Style .IndentedtextButton{ cornerRadius: 0; textIndent: 15; fontWeight: normal; } /mx:Style mx:Button textAlign=left styleName=IndentedtextButton width=150 label=Test / or mx:Button textAlign=left textIndent=15 width=150 label=Test / Hope that helps Jason -Message d'origine- De : flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com]De la part de shemeshkale Envoyé : mercredi 29 mars 2006 09:11 À : flexcoders@yahoogroups.com Objet : [flexcoders] Re: need help with programatic skin PLEASE HELP ! or please refer me to a place i can learn... --- In flexcoders@yahoogroups.com, shemeshkale baldhead72@ wrote: hi, i m working with the basic HALO skin. i m trying to change some things without luck. PLEASE HELP: - how do i change the padding (the space between the text and the border) inside a button? i want to make a deafult 2px. - i want to make a top and bottom border on the selected item of a tree. - i want to change the gray arrow in the tree to a +\- sign. how do i do this? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com -- YAHOO! GROUPS LINKS a.. Visit your group flexcoders on the web. b.. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Flex2 - Asynchronous Completion Token
This is another one of those questions 'i could do this in flex1.5 but now cant in flex2b2'. in flex1.5 this worked well var call = service1.HelloWorld(); //service1 is a mx:WebService call.onResult = mx.utils.Delegate.create(this, returnHelloWorld); i cant do this in flex2b2 event after removing the Delegate. any ideas? thanks in advance -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Internal Build Error
Still shouldn't blow up the compiler though should it. :-) Our old beta 1 code says: var kpiList:Array = Array(this.myData)[0]; and the compiler warning is Array(x) behaves the same as new Array(x). To cast a value to type Array use 'x as Array' instead of Array(x). so I changed it to var kpiList:Array = (this.myData as Array)[0]; thereby causing the problem. this.myData is an Object, so still needs to be cast to Array. Strangely, the code that actually works is: var kpiList:Array = this.myData as Array; so I've lost a level of Array embedding somewhere... Tim. --- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, Not to butt in or anything but, var kpiList:Array = (this.myData as Array)[0]; That is probably not a very good way to write the expression anyway. I can see why there might be a glich, var kpiList:Array = myData[0] as Array; would probably be better. Peace, Mike On 3/29/06, Tim Sawyer [EMAIL PROTECTED] wrote: Found it. The compiler is throwing a fit on this line of code: var kpiList:Array = (this.myData as Array)[0]; if I remove as Array, then it compiles and the compiler no longer explodes. I actually added the as Array in because Flex gave me a warning that I was casting Object to Array and I should do it manually! :-) No it compiles, all I have to do is get this code to actually run in Beta 2, at the moment I'm getting a blue screen in my browser, no loading bar, and no application. Argh! Tim. --- In flexcoders@yahoogroups.com, bhaq1972 mbhaque@ wrote: I'm also fustrated by this internal build error. the whole of my monday was wasted on it. i've now gone back to starting the project all over again, but only bringing in a class(or mxml) at a time. painfully slow but has broken yet. --- In flexcoders@yahoogroups.com, Michael Schmalle teoti.graphix@ wrote: Hi, I wrote a couple lengthy posts on this forum. ;-) Search for internal build error, you should see some things I have encountered. Peace, Mike On 3/28/06, Tim Sawyer lists@ wrote: I'm getting An internal build error has occurred. Please check the Error Log. The log says: !ENTRY com.adobe.flexbuilder.project 4 43 2006-03-28 16:28:20.702 !MESSAGE Uncaught exception in compiler !STACK 0 java.lang.NullPointerException at macromedia.asc.semantics.ConstantEvaluator.evaluate (ConstantEvaluator.java :948) at macromedia.asc.parser.MemberExpressionNode.evaluate( MemberExpressionNode.java:31) at macromedia.asc.semantics.ConstantEvaluator.evaluate (ConstantEvaluator.java :1606) at macromedia.asc.parser.ArgumentListNode.evaluate (ArgumentListNode.java:28) at macromedia.asc.semantics.ConstantEvaluator.evaluate (ConstantEvaluator.java :727) at macromedia.asc.parser.SetExpressionNode.evaluate (SetExpressionNode.java :39) at macromedia.asc.semantics.ConstantEvaluator.evaluate (ConstantEvaluator.java :1040) at macromedia.asc.parser.MemberExpressionNode.evaluate( MemberExpressionNode.java:31) at macromedia.asc.semantics.ConstantEvaluator.evaluate (ConstantEvaluator.java :1635) at macromedia.asc.parser.ListNode.evaluate (ListNode.java:27) at macromedia.asc.semantics.ConstantEvaluator.evaluate (ConstantEvaluator.java :1734) at macromedia.asc.parser.ExpressionStatementNode.evaluate( ExpressionStatementNode.java:33) at macromedia.asc.semantics.ConstantEvaluator.evaluate (ConstantEvaluator.java :1714) at macromedia.asc.parser.StatementListNode.evaluate (StatementListNode.java :34) at macromedia.asc.semantics.ConstantEvaluator.evaluate (ConstantEvaluator.java :1786) at macromedia.asc.parser.IfStatementNode.evaluate (IfStatementNode.java:34) at macromedia.asc.semantics.ConstantEvaluator.evaluate (ConstantEvaluator.java :1714) at macromedia.asc.parser.StatementListNode.evaluate (StatementListNode.java :34) at macromedia.asc.semantics.ConstantEvaluator.evaluate (ConstantEvaluator.java :2220) at macromedia.asc.parser.FunctionCommonNode.evaluate (FunctionCommonNode.java :87) at macromedia.asc.semantics.ConstantEvaluator.evaluate (ConstantEvaluator.java :2910) at macromedia.asc.parser.ClassDefinitionNode.evaluate( ClassDefinitionNode.java:86) at macromedia.asc.semantics.ConstantEvaluator.evaluate (ConstantEvaluator.java :2655) at macromedia.asc.parser.ProgramNode.evaluate (ProgramNode.java:63) at
Re: [Norton AntiSpam] [flexcoders] Flex2 - Asynchronous Completion Token
Take a look at the makeRemoteCall() method of the DataManager class I wrote (http://jeff.mxdj.com/as3_datamanager.htm). This does the flex 2 version of what you are looking for. At 06:51 AM 3/29/2006, bhaq1972 wrote: This is another one of those questions 'i could do this in flex1.5 but now cant in flex2b2'. in flex1.5 this worked well var call = service1.HelloWorld(); //service1 is a mx:WebService call.onResult = mx.utils.Delegate.create(this, returnHelloWorld); i cant do this in flex2b2 event after removing the Delegate. any ideas? thanks in advance -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txthttp://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comhttp://www.mail-archive.com/flexcoders%40yahoogroups.com -- YAHOO! GROUPS LINKS * Visit your group http://groups.yahoo.com/group/flexcodersflexcoders on the web. * * To unsubscribe from this group, send an email to: * mailto:[EMAIL PROTECTED][EMAIL PROTECTED] * * Your use of Yahoo! Groups is subject to the http://docs.yahoo.com/info/terms/Yahoo! Terms of Service. -- -- Flexcoders Mailing 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: Internal Build Error
Well, Considering this is a brand spankin new compiler, anything is possible. Also, knowing the magnitude of change from Flex2 b1 to Flex2 b2, there could be a possibility there was that much adjustemnt in the compiler also. Peace, MikeOn 3/29/06, Tim Sawyer [EMAIL PROTECTED] wrote: Still shouldn't blow up the compiler though should it. :-) Our old beta 1 code says: var kpiList:Array = Array(this.myData)[0]; and the compiler warning is Array(x) behaves the same as new Array(x). To cast a value to type Array use 'x as Array' instead of Array(x). so I changed it to var kpiList:Array = (this.myData as Array)[0]; thereby causing the problem. this.myData is an Object, so still needs to be cast to Array. Strangely, the code that actually works is: var kpiList:Array = this.myData as Array; so I've lost a level of Array embedding somewhere... Tim. --- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, Not to butt in or anything but, var kpiList:Array = (this.myData as Array)[0]; That is probably not a very good way to write the _expression_ anyway. I can see why there might be a glich, var kpiList:Array = myData[0] as Array; would probably be better. Peace, Mike On 3/29/06, Tim Sawyer [EMAIL PROTECTED] wrote: Found it. The compiler is throwing a fit on this line of code: var kpiList:Array = (this.myData as Array)[0]; if I remove as Array, then it compiles and the compiler no longer explodes. I actually added the as Array in because Flex gave me a warning that I was casting Object to Array and I should do it manually! :-) No it compiles, all I have to do is get this code to actually run in Beta 2, at the moment I'm getting a blue screen in my browser, no loading bar, and no application. Argh! Tim. --- In flexcoders@yahoogroups.com, bhaq1972 mbhaque@ wrote: I'm also fustrated by this internal build error. the whole of my monday was wasted on it. i've now gone back to starting the project all over again, but only bringing in a class(or mxml) at a time. painfully slow but has broken yet. --- In flexcoders@yahoogroups.com, Michael Schmalle teoti.graphix@ wrote: Hi, I wrote a couple lengthy posts on this forum. ;-) Search for internal build error, you should see some things I have encountered. Peace, Mike On 3/28/06, Tim Sawyer lists@ wrote: I'm getting An internal build error has occurred. Please check the Error Log. The log says: !ENTRY com.adobe.flexbuilder.project 4 43 2006-03-28 16:28:20.702 !MESSAGE Uncaught exception in compiler !STACK 0 java.lang.NullPointerException at macromedia.asc.semantics.ConstantEvaluator.evaluate (ConstantEvaluator.java :948) at macromedia.asc.parser.MemberExpressionNode.evaluate( MemberExpressionNode.java:31) at macromedia.asc.semantics.ConstantEvaluator.evaluate (ConstantEvaluator.java :1606) at macromedia.asc.parser.ArgumentListNode.evaluate (ArgumentListNode.java:28) at macromedia.asc.semantics.ConstantEvaluator.evaluate (ConstantEvaluator.java :727) at macromedia.asc.parser.SetExpressionNode.evaluate (SetExpressionNode.java :39) at macromedia.asc.semantics.ConstantEvaluator.evaluate (ConstantEvaluator.java :1040) at macromedia.asc.parser.MemberExpressionNode.evaluate( MemberExpressionNode.java:31) at macromedia.asc.semantics.ConstantEvaluator.evaluate (ConstantEvaluator.java :1635) at macromedia.asc.parser.ListNode.evaluate (ListNode.java:27) at macromedia.asc.semantics.ConstantEvaluator.evaluate (ConstantEvaluator.java :1734) at macromedia.asc.parser.ExpressionStatementNode.evaluate( ExpressionStatementNode.java:33) at macromedia.asc.semantics.ConstantEvaluator.evaluate (ConstantEvaluator.java :1714) at macromedia.asc.parser.StatementListNode.evaluate (StatementListNode.java :34) at macromedia.asc.semantics.ConstantEvaluator.evaluate (ConstantEvaluator.java :1786) at macromedia.asc.parser.IfStatementNode.evaluate (IfStatementNode.java:34) at macromedia.asc.semantics.ConstantEvaluator.evaluate (ConstantEvaluator.java :1714) at macromedia.asc.parser.StatementListNode.evaluate (StatementListNode.java :34) at macromedia.asc.semantics.ConstantEvaluator.evaluate (ConstantEvaluator.java :2220) at macromedia.asc.parser.FunctionCommonNode.evaluate (FunctionCommonNode.java :87) at macromedia.asc.semantics.ConstantEvaluator.evaluate (ConstantEvaluator.java :2910) at macromedia.asc.parser.ClassDefinitionNode.evaluate( ClassDefinitionNode.java:86) at macromedia.asc.semantics.ConstantEvaluator.evaluate
[flexcoders] Re: how to get the Bitmap/BitmapData of controls
I have a similar question. How to get the image as part of the screen and save it to local disk/or server side (maybe using java)? Thanks a lot! --- In flexcoders@yahoogroups.com, feiyhy [EMAIL PROTECTED] wrote: somebody can tell me how to get the Bitmap/BitmapData of a control,such as the Button's BitmapData? i know the Image control's Bitmap is the first child of it,so where is it of other controls? -- Flexcoders Mailing 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: need help with programatic skin
Or paddingleft and right? Which depends on the version of flex your using beta 1or 2. Jason -Message d'origine-De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part de Michael SchmalleEnvoyé: mercredi 29 mars 2006 13:39À: flexcoders@yahoogroups.comObjet: Re: [flexcoders] Re: need help with programatic skinHi,From what I gather your are looking for the 'marginRight' and 'marginLeft' css styles. Button does not support 'marginTop' and 'marginBottom' css styles.If I were to have made this Button I would have included this. Adobe, what was your reasoning for not allowing us to have top and bottom margins?I can think of a couple things I could use it for.Peace, Mike On 3/29/06, shemeshkale [EMAIL PROTECTED] wrote: not what i meant.a button in flex have a default "gap" (padding in html/css) betweentext and the buttons border - on both leftright sides.how do i change this? --- In flexcoders@yahoogroups.com, "Jason Hawryluk" [EMAIL PROTECTED] wrote: If I understand you question correctly. Have a look at thetextIndent style this can be set via css or property, otherwise your going to haveto extend the button. for example css file mx:Style .IndentedtextButton{ cornerRadius: 0; textIndent: 15; fontWeight: "normal"; } /mx:Style mx:Button textAlign="left" styleName="IndentedtextButton" width="150" label="Test" / or mx:Button textAlign="left" textIndent="15" width="150" label="Test" / Hope that helps Jason -Message d'origine- De : flexcoders@yahoogroups.com[mailto:flexcoders@yahoogroups.com]De la part de shemeshkale Envoyé : mercredi 29 mars 2006 09:11 À : flexcoders@yahoogroups.com Objet : [flexcoders] Re: need help with programatic skin PLEASE HELP ! or please refer me to a place i can learn... --- In flexcoders@yahoogroups.com, "shemeshkale" baldhead72@ wrote: hi, i m working with the basic HALO skin. i m trying to change some things without luck. PLEASE HELP: - how do i change the padding (the space between the text and the border) inside a button? i want to make a deafult 2px. - i want to make a top and bottom border on the selected item ofa tree. - i want to change the gray arrow in the tree to a +\- sign. how do i do this? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:http://www.mail-archive.com/flexcoders%40yahoogroups.com -- YAHOO! GROUPS LINKS a.. Visit your group "flexcoders" on the web. b.. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Too many mistakes
hello,everyone When I read the help content of Flex Builder 2 beta 2,I find many mistakes,such as use Link instead of LinkButton which is not exist in Flex 2. And the example code also make mistakes. When I follow the help,many errors occour. So boring. I am a beginner,I find flex 2 is not so good,at least, not easy to learn by read the help in which many mistakes. Will Adobe make it better ? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] How to create database connectivity with flex programming? or how to access database by flex/cold fusion connectivity?
HiI am new to flex programming.How to create database connectivity with flex programming? or how to access database by flex/cold fusion connectivity?. I searched many flexlearning articles. I did not get any solution. Please help me.Advance Thanks Jiyo cricket on Yahoo! India cricket Yahoo! Messenger Mobile Stay in touch with your buddies all the time. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Message destinations in the context of a multi-room chat app
I haven't actually had a chance to play with FDS yet (and I am unfamiliar what exactly a destination is in this context) but what you describe sounds like a definite limitation. Would you be able to post some code that shows how and where this problem surfaces? Stefan From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom BraySent: 29 March 2006 00:49To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Message destinations in the context of a multi-room chat app Stefan, it's nice to know I'm not alone over here!Regarding using FMS and FDS together, I'd like to be able to rebuild this app:http://www.userplane.com/webchat/using FDS for all the text messaging and data synchronization and FMSfor the live AV. So far, I don't see a clear path to that goalwithout dynamic destinations or some equivalent approach. RemoteShared Objects in FMS are essentially dynamic destinations the way weuse them in our apps.-TomOn 3/28/06, Stefan Richter [EMAIL PROTECTED] wrote: Good question and one for Adobe to answer - and I don't mean the specific implementation but: where does FMS/FCS stop and FDS start? Should we really be building chat apps with FDS? I'm sure I am not the only one still a little confused by the crossover of functionalities. Stefan BTW hello list, long time lurker first time poster here From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Bray Sent: 28 March 2006 20:19 To: flexcoders@yahoogroups.com Subject: [flexcoders] Message destinations in the context of a multi-room chat app I've been trying to understand how to configure destinations in the context of a multi-room chat application where the rooms are dynamically created. Here's the scenario: The application loads a configuration file that specifies what rooms to create. In this case, let's say that list includes the rooms Lobby, Sales, and Support. In additon to these dynamically created rooms, individual users can create new rooms from within the application. My first thought was that each room would be a message destination (topic), but it doesn't appear that destinations can be dynamically created. Then I thought I'd have a single destination but use selectors on the consumer component to determine which room's messages should be displayed in the chat output area, but that would mean that all messages for all rooms would go to all clients whether they were in that room or not. How would you handle this? I'm coming at this from the perspective of a Flash Communication Server developer and I'm trying to figure out if what I've done in FCS can be replicated or, hopefully, surpassed with FDS. Thanks, Tom -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Setting the focus to a tree branch
I've just finished moving my app from Flex2 b1 to Flex2 b2, but I've still got one problem I can't solve. I'm trying to set the focus to a specific branch of a tree component. Here's the function that worked in Beta 1: private function initTree():void { var nodeRef:Object = treeJobs.getNodeDisplayedAt(6); treeJobs.setIsOpen(nodeRef, true); treeJobs.setFocusedCell(nodeRef); } But Beta 2 doesn't like the setFocusedCell() method. Is there a replacement for setFocusedCell in Beta 2, or is there a better way to do this? Thanks Much! Clarke -- Flexcoders Mailing 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] Image and click event??? Flex 2 B2
On 3/28/06, Manish Jethani [EMAIL PROTECTED] wrote: On 3/29/06, Douglas Knudsen [EMAIL PROTECTED] wrote: Ok, so I have a TileList using a itemRenderer known as Thumb.mxml. In Thumb.mxml I have mx:Image id=up source={upArrow} visible=false click=mx.controls.Alert.show('hello');/ I mash run, all looks good. When I click on the image, nada, as in nothing occurs. If I change the event to mouseOver, mouseDown, etc...it works. Shouldn't click work too? Works for me. Possible that the TileList is captuting the mouse events (I think we did that in Beta 2). from the docs: The event will only be dispatched by the component if the mouse is not also over a child of the component that has a click event listener, or the component is not obscured by another component with a click event listener. http://livedocs.macromedia.com/labs/1/flex20beta2/langref/mx/core/UIComponent.html So, if I have no click listener in the TileList, the click in the image should fire, eh? Or am I reading this wrong? Solution: listen for itemClick on the TileList followed by a hitTestPoint() (or just compare the columnIndex and rowIndex) My itemRender has several items in it that may be clickable though. DK Manish -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- 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 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] creating states with effects programatically
if you mean states as declared in mxml, yes they work fine. this code ported seemlesly from beta1 to beta2 (adobe's port tool doing the trick) and te transition never worked in either.On 3/28/06, Jignesh Dodiya [EMAIL PROTECTED] wrote: Hi, Nell, thanx for ur strict comment on some thread just earlier... I am interested toknow , does your code worked well for Flex-2 beta-1 .??? coz i have coded one state and transition applicationthat works fine for flex-2 beta-1 but when i upgrade to flex-2 beta-2 it just stop working... Idid relevent changes accordinglyin code but still hunting for appropiate docsthat may work for flex-2 beta-2. On 3/29/06, Johannes Nel [EMAIL PROTECTED] wrote: hi allI am able to create states fine programatically, even assign transitions to the view, but my transitions don't trigger when i switch from one state to another var stateArray:Array = (__view.states != null)?__view.states.concat(): new Array(); var nState:State = new State(); nState.name = Open; var propw:SetProperty = new SetProperty(__view,percentWidth,100); var proph:SetProperty = new SetProperty(__view,percentHeight,100);; nState.overrides.push(propw); nState.overrides.push(proph); stateArray.push(nState); nState = new State(); nState.name = Closed; var propw:SetProperty = new SetProperty(__view,width,__collapsedSize); var proph:SetProperty = new SetProperty(__view,height,__collapsedSize);; nState.overrides.push(propw); nState.overrides.push(proph); stateArray.push(nState); var nTransition:Transition = new Transition(); //nTransition.fromState = Open; //nTransition.toState = Close; var res:Resize = new Resize(); res.target = __view; res.duration = 400; nTransition.effect = res; __view.transitions = __view.transitions || new Array(); __view.transitions.push(nTransition); __view.states = stateArray; thanks in advance for any help.j-- j:pn http://www.lennel.org --Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- jignesh dodiya -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- j:pn http://www.lennel.org -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Re: Using mxml without flex framework (Flex 2 Beta 1 and 2)
Yes and if i would actually buy Flex Builder, i really would like to use the tool to my own needs. When making up the architecture of my app, i want to be able to decide a - if i want to use the flex framework b - if i want to use mxml or if i just want to make an actionscript project And i want to be able to make those two decisions separately. --- In flexcoders@yahoogroups.com, Johannes Nel [EMAIL PROTECTED] wrote: in the context of the current topic i still don't get what you mean. paying for an ide is not a problem, its to be expected. about the topic at hand: it would have been nice if i could have used mxml to layout any type of app. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: FLEX and Open Lazslo Comparision
I haven't used OL, but I'm surprised no one has mentioned their support for alternate runtimes (eg. one markup generating either AJAX or Flash). I would imagine that might appeal to those for whom the non-open-source nature of the Flash player is an issue, or those who have other concerns about the player dependency. Thoughts? - Richard On 3/28/06, Bryan Rieger [EMAIL PROTECTED] wrote: Thanks everyone! This input is fantastic. Lots to learn and think about, but I'm really glad I took the time to look at Flex 2. Sincerely, Bryan -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Roger Gonzalez Sent: Tuesday, March 28, 2006 12:07 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: FLEX and Open Lazslo Comparision Does it happen to remove the unused components? What if I'm only using one button - does Flex include all components? Flex only includes classes found in the dependency chain from your application class (or configuration settings). When you create an application that extends mx.core.Application, you get a bunch of things that a toy application might not need, but that a real-world application probably will. A Flex app has a higher initial cost, but levels off. Flex also allows you to write your own frameworks from scratch in AS. I believe they're also working on ways to use shared runtime libraries/frameworks so it'll be possible to include apps that don't include the framework, instead reuse the libs supplied in the container application - makes it easier to break your apps into smaller, reuseable modules. Flex has this today. See the runtime-shared-libraries and externs and external-library-path configuration options. -rg -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: need help with programatic skin
Did they take it all out? Heh, I havn't even tried, so if that is the case disregaurd my post ;-) Peace, MikeOn 3/29/06, Jason Hawryluk [EMAIL PROTECTED] wrote: Or paddingleft and right? Which depends on the version of flex your using beta 1or 2. Jason -Message d'origine-De: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com]De la part de Michael SchmalleEnvoyé: mercredi 29 mars 2006 13:39À: flexcoders@yahoogroups.comObjet: Re: [flexcoders] Re: need help with programatic skinHi,From what I gather your are looking for the 'marginRight' and 'marginLeft' css styles. Button does not support 'marginTop' and 'marginBottom' css styles.If I were to have made this Button I would have included this. Adobe, what was your reasoning for not allowing us to have top and bottom margins?I can think of a couple things I could use it for.Peace, Mike On 3/29/06, shemeshkale [EMAIL PROTECTED] wrote: not what i meant.a button in flex have a default gap (padding in html/css) betweentext and the buttons border - on both leftright sides.how do i change this? --- In flexcoders@yahoogroups.com , Jason Hawryluk [EMAIL PROTECTED] wrote: If I understand you question correctly. Have a look at thetextIndent style this can be set via css or property, otherwise your going to haveto extend the button. for example css file mx:Style .IndentedtextButton{ cornerRadius: 0; textIndent: 15; fontWeight: normal; } /mx:Style mx:Button textAlign=left styleName=IndentedtextButton width=150 label=Test / or mx:Button textAlign=left textIndent=15 width=150 label=Test / Hope that helps Jason -Message d'origine- De : flexcoders@yahoogroups.com[mailto: flexcoders@yahoogroups.com]De la part de shemeshkale Envoyé : mercredi 29 mars 2006 09:11 À : flexcoders@yahoogroups.com Objet : [flexcoders] Re: need help with programatic skin PLEASE HELP ! or please refer me to a place i can learn... --- In flexcoders@yahoogroups.com, shemeshkale baldhead72@ wrote: hi, i m working with the basic HALO skin. i m trying to change some things without luck. PLEASE HELP: - how do i change the padding (the space between the text and the border) inside a button? i want to make a deafult 2px. - i want to make a top and bottom border on the selected item ofa tree. - i want to change the gray arrow in the tree to a +\- sign. how do i do this? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:http://www.mail-archive.com/flexcoders%40yahoogroups.com -- YAHOO! GROUPS LINKS a.. Visit your group flexcoders on the web. b.. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] creating states with effects programatically
ok.. i was mainly concern about the transition effect..coz in my code, states transition effect codeding inmxml file and i justfollowed transitionFlexStore example)also works fine..but only the thing is the Transition Effect. I am not saying that it completely not work but its working behaviour is abnormal Regards; jignesh On 3/29/06, Johannes Nel [EMAIL PROTECTED] wrote: if you mean states as declared in mxml, yes they work fine. this code ported seemlesly from beta1 to beta2 (adobe's port tool doing the trick) and te transition never worked in either. On 3/28/06, Jignesh Dodiya [EMAIL PROTECTED] wrote: Hi, Nell, thanx for ur strict comment on some thread just earlier... I am interested toknow , does your code worked well for Flex-2 beta-1 .??? coz i have coded one state and transition applicationthat works fine for flex-2 beta-1 but when i upgrade to flex-2 beta-2 it just stop working... Idid relevent changes accordinglyin code but still hunting for appropiate docsthat may work for flex-2 beta-2. On 3/29/06, Johannes Nel [EMAIL PROTECTED] wrote: hi allI am able to create states fine programatically, even assign transitions to the view, but my transitions don't trigger when i switch from one state to another var stateArray:Array = (__view.states != null)?__view.states.concat(): new Array();var nState:State = new State(); nState.name = Open; var propw:SetProperty = new SetProperty(__view,percentWidth,100); var proph:SetProperty = new SetProperty(__view,percentHeight,100);;nState.overrides.push(propw); nState.overrides.push(proph); stateArray.push(nState); nState = new State(); nState.name = Closed;var propw:SetProperty = new SetProperty(__view,width,__collapsedSize); var proph:SetProperty = new SetProperty(__view,height,__collapsedSize);; nState.overrides.push(propw); nState.overrides.push(proph); stateArray.push(nState); var nTransition:Transition = new Transition(); //nTransition.fromState = Open;//nTransition.toState = Close; var res:Resize = new Resize(); res.target = __view; res.duration = 400; nTransition.effect = res; __view.transitions = __view.transitions || new Array(); __view.transitions.push(nTransition); __view.states = stateArray; thanks in advance for any help.j-- j:pn http://www.lennel.org --Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- jignesh dodiya --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- j:pn http://www.lennel.org --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- jignesh dodiya -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. 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: Fex2 - Asynchronous Completion Token
Thank u Jeff. That worked! Very nice looking class you got there. Couldn't agree with u more. BTW I did have a work around which looked like this service1.HelloWorld.send(); service1.HelloWorld.addEventListener(result, returnMe); or service1.HelloWorld.addEventListener(ResultEvent.RESULT, returnMe); but the only problem was i can't call webservices which have arguments. But your code has done the trick. regards Bod --- In flexcoders@yahoogroups.com, Jeff Tapper [EMAIL PROTECTED] wrote: Take a look at the makeRemoteCall() method of the DataManager class I wrote (http://jeff.mxdj.com/as3_datamanager.htm). This does the flex 2 version of what you are looking for. At 06:51 AM 3/29/2006, bhaq1972 wrote: This is another one of those questions 'i could do this in flex1.5 but now cant in flex2b2'. in flex1.5 this worked well var call = service1.HelloWorld(); //service1 is a mx:WebService call.onResult = mx.utils.Delegate.create(this, returnHelloWorld); i cant do this in flex2b2 event after removing the Delegate. any ideas? thanks in advance -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtht tp://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders% 40yahoogroups.comhttp://www.mail-archive.com/flexcoders% 40yahoogroups.com -- YAHOO! GROUPS LINKS * Visit your group http://groups.yahoo.com/group/flexcodersflexcoders on the web. * * To unsubscribe from this group, send an email to: * mailto:[EMAIL PROTECTED] subject=Unsubscribe[EMAIL PROTECTED] * * Your use of Yahoo! Groups is subject to the http://docs.yahoo.com/info/terms/Yahoo! Terms of Service. -- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] creating states with effects programatically
like how?On 3/29/06, Jignesh Dodiya [EMAIL PROTECTED] wrote: ok.. i was mainly concern about the transition effect..coz in my code, states transition effect codeding inmxml file and i justfollowed transitionFlexStore example)also works fine..but only the thing is the Transition Effect. I am not saying that it completely not work but its working behaviour is abnormal Regards; jignesh On 3/29/06, Johannes Nel [EMAIL PROTECTED] wrote: if you mean states as declared in mxml, yes they work fine. this code ported seemlesly from beta1 to beta2 (adobe's port tool doing the trick) and te transition never worked in either. On 3/28/06, Jignesh Dodiya [EMAIL PROTECTED] wrote: Hi, Nell, thanx for ur strict comment on some thread just earlier... I am interested toknow , does your code worked well for Flex-2 beta-1 .??? coz i have coded one state and transition applicationthat works fine for flex-2 beta-1 but when i upgrade to flex-2 beta-2 it just stop working... Idid relevent changes accordinglyin code but still hunting for appropiate docsthat may work for flex-2 beta-2. On 3/29/06, Johannes Nel [EMAIL PROTECTED] wrote: hi allI am able to create states fine programatically, even assign transitions to the view, but my transitions don't trigger when i switch from one state to another var stateArray:Array = (__view.states != null)?__view.states.concat(): new Array();var nState:State = new State(); nState.name = Open; var propw:SetProperty = new SetProperty(__view,percentWidth,100); var proph:SetProperty = new SetProperty(__view,percentHeight,100);;nState.overrides.push(propw); nState.overrides.push(proph); stateArray.push(nState); nState = new State(); nState.name = Closed;var propw:SetProperty = new SetProperty(__view,width,__collapsedSize); var proph:SetProperty = new SetProperty(__view,height,__collapsedSize);; nState.overrides.push(propw); nState.overrides.push(proph); stateArray.push(nState); var nTransition:Transition = new Transition(); //nTransition.fromState = Open;//nTransition.toState = Close; var res:Resize = new Resize(); res.target = __view; res.duration = 400; nTransition.effect = res; __view.transitions = __view.transitions || new Array(); __view.transitions.push(nTransition); __view.states = stateArray; thanks in advance for any help.j-- j:pn http://www.lennel.org --Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- jignesh dodiya --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- j:pn http://www.lennel.org --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- jignesh dodiya -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- j:pn http://www.lennel.org -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of
[flexcoders] Re: need help with programatic skin
that is the direction of my thought, but... allready tried that - it seems to have some minimum!! i cant do marginRight=0... when i do that i still have this damn space that i cant get rid of. i saw in the Button.as a property called 'extraSpacing' that it does exactly that.. how do i make it zero !! --- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, From what I gather your are looking for the 'marginRight' and 'marginLeft' css styles. Button does not support 'marginTop' and 'marginBottom' css styles. If I were to have made this Button I would have included this. Adobe, what was your reasoning for not allowing us to have top and bottom margins? I can think of a couple things I could use it for. Peace, Mike On 3/29/06, shemeshkale [EMAIL PROTECTED] wrote: not what i meant. a button in flex have a default gap (padding in html/css) between text and the buttons border - on both leftright sides. how do i change this? --- In flexcoders@yahoogroups.com, Jason Hawryluk jh@ wrote: If I understand you question correctly. Have a look at the textIndent style this can be set via css or property, otherwise your going to have to extend the button. for example css file mx:Style .IndentedtextButton{ cornerRadius: 0; textIndent: 15; fontWeight: normal; } /mx:Style mx:Button textAlign=left styleName=IndentedtextButton width=150 label=Test / or mx:Button textAlign=left textIndent=15 width=150 label=Test / Hope that helps Jason -Message d'origine- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la part de shemeshkale Envoyé : mercredi 29 mars 2006 09:11 À : flexcoders@yahoogroups.com Objet : [flexcoders] Re: need help with programatic skin PLEASE HELP ! or please refer me to a place i can learn... --- In flexcoders@yahoogroups.com, shemeshkale baldhead72@ wrote: hi, i m working with the basic HALO skin. i m trying to change some things without luck. PLEASE HELP: - how do i change the padding (the space between the text and the border) inside a button? i want to make a deafult 2px. - i want to make a top and bottom border on the selected item of a tree. - i want to change the gray arrow in the tree to a +\- sign. how do i do this? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com -- YAHOO! GROUPS LINKS a.. Visit your group flexcoders on the web. b.. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com -- YAHOO! GROUPS LINKS - Visit your group flexcodershttp://groups.yahoo.com/group/flexcoders on the web. - To unsubscribe from this group, send an email to: [EMAIL PROTECTED][EMAIL PROTECTED] - Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/. -- -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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] Too many mistakes
Hi Michael, You are absolutely correct. Beta products are not production ready and they have mistakes. I am thinking to use the Flex charting in my application. I can see that Flex 2 is in beta and Flex 1.5 is prod stable but lack in features. Moreover, if I now invest time in Flex 1.5 there is complete re-design on actionscript and lot of other changes too. Is there any way by which we can start with Flex 2.0 without facing much trouble?I am a Java architect and for the first time I am looking at RIA like Flex or OL. Any comments regarding my problems will be strongly appriciated.Regards, SachinMichael Schmalle [EMAIL PROTECTED] wrote: Hi,Do you know what beta means? It means there are mistakes everywhere and they are cleaning them up.Besides, if you are going to use beta software, your mind has to be a problem solver from the start. You can't rely on examples, you have to experiment. There IS enough good examples and docs to get things to work.Peace, Mike On 3/29/06, snail [EMAIL PROTECTED] wrote:hello,everyone When I read the help content of Flex Builder 2 beta 2,I find many mistakes,such as use "Link" instead of "LinkButton" which is not exist in Flex 2. And the example code also make mistakes. When I follow the help,many errors occour. So boring. I am a beginner,I find flex 2 is not so good,at least, not easy to learn by read the help in which many mistakes. Will Adobe make it better ?--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. New Yahoo! Messenger with Voice. Call regular phones from your PC and save big. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Re: need help with programatic skin
you could use extraSpacing="0" even though the property does not appear in the list. I just tried it. The default is 20 and it does get ride of the extra space. mx:Button extraSpacing="0"label="Add Task" / For anything else you want to try, try extending the button.. in line Create a folder called Extendbutton and create a as class with this code and name the class Extendedbutton. From here you have absolute control of every aspect of a control.Anything can be extended. You can override functions properties etc.. package Extendbutton {import mx.controls.Button;import flash.util.trace;public class Extendedbutton extends Button {public function Extendedbutton():void{super();super.extraSpacing = 10;trace(super.extraSpacing);}}} hope this helps jason -Message d'origine-De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part de shemeshkaleEnvoyé: mercredi 29 mars 2006 15:01À: flexcoders@yahoogroups.comObjet: [flexcoders] Re: need help with programatic skinthat is the direction of my thought, but...allready tried that - it seems to have some minimum!!i cant do marginRight="0"... when i do that i still have this damnspace that i cant get rid of.i saw in the Button.as a property called 'extraSpacing' that it doesexactly that.. how do i make it zero !!--- In flexcoders@yahoogroups.com, "Michael Schmalle"[EMAIL PROTECTED] wrote: Hi, From what I gather your are looking for the 'marginRight' and'marginLeft' css styles. Button does not support 'marginTop' and 'marginBottom' css styles. If I were to have made this Button I would have included this.Adobe, what was your reasoning for not allowing us to have top and bottom margins? I can think of a couple things I could use it for. Peace, Mike On 3/29/06, shemeshkale [EMAIL PROTECTED] wrote: not what i meant. a button in flex have a default "gap" (padding in html/css) between text and the buttons border - on both leftright sides. how do i change this? --- In flexcoders@yahoogroups.com, "Jason Hawryluk" jh@ wrote: If I understand you question correctly. Have a look at the textIndent style this can be set via css or property, otherwise your going to have to extend the button. for example css file mx:Style .IndentedtextButton{ cornerRadius: 0; textIndent: 15; fontWeight: "normal"; } /mx:Style mx:Button textAlign="left" styleName="IndentedtextButton"width="150" label="Test" / or mx:Button textAlign="left" textIndent="15" width="150"label="Test" / Hope that helps Jason -Message d'origine- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la part de shemeshkale Envoyé : mercredi 29 mars 2006 09:11 À : flexcoders@yahoogroups.com Objet : [flexcoders] Re: need help with programatic skin PLEASE HELP ! or please refer me to a place i can learn... --- In flexcoders@yahoogroups.com, "shemeshkale" baldhead72@wrote: hi,i m working with the basic HALO skin.i m trying to change some things without luck. PLEASE HELP: - how do i change the padding (the space between the textand theborder) inside a button? i want to make a deafult 2px.- i want to make a top and bottom border on the selected item of a tree.- i want to change the gray arrow in the tree to a +\- sign. how do i do this? -- Flexcoders Mailing List FAQ:http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com -- YAHOO! GROUPS LINKS a.. Visit your group "flexcoders" on the web. b.. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:http://www.mail-archive.com/flexcoders%40yahoogroups.com -- YAHOO! GROUPS LINKS - Visit your group"flexcodershttp://groups.yahoo.com/group/flexcoders" on the web. - To unsubscribe from this group, send an email to: [EMAIL PROTECTED][EMAIL PROTECTED] - Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/. -- -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:
Re: [flexcoders] Too many mistakes
Honestly, This beta 2 ROCKS! There are only things that you will need to to tweak down the road. I have created a full AS3/MXML documenter/renderer like JavaDOC inside Flex starting from the alpha release. Things are going great. My approach was; Build the application's logic and structure as we head through the beta stages. By the time my app model and algoritthms are out of beta for my app, Flex will be public and then I can focus on a 'bug free' UI implementation (this has changed recently due to some contests ;-). I know this dosn't suite a lot of developers but, it has worked this far for me. This beta2 release didn't mess me up at all becasue I am focusing on logic no the UI. Peace, MikeOn 3/29/06, Sachin Dharmapurikar [EMAIL PROTECTED] wrote: Hi Michael, You are absolutely correct. Beta products are not production ready and they have mistakes. I am thinking to use the Flex charting in my application. I can see that Flex 2 is in beta and Flex 1.5 is prod stable but lack in features. Moreover, if I now invest time in Flex 1.5 there is complete re-design on actionscript and lot of other changes too. Is there any way by which we can start with Flex 2.0 without facing much trouble?I am a Java architect and for the first time I am looking at RIA like Flex or OL. Any comments regarding my problems will be strongly appriciated.Regards, Sachin Michael Schmalle [EMAIL PROTECTED] wrote: Hi,Do you know what beta means? It means there are mistakes everywhere and they are cleaning them up.Besides, if you are going to use beta software, your mind has to be a problem solver from the start. You can't rely on examples, you have to experiment. There IS enough good examples and docs to get things to work.Peace, Mike On 3/29/06, snail [EMAIL PROTECTED] wrote: hello,everyone When I read the help content of Flex Builder 2 beta 2,I find many mistakes,such as use Link instead of LinkButton which is not exist in Flex 2. And the example code also make mistakes. When I follow the help,many errors occour. So boring. I am a beginner,I find flex 2 is not so good,at least, not easy to learn by read the help in which many mistakes. Will Adobe make it better ?--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. New Yahoo! Messenger with Voice. Call regular phones from your PC and save big. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Run shortcut
I am having trouble configuring a keyboard shortcut for 'Run'. The preferences suggest that Ctrl-F11 should work but it doesn't for me and neither do any newly configured ones. Could someone walk me though this? I kinda fancy Ctrl-Enter as my shortcut to run my app (Ctrl-Shift-enter for debugging) from either design or code view. How is it done? I managed to set this up in Eclipse but in FB2 it's a no go for me. Alt+Shift+X also seems to do something but apart from pop up a little panel in the bottom right that's dead also. Stefan -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Re: need help with programatic skin
Well, unfortunatly... If you can't find the answer, when the actual source comes out(public release) you can just extend the Button to do as you wish. I can't wait till I can see implementations so I can progress with some more complicated extensions of these components Right now it's a shot in the dark. Ironically, if you are not a component developer, OOP should come in and you should be able to extend without looking at the source implementation. Peace, MikeOn 3/29/06, shemeshkale [EMAIL PROTECTED] wrote: that is the direction of my thought, but... allready tried that - it seems to have some minimum!! i cant do marginRight=0... when i do that i still have this damn space that i cant get rid of. i saw in the Button.as a property called 'extraSpacing' that it does exactly that.. how do i make it zero !! --- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, From what I gather your are looking for the 'marginRight' and 'marginLeft' css styles. Button does not support 'marginTop' and 'marginBottom' css styles. If I were to have made this Button I would have included this. Adobe, what was your reasoning for not allowing us to have top and bottom margins? I can think of a couple things I could use it for. Peace, Mike On 3/29/06, shemeshkale [EMAIL PROTECTED] wrote: not what i meant. a button in flex have a default gap (padding in html/css) between text and the buttons border - on both leftright sides. how do i change this? --- In flexcoders@yahoogroups.com, Jason Hawryluk jh@ wrote: If I understand you question correctly. Have a look at the textIndent style this can be set via css or property, otherwise your going to have to extend the button. for example css file mx:Style .IndentedtextButton{ cornerRadius: 0; textIndent: 15; fontWeight: normal; } /mx:Style mx:Button textAlign=left styleName=IndentedtextButton width=150 label=Test / or mx:Button textAlign=left textIndent=15 width=150 label=Test / Hope that helps Jason -Message d'origine- De : flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com]De la part de shemeshkale Envoyé : mercredi 29 mars 2006 09:11 À : flexcoders@yahoogroups.com Objet : [flexcoders] Re: need help with programatic skin PLEASE HELP ! or please refer me to a place i can learn... --- In flexcoders@yahoogroups.com, shemeshkale baldhead72@ wrote: hi, i m working with the basic HALO skin. i m trying to change some things without luck. PLEASE HELP: - how do i change the padding (the space between the text and the border) inside a button? i want to make a deafult 2px. - i want to make a top and bottom border on the selected item of a tree. - i want to change the gray arrow in the tree to a +\- sign. how do i do this? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com -- YAHOO! GROUPS LINKS a.. Visit your group flexcoders on the web. b.. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com -- YAHOO! GROUPS LINKS - Visit your group flexcodershttp://groups.yahoo.com/group/flexcoders on the web. - To unsubscribe from this group, send an email to: [EMAIL PROTECTED] [EMAIL PROTECTED] - Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/. -- -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send
Re: [flexcoders] creating states with effects programatically
Hi, I have strange transition problem is as follow.. written code in mxml. and not in AS-3 i have a combobox and two redio button..in my appliccation clicking on one radio button, the panel length increases to accomodate another combobox and a send button, clicking on another redio button, it reverse back to one combobx in panel with smooth transiton with 500 msec time duraton. all arranged vertically in Panel control. On compiling the application, and clicking radio button one, the panel shows one combobox and clicking it just working as required in transition with smooth transition but while clicking another radio button (it should be reversed with smooth transition) it just reverse back in a glimpse, no transition effect seen.. again on clicking radio button one, it resizes in a glimpse woth no transition motion,,, in short, at the very first time the transition works but then after no transition effect at all. regards, Jignesh On 3/29/06, Johannes Nel [EMAIL PROTECTED] wrote: like how? On 3/29/06, Jignesh Dodiya [EMAIL PROTECTED] wrote: ok.. i was mainly concern about the transition effect..coz in my code, states transition effect codeding inmxml file and i justfollowed transitionFlexStore example)also works fine..but only the thing is the Transition Effect. I am not saying that it completely not work but its working behaviour is abnormal Regards; jignesh On 3/29/06, Johannes Nel [EMAIL PROTECTED] wrote: if you mean states as declared in mxml, yes they work fine. this code ported seemlesly from beta1 to beta2 (adobe's port tool doing the trick) and te transition never worked in either. On 3/28/06, Jignesh Dodiya [EMAIL PROTECTED] wrote: Hi, Nell, thanx for ur strict comment on some thread just earlier... I am interested toknow , does your code worked well for Flex-2 beta-1 .??? coz i have coded one state and transition applicationthat works fine for flex-2 beta-1 but when i upgrade to flex-2 beta-2 it just stop working... Idid relevent changes accordinglyin code but still hunting for appropiate docsthat may work for flex-2 beta-2. On 3/29/06, Johannes Nel [EMAIL PROTECTED] wrote: hi allI am able to create states fine programatically, even assign transitions to the view, but my transitions don't trigger when i switch from one state to another var stateArray:Array = (__view.states != null)?__view.states.concat(): new Array();var nState:State = new State(); nState.name = Open; var propw:SetProperty = new SetProperty(__view,percentWidth,100); var proph:SetProperty = new SetProperty(__view,percentHeight,100);;nState.overrides.push(propw); nState.overrides.push(proph); stateArray.push(nState); nState = new State(); nState.name = Closed;var propw:SetProperty = new SetProperty(__view,width,__collapsedSize); var proph:SetProperty = new SetProperty(__view,height,__collapsedSize);; nState.overrides.push(propw); nState.overrides.push(proph); stateArray.push(nState); var nTransition:Transition = new Transition(); //nTransition.fromState = Open;//nTransition.toState = Close; var res:Resize = new Resize(); res.target = __view; res.duration = 400; nTransition.effect = res; __view.transitions = __view.transitions || new Array(); __view.transitions.push(nTransition); __view.states = stateArray; thanks in advance for any help.j-- j:pn http://www.lennel.org --Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- jignesh dodiya --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- j:pn http://www.lennel.org --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS
RE: [flexcoders] Too many mistakes
Mike, I have to second that. Im in exactly the same position. Concentrate on the backend and front end non UI related architecture. Consider that any UI you do, do is prototyping to give you a feel for the app and allow you to test the other back end stuff. I have been working since flex 1.5 actually learned flex from 1.5 then when the alpha came out started getting my hands dirty. We are in line to release shortly after Flex goes public. The betas as far as betas go is freaking sweet. If that doesnt suit you then start learning the framework trial and error, experiment, etc.. My .02 Jason -Message d'origine-De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part de Michael SchmalleEnvoyé: mercredi 29 mars 2006 16:59À: flexcoders@yahoogroups.comObjet: Re: [flexcoders] Too many mistakesHonestly,This beta 2 ROCKS!There are only things that you will need to to tweak down the road. I have created a full AS3/MXML documenter/renderer like JavaDOC inside Flex starting from the alpha release. Things are going great. My approach was;Build the application's logic and structure as we head through the beta stages. By the time my app model and algoritthms are out of beta for my app, Flex will be public and then I can focus on a 'bug free' UI implementation (this has changed recently due to some contests ;-).I know this dosn't suite a lot of developers but, it has worked this far for me. This beta2 release didn't mess me up at all becasue I am focusing on logic no the UI.Peace, Mike On 3/29/06, Sachin Dharmapurikar [EMAIL PROTECTED] wrote: Hi Michael, You are absolutely correct. Beta products are not production ready and they have mistakes. I am thinking to use the Flex charting in my application. I can see that Flex 2 is in beta and Flex 1.5 is prod stable but lack in features. Moreover, if I now invest time in Flex 1.5 there is complete re-design on actionscript and lot of other changes too. Is there any way by which we can start with Flex 2.0 without facing much trouble? I am a Java architect and for the first time I am looking at RIA like Flex or OL. Any comments regarding my problems will be strongly appriciated. Regards, Sachin Michael Schmalle [EMAIL PROTECTED] wrote: Hi,Do you know what beta means? It means there are mistakes everywhere and they are cleaning them up.Besides, if you are going to use beta software, your mind has to be a problem solver from the start. You can't rely on examples, you have to experiment. There IS enough good examples and docs to get things to work.Peace, Mike On 3/29/06, snail [EMAIL PROTECTED] wrote: hello,everyone When I read the help content of Flex Builder 2 beta 2,I find many mistakes,such as use "Link" instead of "LinkButton" which is not exist in Flex 2. And the example code also make mistakes. When I follow the help,many errors occour. So boring. I am a beginner,I find flex 2 is not so good,at least, not easy to learn by read the help in which many mistakes. Will Adobe make it better ?--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group " flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. New Yahoo! Messenger with Voice. Call regular phones from your PC and save big. --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up,
Re: [flexcoders] Too many mistakes
Actually, LinkButton does exist! (Not Link).ScottOn 3/29/06, snail [EMAIL PROTECTED] wrote: hello,everyone When I read the help content of Flex Builder 2 beta 2,I find many mistakes,such as use Link instead of LinkButton which is not exist in Flex 2. And the example code also make mistakes. When I follow the help,many errors occour. So boring. I am a beginner,I find flex 2 is not so good,at least, not easy to learn by read the help in which many mistakes. Will Adobe make it better ? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service . -- : : ) Scott -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. 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] Too many mistakes
hi Snail, i would like to share my experience my experiencewas same as u described earlier ...but then after i have decided to take help from the other resources. Flex coder yahoo group is the best i think, also other master developer's blog helped me a lot and still helping and i am leaning from that advanced developer's articles. so flex is not boaring if u go this way, I hope u can understand, just sharing my experience coz i have started learning flex from Flex-2 alfa itself no prior experience or knowledge and i got extreme interest in flex now... Just don't depend on the flex help documentation.. hope this will help u to create interest... Best of luck Jignesh Dodiya On 3/29/06, Sachin Dharmapurikar [EMAIL PROTECTED] wrote: Hi Michael, You are absolutely correct. Beta products are not production ready and they have mistakes. I am thinking to use the Flex charting in my application. I can see that Flex 2 is in beta and Flex 1.5 is prod stable but lack in features. Moreover, if I now invest time in Flex 1.5 there is complete re-design on actionscript and lot of other changes too. Is there any way by which we can start with Flex 2.0 without facing much trouble? I am a Java architect and for the first time I am looking at RIA like Flex or OL. Any comments regarding my problems will be strongly appriciated. Regards, Sachin Michael Schmalle [EMAIL PROTECTED] wrote: Hi,Do you know what beta means? It means there are mistakes everywhere and they are cleaning them up.Besides, if you are going to use beta software, your mind has to be a problem solver from the start. You can't rely on examples, you have to experiment. There IS enough good examples and docs to get things to work. Peace, Mike On 3/29/06, snail [EMAIL PROTECTED] wrote: hello,everyone When I read the help content of Flex Builder 2 beta 2,I find many mistakes,such as use Link instead of LinkButton which is not exist in Flex 2. And the example code also make mistakes. When I follow the help,many errors occour. So boring. I am a beginner,I find flex 2 is not so good,at least, not easy to learn by read the help in which many mistakes. Will Adobe make it better ?--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. New Yahoo! Messenger with Voice. Call regular phones from your PC and save big. --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- jignesh dodiya -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Re: databinding issue for combobox
Basically I am calling a query that will populate a combobox. Then the user will be able to use a click event that will send that value from the combo box to a datagrid. Right now it sends a value from the combobox to the datagrid, but what is displayed is [object Object] instead of the desired value. Here is an example: SCRIPT public var dp:Array; private function addRow():Void{ dgResources.addItem( {dept: cmbDept.selectedItem} ); } private function doResult(result:Array):Void { dp = result; } SCRIPT mx:RemoteObject id=ro endpoint=http://10.95.20.39:8500/flashservices/gateway; source=cfdocs.components.getPersonnel mx:method name=serviceDeptLOV result=doResult (event.result._items)/ /mx:RemoteObject mx:DataGrid id=dgResources mx:column mx:Array mx:DataGridColumn headerText=Department columnName=dept width=200 / /mx:Array /mx:columns /mx:DataGrid mx:ComboBox id=cmbDept dataProvider={dp}/ mx:Button label=Add click={addRow()} textAlign=center width=75/ **CFC Query cffunction name=serviceDeptLOV access=remote returntype=query cfquery name=getserviceDept datasource=spotDB SELECT ServiceDept FROM dbo.ServiceDeptLOV ORDER BY ServiceDept /cfquery cfreturn getserviceDept /cffunction --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: [object Object] means you are trying to display a complex object as text. Can you be more specific about what you mean when you say send the results from the combobox to a datagrid ? Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of rgwilson26 Sent: Tuesday, March 28, 2006 2:41 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] databinding issue for combobox I am working on an app where I am populating various combo boxes with results from my look up tables in a sql server database. I have no problem binding the results to the comboboxes dataProvider property. However, when I try to send the results from the combobox to a datagrid it populates the datagrid field with [object Object] instead of the selected item value. I can call a query and populate a datagrid directly and it doesn't seem to be an issue, so I am a little confused as to why it is a problem going from a combobox to a datagrid? Any suggestions? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: databinding issue for combobox
And you are looking for cmbDept.selectedItem.data or cmbDept.selectedItem.label? - Original Message - From: rgwilson26 To: flexcoders@yahoogroups.com Sent: Wednesday, March 29, 2006 10:15 AM Subject: [flexcoders] Re: databinding issue for combobox Basically I am calling a query that will populate a combobox. Then the user will be able to use a click event that will send that value from the combo box to a datagrid. Right now it sends a value from the combobox to the datagrid, but what is displayed is [object Object] instead of the desired value. Here is an example:SCRIPTpublic var dp:Array;private function addRow():Void{dgResources.addItem( {dept: cmbDept.selectedItem} );}private function doResult(result:Array):Void { dp = result; }SCRIPTmx:RemoteObject id="ro" endpoint="http://10.95.20.39:8500/flashservices/gateway" source="cfdocs.components.getPersonnel"mx:method name="serviceDeptLOV" result="doResult(event.result._items)"/ /mx:RemoteObjectmx:DataGrid id="dgResources"mx:columnmx:Arraymx:DataGridColumn headerText="Department" columnName="dept" width="200" //mx:Array/mx:columns/mx:DataGridmx:ComboBox id="cmbDept" dataProvider="{dp}"/mx:Button label="Add" click="{addRow()}" textAlign="center" width="75"/**CFC Querycffunction name="serviceDeptLOV" access="remote" returntype="query" cfquery name="getserviceDept" datasource="spotDB" SELECT ServiceDept FROM dbo.ServiceDeptLOV ORDER BY ServiceDept/cfquery cfreturn getserviceDept/cffunction--- In flexcoders@yahoogroups.com, "Tracy Spratt" [EMAIL PROTECTED] wrote: [object Object] means you are trying to display a complex object as text. Can you be more specific about what you mean when you say " send the results from the combobox to a datagrid "? Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of rgwilson26 Sent: Tuesday, March 28, 2006 2:41 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] databinding issue for combobox I am working on an app where I am populating various combo boxes with results from my look up tables in a sql server database. I have no problem binding the results to the comboboxes dataProvider property. However, when I try to send the results from the combobox to a datagrid it populates the datagrid field with [object Object] instead of the selected item value. I can call a query and populate a datagrid directly and it doesn't seem to be an issue, so I am a little confused as to why it is a problem going from a combobox to a datagrid? Any suggestions? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Re: need help with programatic skin
THANK U VERY MUCH.. this is a big step a head... me happy ! it seems that i need to learn about this method of extending and building components. where can i learn this? can u refer me to some place that explain this all procedure? --- In flexcoders@yahoogroups.com, Jason Hawryluk [EMAIL PROTECTED] wrote: you could use extraSpacing=0 even though the property does not appear in the list. I just tried it. The default is 20 and it does get ride of the extra space. mx:Button extraSpacing=0 label=Add Task / For anything else you want to try, try extending the button.. in line Create a folder called Extendbutton and create a as class with this code and name the class Extendedbutton. From here you have absolute control of every aspect of a control. Anything can be extended. You can override functions properties etc.. package Extendbutton { import mx.controls.Button; import flash.util.trace; public class Extendedbutton extends Button { public function Extendedbutton():void{ super(); super.extraSpacing = 10; trace(super.extraSpacing); } } } hope this helps jason -Message d'origine- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la part de shemeshkale Envoyé : mercredi 29 mars 2006 15:01 À : flexcoders@yahoogroups.com Objet : [flexcoders] Re: need help with programatic skin that is the direction of my thought, but... allready tried that - it seems to have some minimum!! i cant do marginRight=0... when i do that i still have this damn space that i cant get rid of. i saw in the Button.as a property called 'extraSpacing' that it does exactly that.. how do i make it zero !! --- In flexcoders@yahoogroups.com, Michael Schmalle teoti.graphix@ wrote: Hi, From what I gather your are looking for the 'marginRight' and 'marginLeft' css styles. Button does not support 'marginTop' and 'marginBottom' css styles. If I were to have made this Button I would have included this. Adobe, what was your reasoning for not allowing us to have top and bottom margins? I can think of a couple things I could use it for. Peace, Mike On 3/29/06, shemeshkale baldhead72@ wrote: not what i meant. a button in flex have a default gap (padding in html/css) between text and the buttons border - on both leftright sides. how do i change this? --- In flexcoders@yahoogroups.com, Jason Hawryluk jh@ wrote: If I understand you question correctly. Have a look at the textIndent style this can be set via css or property, otherwise your going to have to extend the button. for example css file mx:Style .IndentedtextButton{ cornerRadius: 0; textIndent: 15; fontWeight: normal; } /mx:Style mx:Button textAlign=left styleName=IndentedtextButton width=150 label=Test / or mx:Button textAlign=left textIndent=15 width=150 label=Test / Hope that helps Jason -Message d'origine- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la part de shemeshkale Envoyé : mercredi 29 mars 2006 09:11 À : flexcoders@yahoogroups.com Objet : [flexcoders] Re: need help with programatic skin PLEASE HELP ! or please refer me to a place i can learn... --- In flexcoders@yahoogroups.com, shemeshkale baldhead72@ wrote: hi, i m working with the basic HALO skin. i m trying to change some things without luck. PLEASE HELP: - how do i change the padding (the space between the text and the border) inside a button? i want to make a deafult 2px. - i want to make a top and bottom border on the selected item of a tree. - i want to change the gray arrow in the tree to a +\- sign. how do i do this? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com -- -- -- YAHOO! GROUPS LINKS a.. Visit your group flexcoders on the web. b.. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- -- -- --
RE: [flexcoders] Too many mistakes
Guys, as I said earlier we are planning to integrate charting with our application.We are using very scalable J2EE platform for backend logic. Our architecture is as follows -DB - J2EE(Servlets Classes) - XML to Browser - XSLT for presentationI am unhappy with the presentation tier. We are doing same old HTML presentation for our app. I tried to make it little rich by Ajaxifying it. Hardly it could add much value to it. But ajax raised few more problems like handelling server responses at other complexities.So here I want to put the Flash in presentation tier which will have little business logic and good charting capability to complement my other text data.One more thing I noticed is, when I compile a very small application also like simple label and button, the size of generated file is ~345K, and when browser renders, it leaves about 40M footprint. Is this grows linerly along with complexity in UI?Now I am on verge to make a decision to take in/out Flex. Please shed some light. So far you guys were great!Thanks, SachinJason Hawryluk [EMAIL PROTECTED] wrote:Mike, I have to second that. Im in exactly the same position. Concentrate on the backend and front end non UI related architecture. Consider that any UI you do, do is prototyping to give you a feel for the app and allow you to test the other back end stuff. I have been working since flex 1.5 actually learned flex from 1.5 then when the alpha came out started getting my hands dirty. We are in line to release shortly after Flex goes public. The betas as far as betas go is freaking sweet.If that doesnt suit you then start learning the framework trial and error, experiment, etc..My .02 Jason-Message d'origine-De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part de Michael SchmalleEnvoyé: mercredi 29 mars 2006 16:59À: flexcoders@yahoogroups.comObjet: Re: [flexcoders] Too many mistakesHonestly,This beta 2 ROCKS!There are only things that you will need to to tweak down the road. I have created a full AS3/MXML documenter/renderer like JavaDOC inside Flex starting from the alpha release. Things are going great. My approach was;Build the application's logic and structure as we head through the beta stages. By the time my app model and algoritthms are out of beta for my app, Flex will be public and then I can focus on a 'bug free' UI implementation (this has changed recently due to some contests ;-).I know this dosn't suite a lot of developers but, it has worked this far for me. This beta2 release didn't mess me up at all becasue I am focusing on logic no the UI.Peace, Mike On 3/29/06, Sachin Dharmapurikar [EMAIL PROTECTED] wrote: Hi Michael, You are absolutely correct. Beta products are not production ready and they have mistakes. I am thinking to use the Flex charting in my application. I can see that Flex 2 is in beta and Flex 1.5 is prod stable but lack in features. Moreover, if I now invest time in Flex 1.5 there is complete re-design on actionscript and lot of other changes too. Is there any way by which we can start with Flex 2.0 without facing much trouble?I am a Java architect and for the first time I am looking at RIA like Flex or OL. Any comments regarding my problems will be strongly appriciated.Regards, Sachin Michael Schmalle [EMAIL PROTECTED] wrote: Hi,Do you know what beta means? It means there are mistakes everywhere and they are cleaning them up.Besides, if you are going to use beta software, your mind has to be a problem solver from the start. You can't rely on examples, you have to experiment. There IS enough good examples and docs to get things to work.Peace, Mike On 3/29/06, snail [EMAIL PROTECTED] wrote: hello,everyone When I read the help content of Flex Builder 2 beta 2,I find many mistakes,such as use "Link" instead of "LinkButton" which is not exist in Flex 2. And the example code also make mistakes. When I follow the help,many errors occour. So boring. I am a beginner,I find flex 2 is not so good,at least, not easy to learn by read the help in which many mistakes. Will Adobe make it better ?--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group " flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. New Yahoo! Messenger with Voice. Call regular phones from your PC and save big. --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives:
[flexcoders] Still need some help with my menu bar
after a few hours of playing with the menu bar issue I was having yesterday, I am still stuck trying to figure out why my menu handler function wont work with my menu bar. This function is suposed to change teh state when someone changes thier selection to one of the child menu items. It appears to change the state, but it does not load the state that is called. function menuHandler( oEvent : * ) : void { currentState = oEvent.menuItem.getProperty(data); } Here is my menubar again. mx:MenuBar change=menuHandler(event) labelField=@label showRoot=false width=100% height=22 x=1 y=10 mx:dataProvider mx:XML xmlns= menuitem label=Today data=today /menuitem menuitem label=Contacts data=home menuitem label=Add/Edit Outside Agent / menuitem label=Add/Edit Vendor / /menuitem menuitem label=Search data=home menuitem label=Listing data=etls / menuitem label=Sales / menuitem label=Rentals / menuitem label=Referrals / menuitem label=Contacts / menuitem label=HomeSmart Agents / /menuitem menuitem label=Transactions data= menuitem label=Add Listing data=ntcl / menuitem label=Add Sale data=ntcs / menuitem label=Add Rental data=ntcr / menuitem label=Add Referral data=ntcrf / /menuitem menuitem label=Marketing data= menuitem label=Lead Manager / menuitem label=Recruiting Manager / menuitem label=Mass Email / menuitem label=Mail Merge / /menuitem menuitem label=Education menuitem label=Video Modules / menuitem label=Schedule / /menuitem menuitem label=Content menuitem label=Downloads menuitem label=Add/Edit Download Category / menuitem label=Add/Edit Downloads / /menuitem menuitem label=CMS menuitem label=Add/Edit News Category / menuitem label=Add/Edit News / menuitem label=Smart News / /menuitem menuitem label=Links / /menuitem menuitem label=Reports menuitem label=Accounting / menuitem label=Marketing / menuitem label=Transactions / menuitem label=Franchise / /menuitem menuitem label=Setup menuitem label=Company Information data=compInfo hint=Displays Company Information Screen / menuitem label=Activity Plans / menuitem label=Commission Plans / menuitem label=Preferences / /menuitem menuitem label=Tools menuitem label=Remote Access / menuitem label=Cameras / menuitem label=Video Conference / menuitem label=Video Email / /menuitem /mx:XML /mx:dataProvider /mx:MenuBar -- Flexcoders Mailing 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] creating states with effects programatically
show the code.and can someone please look at my problem as well, pretty please. On 3/29/06, Jignesh Dodiya [EMAIL PROTECTED] wrote: Hi, I have strange transition problem is as follow.. written code in mxml. and not in AS-3 i have a combobox and two redio button..in my appliccation clicking on one radio button, the panel length increases to accomodate another combobox and a send button, clicking on another redio button, it reverse back to one combobx in panel with smooth transiton with 500 msec time duraton. all arranged vertically in Panel control. On compiling the application, and clicking radio button one, the panel shows one combobox and clicking it just working as required in transition with smooth transition but while clicking another radio button (it should be reversed with smooth transition) it just reverse back in a glimpse, no transition effect seen.. again on clicking radio button one, it resizes in a glimpse woth no transition motion,,, in short, at the very first time the transition works but then after no transition effect at all. regards, Jignesh On 3/29/06, Johannes Nel [EMAIL PROTECTED] wrote: like how? On 3/29/06, Jignesh Dodiya [EMAIL PROTECTED] wrote: ok.. i was mainly concern about the transition effect..coz in my code, states transition effect codeding inmxml file and i justfollowed transitionFlexStore example)also works fine..but only the thing is the Transition Effect. I am not saying that it completely not work but its working behaviour is abnormal Regards; jignesh On 3/29/06, Johannes Nel [EMAIL PROTECTED] wrote: if you mean states as declared in mxml, yes they work fine. this code ported seemlesly from beta1 to beta2 (adobe's port tool doing the trick) and te transition never worked in either. On 3/28/06, Jignesh Dodiya [EMAIL PROTECTED] wrote: Hi, Nell, thanx for ur strict comment on some thread just earlier... I am interested toknow , does your code worked well for Flex-2 beta-1 .??? coz i have coded one state and transition applicationthat works fine for flex-2 beta-1 but when i upgrade to flex-2 beta-2 it just stop working... Idid relevent changes accordinglyin code but still hunting for appropiate docsthat may work for flex-2 beta-2. On 3/29/06, Johannes Nel [EMAIL PROTECTED] wrote: hi allI am able to create states fine programatically, even assign transitions to the view, but my transitions don't trigger when i switch from one state to another var stateArray:Array = (__view.states != null)?__view.states.concat(): new Array();var nState:State = new State(); nState.name = Open; var propw:SetProperty = new SetProperty(__view,percentWidth,100); var proph:SetProperty = new SetProperty(__view,percentHeight,100);;nState.overrides.push(propw); nState.overrides.push(proph); stateArray.push(nState); nState = new State(); nState.name = Closed;var propw:SetProperty = new SetProperty(__view,width,__collapsedSize); var proph:SetProperty = new SetProperty(__view,height,__collapsedSize);; nState.overrides.push(propw); nState.overrides.push(proph); stateArray.push(nState); var nTransition:Transition = new Transition(); //nTransition.fromState = Open;//nTransition.toState = Close; var res:Resize = new Resize(); res.target = __view; res.duration = 400; nTransition.effect = res; __view.transitions = __view.transitions || new Array(); __view.transitions.push(nTransition); __view.states = stateArray; thanks in advance for any help.j-- j:pn http://www.lennel.org --Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- jignesh dodiya --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service . -- j:pn http://www.lennel.org --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS
RE: [flexcoders] Too many mistakes
About the size, it's beta, so the compiler has not been optimized. Newt I would not base my ultimate decision of using or not using a product by looking at a beta quality product. 40mb is nothing as far as foot print IMHO (IE + yahoo loaded =20mb) The size could also depend on your return xml file size. If your app is to be user centric, and largely based on interaction design as your comment suggests, then Flex 2.0 is the best solution. Works across browsers with no extra code (= less maintenance and dev time) that alone beats Ajax hands down again IMHO (insert hundreds more here). hope this helps Jason -Message d'origine-De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part de Sachin DharmapurikarEnvoyé: mercredi 29 mars 2006 17:52À: flexcoders@yahoogroups.comObjet: RE: [flexcoders] Too many mistakes Guys, as I said earlier we are planning to integrate charting with our application. We are using very scalable J2EE platform for backend logic. Our architecture is as follows - DB - J2EE(Servlets Classes) - XML to Browser - XSLT for presentation I am unhappy with the presentation tier. We are doing same old HTML presentation for our app. I tried to make it little rich by Ajaxifying it. Hardly it could add much value to it. But ajax raised few more problems like handelling server responses at other complexities. So here I want to put the Flash in presentation tier which will have little business logic and good charting capability to complement my other text data. One more thing I noticed is, when I compile a very small application also like simple label and button, the size of generated file is ~345K,! and when browser renders, it leaves about 40M footprint. Is this grows linerly along with complexity in UI? Now I am on verge to make a decision to take in/out Flex. Please shed some light. So far you guys were great! Thanks, SachinJason Hawryluk [EMAIL PROTECTED] wrote: Mike, I have to second that. Im in exactly the same position. Concentrate on the backend and front end non UI related architecture. Consider that any UI you do, do is prototyping to give you a feel for the app and allow you to test the other back end stuff. I have been working since flex 1.5 actually learned flex from 1.5 then when the alpha came out started getting my hands dirty! . We are in line to release shortly after Flex goes public. The betas as far as betas go is freaking sweet. If that doesnt suit you then start learning the framework trial and error, experiment, etc.. My .02 Jason -Message d'origine-De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part de Michael SchmalleEnvoyé: mercredi 29 mars 2006 16:59À: flexcoders@yahoogroups.comObjet: Re: [flexcoders] Too many mistakesHonestly,This beta 2 ROCKS!There are only things that you will need to to tweak down the road. I have created a full AS3/MXML documenter/renderer like JavaDOC inside Flex starting from the alpha release. Things are going great. My approach was;Build the application's logic and structure as we head through the beta stages. By the time my app model and algoritthms are out of beta for my app, Flex will be public and then I can focus on a 'bug free' UI implementation (this has changed recently due to some contests ;-).I know this dosn't suite a lo! t of developers but, it has worked this far for me. This beta2 release didn't mess me up at all becasue I am focusing on logic no the UI.Peace, Mike On 3/29/06, Sachin Dharmapurikar [EMAIL PROTECTED] wrote: Hi Michael, You are absolutely correct. Beta products are not production ready and they have mistakes. I am thinking to use the Flex charting in my application. I can see that Flex 2 is in beta and Flex 1.5 is prod stable but lack in features. Moreover, if I now invest time in Flex 1.5 there is complete re-design on actionscript and lot of other changes too. Is! there any way by which we can start with Flex 2.0 without facing much trouble? I am a Java architect and for the first time I am looking at RIA like Flex or OL. Any comments regarding my problems will be strongly appriciated. Regards, Sachin Michael Schmalle [EMAIL PROTECTED] wrote: Hi,Do you know what beta means? It means there are mista! kes everywhere and they are cleaning them up.Besides, if you are going to use beta software, your mind has to be a problem solver from the start. You can't rely on examples, you have to experiment. There
[flexcoders] Re: databinding issue for combobox
I tried using both cmbDept.selectedItem.data or cmbDept.selectedItem.label, but it displays nothing inside the datagrid. With cmbDept.selectedItem it displays [object Object] for each click event. --- In flexcoders@yahoogroups.com, Anatole Tartakovsky [EMAIL PROTECTED] wrote: And you are looking for cmbDept.selectedItem.data or cmbDept.selectedItem.label? - Original Message - From: rgwilson26 To: flexcoders@yahoogroups.com Sent: Wednesday, March 29, 2006 10:15 AM Subject: [flexcoders] Re: databinding issue for combobox Basically I am calling a query that will populate a combobox. Then the user will be able to use a click event that will send that value from the combo box to a datagrid. Right now it sends a value from the combobox to the datagrid, but what is displayed is [object Object] instead of the desired value. Here is an example: SCRIPT public var dp:Array; private function addRow():Void{ dgResources.addItem( {dept: cmbDept.selectedItem} ); } private function doResult(result:Array):Void { dp = result; } SCRIPT mx:RemoteObject id=ro endpoint=http://10.95.20.39:8500/flashservices/gateway; source=cfdocs.components.getPersonnel mx:method name=serviceDeptLOV result=doResult (event.result._items)/ /mx:RemoteObject mx:DataGrid id=dgResources mx:column mx:Array mx:DataGridColumn headerText=Department columnName=dept width=200 / /mx:Array /mx:columns /mx:DataGrid mx:ComboBox id=cmbDept dataProvider={dp}/ mx:Button label=Add click={addRow()} textAlign=center width=75/ **CFC Query cffunction name=serviceDeptLOV access=remote returntype=query cfquery name=getserviceDept datasource=spotDB SELECT ServiceDept FROM dbo.ServiceDeptLOV ORDER BY ServiceDept /cfquery cfreturn getserviceDept /cffunction --- In flexcoders@yahoogroups.com, Tracy Spratt tspratt@ wrote: [object Object] means you are trying to display a complex object as text. Can you be more specific about what you mean when you say send the results from the combobox to a datagrid ? Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of rgwilson26 Sent: Tuesday, March 28, 2006 2:41 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] databinding issue for combobox I am working on an app where I am populating various combo boxes with results from my look up tables in a sql server database. I have no problem binding the results to the comboboxes dataProvider property. However, when I try to send the results from the combobox to a datagrid it populates the datagrid field with [object Object] instead of the selected item value. I can call a query and populate a datagrid directly and it doesn't seem to be an issue, so I am a little confused as to why it is a problem going from a combobox to a datagrid? Any suggestions? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders% 40yahoogroups.com -- YAHOO! GROUPS LINKS a.. Visit your group flexcoders on the web. b.. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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: Cairngorm problem
Yeah it seems to work, and thanks guys for looking into this. Any ideas why I would have to do this though for just the chart? _ Jonathan Miranda Flexible Master of the Web Try not to become a man of success, but a man of value. - Albert Einstein HealthGrades: Guiding America to Better Healthcare NASDAQ: HGRD w (720) 963-3832 c (707) 761-0868 [EMAIL PROTECTED] _ The message contains confidential and/or legally privileged information and is intended for use only by the indicated addressee. If you are not the named addressee you should not disseminate, distribute, or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmissions cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed,arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Renaun Erickson Sent: Wednesday, March 29, 2006 12:05 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Cairngorm problem Johanthan and Peter, I finally got a chance to test the code. I confirm the spardic LineChart bind issue with HTTPService's url accessing a cfm and a php file. I also confirm Peter's solution by using executeBindings. Basically import mx.core.Application and add this line of code at the bottom of SalesCommand's onResult function Application.application.executeBindings(true);. I only had the time to confirm these two things. I didn't find any more information to narrow it down. Renaun --- In flexcoders@yahoogroups.com, Peter Blazejewicz [EMAIL PROTECTED] wrote: hi Jonathan, calling Application.application.executeBindings(true) within orginal StatsCommand onResult handler make your example working fine for me (when requesting data from jsp dynamic page), regards, Peter Blazejewicz -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Flex2 :: mx:Text :: Problem with html property
Hi, Has anyone had problems with the 'html' property being set to true on the Text component? I have mine set to true and it is still showing p tags, not html formatting? Peace, Mike-- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Has anyone had problems rotating UIText fields in flex2 beta2
I am using UItextField, using an embedded font, worked OK on beta 1 but does not now appear to work, has anybody come accross a similar problem?? -- Flexcoders Mailing 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] Problem with target areas on UIComponent flex2 beta 2
I have several UIComponents listening for events on fields for example see below, but since going to beta 2, the target seems to be fired higher and to the left of the UIComponent itself?? Has anyone come accross anything similar?? //var lXAxis:UIComponent = new UIComponent; this.addChild(this.lXAxis); this.lXAxis.x = this.leftBorder; this.lXAxis.y = this.chartHeight+this.topBorder; this.lXAxis.graphics.beginFill(0xFF,1); this.lXAxis.graphics.drawRect (0,0,this.chartWidth,this.bottomBorder); this.lXAxis.alpha = 0.2; this.lXAxis.addEventListener (dragEnter,this.XAxisrespondToMouseEnter); this.lXAxis.addEventListener(dragDrop, this.XAxisrespondToDrop); this.lXAxis.addEventListener(dragExit, this.XAxisrespondToExit); this.lXAxis.addEventListener(mouseOut, this.XAxisrespondToExit); -- Flexcoders Mailing 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 Job - Lead Software Engineer - Newly VC Funded Startup (San Mateo, CA)
This is a unique opportunity to define a new type of consumer software. You will be involved in every aspect of development and will have the opportunity to make a huge impact.We're looking for more than just an experienced developer who is an expert in a specific language or technology. We don't care which technologies you are familiar with today. (Of course if you've built an online game or Rich Internet Application using Java, Flex, Hibernate, and scalable client/server socket communications, we'll call you first.)We're looking for a smart and creative mind rather than a narrow set of skills. We are looking for evidence that you are a great programmer, a self-starter, and a team player. You enjoy working on all aspects of development rather than being a cog in a machine. You believe that customers should drive product definition and evolution; if a user doesn't "get it", that's our bug, not their problem. You can think on your feet, solve problems to which you may not already know the answers, and work together with a team to solve even bigger problems than you could by yourself.This is a unique startup opportunity:You'll be an early technical employee with corresponding opportunities.You'll be involved with the "big picture", make key design decisions, and steer the growth of the company.We look for smart, creative thinkers, not a collection of buzzwords and skills that are quickly obsolete.We have experience creating successful products and companies.Technical challenges include issues of user interface, game design, system architecture, operational efficiency, and scalability.About the CompanyWinster is a new type of online game ... with a retail element. The play is cooperative, structured around a visible social community, and players win real prizes. The goal is to appeal to social and shopping instincts of a demographic which is the largest group of Internet game site visitors. It's a novel concept, and we have a great team led by serial entrepreneur Jerry Kaplan, author of Startup: A Silicon ValleyAdventure. The management team has held senior positions at NASA, OnSale (online auction pioneer), Sierra On-Line, GO Corporation (pen based computer pioneer), MetaReward, and NetBlue. This is an opportunity to change the way games and e-commerce work.Send a copy of your resume to [EMAIL PROTECTED] No recruiters. Please do not post this to other boards. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Re: FLEX and Open Lazslo Comparision
Richard, To be perfectly honest the ability to publish to alternative runtimes was the deciding factor for us to initially look at OpenLaszlo. Having a language abstracted from it's runtime was/is very appealing as it (in theory) allows you to republish your applications on future platforms so long as the framework is ported, and the compiler supports it - being open source guarantees this is always a possibility. However, I've since taken a long time to rethink that idea - and while it seems like a great idea (in theory), I'm not too sure about how desirable that may be in reality. Chances are if you're looking to migrate to another platform in the future it's to take advantage of a specific feature set - or it's out of necessity as the platform you're currently using is obsolete/unsupported. So, in the first case re-publishing your existing codebase to the new platform might actually be more headache than it's worth (ideas/concepts from LZX that don't easily translate to the new platform), and there could be huge gains (features, performance) to be had in re-architecting from scratch at that time. Regarding the second issue, if the Flash Platform and/or Flex disappears chances are there will be migration paths available as there will be far too many people requiring solutions to ignore. Also, OpenLaszlo only typically implements things that are possible on ALL targeted runtimes - basically targeting the lowest common denominator. Therefore platform specific features (binary sockets, camera/microphone access, etc) may not actually be implemented - leaving a reduced palette with which to build your applications. With OpenLaszlo you give up depth (features) for breadth (reach) - which actually sounds very similar to Ajax. I'm really not sure how OL is going to handle audio and video moving forward - especially with the Ajax deployment - possibly a SWF/Ajax hybrid? I'm also somewhat wondering what other runtimes it makes sense for OL to publish to - and what featues of the respective platforms get left behind? - Java: is this even realistic on the client today? Even in the mobile space developers are looking for alternatives (or fixes) to J2ME. - .NET: does it make sense to publish to this platform (Windows Forms) as XAML/WPF seems to be the focus moving forward on the MS client - XAML: seems to be a few years out, and by all reports so far it's missing a lot of what Flash does today. - the greatest client solution that has yet to be been invented... If you have a crystal ball now would be a good time to use it. ;-) The one thing that does bode well for OL is it's involvement in the WHAT-WG (I believe Adobe/Macromedia are also involved), the W3C web app working group and the OpenAjax projects with IBM, OpenWave, etc - all which could see LZX make some headway in how RIA apps are constructed. The issue is still, what is the target runtime for these apps? Current browsers/ajax? Nope. The greatest client solution that has yet to be invented... Again, anyone got a crystal ball? Sincerely, Bryan I haven't used OL, but I'm surprised no one has mentioned their support for alternate runtimes (eg. one markup generating either AJAX or Flash). I would imagine that might appeal to those for whom the non-open-source nature of the Flash player is an issue, or those who have other concerns about the player dependency. Thoughts? - Richard -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: databinding issue for combobox
Hi, First problem I see with this code (... label=Add click={addRow()} ..) is tha in the click event I don;t think you need the {}. You can put AS code there. Second what happens is probably that CF adapter returns the array of objects with properties in upper case, so .DATA and .LABEL. The combo box looks for them in lower case. If you are using beta 2 cf adapter (i don;t know if this works in beta 1 aswell) you can set some properties to convert the return objects fomr CF to lowercase. Look for the property-case section in your flex-enterprise-services.xml file. Another option (i used this before finding the case settings) is to fix the case in the return result object. Something like: public function fixCase(types: ArrayCollection):ArrayCollection { var newTypes:ArrayCollection = new ArrayCollection(); for (var i:int; i types.length;i++) { newTypes.addItem( {data:types.getItemAt(i).DATA, label:types.getItemAt(i).LABEL} ); } return newTypes; } Cristian --- In flexcoders@yahoogroups.com, rgwilson26 [EMAIL PROTECTED] wrote: I tried using both cmbDept.selectedItem.data or cmbDept.selectedItem.label, but it displays nothing inside the datagrid. With cmbDept.selectedItem it displays [object Object] for each click event. --- In flexcoders@yahoogroups.com, Anatole Tartakovsky anatolet@ wrote: And you are looking for cmbDept.selectedItem.data or cmbDept.selectedItem.label? - Original Message - From: rgwilson26 To: flexcoders@yahoogroups.com Sent: Wednesday, March 29, 2006 10:15 AM Subject: [flexcoders] Re: databinding issue for combobox Basically I am calling a query that will populate a combobox. Then the user will be able to use a click event that will send that value from the combo box to a datagrid. Right now it sends a value from the combobox to the datagrid, but what is displayed is [object Object] instead of the desired value. Here is an example: SCRIPT public var dp:Array; private function addRow():Void{ dgResources.addItem( {dept: cmbDept.selectedItem} ); } private function doResult(result:Array):Void { dp = result; } SCRIPT mx:RemoteObject id=ro endpoint=http://10.95.20.39:8500/flashservices/gateway; source=cfdocs.components.getPersonnel mx:method name=serviceDeptLOV result=doResult (event.result._items)/ /mx:RemoteObject mx:DataGrid id=dgResources mx:column mx:Array mx:DataGridColumn headerText=Department columnName=dept width=200 / /mx:Array /mx:columns /mx:DataGrid mx:ComboBox id=cmbDept dataProvider={dp}/ mx:Button label=Add click={addRow()} textAlign=center width=75/ **CFC Query cffunction name=serviceDeptLOV access=remote returntype=query cfquery name=getserviceDept datasource=spotDB SELECT ServiceDept FROM dbo.ServiceDeptLOV ORDER BY ServiceDept /cfquery cfreturn getserviceDept /cffunction --- In flexcoders@yahoogroups.com, Tracy Spratt tspratt@ wrote: [object Object] means you are trying to display a complex object as text. Can you be more specific about what you mean when you say send the results from the combobox to a datagrid ? Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of rgwilson26 Sent: Tuesday, March 28, 2006 2:41 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] databinding issue for combobox I am working on an app where I am populating various combo boxes with results from my look up tables in a sql server database. I have no problem binding the results to the comboboxes dataProvider property. However, when I try to send the results from the combobox to a datagrid it populates the datagrid field with [object Object] instead of the selected item value. I can call a query and populate a datagrid directly and it doesn't seem to be an issue, so I am a little confused as to why it is a problem going from a combobox to a datagrid? Any suggestions? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders% 40yahoogroups.com
[flexcoders] Integrating flexunit with flexbuilder2
HI all, As we have it right now ( using Flexunit ) there is a lot of boiler plate code needed to write a testcase, and the separation of tests from the actual classes adds some overhead to refactoring. This is not new, but an old PITA that, in my opinion, is already common enough to be refactored into the workflow. So given that we are changing the way the world engages with ideas and information alltogether, why not take a bold step and integrate unit testing into the IDE? The way I see it, creating a unit test shouldn't even require us to leave the IDE for editing nor execution. Just off the top of my head, to get the debate going. * Edit an actionscript class as I normally would * Open the unit test editor within the IDE ** optionally right click on the outline to indicate scope ( on a method, or just over a class ) * edit just the working code for the tests ( the IDE takes care of relative package management ) * Note that I could also start by creating the test case ( as in strong TDD ) * execute the test by clicking run, or simply on the unit test outline ( which could be somehow integrated with the main outline, depending on the scope of each test ) * The source for the tests is then saved within the very same target source code ( as an interwoven comment, or in the bottom of the class...? ), or on the standard tests/ folder in the package, etc. I know the endeavour is not trivial, but it would surely make the workflow much much faster and straightforward. I mean, if XP is the advocated methodology for Flex RIA dev, why not make TDD an OOTB feature in FlexBuilder. Best, Aldo -- : Aldo Bucchi : mobile (56) 8 429 8300 -- Flexcoders Mailing 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: need help with programatic skin
Start with the Creating and Extending Flex Components book: http://download.macromedia.com/pub/documentation/en/flex/2/flex2_createcomps.pdf Hth, Matthew J. Horn Flex docs -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of shemeshkale Sent: Wednesday, March 29, 2006 10:51 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: need help with programatic skin THANK U VERY MUCH.. this is a big step a head... me happy ! it seems that i need to learn about this method of extending and building components. where can i learn this? can u refer me to some place that explain this all procedure? --- In flexcoders@yahoogroups.com, Jason Hawryluk [EMAIL PROTECTED] wrote: you could use extraSpacing=0 even though the property does not appear in the list. I just tried it. The default is 20 and it does get ride of the extra space. mx:Button extraSpacing=0 label=Add Task / For anything else you want to try, try extending the button.. in line Create a folder called Extendbutton and create a as class with this code and name the class Extendedbutton. From here you have absolute control of every aspect of a control. Anything can be extended. You can override functions properties etc.. package Extendbutton { import mx.controls.Button; import flash.util.trace; public class Extendedbutton extends Button { public function Extendedbutton():void{ super(); super.extraSpacing = 10; trace(super.extraSpacing); } } } hope this helps jason -Message d'origine- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la part de shemeshkale Envoyé : mercredi 29 mars 2006 15:01 À : flexcoders@yahoogroups.com Objet : [flexcoders] Re: need help with programatic skin that is the direction of my thought, but... allready tried that - it seems to have some minimum!! i cant do marginRight=0... when i do that i still have this damn space that i cant get rid of. i saw in the Button.as a property called 'extraSpacing' that it does exactly that.. how do i make it zero !! --- In flexcoders@yahoogroups.com, Michael Schmalle teoti.graphix@ wrote: Hi, From what I gather your are looking for the 'marginRight' and 'marginLeft' css styles. Button does not support 'marginTop' and 'marginBottom' css styles. If I were to have made this Button I would have included this. Adobe, what was your reasoning for not allowing us to have top and bottom margins? I can think of a couple things I could use it for. Peace, Mike On 3/29/06, shemeshkale baldhead72@ wrote: not what i meant. a button in flex have a default gap (padding in html/css) between text and the buttons border - on both leftright sides. how do i change this? --- In flexcoders@yahoogroups.com, Jason Hawryluk jh@ wrote: If I understand you question correctly. Have a look at the textIndent style this can be set via css or property, otherwise your going to have to extend the button. for example css file mx:Style .IndentedtextButton{ cornerRadius: 0; textIndent: 15; fontWeight: normal; } /mx:Style mx:Button textAlign=left styleName=IndentedtextButton width=150 label=Test / or mx:Button textAlign=left textIndent=15 width=150 label=Test / Hope that helps Jason -Message d'origine- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la part de shemeshkale Envoyé : mercredi 29 mars 2006 09:11 À : flexcoders@yahoogroups.com Objet : [flexcoders] Re: need help with programatic skin PLEASE HELP ! or please refer me to a place i can learn... --- In flexcoders@yahoogroups.com, shemeshkale baldhead72@ wrote: hi, i m working with the basic HALO skin. i m trying to change some things without luck. PLEASE HELP: - how do i change the padding (the space between the text and the border) inside a button? i want to make a deafult 2px. - i want to make a top and bottom border on the selected item of a tree. - i want to change the gray arrow in the tree to a +\- sign. how do i do this? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:
[flexcoders] Flex2 :: DocumentX :: Flex document solution comming ...
Hi all, I have been talking about this thing for awhile you can check out my blog post for more info. http://www.flex2components.com/f2cblog/2006/03/29/flex2-documentx-a-document-solution-for-flex/ Peace, Mike-- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Re: FLEX and Open Lazslo Comparision
(eg. one markup generating either AJAX or Flash)As far as I'm aware, there are multimedia functions that can be done in Flex that cannot be done in Ajax. e.g. capturing audio and video streams from the user's PC, mixing audio streams, and other stuff that are not possible (yet) in _javascript_.Also, the crossdomain stuff in Flex is intriguing to say the least ... you can grab data with a distributed architecture (without having to go thru a centralized server) while at the same time neutralize potential distributed attacks and unauthorized behind-the-firewall proxying by giving control to the server owner, so Flex is not any more risky to use than AJAX but a lot more powerful in a distributed scenario.However, I think the bottom line is that Flex does not suffer from browser 'dependency' which is probably the #1 anti-productivity factor... developers develope to one standard and deploy on all platforms. Flash player has 98% market penetration which is probably higher than AJAX (since there are many browsers including Mac OS X Safari that do not digest AJAX that well .. I tried stuff built with the Zimbra AJAX toolkit under Safari and it just wouldn't run.. the same stuff ran well under firefox and ie.. so AJAX has a compatibility problem that based on my observation [using different browsers] is larger than 2%)I really don't care for AJAX :-) and it shows in my argument ... but I tend to think that unless _javascript_ catches up with Flash in terms of functionality and unless _javascript_ standard is controlled by one central authority then Flash will always be more viable for 'most' cases.I understand AJAX is more viable for certain cases but my interest is more in very rich apps, which justifies choosing Flex over AJAX.Also, there is no binary socket in AJAX! :-) ... XML doesn't do it for custom data protocols! Yet with all these arguments in favor of Flex (from the perspective of very rich apps) we're still having to conduct a formal analysis and put the pros and cons of Flex and AJAX in simple to understand "demos" for those 'technically clueless' folks higher up and that's because AJAX has managed to become such a strong buzzword now that knocking it down can and will get you in trouble unless you can back it up with evidence...Enough thoughts? more to come as we run through the scenarios ...Richard Rodseth [EMAIL PROTECTED] wrote:I haven't used OL, but I'm surprised no one has mentioned their support for alternate runtimes (eg. one markup generating either AJAX or Flash). I would imagine that might appeal to those for whom the non-open-source nature of the Flash player is an issue, or those who have other concerns about the player dependency. Thoughts? - Richard On 3/28/06, Bryan Rieger [EMAIL PROTECTED] wrote: Thanks everyone! This input is fantastic. Lots to learn and think about, but I'm really glad I took the time to look at Flex 2. Sincerely, Bryan-Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Roger Gonzalez Sent: Tuesday, March 28, 2006 12:07 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: FLEX and Open Lazslo Comparision Does it happen to remove the unused components? What if I'm only usingone button - does Flex include all components? Flex only includes classes found in the dependency chain from your application class (or configuration settings). When you create an application that extends mx.core.Application, you get a bunch of things that a toy application might not need, but that a real-world application probably will. A Flex app has a higher initial cost, but levels off. Flex also allows you to write your own frameworks from scratch in AS. I believe they're also working on ways to use shared runtimelibraries/frameworks so it'll be possible to include apps that don'tinclude the framework, instead reuse the libs supplied in thecontainer application - makes it easier to break your apps into smaller, reuseable modules. Flex has this today. See the "runtime-shared-libraries" and "externs" and "external-library-path" configuration options. -rg -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKSVisit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. New Yahoo! Messenger with Voice. Call regular phones from your PC and save big. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS
[flexcoders] Flex2 Beta2 skinned Combobox is really looooong
My comboBoxes are being rendered very long after skinning? If I remove the skin, the comboBox is normal. I've tried PNGs, and 9- sliced SWFsthey are all rendered about 200 pixels too long. If I manually shorten them, the data gets cut off. Am I missing something? Thanks. mx:ComboBox id=Stuff top=20 styleName=dropDown mx:dataProvider mx:ArrayCollection mx:source mx:Object label=MyStuff-1234/ mx:Object label=MyStuff-45678/ mx:Object label=MyStuff-junk/ /mx:source /mx:ArrayCollection /mx:dataProvider /mx:ComboBox .dropDown { font-family: Myriad Web; font-size: 14px; fontStyle: normal; upSkin: Embed(images/med_search.png); overSkin: Embed(source=buttons/dropDownButton.swf, symbol=DropDownButtonOver); downSkin: Embed(source=buttons/dropDownButton.swf, symbol=DropDownButtonDown); disabledSkin: Embed(source=buttons/dropDownButton.swf, symbol=DropDownButtonDisabled); } -- Flexcoders Mailing 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] Does a selector filter messages on the server or the client?
From this example in the docs: private function logon() { consumer = new Consumer(); consumer.destination = ChatTopic; consumer.selector = prop1 5; consumer.subscribe(); } Does the prop1 5 evaluation happen on the server or the client? In other words, do all messages for the destination ChatTopic arrive at the client and get filtered by the various consumers, or does the server do the filtering? Thanks, Tom -- Flexcoders Mailing 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] Too many mistakes
1) make sure you're looking at the release swf size, both on disk and in memory, not the debug swf 2) it does not grow linearly with the complexity of the UI, but rather with the number of definitions you pull in. Building a flex app brings in a core set of definitions. Each new _type_ of control adds to that linkage set, while each new _usage_ of the same control only adds trivial overhead. So while there's a big hit up front to get the framework, after that it's incremental additions Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jason HawrylukSent: Wednesday, March 29, 2006 8:21 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Too many mistakes About the size, it's beta, so the compiler has not been optimized. Newt I would not base my ultimate decision of using or not using a product by looking at a beta quality product. 40mb is nothing as far as foot print IMHO (IE + yahoo loaded =20mb) The size could also depend on your return xml file size. If your app is to be user centric, and largely based on interaction design as your comment suggests, then Flex 2.0 is the best solution. Works across browsers with no extra code (= less maintenance and dev time) that alone beats Ajax hands down again IMHO (insert hundreds more here). hope this helps Jason -Message d'origine-De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part de Sachin DharmapurikarEnvoyé: mercredi 29 mars 2006 17:52À: flexcoders@yahoogroups.comObjet: RE: [flexcoders] Too many mistakes Guys, as I said earlier we are planning to integrate charting with our application. We are using very scalable J2EE platform for backend logic. Our architecture is as follows - DB - J2EE(Servlets Classes) - XML to Browser - XSLT for presentation I am unhappy with the presentation tier. We are doing same old HTML presentation for our app. I tried to make it little rich by Ajaxifying it. Hardly it could add much value to it. But ajax raised few more problems like handelling server responses at other complexities. So here I want to put the Flash in presentation tier which will have little business logic and good charting capability to complement my other text data. One more thing I noticed is, when I compile a very small application also like simple label and button, the size of generated file is ~345K,! and when browser renders, it leaves about 40M footprint. Is this grows linerly along with complexity in UI? Now I am on verge to make a decision to take in/out Flex. Please shed some light. So far you guys were great! Thanks, SachinJason Hawryluk [EMAIL PROTECTED] wrote: Mike, I have to second that. Im in exactly the same position. Concentrate on the backend and front end non UI related architecture. Consider that any UI you do, do is prototyping to give you a feel for the app and allow you to test the other back end stuff. I have been working since flex 1.5 actually learned flex from 1.5 then when the alpha came out started getting my hands dirty! . We are in line to release shortly after Flex goes public. The betas as far as betas go is freaking sweet. If that doesnt suit you then start learning the framework trial and error, experiment, etc.. My .02 Jason -Message d'origine-De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part de Michael SchmalleEnvoyé: mercredi 29 mars 2006 16:59À: flexcoders@yahoogroups.comObjet: Re: [flexcoders] Too many mistakesHonestly,This beta 2 ROCKS!There are only things that you will need to to tweak down the road. I have created a full AS3/MXML documenter/renderer like JavaDOC inside Flex starting from the alpha release. Things are going great. My approach was;Build the application's logic and structure as we head through the beta stages. By the time my app model and algoritthms are out of beta for my app, Flex will be public and then I can focus on a 'bug free' UI implementation (this has changed recently due to some contests ;-).I know this dosn't suite a lo! t of developers but, it has worked this far for me. This beta2 release didn't mess me up at all becasue I am focusing on logic no the UI.Peace, Mike On 3/29/06, Sachin Dharmapurikar [EMAIL PROTECTED] wrote: Hi Michael, You are absolutely correct. Beta products are not production ready and they have mistakes. I am thinking to use the Flex charting in my application. I can see that Flex 2 is in beta and Flex 1.5 is prod stable but lack in features. Moreover, if I now invest time in Flex 1.5 there is complete re-design on actionscript and lot of other changes
Re: [flexcoders] Re: Internal Build Error
fyi, I forwarded this to the Flex Builder team. mike chambers [EMAIL PROTECTED] Tim Sawyer wrote: Still shouldn't blow up the compiler though should it. :-) Our old beta 1 code says: var kpiList:Array = Array(this.myData)[0]; and the compiler warning is Array(x) behaves the same as new Array(x). To cast a value to type Array use 'x as Array' instead of Array(x). so I changed it to var kpiList:Array = (this.myData as Array)[0]; thereby causing the problem. this.myData is an Object, so still needs to be cast to Array. Strangely, the code that actually works is: var kpiList:Array = this.myData as Array; so I've lost a level of Array embedding somewhere... Tim. --- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, Not to butt in or anything but, var kpiList:Array = (this.myData as Array)[0]; That is probably not a very good way to write the expression anyway. I can see why there might be a glich, var kpiList:Array = myData[0] as Array; would probably be better. Peace, Mike On 3/29/06, Tim Sawyer [EMAIL PROTECTED] wrote: Found it. The compiler is throwing a fit on this line of code: var kpiList:Array = (this.myData as Array)[0]; if I remove as Array, then it compiles and the compiler no longer explodes. I actually added the as Array in because Flex gave me a warning that I was casting Object to Array and I should do it manually! :-) No it compiles, all I have to do is get this code to actually run in Beta 2, at the moment I'm getting a blue screen in my browser, no loading bar, and no application. Argh! Tim. --- In flexcoders@yahoogroups.com, bhaq1972 mbhaque@ wrote: I'm also fustrated by this internal build error. the whole of my monday was wasted on it. i've now gone back to starting the project all over again, but only bringing in a class(or mxml) at a time. painfully slow but has broken yet. --- In flexcoders@yahoogroups.com, Michael Schmalle teoti.graphix@ wrote: Hi, I wrote a couple lengthy posts on this forum. ;-) Search for internal build error, you should see some things I have encountered. Peace, Mike On 3/28/06, Tim Sawyer lists@ wrote: I'm getting An internal build error has occurred. Please check the Error Log. The log says: !ENTRY com.adobe.flexbuilder.project 4 43 2006-03-28 16:28:20.702 !MESSAGE Uncaught exception in compiler !STACK 0 java.lang.NullPointerException at macromedia.asc.semantics.ConstantEvaluator.evaluate (ConstantEvaluator.java :948) at macromedia.asc.parser.MemberExpressionNode.evaluate( MemberExpressionNode.java:31) at macromedia.asc.semantics.ConstantEvaluator.evaluate (ConstantEvaluator.java :1606) at macromedia.asc.parser.ArgumentListNode.evaluate (ArgumentListNode.java:28) at macromedia.asc.semantics.ConstantEvaluator.evaluate (ConstantEvaluator.java :727) at macromedia.asc.parser.SetExpressionNode.evaluate (SetExpressionNode.java :39) at macromedia.asc.semantics.ConstantEvaluator.evaluate (ConstantEvaluator.java :1040) at macromedia.asc.parser.MemberExpressionNode.evaluate( MemberExpressionNode.java:31) at macromedia.asc.semantics.ConstantEvaluator.evaluate (ConstantEvaluator.java :1635) at macromedia.asc.parser.ListNode.evaluate (ListNode.java:27) at macromedia.asc.semantics.ConstantEvaluator.evaluate (ConstantEvaluator.java :1734) at macromedia.asc.parser.ExpressionStatementNode.evaluate( ExpressionStatementNode.java:33) at macromedia.asc.semantics.ConstantEvaluator.evaluate (ConstantEvaluator.java :1714) at macromedia.asc.parser.StatementListNode.evaluate (StatementListNode.java :34) at macromedia.asc.semantics.ConstantEvaluator.evaluate (ConstantEvaluator.java :1786) at macromedia.asc.parser.IfStatementNode.evaluate (IfStatementNode.java:34) at macromedia.asc.semantics.ConstantEvaluator.evaluate (ConstantEvaluator.java :1714) at macromedia.asc.parser.StatementListNode.evaluate (StatementListNode.java :34) at macromedia.asc.semantics.ConstantEvaluator.evaluate (ConstantEvaluator.java :2220) at macromedia.asc.parser.FunctionCommonNode.evaluate (FunctionCommonNode.java :87) at macromedia.asc.semantics.ConstantEvaluator.evaluate (ConstantEvaluator.java :2910) at macromedia.asc.parser.ClassDefinitionNode.evaluate( ClassDefinitionNode.java:86) at macromedia.asc.semantics.ConstantEvaluator.evaluate (ConstantEvaluator.java :2655) at macromedia.asc.parser.ProgramNode.evaluate (ProgramNode.java:63) at flex2.compiler.as3.Compiler.analyze4(Compiler.java:431) at flex2.compiler.API.analyze(API.java:1370) at flex2.compiler.API.analyze(API.java:1283) at flex2.compiler.API.batchInner(API.java:224) at flex2.compiler.API.batch(API.java:270) at flex2.compiler.API.compile(API.java:462)
Re: [flexcoders] Too many mistakes
Make sure to check out the beta 1 to migration document: http://labs.macromedia.com/wiki/index.php/Flex:Beta_1_to_Beta_2_Changes It covers some of the issues you mentioned. mike chambers [EMAIL PROTECTED] Sachin Dharmapurikar wrote: Hi Michael, You are absolutely correct. Beta products are not production ready and they have mistakes. I am thinking to use the Flex charting in my application. I can see that Flex 2 is in beta and Flex 1.5 is prod stable but lack in features. Moreover, if I now invest time in Flex 1.5 there is complete re-design on actionscript and lot of other changes too. Is there any way by which we can start with Flex 2.0 without facing much trouble? I am a Java architect and for the first time I am looking at RIA like Flex or OL. Any comments regarding my problems will be strongly appriciated. Regards, Sachin */Michael Schmalle [EMAIL PROTECTED]/* wrote: Hi, Do you know what beta means? It means! there are mistakes everywhere and they are cleaning them up. Besides, if you are going to use beta software, your mind has to be a problem solver from the start. You can't rely on examples, you have to experiment. There IS enough good examples and docs to get things to work. Peace, Mike On 3/29/06, *snail* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: hello,everyone When I read the help content of Flex Builder 2 beta 2,I find many mistakes,such as use Link instead of LinkButton which is not exist in Flex 2. And the example code also make mistakes. When I follow the help,many errors occour. So boring. I am a beginner,I find flex 2 is not so good,at least, not easy to learn by read t! he help in which many mistakes. Will Adobe make it better ? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ Computer software development http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw Software design and development http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ Macromedia flex http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=OO6nPIrz7_EpZI36cYzBjw Software development best practice http://groups.yahoo.com/gads?t=msk=Software+development+best+practicew1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIw YAHOO! GROUPS LINKS * Visit your group flexcoders http://groups.yahoo.com/group/flexcoders on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/. -- What goes up, does come down. New Yahoo! Messenger with Voice. Call regular phones from your PC http://us.rd.yahoo.com/mail_us/taglines/postman5/*http://us.rd.yahoo.com/evt=39666/*http://beta.messenger.yahoo.com and save big. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development
Re: [flexcoders] Hardware requirements for Flex performance
So any one has idea regarding flex-2 , in terms of memory and as described above thread, the hardware specs Jignesh On 3/29/06, Mika Kiljunen [EMAIL PROTECTED] wrote: Hi, If you have a complex app that processed and displays _lot of data _ then memory could be an issue. We run our app on IE and it eats a big bunch of memory when lot of data is loaded, which is of course a natural result. This causes slowdown on performance. Also many flex components like datagrid slow down a great deal when lot of data is populated on them. So watch out for memory. Also processor performance effects a lot on usability with Flex 1.5. -Mika From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of george_luiSent: 29. maaliskuuta 2006 10:08To: flexcoders@yahoogroups.comSubject: [flexcoders] Hardware requirements for Flex performance Hi,Anyone here have any comments on how complexities in your Flex app can affect the performance? We have an app where we're fetching anddisplaying a lot of data. We're seeing the behavior where if we select too much of something to display, it won't display everything.A collegue hypothesized that the hardware specs of the machine might play a factor. We have customer that could conceivably be usingslower machines that have 256MB of RAM. So I guess I'm wondering if any of you would know how hardware specsmight play into the performance of your flex app (or more specifically the flash browser plugin I guess). Is there a relationship betweenthe complexities of your app and the hardware resources it might require? We're using Flex 1.5 btw.TIA,George --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- jignesh dodiya -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. 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] Flex2 :: mx:Text :: Problem with html property
To make html work for the Text component, you should be using the htmlText property. Here is an example: mx:Text width=400 mx:htmlText![CDATA[This is font color=#FFHTML text/font in a bText component/b. Using the uhtmlText attribute/u of the font color=#008800Text component/font you can use basic HTML markup.]]/mx:htmlText /mx:Text This Text component example is actually in the Flex Explorer Samples, by the way. Hope this helps. Joan From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Michael Schmalle Sent: Wednesday, March 29, 2006 8:43 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex2 :: mx:Text :: Problem with html property Hi, Has anyone had problems with the 'html' property being set to true on the Text component? I have mine set to true and it is still showing p tags, not html formatting? Peace, Mike -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. 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: Sticky Dragging Problem
Manish, The dropLine method is being called; albeit only when the line is not being dragged ontop of another sprite that listens for the MOUSE event. I believe you are right in thinking that the object is not getting the MouseUp. This is probably a conflict with other sprites. I tried setCapture() within the dragLine() and it doesn't seem to be creating conflict with other sprites. Perhaps I am not doing it right. The systemManager approach is worth a try. What would be the code to listen for mouseEvent on the systemManager Object? Thanks Manish Is your dropLine method even getting called? I don't think your object is getting the mouseUp event. For this sort of a thing, typically we use setCapture() or listen for the mouseUp event on the systemManager object (which is available as a property to every UIComponent). Manish -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Still need some help with my menu bar
Try this: currentState = [EMAIL PROTECTED]; -Ashish -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy Rottman Sent: Wednesday, March 29, 2006 8:12 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Still need some help with my menu bar after a few hours of playing with the menu bar issue I was having yesterday, I am still stuck trying to figure out why my menu handler function wont work with my menu bar. This function is suposed to change teh state when someone changes thier selection to one of the child menu items. It appears to change the state, but it does not load the state that is called. function menuHandler( oEvent : * ) : void { currentState = oEvent.menuItem.getProperty(data); } Here is my menubar again. mx:MenuBar change=menuHandler(event) labelField=@label showRoot=false width=100% height=22 x=1 y=10 mx:dataProvider mx:XML xmlns= menuitem label=Today data=today /menuitem menuitem label=Contacts data=home menuitem label=Add/Edit Outside Agent / menuitem label=Add/Edit Vendor / /menuitem menuitem label=Search data=home menuitem label=Listing data=etls / menuitem label=Sales / menuitem label=Rentals / menuitem label=Referrals / menuitem label=Contacts / menuitem label=HomeSmart Agents / /menuitem menuitem label=Transactions data= menuitem label=Add Listing data=ntcl / menuitem label=Add Sale data=ntcs / menuitem label=Add Rental data=ntcr / menuitem label=Add Referral data=ntcrf / /menuitem menuitem label=Marketing data= menuitem label=Lead Manager / menuitem label=Recruiting Manager / menuitem label=Mass Email / menuitem label=Mail Merge / /menuitem menuitem label=Education menuitem label=Video Modules / menuitem label=Schedule / /menuitem menuitem label=Content menuitem label=Downloads menuitem label=Add/Edit Download Category / menuitem label=Add/Edit Downloads / /menuitem menuitem label=CMS menuitem label=Add/Edit News Category / menuitem label=Add/Edit News / menuitem label=Smart News / /menuitem menuitem label=Links / /menuitem menuitem label=Reports menuitem label=Accounting / menuitem label=Marketing / menuitem label=Transactions / menuitem label=Franchise / /menuitem menuitem label=Setup menuitem label=Company Information data=compInfo hint=Displays Company Information Screen / menuitem label=Activity Plans / menuitem label=Commission Plans / menuitem label=Preferences / /menuitem menuitem label=Tools menuitem label=Remote Access / menuitem label=Cameras / menuitem label=Video Conference / menuitem label=Video Email / /menuitem /mx:XML /mx:dataProvider /mx:MenuBar -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] compiler errors, runtime errors, requests for enhancement (Flex 2 beta)
I'm posting this here in the hopes that some of the Adobe engineers active on this group will read the messages I've been posting to their own forums. I've been having a lot of problems that other haven't, and I'd love some responses. A NullPointerException in the compiler prevents me from using Beta 2 Another compiler bug causes classes to be 'imported' into the namespace even when not imported Some bugs/limitations I've found with describeType(): one two In addition, I've written a few whingey posts about the design of the language, but the ones listed above are actual bugs. I'd love to engage with Adobe engineers on these problems and others, I was hoping that the beta forums were the place to do that. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Flex 2.0 and AMF.NET
Hi Everyone, Is there any reason why AMF.NET would not work with Flex 2.0? We're about to start a project and I'd really like to be able to use AMF.NET rather than web services. Any experiences would be great. Cheers Niklas -- Flexcoders Mailing 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: databinding issue for combobox
When you do this: dgResources.addItem( {dept: cmbDept.selectedItem} ); } you are putting the whole combobox item object into the dept property of a new object. Perhaps you just want: dgResources.addItem(cmbDept.selectedItem); Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of rgwilson26 Sent: Wednesday, March 29, 2006 10:16 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: databinding issue for combobox Basically I am calling a query that will populate a combobox. Then the user will be able to use a click event that will send that value from the combo box to a datagrid. Right now it sends a value from the combobox to the datagrid, but what is displayed is [object Object] instead of the desired value. Here is an example: SCRIPT public var dp:Array; private function addRow():Void{ dgResources.addItem( {dept: cmbDept.selectedItem} ); } private function doResult(result:Array):Void { dp = result; } SCRIPT mx:RemoteObject id=ro endpoint=http://10.95.20.39:8500/flashservices/gateway; source=cfdocs.components.getPersonnel mx:method name=serviceDeptLOV result=doResult (event.result._items)/ /mx:RemoteObject mx:DataGrid id=dgResources mx:column mx:Array mx:DataGridColumn headerText=Department columnName=dept width=200 / /mx:Array /mx:columns /mx:DataGrid mx:ComboBox id=cmbDept dataProvider={dp}/ mx:Button label=Add click={addRow()} textAlign=center width=75/ **CFC Query cffunction name=serviceDeptLOV access=remote returntype=query cfquery name=getserviceDept datasource=spotDB SELECT ServiceDept FROM dbo.ServiceDeptLOV ORDER BY ServiceDept /cfquery cfreturn getserviceDept /cffunction --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: [object Object] means you are trying to display a complex object as text. Can you be more specific about what you mean when you say send the results from the combobox to a datagrid ? Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of rgwilson26 Sent: Tuesday, March 28, 2006 2:41 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] databinding issue for combobox I am working on an app where I am populating various combo boxes with results from my look up tables in a sql server database. I have no problem binding the results to the comboboxes dataProvider property. However, when I try to send the results from the combobox to a datagrid it populates the datagrid field with [object Object] instead of the selected item value. I can call a query and populate a datagrid directly and it doesn't seem to be an issue, so I am a little confused as to why it is a problem going from a combobox to a datagrid? Any suggestions? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] How to create database connectivity with flex programming? or how to access database by flex/cold fusion connectivity?
What version? In 1.5, flex data passes through a data service protocol(Webservice, HTTPService, or RemoteObject) to a server-side program that in turn handles database connectivity. http://livedocs.macromedia.com/flex/15/flex_docs_en/0742.htm 2.0 has more options, but is similar. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of srini vasan Sent: Wednesday, March 29, 2006 8:16 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] How to create database connectivity with flex programming? or how to access database by flex/cold fusion connectivity? Hi I am new to flex programming.How to create database connectivity with flex programming? or how to access database by flex/cold fusion connectivity?. I searched many flexlearning articles. I did not get any solution. Please help me. Advance Thanks Jiyo cricket on Yahoo! India cricket Yahoo! Messenger Mobile Stay in touch with your buddies all the time. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Re: databinding issue for combobox
I think there is problem at dgResources.addItem ,..not sure but may bethere the fault On 3/30/06, Tracy Spratt [EMAIL PROTECTED] wrote: When you do this: dgResources.addItem( {dept: cmbDept.selectedItem} ); } you are putting the whole combobox item object into the dept property ofa new object.Perhaps you just want:dgResources.addItem(cmbDept.selectedItem); Tracy-Original Message-From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] OnBehalf Of rgwilson26 Sent: Wednesday, March 29, 2006 10:16 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Re: databinding issue for comboboxBasically I am calling a query that will populate a combobox. Then the user will be able to use a click event that will send that value from the combo box to a datagrid. Right now it sends a value from the combobox to the datagrid, but what is displayed is [object Object] instead of the desired value. Here is an example:SCRIPT public var dp:Array;private function addRow():Void{dgResources.addItem( {dept: cmbDept.selectedItem} );}private function doResult(result:Array):Void { dp = result; } SCRIPTmx:RemoteObject id=ro endpoint=http://10.95.20.39:8500/flashservices/gateway source=cfdocs.components.getPersonnelmx:method name=serviceDeptLOV result=doResult(event.result._items)/ /mx:RemoteObject mx:DataGrid id=dgResourcesmx:columnmx:Arraymx:DataGridColumn headerText=Department columnName=dept width=200 / /mx:Array/mx:columns/mx:DataGridmx:ComboBox id=cmbDept dataProvider={dp}/mx:Button label=Add click={addRow()} textAlign=center width=75/**CFC Querycffunction name=serviceDeptLOV access=remote returntype=query cfquery name=getserviceDept datasource=spotDB SELECT ServiceDept FROM dbo.ServiceDeptLOV ORDER BY ServiceDept/cfquery cfreturn getserviceDept/cffunction--- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: [object Object] means you are trying to display a complex object as text. Can you be more specific about what you mean when you say send the results from the combobox to a datagrid ? Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of rgwilson26 Sent: Tuesday, March 28, 2006 2:41 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] databinding issue for combobox I am working on an app where I am populating various combo boxes with results from my look up tables in a sql server database. I have no problem binding the results to the comboboxes dataProvider property. However, when I try to send the results from the combobox to a datagrid it populates the datagrid field with [object Object] instead of the selected item value. I can call a query and populate a datagrid directly and it doesn't seem to be an issue, so I am a little confused as to why it is a problem going from a combobox to a datagrid? Any suggestions? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- jignesh dodiya -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. 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] Flex2 :: mx:Text :: Problem with html property
Joan, Thanks, I feel like an idiot, I just realized that right when I hit the send button. But this (@*# google mail dosn't let you see your posts until theyy have been replied to. Peace, MikeOn 3/29/06, Joan Tan [EMAIL PROTECTED] wrote: To make html work for the Text component, you should be using the htmlText property. Here is an example: mx:Text width=400 mx:htmlText![CDATA[This is font color=#FFHTML text/font in a bText component/b. Using the uhtmlText attribute/u of the font color=#008800Text component/font you can use basic HTML markup.]]/mx:htmlText /mx:Text This Text component example is actually in the Flex Explorer Samples, by the way. Hope this helps. Joan From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Michael Schmalle Sent: Wednesday, March 29, 2006 8:43 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex2 :: mx:Text :: Problem with html property Hi, Has anyone had problems with the 'html' property being set to true on the Text component? I have mine set to true and it is still showing p tags, not html formatting? Peace, Mike -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] dispatching an event from an itemRenderer
OK, this has been giving me trouble for 2 hours now. Flex 2 Beta 2, btw. So I have a component with a dataGrid in it. For one of the dataGridColumns I have itemRenderer set to another component, in which I have a few text fields. I would like to dispatch an event when one of those text fields is clicked, and add an event listener for it in the component containing the dataGrid. But this will just not happen for me. Does anyone have any examples of doing something like this? Imagine hyperlinks in the dataGrid cells. Of course I will need to access the data for that cell, but one step at a time, perhaps! Chris Scott [EMAIL PROTECTED] http://cdscott.blogspot.com/ http://www.coldspringframework.org/ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * 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] Page Not Found after compile (Flex2 Beta2)
Hello all, me again. :) I'm just starting to get into building projects and I can't get my test app to compile properly. I created a new project, added a panel to the canvas, and then hit the Run.. button, and when the browser opens, I get a page cannot be found error. It is a problem with the compiler? Did I name something wrong? Any guidance is appreciated. Thanks, Ryan -- Flexcoders Mailing 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] dispatching an event from an itemRenderer
Does your event listener listen for events dispatched by the DataGrid? Make sure that the event your item renderer dispatches has bubbles=true. That way, the DataGrid will dispatch the event after the renderer dispatches it. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Chris Scott Sent: Wednesday, March 29, 2006 11:44 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] dispatching an event from an itemRenderer OK, this has been giving me trouble for 2 hours now. Flex 2 Beta 2, btw. So I have a component with a dataGrid in it. For one of the dataGridColumns I have itemRenderer set to another component, in which I have a few text fields. I would like to dispatch an event when one of those text fields is clicked, and add an event listener for it in the component containing the dataGrid. But this will just not happen for me. Does anyone have any examples of doing something like this? Imagine hyperlinks in the dataGrid cells. Of course I will need to access the data for that cell, but one step at a time, perhaps! Chris Scott [EMAIL PROTECTED] http://cdscott.blogspot.com/ http://www.coldspringframework.org/ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing 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] Message destinations in the context of a multi-room chat app
I was able to answer my own question. In my original post I didn't realize that the selector attribute of the Consumer component filtered messages on the server side. So, Stefan, if you want see what I'm talking about, check out the sample chat application supplied with the FDS installation. In the chat.mxml file, change this line: mx:Consumer id=consumer destination=chat-topic-jms message=messageHandler(event)/ by adding a selector attribute: mx:Consumer id=consumer destination=chat-topic-jms message=messageHandler(event) selector=room='Lobby'/ and then in the send() function, add a message header called room with a value of Lobby like so: public function send():void { var message:AsyncMessage = new AsyncMessage(); message.headers.userId = userId; message.headers.msg = msg.text; message.headers.room = Lobby; producer.send(message); msg.text=; } So, you'll have just one destination called chat-topic-jms, but that destination can serve multiple rooms by using a selector. The server only sends messages to clients that are both subscribed to that destination and have specified a matching selector. Let me know if that makes sense. Thanks, Tom On 3/28/06, Stefan Richter [EMAIL PROTECTED] wrote: I haven't actually had a chance to play with FDS yet (and I am unfamiliar what exactly a destination is in this context) but what you describe sounds like a definite limitation. Would you be able to post some code that shows how and where this problem surfaces? Stefan From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Bray Sent: 29 March 2006 00:49 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Message destinations in the context of a multi-room chat app Stefan, it's nice to know I'm not alone over here! Regarding using FMS and FDS together, I'd like to be able to rebuild this app: http://www.userplane.com/webchat/ using FDS for all the text messaging and data synchronization and FMS for the live AV. So far, I don't see a clear path to that goal without dynamic destinations or some equivalent approach. Remote Shared Objects in FMS are essentially dynamic destinations the way we use them in our apps. -Tom On 3/28/06, Stefan Richter [EMAIL PROTECTED] wrote: Good question and one for Adobe to answer - and I don't mean the specific implementation but: where does FMS/FCS stop and FDS start? Should we really be building chat apps with FDS? I'm sure I am not the only one still a little confused by the crossover of functionalities. Stefan BTW hello list, long time lurker first time poster here From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Bray Sent: 28 March 2006 20:19 To: flexcoders@yahoogroups.com Subject: [flexcoders] Message destinations in the context of a multi-room chat app I've been trying to understand how to configure destinations in the context of a multi-room chat application where the rooms are dynamically created. Here's the scenario: The application loads a configuration file that specifies what rooms to create. In this case, let's say that list includes the rooms Lobby, Sales, and Support. In additon to these dynamically created rooms, individual users can create new rooms from within the application. My first thought was that each room would be a message destination (topic), but it doesn't appear that destinations can be dynamically created. Then I thought I'd have a single destination but use selectors on the consumer component to determine which room's messages should be displayed in the chat output area, but that would mean that all messages for all rooms would go to all clients whether they were in that room or not. How would you handle this? I'm coming at this from the perspective of a Flash Communication Server developer and I'm trying to figure out if what I've done in FCS can be replicated or, hopefully, surpassed with FDS. Thanks, Tom -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Re: [flexcoders] Still need some help with my menu bar
Ashish Goyal wrote: Try this: currentState = [EMAIL PROTECTED]; -Ashish -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy Rottman Sent: Wednesday, March 29, 2006 8:12 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Still need some help with my menu bar after a few hours of playing with the menu bar issue I was having yesterday, I am still stuck trying to figure out why my menu handler function wont work with my menu bar. This function is suposed to change teh state when someone changes thier selection to one of the child menu items. It appears to change the state, but it does not load the state that is called. function menuHandler( oEvent : * ) : void { currentState = oEvent.menuItem.getProperty(data); } Here is my menubar again. mx:MenuBar change=menuHandler(event) labelField=@label showRoot=false width=100% height=22 x=1 y=10 mx:dataProvider mx:XML xmlns= menuitem label=Today data=today /menuitem menuitem label=Contacts data=home menuitem label=Add/Edit Outside Agent / menuitem label=Add/Edit Vendor / /menuitem menuitem label=Search data=home menuitem label=Listing data=etls / menuitem label=Sales / menuitem label=Rentals / menuitem label=Referrals / menuitem label=Contacts / menuitem label=HomeSmart Agents / /menuitem menuitem label=Transactions data= menuitem label=Add Listing data=ntcl / menuitem label=Add Sale data=ntcs / menuitem label=Add Rental data=ntcr / menuitem label=Add Referral data=ntcrf / /menuitem menuitem label=Marketing data= menuitem label=Lead Manager / menuitem label=Recruiting Manager / menuitem label=Mass Email / menuitem label=Mail Merge / /menuitem menuitem label=Education menuitem label=Video Modules / menuitem label=Schedule / /menuitem menuitem label=Content menuitem label=Downloads menuitem label=Add/Edit Download Category / menuitem label=Add/Edit Downloads / /menuitem menuitem label=CMS menuitem label=Add/Edit News Category / menuitem label=Add/Edit News / menuitem label=Smart News / /menuitem menuitem label=Links / /menuitem menuitem label=Reports menuitem label=Accounting / menuitem label=Marketing / menuitem label=Transactions / menuitem label=Franchise / /menuitem menuitem label=Setup menuitem label=Company Information data=compInfo hint=Displays Company Information Screen / menuitem label=Activity Plans / menuitem label=Commission Plans / menuitem label=Preferences / /menuitem menuitem label=Tools menuitem label=Remote Access / menuitem label=Cameras / menuitem label=Video Conference / menuitem label=Video Email / /menuitem /mx:XML /mx:dataProvider /mx:MenuBar -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS * Visit your group flexcoders http://groups.yahoo.com/group/flexcoders on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/.
[flexcoders] Re: Still need some help with my menu bar
Well, the documentation for the change event of MenuBar says: - menuItem Selected menu item. Access the menu item properties as: eventobj.menuItem.attributes.attribName So I would think that would translate to oEvent.menuItem.attributes.data, but I didn't verify that those docs are still up to date. --- In flexcoders@yahoogroups.com, Jeremy Rottman [EMAIL PROTECTED] wrote: Ashish Goyal wrote: Try this: currentState = [EMAIL PROTECTED]; -Ashish -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy Rottman Sent: Wednesday, March 29, 2006 8:12 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Still need some help with my menu bar after a few hours of playing with the menu bar issue I was having yesterday, I am still stuck trying to figure out why my menu handler function wont work with my menu bar. This function is suposed to change teh state when someone changes thier selection to one of the child menu items. It appears to change the state, but it does not load the state that is called. function menuHandler( oEvent : * ) : void { currentState = oEvent.menuItem.getProperty(data); } Here is my menubar again. mx:MenuBar change=menuHandler(event) labelField=@label showRoot=false width=100% height=22 x=1 y=10 mx:dataProvider mx:XML xmlns= menuitem label=Today data=today /menuitem menuitem label=Contacts data=home menuitem label=Add/Edit Outside Agent / menuitem label=Add/Edit Vendor / /menuitem menuitem label=Search data=home menuitem label=Listing data=etls / menuitem label=Sales / menuitem label=Rentals / menuitem label=Referrals / menuitem label=Contacts / menuitem label=HomeSmart Agents / /menuitem menuitem label=Transactions data= menuitem label=Add Listing data=ntcl / menuitem label=Add Sale data=ntcs / menuitem label=Add Rental data=ntcr / menuitem label=Add Referral data=ntcrf / /menuitem menuitem label=Marketing data= menuitem label=Lead Manager / menuitem label=Recruiting Manager / menuitem label=Mass Email / menuitem label=Mail Merge / /menuitem menuitem label=Education menuitem label=Video Modules / menuitem label=Schedule / /menuitem menuitem label=Content menuitem label=Downloads menuitem label=Add/Edit Download Category / menuitem label=Add/Edit Downloads / /menuitem menuitem label=CMS menuitem label=Add/Edit News Category / menuitem label=Add/Edit News / menuitem label=Smart News / /menuitem menuitem label=Links / /menuitem menuitem label=Reports menuitem label=Accounting / menuitem label=Marketing / menuitem label=Transactions / menuitem label=Franchise / /menuitem menuitem label=Setup menuitem label=Company Information data=compInfo hint=Displays Company Information Screen / menuitem label=Activity Plans / menuitem label=Commission Plans / menuitem label=Preferences / /menuitem menuitem label=Tools menuitem label=Remote Access / menuitem label=Cameras / menuitem label=Video Conference / menuitem label=Video Email / /menuitem /mx:XML /mx:dataProvider /mx:MenuBar -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search
RE: [flexcoders] Still need some help with my menu bar
Hey Jeremy, I just tried your sample and it works fine. If you are naming your states as menu labels then @label would work and if you are using data as your state names then @data would work. For example, I added following states in your code: mx:states mx:State name=Sales mx:AddChild mx:Button label=In Sales State/ /mx:AddChild /mx:State mx:State name=Rentals mx:AddChild mx:Button label=In Rental State/ /mx:AddChild /mx:State mx:State name=Referrals mx:AddChild mx:Button label=In Referrals State/ /mx:AddChild /mx:State /mx:states On selecting menu Search - Sales or Rentals or Referrals, I do see state changes. Please attach your complete code if you are still having problems. -Ashish -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy Rottman Sent: Wednesday, March 29, 2006 11:51 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Still need some help with my menu bar Ashish Goyal wrote: Try this: currentState = [EMAIL PROTECTED]; -Ashish -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy Rottman Sent: Wednesday, March 29, 2006 8:12 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Still need some help with my menu bar after a few hours of playing with the menu bar issue I was having yesterday, I am still stuck trying to figure out why my menu handler function wont work with my menu bar. This function is suposed to change teh state when someone changes thier selection to one of the child menu items. It appears to change the state, but it does not load the state that is called. function menuHandler( oEvent : * ) : void { currentState = oEvent.menuItem.getProperty(data); } Here is my menubar again. mx:MenuBar change=menuHandler(event) labelField=@label showRoot=false width=100% height=22 x=1 y=10 mx:dataProvider mx:XML xmlns= menuitem label=Today data=today /menuitem menuitem label=Contacts data=home menuitem label=Add/Edit Outside Agent / menuitem label=Add/Edit Vendor / /menuitem menuitem label=Search data=home menuitem label=Listing data=etls / menuitem label=Sales / menuitem label=Rentals / menuitem label=Referrals / menuitem label=Contacts / menuitem label=HomeSmart Agents / /menuitem menuitem label=Transactions data= menuitem label=Add Listing data=ntcl / menuitem label=Add Sale data=ntcs / menuitem label=Add Rental data=ntcr / menuitem label=Add Referral data=ntcrf / /menuitem menuitem label=Marketing data= menuitem label=Lead Manager / menuitem label=Recruiting Manager / menuitem label=Mass Email / menuitem label=Mail Merge / /menuitem menuitem label=Education menuitem label=Video Modules / menuitem label=Schedule / /menuitem menuitem label=Content menuitem label=Downloads menuitem label=Add/Edit Download Category / menuitem label=Add/Edit Downloads / /menuitem menuitem label=CMS menuitem label=Add/Edit News Category / menuitem label=Add/Edit News / menuitem label=Smart News / /menuitem menuitem label=Links / /menuitem menuitem label=Reports menuitem label=Accounting / menuitem label=Marketing / menuitem label=Transactions / menuitem label=Franchise / /menuitem menuitem label=Setup menuitem label=Company Information data=compInfo hint=Displays Company Information Screen / menuitem label=Activity Plans / menuitem label=Commission Plans / menuitem label=Preferences / /menuitem menuitem label=Tools
RE: [flexcoders] Re: need help with programatic skin
You can set the button's paddingLeft and paddingRight styles. I have no problem making the left and right padding larger, or somewhat smaller. But I can't get it down to only 2 pixels; there seems to be some extra slop. When I try using negative numbers that are too large, the label becomes truncated with ... . So you'll probably have to extend Button and override measure() and updateDisplayList(). Or you could cheat and simply set the exact width and height of the button to get the look you want. - Gordon -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of shemeshkale Sent: Wednesday, March 29, 2006 3:32 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: need help with programatic skin not what i meant. a button in flex have a default gap (padding in html/css) between text and the buttons border - on both leftright sides. how do i change this? --- In flexcoders@yahoogroups.com, Jason Hawryluk [EMAIL PROTECTED] wrote: If I understand you question correctly. Have a look at the textIndent style this can be set via css or property, otherwise your going to have to extend the button. for example css file mx:Style .IndentedtextButton{ cornerRadius: 0; textIndent: 15; fontWeight: normal; } /mx:Style mx:Button textAlign=left styleName=IndentedtextButton width=150 label=Test / or mx:Button textAlign=left textIndent=15 width=150 label=Test / Hope that helps Jason -Message d'origine- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la part de shemeshkale Envoyé : mercredi 29 mars 2006 09:11 À : flexcoders@yahoogroups.com Objet : [flexcoders] Re: need help with programatic skin PLEASE HELP ! or please refer me to a place i can learn... --- In flexcoders@yahoogroups.com, shemeshkale baldhead72@ wrote: hi, i m working with the basic HALO skin. i m trying to change some things without luck. PLEASE HELP: - how do i change the padding (the space between the text and the border) inside a button? i want to make a deafult 2px. - i want to make a top and bottom border on the selected item of a tree. - i want to change the gray arrow in the tree to a +\- sign. how do i do this? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com -- YAHOO! GROUPS LINKS a.. Visit your group flexcoders on the web. b.. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Re: need help with programatic skin
They've been renamed to paddingLeft, etc. I'm not sure why Button doesn't support paddingTop and paddingBottom, but I agree it should. I've just filed a bug about it. - Gordon From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Michael Schmalle Sent: Wednesday, March 29, 2006 3:39 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: need help with programatic skin Hi, From what I gather your are looking for the 'marginRight' and 'marginLeft' css styles. Button does not support 'marginTop' and 'marginBottom' css styles. If I were to have made this Button I would have included this. Adobe, what was your reasoning for not allowing us to have top and bottom margins? I can think of a couple things I could use it for. Peace, Mike On 3/29/06, shemeshkale [EMAIL PROTECTED] wrote: not what i meant. a button in flex have a default gap (padding in html/css) between text and the buttons border - on both leftright sides. how do i change this? --- In flexcoders@yahoogroups.com, Jason Hawryluk [EMAIL PROTECTED] wrote: If I understand you question correctly. Have a look at the textIndent style this can be set via css or property, otherwise your going to have to extend the button. for example css file mx:Style .IndentedtextButton{ cornerRadius: 0; textIndent: 15; fontWeight: normal; } /mx:Style mx:Button textAlign=left styleName=IndentedtextButton width=150 label=Test / or mx:Button textAlign=left textIndent=15 width=150 label=Test / Hope that helps Jason -Message d'origine- De : flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com]De la part de shemeshkale Envoyé : mercredi 29 mars 2006 09:11 À : flexcoders@yahoogroups.com Objet : [flexcoders] Re: need help with programatic skin PLEASE HELP ! or please refer me to a place i can learn... --- In flexcoders@yahoogroups.com, shemeshkale baldhead72@ wrote: hi, i m working with the basic HALO skin. i m trying to change some things without luck. PLEASE HELP: - how do i change the padding (the space between the text and the border) inside a button? i want to make a deafult 2px. - i want to make a top and bottom border on the selected item of a tree. - i want to change the gray arrow in the tree to a +\- sign. how do i do this? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com -- YAHOO! GROUPS LINKS a.. Visit your group flexcoders on the web. b.. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Re: need help with programatic skin
Oh yeah, The styles have finally been changed to what they actually are; padding! Thats to funny, I just noticed that. Peace, MikeOn 3/29/06, Gordon Smith [EMAIL PROTECTED] wrote: You can set the button's paddingLeft and paddingRight styles. I have no problem making the left and right padding larger, or somewhat smaller. But I can't get it down to only 2 pixels; there seems to be some extra slop. When I try using negative numbers that are too large, the label becomes truncated with ... . So you'll probably have to extend Button and override measure() and updateDisplayList(). Or you could cheat and simply set the exact width and height of the button to get the look you want. - Gordon -Original Message- From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of shemeshkale Sent: Wednesday, March 29, 2006 3:32 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: need help with programatic skin not what i meant. a button in flex have a default gap (padding in html/css) between text and the buttons border - on both leftright sides. how do i change this? --- In flexcoders@yahoogroups.com, Jason Hawryluk [EMAIL PROTECTED] wrote: If I understand you question correctly. Have a look at the textIndent style this can be set via css or property, otherwise your going to have to extend the button. for example css file mx:Style .IndentedtextButton{ cornerRadius: 0; textIndent: 15; fontWeight: normal; } /mx:Style mx:Button textAlign=left styleName=IndentedtextButton width=150 label=Test / or mx:Button textAlign=left textIndent=15 width=150 label=Test / Hope that helps Jason -Message d'origine- De : flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com]De la part de shemeshkale Envoyé : mercredi 29 mars 2006 09:11 À : flexcoders@yahoogroups.com Objet : [flexcoders] Re: need help with programatic skin PLEASE HELP ! or please refer me to a place i can learn... --- In flexcoders@yahoogroups.com, shemeshkale baldhead72@ wrote: hi, i m working with the basic HALO skin. i m trying to change some things without luck. PLEASE HELP: - how do i change the padding (the space between the text and the border) inside a button? i want to make a deafult 2px. - i want to make a top and bottom border on the selected item of a tree. - i want to change the gray arrow in the tree to a +\- sign. how do i do this? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com -- YAHOO! GROUPS LINKS a.. Visit your group flexcoders on the web. b.. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Too many mistakes
It looks like we didn't catch all of the API changes between Beta 1 and Beta 2. We will try to make it better for the next release. Matthew J. Horn Flex docs -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of snail Sent: Wednesday, March 29, 2006 2:16 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Too many mistakes hello,everyone When I read the help content of Flex Builder 2 beta 2,I find many mistakes,such as use Link instead of LinkButton which is not exist in Flex 2. And the example code also make mistakes. When I follow the help,many errors occour. So boring. I am a beginner,I find flex 2 is not so good,at least, not easy to learn by read the help in which many mistakes. Will Adobe make it better ? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] dispatching an event from an itemRenderer
IIRC, the event.target changes to the last object catching the event. I'm having the same issue with a TileList and itemRenderer DK On 3/29/06, Tobias Patton [EMAIL PROTECTED] wrote: Does your event listener listen for events dispatched by the DataGrid? Make sure that the event your item renderer dispatches has bubbles=true. That way, the DataGrid will dispatch the event after the renderer dispatches it. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Chris Scott Sent: Wednesday, March 29, 2006 11:44 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] dispatching an event from an itemRenderer OK, this has been giving me trouble for 2 hours now. Flex 2 Beta 2, btw. So I have a component with a dataGrid in it. For one of the dataGridColumns I have itemRenderer set to another component, in which I have a few text fields. I would like to dispatch an event when one of those text fields is clicked, and add an event listener for it in the component containing the dataGrid. But this will just not happen for me. Does anyone have any examples of doing something like this? Imagine hyperlinks in the dataGrid cells. Of course I will need to access the data for that cell, but one step at a time, perhaps! Chris Scott [EMAIL PROTECTED] http://cdscott.blogspot.com/ http://www.coldspringframework.org/ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- 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 Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Flex 2.0 and AMF.NET
Does AMF.NET support the new AMF format? With Flash Player 8.5 and AS 3 there was released a newer AMF format, called AMF3. Renaun --- In flexcoders@yahoogroups.com, Niklas Richardson [EMAIL PROTECTED] wrote: Hi Everyone, Is there any reason why AMF.NET would not work with Flex 2.0? We're about to start a project and I'd really like to be able to use AMF.NET rather than web services. Any experiences would be great. Cheers Niklas -- Flexcoders Mailing 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] dispatching an event from an itemRenderer
ok, I'll retract that. looks like the bubbles up retains the target. Chris, try adding this to your object inside your itemRenderer creationComplete=this.addEventListener(MouseEvent.CLICK,handleUpClick); This seems to work for me. DK On 3/29/06, Douglas Knudsen [EMAIL PROTECTED] wrote: IIRC, the event.target changes to the last object catching the event. I'm having the same issue with a TileList and itemRenderer DK On 3/29/06, Tobias Patton [EMAIL PROTECTED] wrote: Does your event listener listen for events dispatched by the DataGrid? Make sure that the event your item renderer dispatches has bubbles=true. That way, the DataGrid will dispatch the event after the renderer dispatches it. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Chris Scott Sent: Wednesday, March 29, 2006 11:44 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] dispatching an event from an itemRenderer OK, this has been giving me trouble for 2 hours now. Flex 2 Beta 2, btw. So I have a component with a dataGrid in it. For one of the dataGridColumns I have itemRenderer set to another component, in which I have a few text fields. I would like to dispatch an event when one of those text fields is clicked, and add an event listener for it in the component containing the dataGrid. But this will just not happen for me. Does anyone have any examples of doing something like this? Imagine hyperlinks in the dataGrid cells. Of course I will need to access the data for that cell, but one step at a time, perhaps! Chris Scott [EMAIL PROTECTED] http://cdscott.blogspot.com/ http://www.coldspringframework.org/ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Douglas Knudsen http://www.cubicleman.com this is my signature, like it? -- 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 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] dispatching an event from an itemRenderer
OK, it's all kind of good, but here's what I have discovered. My itemRenderer is a component based on HBox, this is being used as an itemRenderer for a column of a dataGrid. In that component I had 3 Label items. I can create rollover effects for each like so:mx:Label id="xx" text="A Link" rollOver="doRoll(xx)" rollOut="doRollOut(xx)" click="doClick(xx)" /my methods for doRollover and doRollout just change the textField.textColor propery of the label. The problem is they don't respond to the click event. I swapped the Labels out for LinkButtons, and that now responds to the click event, and I can broadcast up to my component containing the dataGrid, retrieve the selected item, etc, etc, and I'm happy. But the LinkButton components don't align correctly and don't get a rollover event, and they get an ugly pushButton effect, etc. So anyone have any ideas about what's going on here? I'd love to have this working much cleaner, and purdier. Thanks! Chris Scott[EMAIL PROTECTED]http://cdscott.blogspot.com/http://www.coldspringframework.org/ On Mar 29, 2006, at 2:47 PM, Tobias Patton wrote: Does your event listener listen for events dispatched by the DataGrid? Make sure that the event your item renderer dispatches has "bubbles=true". That way, the DataGrid will dispatch the event after the renderer dispatches it. -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Chris Scott Sent: Wednesday, March 29, 2006 11:44 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] dispatching an event from an itemRenderer OK, this has been giving me trouble for 2 hours now. Flex 2 Beta 2, btw. So I have a component with a dataGrid in it. For one of the dataGridColumns I have itemRenderer set to another component, in which I have a few text fields. I would like to dispatch an event when one of those text fields is clicked, and add an event listener for it in the component containing the dataGrid. But this will just not happen for me. Does anyone have any examples of doing something like this? Imagine hyperlinks in the dataGrid cells. Of course I will need to access the data for that cell, but one step at a time, perhaps! Chris Scott [EMAIL PROTECTED] http://cdscott.blogspot.com/ http://www.coldspringframework.org/ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. 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] Beta 2: Evaluating interfaces
Wondering if there is ability to find out if a Class implements an interface? As in:function checkImp(className:Class): Boolean { return (className is IMyInterface);}I'm using the PopUpManager internally, and want to check that whatever gets passed in implements my interface, first. Thanks, : : ) Scott -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Re: databinding issue for combobox
I actually have multiple columns in my dg which is why I am using dgResources.addItem( {dept: cmbDept.selectedItem} ); I cut down the example for simplicity. However, I did try the example you suggested and it gives me a statement incomplete error. I think it needs a identifier for each specific column. Would I have to somehow loop through the new object in the combo box and pull each specific item out? --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: When you do this: dgResources.addItem( {dept: cmbDept.selectedItem} ); } you are putting the whole combobox item object into the dept property of a new object. Perhaps you just want: dgResources.addItem(cmbDept.selectedItem); Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of rgwilson26 Sent: Wednesday, March 29, 2006 10:16 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: databinding issue for combobox Basically I am calling a query that will populate a combobox. Then the user will be able to use a click event that will send that value from the combo box to a datagrid. Right now it sends a value from the combobox to the datagrid, but what is displayed is [object Object] instead of the desired value. Here is an example: SCRIPT public var dp:Array; private function addRow():Void{ dgResources.addItem( {dept: cmbDept.selectedItem} ); } private function doResult(result:Array):Void { dp = result; } SCRIPT mx:RemoteObject id=ro endpoint=http://10.95.20.39:8500/flashservices/gateway; source=cfdocs.components.getPersonnel mx:method name=serviceDeptLOV result=doResult (event.result._items)/ /mx:RemoteObject mx:DataGrid id=dgResources mx:column mx:Array mx:DataGridColumn headerText=Department columnName=dept width=200 / /mx:Array /mx:columns /mx:DataGrid mx:ComboBox id=cmbDept dataProvider={dp}/ mx:Button label=Add click={addRow()} textAlign=center width=75/ **CFC Query cffunction name=serviceDeptLOV access=remote returntype=query cfquery name=getserviceDept datasource=spotDB SELECT ServiceDept FROM dbo.ServiceDeptLOV ORDER BY ServiceDept /cfquery cfreturn getserviceDept /cffunction --- In flexcoders@yahoogroups.com, Tracy Spratt tspratt@ wrote: [object Object] means you are trying to display a complex object as text. Can you be more specific about what you mean when you say send the results from the combobox to a datagrid ? Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of rgwilson26 Sent: Tuesday, March 28, 2006 2:41 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] databinding issue for combobox I am working on an app where I am populating various combo boxes with results from my look up tables in a sql server database. I have no problem binding the results to the comboboxes dataProvider property. However, when I try to send the results from the combobox to a datagrid it populates the datagrid field with [object Object] instead of the selected item value. I can call a query and populate a datagrid directly and it doesn't seem to be an issue, so I am a little confused as to why it is a problem going from a combobox to a datagrid? Any suggestions? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Beta 2: Evaluating interfaces
'is' can only be used to test *instances* of classes that implement interfaces. You don't use it with the class itself. So... function checkImp(className:Class):Boolean { return new className() is IMyInterface; } will work. You could also use describeType(className) and iterate over the implementsInterface child tags, but this would be much more expensive. - Gordon From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Scott Langeberg Sent: Wednesday, March 29, 2006 1:29 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Beta 2: Evaluating interfaces Wondering if there is ability to find out if a Class implements an interface? As in: function checkImp(className:Class): Boolean { return (className is IMyInterface); } I'm using the PopUpManager internally, and want to check that whatever gets passed in implements my interface, first. Thanks, : : ) Scott -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Re: Internal Build Error
Excellent, thanks Mike. It'd be nice if they could find a way to output the file and line number causing the internal build error if it happens again! :-) Ta, Tim. On Wednesday 29 Mar 2006 19:20, Mike Chambers wrote: fyi, I forwarded this to the Flex Builder team. mike chambers [EMAIL PROTECTED] Tim Sawyer wrote: Still shouldn't blow up the compiler though should it. :-) Our old beta 1 code says: var kpiList:Array = Array(this.myData)[0]; and the compiler warning is Array(x) behaves the same as new Array(x). To cast a value to type Array use 'x as Array' instead of Array(x). so I changed it to var kpiList:Array = (this.myData as Array)[0]; thereby causing the problem. this.myData is an Object, so still needs to be cast to Array. Strangely, the code that actually works is: var kpiList:Array = this.myData as Array; so I've lost a level of Array embedding somewhere... Tim. --- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, Not to butt in or anything but, var kpiList:Array = (this.myData as Array)[0]; That is probably not a very good way to write the expression anyway. I can see why there might be a glich, var kpiList:Array = myData[0] as Array; would probably be better. Peace, Mike On 3/29/06, Tim Sawyer [EMAIL PROTECTED] wrote: Found it. The compiler is throwing a fit on this line of code: var kpiList:Array = (this.myData as Array)[0]; if I remove as Array, then it compiles and the compiler no longer explodes. I actually added the as Array in because Flex gave me a warning that I was casting Object to Array and I should do it manually! :-) No it compiles, all I have to do is get this code to actually run in Beta 2, at the moment I'm getting a blue screen in my browser, no loading bar, and no application. Argh! Tim. --- In flexcoders@yahoogroups.com, bhaq1972 mbhaque@ wrote: I'm also fustrated by this internal build error. the whole of my monday was wasted on it. i've now gone back to starting the project all over again, but only bringing in a class(or mxml) at a time. painfully slow but has broken yet. --- In flexcoders@yahoogroups.com, Michael Schmalle teoti.graphix@ wrote: Hi, I wrote a couple lengthy posts on this forum. ;-) Search for internal build error, you should see some things I have encountered. Peace, Mike On 3/28/06, Tim Sawyer lists@ wrote: I'm getting An internal build error has occurred. Please check the Error Log. The log says: !ENTRY com.adobe.flexbuilder.project 4 43 2006-03-28 16:28:20.702 !MESSAGE Uncaught exception in compiler !STACK 0 java.lang.NullPointerException at macromedia.asc.semantics.ConstantEvaluator.evaluate (ConstantEvaluator.java :948) at macromedia.asc.parser.MemberExpressionNode.evaluate( MemberExpressionNode.java:31) at macromedia.asc.semantics.ConstantEvaluator.evaluate (ConstantEvaluator.java :1606) at macromedia.asc.parser.ArgumentListNode.evaluate (ArgumentListNode.java:28) at macromedia.asc.semantics.ConstantEvaluator.evaluate (ConstantEvaluator.java :727) at macromedia.asc.parser.SetExpressionNode.evaluate (SetExpressionNode.java :39) at macromedia.asc.semantics.ConstantEvaluator.evaluate (ConstantEvaluator.java :1040) at macromedia.asc.parser.MemberExpressionNode.evaluate( MemberExpressionNode.java:31) at macromedia.asc.semantics.ConstantEvaluator.evaluate (ConstantEvaluator.java :1635) at macromedia.asc.parser.ListNode.evaluate (ListNode.java:27) at macromedia.asc.semantics.ConstantEvaluator.evaluate (ConstantEvaluator.java :1734) at macromedia.asc.parser.ExpressionStatementNode.evaluate( ExpressionStatementNode.java:33) at macromedia.asc.semantics.ConstantEvaluator.evaluate (ConstantEvaluator.java :1714) at macromedia.asc.parser.StatementListNode.evaluate (StatementListNode.java :34) at macromedia.asc.semantics.ConstantEvaluator.evaluate (ConstantEvaluator.java :1786) at macromedia.asc.parser.IfStatementNode.evaluate (IfStatementNode.java:34) at macromedia.asc.semantics.ConstantEvaluator.evaluate (ConstantEvaluator.java :1714) at macromedia.asc.parser.StatementListNode.evaluate (StatementListNode.java :34) at macromedia.asc.semantics.ConstantEvaluator.evaluate (ConstantEvaluator.java :2220) at macromedia.asc.parser.FunctionCommonNode.evaluate (FunctionCommonNode.java :87) at macromedia.asc.semantics.ConstantEvaluator.evaluate (ConstantEvaluator.java :2910) at macromedia.asc.parser.ClassDefinitionNode.evaluate( ClassDefinitionNode.java:86)
Re: [flexcoders] Re: How do u use HTTP POST in flex 2 / AS3
I think this is what your looking for lets say the id of your HTTPService is called hs and I'm assuming you know how to create HTTPServices. so do this function send_params():void { // declare variable obj and type is Object var obj:Object = new Object(); // Set properties ( without the need of type declaration ) and set a value. obj['param_name_1'] = 'param value 1'; obj['param_name_2'] = 'param value 2'; obj['param_name_3'] = 'param value 3'; // Trigger the HTTPService hs.send(obj); } then all you do later in your AS somewhere you just call to the function send_params and thats it :p Hope this helps and this is just a basic example( I've not tested this code but that should work. you'll just have to change a few things ) On 3/29/06, Dan [EMAIL PROTECTED] wrote: Does it means to submit a html form using post to a mxml file? Does it works? Coz I am facing the same problem... i am using flex 1.5 seems it doesn't work?Daniel--- In flexcoders@yahoogroups.com, Manuel Saint-Victor [EMAIL PROTECTED] wrote: It's using HTTPService Mike Potter also posted an example on his bloghttp://blogs.adobe.com/mikepotter/2006/02/flex_and_php_a_1.html Mani On 3/28/06, arpitmathur_80 [EMAIL PROTECTED] wrote: I cant get HTTP POST to work (i am definitely a flex newbie). Can anyone help me ? thanks arpit-- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders% 40yahoogroups.com SPONSORED LINKS Web site design developmenthttp://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+site+design+developmentw2= Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ Computer software development http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=Web+site+design+developmentw 2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw Software design and development http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=Web+site+design+development w2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ Macromedia flexhttp://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+developmentw2=Computer+sof tware+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=OO6nPIrz7_EpZI36cYzBjw Software development best practice http://groups.yahoo.com/gads?t=msk=Software+development+best+practicew1=Web+site+design+developm entw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIw -- YAHOO! GROUPS LINKS- Visit your group flexcodershttp://groups.yahoo.com/group/flexcoders on the web. - To unsubscribe from this group, send an email to: [EMAIL PROTECTED]flexcoders- [EMAIL PROTECTED] - Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/.-- --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Beta 2: Evaluating interfaces
Thanks.Looks ta' worked!ScottOn 3/29/06, Gordon Smith [EMAIL PROTECTED] wrote: 'is' can only be used to test *instances* of classes that implement interfaces. You don't use it with the class itself. So... function checkImp(className:Class):Boolean { return new className() is IMyInterface; } will work. You could also use describeType(className) and iterate over the implementsInterface child tags, but this would be much more expensive. - Gordon From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Scott Langeberg Sent: Wednesday, March 29, 2006 1:29 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Beta 2: Evaluating interfaces Wondering if there is ability to find out if a Class implements an interface? As in: function checkImp(className:Class): Boolean { return (className is IMyInterface); } I'm using the PopUpManager internally, and want to check that whatever gets passed in implements my interface, first. Thanks, : : ) Scott -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service . -- : : ) Scott -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Beta 2: TitleWindow.titleBar = No Double Clicking!
I'm unable to listen for doubleClick on the titleBar in my class that extends TitleWindow. I'm able to catch the mouseDown event, but not doubleClick: this.titleBar.doubleClickEnabled = true; trace(dblclcickenable: +this.titleBar.doubleClickEnabled) this.titleBar.addEventListener(MouseEvent.MOUSE_DOWN, onMouseDown);this.titleBar.addEventListener(MouseEvent.DOUBLE_CLICK, onDoubleClick);Any ideas appreciated!: : ) Scott -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Flex2Beta2: resolving relative URIs
Hi all, I need a class to resolve a uri from a baseURI and a relativeURI example resolveRelativeURI( base:String, relative:String ):String base: http://www.foo.com/bla relative: image.jpg returns: http://www.foo.com/bla/image.jpg base: http://www.foo.com/bla/blo/ relative: ../../bar.html#fragment returns: http://www.foo.com/bar.html#fragment base: http://www.foo.com/bla/blo/ relative: /bar.html#fragment returns: http://www.foo.com/bar.html#fragment etc. before coding it... is there something like this already in the api?? lotta code to browse! Thanks, Aldo -- : Aldo Bucchi : mobile (56) 8 429 8300 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: How do u use HTTP POST in flex 2 / AS3
That simplifies it and makes it really clear. I hadn't thought of it that way as far as loading and sending an object a-la LoadVars before nowManiOn 3/29/06, sinatosk [EMAIL PROTECTED] wrote: I think this is what your looking for lets say the id of your HTTPService is called hs and I'm assuming you know how to create HTTPServices. so do this function send_params():void { // declare variable obj and type is Object var obj:Object = new Object(); // Set properties ( without the need of type declaration ) and set a value. obj['param_name_1'] = 'param value 1'; obj['param_name_2'] = 'param value 2'; obj['param_name_3'] = 'param value 3'; // Trigger the HTTPService hs.send(obj); } then all you do later in your AS somewhere you just call to the function send_params and thats it :p Hope this helps and this is just a basic example( I've not tested this code but that should work. you'll just have to change a few things ) On 3/29/06, Dan [EMAIL PROTECTED] wrote: Does it means to submit a html form using post to a mxml file? Does it works? Coz I am facing the same problem... i am using flex 1.5 seems it doesn't work?Daniel --- In flexcoders@yahoogroups.com, Manuel Saint-Victor [EMAIL PROTECTED] wrote: It's using HTTPService Mike Potter also posted an example on his bloghttp://blogs.adobe.com/mikepotter/2006/02/flex_and_php_a_1.html Mani On 3/28/06, arpitmathur_80 [EMAIL PROTECTED] wrote: I cant get HTTP POST to work (i am definitely a flex newbie). Can anyone help me ? thanks arpit-- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders% 40yahoogroups.com SPONSORED LINKS Web site design developmenthttp://groups.yahoo.com/gads? t=msk=Web+site+design+developmentw1=Web+site+design+developmentw2= Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ Computer software development http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=Web+site+design+developmentw 2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw Software design and development http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=Web+site+design+development w2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ Macromedia flexhttp://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+developmentw2=Computer+sof tware+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=OO6nPIrz7_EpZI36cYzBjw Software development best practice http://groups.yahoo.com/gads?t=msk=Software+development+best+practicew1=Web+site+design+developm entw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIw -- YAHOO! GROUPS LINKS- Visit your group flexcodershttp://groups.yahoo.com/group/flexcoders on the web. - To unsubscribe from this group, send an email to: [EMAIL PROTECTED]flexcoders- [EMAIL PROTECTED] - Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/.-- --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service . -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service . -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] dispatching an event from an itemRenderer
event.target is whatever object called dispatchEvent(). It stays fixed through the capture and bubble phases of event dispatching. event.currentTarget is the object whose event listeners are being processed. It changes during the capture and bubble phases, but will always be an ancestor of the target. - Gordon -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Douglas Knudsen Sent: Wednesday, March 29, 2006 1:11 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] dispatching an event from an itemRenderer IIRC, the event.target changes to the last object catching the event. I'm having the same issue with a TileList and itemRenderer DK On 3/29/06, Tobias Patton [EMAIL PROTECTED] wrote: Does your event listener listen for events dispatched by the DataGrid? Make sure that the event your item renderer dispatches has bubbles=true. That way, the DataGrid will dispatch the event after the renderer dispatches it. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Chris Scott Sent: Wednesday, March 29, 2006 11:44 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] dispatching an event from an itemRenderer OK, this has been giving me trouble for 2 hours now. Flex 2 Beta 2, btw. So I have a component with a dataGrid in it. For one of the dataGridColumns I have itemRenderer set to another component, in which I have a few text fields. I would like to dispatch an event when one of those text fields is clicked, and add an event listener for it in the component containing the dataGrid. But this will just not happen for me. Does anyone have any examples of doing something like this? Imagine hyperlinks in the dataGrid cells. Of course I will need to access the data for that cell, but one step at a time, perhaps! Chris Scott [EMAIL PROTECTED] http://cdscott.blogspot.com/ http://www.coldspringframework.org/ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- 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 Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Re: need help with programatic skin
Override measure() and updateDisplayList(). - Gordon -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of shemeshkale Sent: Wednesday, March 29, 2006 5:01 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: need help with programatic skin that is the direction of my thought, but... allready tried that - it seems to have some minimum!! i cant do marginRight=0... when i do that i still have this damn space that i cant get rid of. i saw in the Button.as a property called 'extraSpacing' that it does exactly that.. how do i make it zero !! --- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, From what I gather your are looking for the 'marginRight' and 'marginLeft' css styles. Button does not support 'marginTop' and 'marginBottom' css styles. If I were to have made this Button I would have included this. Adobe, what was your reasoning for not allowing us to have top and bottom margins? I can think of a couple things I could use it for. Peace, Mike On 3/29/06, shemeshkale [EMAIL PROTECTED] wrote: not what i meant. a button in flex have a default gap (padding in html/css) between text and the buttons border - on both leftright sides. how do i change this? --- In flexcoders@yahoogroups.com, Jason Hawryluk jh@ wrote: If I understand you question correctly. Have a look at the textIndent style this can be set via css or property, otherwise your going to have to extend the button. for example css file mx:Style .IndentedtextButton{ cornerRadius: 0; textIndent: 15; fontWeight: normal; } /mx:Style mx:Button textAlign=left styleName=IndentedtextButton width=150 label=Test / or mx:Button textAlign=left textIndent=15 width=150 label=Test / Hope that helps Jason -Message d'origine- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la part de shemeshkale Envoyé : mercredi 29 mars 2006 09:11 À : flexcoders@yahoogroups.com Objet : [flexcoders] Re: need help with programatic skin PLEASE HELP ! or please refer me to a place i can learn... --- In flexcoders@yahoogroups.com, shemeshkale baldhead72@ wrote: hi, i m working with the basic HALO skin. i m trying to change some things without luck. PLEASE HELP: - how do i change the padding (the space between the text and the border) inside a button? i want to make a deafult 2px. - i want to make a top and bottom border on the selected item of a tree. - i want to change the gray arrow in the tree to a +\- sign. how do i do this? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com -- YAHOO! GROUPS LINKS a.. Visit your group flexcoders on the web. b.. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com -- YAHOO! GROUPS LINKS - Visit your group flexcodershttp://groups.yahoo.com/group/flexcoders on the web. - To unsubscribe from this group, send an email to: [EMAIL PROTECTED][EMAIL PROTECTED] - Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/. -- -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Beta 2: TitleWindow.titleBar = No Double Clicking!
I think the problem is that the TextField displaying the title is actually getting the click (rather than the title bar background) but it isn't doubleClickEnabled. We're fixing the doubleClickEnabled setter to recurse into children. - Gordon From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Scott Langeberg Sent: Wednesday, March 29, 2006 2:43 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Beta 2: TitleWindow.titleBar = No Double Clicking! I'm unable to listen for doubleClick on the titleBar in my class that extends TitleWindow. I'm able to catch the mouseDown event, but not doubleClick: this.titleBar.doubleClickEnabled = true; trace(dblclcickenable: +this.titleBar.doubleClickEnabled) this.titleBar.addEventListener(MouseEvent.MOUSE_DOWN, onMouseDown); this.titleBar.addEventListener(MouseEvent.DOUBLE_CLICK, onDoubleClick); Any ideas appreciated! : : ) Scott -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Re: Flex2, JBoss and SonicMQ
I also need to be able to access the SonicMQ JNDI store from a flex data service. Where you able to make any progress on this? --- In flexcoders@yahoogroups.com, cshafer213 [EMAIL PROTECTED] wrote: Hello, I am running Flex2 on JBoss and it is working except for the messaging. Is there a way that I can point Flex2 to SonicMQ running remotely? I would love to be able to specify a url and security for a remote jndi store where the Sonic connection and topic could be looked up. Thanks, Chris Shafer George Weiss Associates One State Street Hartford, CT 06103 [EMAIL PROTECTED] [EMAIL PROTECTED] -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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: databinding issue for combobox
And here is an enhanced example that has both the same structure and different structures. Tracy ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; initialize=initApp() horizontalAlign=left mx:Script![CDATA[ public var aDP:Array = [ {label:A, Number:0}, {label:B, Number:1}, {label:C, Number:2}]; private function initApp():Void { } private function addRow():Void{ dgTarget.addItem( cboSource.selectedItem ); } private function addRow2():Void{ var sLabel:String = cboSource2.selectedItem.label; var nNumber:Number = cboSource2.selectedItem.Number; dgTarget2.addItem( {someOtherlabel:sLabel, someOtherNumber:nNumber} ); } ]]/mx:Script mx:Label text=This example has the same item object structure for both controls / mx:HBox mx:ComboBox id=cboSource dataProvider={aDP} width=150 / mx:Button label=Add Selected Item to DataGrid click=addRow()/ mx:DataGrid id=dgTarget mx:columns mx:Array mx:DataGridColumn headerText=Label columnName=label / mx:DataGridColumn headerText=Number columnName=Number / /mx:Array /mx:columns /mx:DataGrid /mx:HBox mx:Label text=This example has different item object structures / mx:HBox mx:ComboBox id=cboSource2 dataProvider={aDP} width=150 / mx:Button label=Add Selected Item to DataGrid click=addRow2()/ mx:DataGrid id=dgTarget2 mx:columns mx:Array mx:DataGridColumn headerText=Label columnName=someOtherlabel / mx:DataGridColumn headerText=Number columnName=someOtherNumber / /mx:Array /mx:columns /mx:DataGrid /mx:HBox /mx:Application -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt Sent: Wednesday, March 29, 2006 8:32 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: databinding issue for combobox Here is a sample app that migh approach what you want. It assumes the item object structures are the same for both controls. Tracy ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; horizontalAlign=left mx:Script![CDATA[ public var aDP:Array = [ {label:A, Number:0}, {label:B, Number:1}, {label:C, Number:2}]; private function addRow():Void{ dgTarget.addItem( cboSource.selectedItem ); } ]]/mx:Script mx:HBox mx:ComboBox id=cboSource dataProvider={aDP} width=150 / mx:Button label=Add Selected Item to DataGrid click=addRow()/ mx:DataGrid id=dgTarget mx:columns mx:Array mx:DataGridColumn headerText=Label columnName=label / mx:DataGridColumn headerText=Number columnName=Number / /mx:Array /mx:columns /mx:DataGrid /mx:HBox -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt Sent: Wednesday, March 29, 2006 7:16 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: databinding issue for combobox Item objects(rows) contain multiple properties(columns). Is the structure of the item object the same for the combobox dataProvider and the DataGrid dataProvider? If so you should be able to simply specify the combobox selectedItem as the argument to addItem. Maybe you have to cast the selectedItem as Object? If the two item objects are not the same structure then you are on the right track, but you want to put the property balue in the new property, not the whole item object. Maybe: dgResources.addItem( {dept: cmbDept.selectedItem.dept} ); I'll see if I can do a quick example, and see what works. Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of rgwilson26 Sent: Wednesday, March 29, 2006 4:35 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: databinding issue for combobox I actually have multiple columns in my dg which is why I am using dgResources.addItem( {dept: cmbDept.selectedItem} ); I cut down the example for simplicity. However, I did try the example you suggested and it gives me a statement incomplete error. I think it needs a identifier for each specific column. Would I have to somehow loop through the new object in the combo box and pull each specific item out? --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: When you do this: dgResources.addItem( {dept: cmbDept.selectedItem} ); } you are putting the whole combobox item object into the dept property of a new object. Perhaps you just want:
[flexcoders] Re: Hardware requirements for Flex performance
thanx for the response Mika. I was wondering if you have even experiences behavioral anomalies as a result of this? For instance, when I select a lot of data from this popup window, it displays in my main window as an iteration of Repeater tags. Problem is that some of my selections aren't being displayed. Just a little baffled at that. TIA, George --- In flexcoders@yahoogroups.com, Mika Kiljunen [EMAIL PROTECTED] wrote: Hi, If you have a complex app that processed and displays _lot of data_ then memory could be an issue. We run our app on IE and it eats a big bunch of memory when lot of data is loaded, which is of course a natural result. This causes slowdown on performance. Also many flex components like datagrid slow down a great deal when lot of data is populated on them. So watch out for memory. Also processor performance effects a lot on usability with Flex 1.5. -Mika _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of george_lui Sent: 29. maaliskuuta 2006 10:08 To: flexcoders@yahoogroups.com Subject: [flexcoders] Hardware requirements for Flex performance Hi, Anyone here have any comments on how complexities in your Flex app can affect the performance? We have an app where we're fetching and displaying a lot of data. We're seeing the behavior where if we select too much of something to display, it won't display everything. A collegue hypothesized that the hardware specs of the machine might play a factor. We have customer that could conceivably be using slower machines that have 256MB of RAM. So I guess I'm wondering if any of you would know how hardware specs might play into the performance of your flex app (or more specifically the flash browser plugin I guess). Is there a relationship between the complexities of your app and the hardware resources it might require? We're using Flex 1.5 btw. TIA, George -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com _ YAHOO! GROUPS LINKS * Visit your group flexcoders http://groups.yahoo.com/group/flexcoders on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! http://docs.yahoo.com/info/terms/ Terms of Service. _ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] HTTP method POST is not supported by this MXML?
I get HTTP method POST is not supported by this URL when to call the following html script form action=analyzer.mxml method=post input name=submit type=submit value=Bring me to my analyzer /form The script work well if method=get, however, I want to sumbit hidden parameters to the mxml. Anyone Can help? Daniel -- Flexcoders Mailing 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/