[flexcoders] creating a separate swf
hi, i am new to flex . i have two more components(canvas or panel or textarea ) in my single flex application.can i create each canvas a separate swf? . that i can use it separately for my web aplication project it is possible in flex thanks kandasami raja
[flexcoders] Using Ant in Eclipse to build
Hi Guys I'm using the eclipse Flex 2 plugin and use an Ant build.xml file to put the project into a jar file for deploying. I've got the jar file being created ok but I can't work out how to get the build.xml file to clean the project and then build it. Is this possible? Thanks Giles.
Re: [flexcoders] Using Ant in Eclipse to build
Giles - Yes, it is not too hard. I just blogged about how to build a flex project using Ant http://blog.fastlanesw.com/?p=23... let me know if you need more than that. hth Scott Giles Roadnight wrote: Hi Guys I'm using the eclipse Flex 2 plugin and use an Ant build.xml file to put the project into a jar file for deploying. I've got the jar file being created ok but I can't work out how to get the build.xml file to clean the project and then build it. Is this possible? Thanks Giles.
RE: [flexcoders] changing a component's currentState in main state?
Hi, there are events that get fired when the state changes. Have a look at enterState and exitState events (mx:State enterState=...) You should be able to do whatever you like in there. Mark From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of grimmwerks Sent: 12 September 2007 20:54 To: flexcoders@yahoogroups.com Subject: [flexcoders] changing a component's currentState in main state? Is there a way to use setProperty in a state to set a lower component's state?
[flexcoders] Flex and Zinc
Hi, I have been asked a number of technical questions by many people about how Flex works with Zinc. For specific solutions, please email me directly, but for FAQ's, please see this Tech Note: http://www.multidmedia.com/support/developers/articles/?action=show http://www.multidmedia.com/support/developers/articles/?action=showid=9 id=9 . I have also been asked about the type of applications that are created with Flex and Zinc. The following link is to our Archive section http://www.multidmedia.com/showcase/?year=2007 and here is a link to our Developer Articles area http://www.multidmedia.com/support/developers/articles/ . Both of these links should spark your imaginations! There is now less than a week left for all Flexcoders to claim your 50% off MDM Zinc v2.5. Simply email 'paul (dot) tunnicliffe (at) multidmedia (dot) com' with the subject header 'Flexcoders discount' and you will receive your discount code via email. The code expires on Wednesday 19th Sept so get your orders in now! Thanks to all those Flexcoders members who have taken part already, and I hope to hear from more of you soon. Best regards, Paul Tunnicliffe New Business and Sales Executive Multidmedia Limited (MDM) http://www.multidmedia.com/ www.multidmedia.com TEL: +44 (0) 1902 837402 FAX: +44 (0) 1902 837401
[flexcoders] Can I use fade in/out on Sound play?
Hello all, I want to make a sound fade in/out when it's playing. But I searched the SoundTransform, and nothing was found. Can any one tell me how to do this? == Make Every Day Count Larry Zhang
[flexcoders] Re: Mousewheel on a scrollbar (List or combobox)
Hm, well I'm on a desktop PC with Windows and a normal mouse. --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: BTW, mouseWheel only works on Win. I've also had problems on Win with laptop touchpad mousewheels. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of kevintuhumury Sent: Wednesday, September 12, 2007 12:19 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Mousewheel on a scrollbar (List or combobox) No, but since I was using dynamic data, I thought that might be a reason. I just tested it with static data and it's still not working. I really don't get it. --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Alex Harui aharui@ wrote: Are you saying that it works for you with static data, but not with dynamic data? From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of kevintuhumury Sent: Monday, September 10, 2007 11:50 PM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] Re: Mousewheel on a scrollbar (List or combobox) Hm, for some reason it's not. I have a comboBox with a dataprovider, which gets it's data from a XML file. The same for the List, is this a problem? I mean, is this option only available with static data and not with dynamic data? Because I've got no clue as to why it wouldn't work. --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com , Alex Harui aharui@ wrote: mouseWheel should already work on list and combobox dropdowns. From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of kevintuhumury Sent: Monday, September 10, 2007 7:52 AM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] Mousewheel on a scrollbar (List or combobox) Hey, I'm trying to figure out on how to use the mousewheel on a list or a combobox, but I'm not getting anywhere. DataGrid and TextArea have an option called mouseWheelEnabled, I'd like to have this option also for a List or a ComboBox. I was thinking of extending ScrollBar and adding a method which makes scrolling with the mousewheel possible. But how do you enable it for all the scrollbars in an application? I was thinking of maybe calling the new class with ClassReference in my CSS file, but I'm not sure on which element I should add it. Any help would be great! For a few examples check out: www.scrapblog.com (comboBox with fonts or Lists in the Accordion)
[flexcoders] Re: Using @Resource directive with Moxie
Thanks for your help. It has nothing to do with Cairngorm because I could reproduce it even using just a component with an on namespace and a simple class. So I have filled a bug report with that now. Using the binding expression didn't solve the problem but adding the extra script code to get the resourceManager worked. So, thanks again Markus --- In flexcoders@yahoogroups.com, Gordon Smith [EMAIL PROTECTED] wrote: In Flex 2, the @Resource(...) directive autogenerated code to access resources directly from a ResourceBundle instance. In Flex 3, it autogenerates code to access them through a new ResourceManager. The general policy is to always access resources through the ResourceManager as the central repository for all resources, so that there is only one instance of each bundle and so that the locale can be switched at runtime. In Flex 3, base classes like UIComponent, Formatter, and Validator now have a resourceManager property to make the @Resource directive work, but Cairngorm's ServiceLocator doesn't have such a property. Try adding mx:Script import mx.resources.IResourceManager; import mx.resources.ResourceManager; private var resourceManager:IResourceManager = ResourceManager.getInstance(); /mx:Script and see whether that makes the compiler happy. If that doesn't work, try using a binding expression like url={ResourceManager.getInstance().getString('myServiceBundle', 'myServiceUrl')} instead of url=@Resource(...) But please file this as a bug at http://bugs.adobe.com/flex http://bugs.adobe.com/flex . We should probably make the MXML compiler autogenerate a resourceManager property if necessary so that @Resource(...) will work in any class. - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of kramus0 Sent: Wednesday, September 12, 2007 9:56 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Using @Resource directive with Moxie Hi again, maybe it is just a simple namespace problem. I am using Cairngorm and so I have a different namespace for my ServiceLocator where I use the HTTPService. Here an other code snippet. Thanks for your help. Markus ?xml version=1.0 encoding=utf-8? cairngorm:ServiceLocator xmlns:mx=http://www.adobe.com/2006/mxml http://www.adobe.com/2006/mxml xmlns:cairngorm=http://www.adobe.com/2006/cairngorm http://www.adobe.com/2006/cairngorm mx:HTTPService id=myService url=@Resource(key='myServiceUrl', bundle='myServiceBundle')/ The compiler error is on the last line, where it tries to allocate the Resource. Like I said in the 2.0.1 SDK that was fine. --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , kramus0 kramus0@ wrote: Hi, when I use the 2.0.1 SDK I can use a localized value for the url in a HTTPService and it would look like this: mx:HTTPService id=myService url=@Resource(key='myServiceUrl', bundle='myServiceBundle')/ But when I try to compile the same code with the Moxie SDK I get an error that basically says: Error: Try to access a not defined property resourceManager. (My actual error message is in german language: Error: Zugriff auf eine nicht definierte Eigenschaft resourceManager.) So, what is going wrong? Did anyone have the same problem? Thanks, Markus
[flexcoders] [Bindable] not binding
Hi there I've used the [Bindabe] meta-tag 100's of times, but for some reason it seems to have stopped working. I have a very straight-forward setup with a controller, properties and a view. I have a bindable reference to the controller in the view, while the controller has a bindable 'title' property. Setting breakpoints at various steps of the code I can confirm that the 'title' property is bound to the label in the view (titleText.text = My Title), yet it is not displayed. I even tried view.validateNow(); to try force validation / displaying of the label. What could I be doing wrong, is there possibly a bug in the new Flash Player that isnt updating bound properties correctly? This is the 2nd time I've come across this in 3 days. Here is a summary of my code: View.mxml - [Bindable] public var controller: QController; mx:Label id=titleText text={controller.title} fontWeight=bold / QController.as -- [Bindable] public function get title():String { return _title; } public function set title(value: String):void { _title = value; _view.validateNow(); }
[flexcoders] Scrollbar error in a List with an ItemRenderer
Hello, I've got a weird problem. I have a List which gets it's data from a XML file. I use an ItemRenderer for each item to create a Button with a multiline label on it. I'm working on a resolution of 1280 x 1024 and my browser window has a size of 1024 x 768. When I use the scrollbar of my List, maximize my browser window, use the scrollbar, resize back to 1024 x 768 and than use the same scrollbar again I get the following error: TypeError: Error #1010: A term is undefined and has no properties. at mx.controls.listClasses::TileBase/mx.controls.listClasses:TileBase::scrollVertically() at mx.controls.listClasses::TileBase/mx.controls.listClasses:TileBase::scrollHandler() at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at mx.core::UIComponent/dispatchEvent() at mx.controls.scrollClasses::ScrollBar/http://www.adobe.com/2006/flex/mx/internal::dispatchScrollEvent() at mx.controls.scrollClasses::ScrollThumb/::mouseMoveHandler() How should I solve this, since the error seems to be created by classes of the framework.
[flexcoders] Vertical slider instead of dropdownlist in a comboBox
MixBook ( http://www.mixbook.com/create/tool?d=1 ) is using a comboBox with a vertical slider instead of a dropdown box to change the fontsize of a text (select a textfield and the comboBox on the floating toolbar). I was wondering if this is a default functionality of the comboBox, which I don't know about or a custom component. I tried to find something on Google, but couldn't find anything. I guess they made it specifically for that application. I'd like to create something like it, since it makes changing fontsize a lot faster. Before looking in the code of the comboBox class, I'd like to have some suggestions on how to do this (or a link to a downloadable custom component ;)).
[flexcoders] Re: Vertical slider instead of dropdownlist in a comboBox
In short... I was thinking of overriding updateDisplayList, removing the List (if it is a List) and adding a slider. Is this the correct route to accomplish this? --- In flexcoders@yahoogroups.com, kevintuhumury [EMAIL PROTECTED] wrote: MixBook ( http://www.mixbook.com/create/tool?d=1 ) is using a comboBox with a vertical slider instead of a dropdown box to change the fontsize of a text (select a textfield and the comboBox on the floating toolbar). I was wondering if this is a default functionality of the comboBox, which I don't know about or a custom component. I tried to find something on Google, but couldn't find anything. I guess they made it specifically for that application. I'd like to create something like it, since it makes changing fontsize a lot faster. Before looking in the code of the comboBox class, I'd like to have some suggestions on how to do this (or a link to a downloadable custom component ;)).
Re: [flexcoders] Decorator Pattern 101
Thanks a lot Michael! One never stops learning. I'll be using this stuff from now on, but I still have one question about all this (sorry to take your time). In your first post, you wrote this: You can't decorate a UIComponent since it is a DisplayObject and needs to be added to the display list. 1. Why does the Decorator become limited because the UIComponent needs to be added to the display list? Thanks! On 9/12/07, Michael Schmalle [EMAIL PROTECTED] wrote: arrg, I'm doing to many things today.. in the construct that would be makerImpl = new JuiceMaster(); instead of; makerImpl = new JuiceMaker(); I'm sure you knew that but, I'm just a perfectionist even with irrelevant emails. :) Mike On 9/12/07, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, below is the 'concrete' version; class JuiceMaster { public function makeJuice(type:String):void { trace(Happily making, type, juice!, Tralalala!); } } public class JuiceMaker extends Button { private var _makerClass:Class; private var makerImpl:JuiceMaster; public function set makerClass(value:Class):void { _makerClass = value; makerImpl = new _makerClass(); } public function set makerClass():Class { return makerImpl; } public function JuiceMaker() { super(); // you could just make the default implementation here // thats about as concrete as it gets makerImpl = new JuiceMaker(); } public function makeJuice(type:String):void { if (makerImpl is JuiceMaster) makerImpl.makeJuice(type); } } Notice the types are concrete meaning you are programming to an implemented class, no polymorphism here. And note this is not 'real' decoration either. Real decoration means you pass a reference to an instance of the decorator and actually call the decorators methods. This is like Composition Decorating, and maybe there is some other OO word for it. I don't care about the technical of it just that it IS a pattern good for DisplayObjects. Peace, Mike On 9/12/07, Claudia Barnal [EMAIL PROTECTED] wrote: Yeah, I had thought about something using composition. But somewhere I had read that the Decorator was what I needed :( I'll do it as you mentioned, but I would still love to hear about the Concrete class that you mention :) Thanks Michael! On 9/12/07, Michael Schmalle [EMAIL PROTECTED] wrote: Oh yeah JuiceMaker id=myJuiceMaker decorator={JuiceMaster} click= myJuiceMaker.makeJuice('orange') / is supposed to be; JuiceMaker id=myJuiceMaker makerClass={JuiceMaster} click= myJuiceMaker.makeJuice('orange') / On 9/12/07, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, You can't decorate a UIComponent since it is a DisplayObject and needs to be added to the display list. You have to either us composition or subclass Button and use an interface and pass the class to decorate the Button with. JuiceMaker id=myJuiceMaker decorator={JuiceMaster} click= myJuiceMaker.makeJuice('orange') / class JuiceMaster implemented IJuiceMaker { public function makeJuice(type:String):void { trace(Happily making, type, juice!, Tralalala!); } } public class JuiceMaker extends Button implemented IJuiceMaker { private var _makerClass:Class; private var makerImpl:IJuiceMaster; public function set makerClass(value:Class):void { _makerClass = value; makerImpl = new _makerClass(); } public function set makerClass():Class { return makerImpl; } public function JuiceMaker() { super(); } public function makeJuice(type:String):void { if (makerImpl is IJuiceMaker) makerImpl.makeJuice(type); } } public interface IJuiceMaker { function makeJuice(type:String):void; } The above is something that would help what you are trying to achieve with display object. You could also drop the interfaces and use concrete types but hey, if your asking about decorators, your asking about design patterns. ;-) Peace, Mike On 9/12/07, Claudia Barnal [EMAIL PROTECTED] wrote: I believe I might be missing something with the Decorator Pattern. I've tried to get a simple example to work, but I get too mixed up with all the abstracts and what not. Here's what I'm trying to do: Extend a Button and add some functionality to it gotten from another
Re: [flexcoders] [Bindable] not binding
It doesn't look like you instantiate the controller, are you doing that somewhere else in your code? public var controller: QController = new QController(); - Original Message From: polestar11 [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, September 13, 2007 6:20:12 AM Subject: [flexcoders] [Bindable] not binding Hi there I've used the [Bindabe] meta-tag 100's of times, but for some reason it seems to have stopped working. I have a very straight-forward setup with a controller, properties and a view. I have a bindable reference to the controller in the view, while the controller has a bindable 'title' property. Setting breakpoints at various steps of the code I can confirm that the 'title' property is bound to the label in the view (titleText.text = My Title), yet it is not displayed. I even tried view.validateNow( ); to try force validation / displaying of the label. What could I be doing wrong, is there possibly a bug in the new Flash Player that isnt updating bound properties correctly? This is the 2nd time I've come across this in 3 days. Here is a summary of my code: View.mxml - [Bindable] public var controller: QController; mx:Label id=titleText text={controller. title} fontWeight= bold / QController. as -- [Bindable] public function get title():String { return _title; } public function set title(value: String):void { _title = value; _view.validateNow( ); } !-- #ygrp-mkp{ border:1px solid #d8d8d8;font-family:Arial;margin:14px 0px;padding:0px 14px;} #ygrp-mkp hr{ border:1px solid #d8d8d8;} #ygrp-mkp #hd{ color:#628c2a;font-size:85%;font-weight:bold;line-height:122%;margin:10px 0px;} #ygrp-mkp #ads{ margin-bottom:10px;} #ygrp-mkp .ad{ padding:0 0;} #ygrp-mkp .ad a{ color:#ff;text-decoration:none;} -- !-- #ygrp-sponsor #ygrp-lc{ font-family:Arial;} #ygrp-sponsor #ygrp-lc #hd{ margin:10px 0px;font-weight:bold;font-size:78%;line-height:122%;} #ygrp-sponsor #ygrp-lc .ad{ margin-bottom:10px;padding:0 0;} -- !-- #ygrp-mlmsg {font-size:13px;font-family:arial, helvetica, clean, sans-serif;} #ygrp-mlmsg table {font-size:inherit;font:100%;} #ygrp-mlmsg select, input, textarea {font:99% arial, helvetica, clean, sans-serif;} #ygrp-mlmsg pre, code {font:115% monospace;} #ygrp-mlmsg * {line-height:1.22em;} #ygrp-text{ font-family:Georgia; } #ygrp-text p{ margin:0 0 1em 0;} #ygrp-tpmsgs{ font-family:Arial; clear:both;} #ygrp-vitnav{ padding-top:10px;font-family:Verdana;font-size:77%;margin:0;} #ygrp-vitnav a{ padding:0 1px;} #ygrp-actbar{ clear:both;margin:25px 0;white-space:nowrap;color:#666;text-align:right;} #ygrp-actbar .left{ float:left;white-space:nowrap;} .bld{font-weight:bold;} #ygrp-grft{ font-family:Verdana;font-size:77%;padding:15px 0;} #ygrp-ft{ font-family:verdana;font-size:77%;border-top:1px solid #666; padding:5px 0; } #ygrp-mlmsg #logo{ padding-bottom:10px;} #ygrp-vital{ background-color:#e0ecee;margin-bottom:20px;padding:2px 0 8px 8px;} #ygrp-vital #vithd{ font-size:77%;font-family:Verdana;font-weight:bold;color:#333;text-transform:uppercase;} #ygrp-vital ul{ padding:0;margin:2px 0;} #ygrp-vital ul li{ list-style-type:none;clear:both;border:1px solid #e0ecee; } #ygrp-vital ul li .ct{ font-weight:bold;color:#ff7900;float:right;width:2em;text-align:right;padding-right:.5em;} #ygrp-vital ul li .cat{ font-weight:bold;} #ygrp-vital a{ text-decoration:none;} #ygrp-vital a:hover{ text-decoration:underline;} #ygrp-sponsor #hd{ color:#999;font-size:77%;} #ygrp-sponsor #ov{ padding:6px 13px;background-color:#e0ecee;margin-bottom:20px;} #ygrp-sponsor #ov ul{ padding:0 0 0 8px;margin:0;} #ygrp-sponsor #ov li{ list-style-type:square;padding:6px 0;font-size:77%;} #ygrp-sponsor #ov li a{ text-decoration:none;font-size:130%;} #ygrp-sponsor #nc{ background-color:#eee;margin-bottom:20px;padding:0 8px;} #ygrp-sponsor .ad{ padding:8px 0;} #ygrp-sponsor .ad #hd1{ font-family:Arial;font-weight:bold;color:#628c2a;font-size:100%;line-height:122%;} #ygrp-sponsor .ad a{ text-decoration:none;} #ygrp-sponsor .ad a:hover{ text-decoration:underline;} #ygrp-sponsor .ad p{ margin:0;} o{font-size:0;} .MsoNormal{ margin:0 0 0 0;} #ygrp-text tt{ font-size:120%;} blockquote{margin:0 0 0 4px;} .replbq{margin:4;} -- Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user panel and lay it on us. http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7
Re: [flexcoders] Decorator Pattern 101
Hi, 1. Why does the Decorator become limited because the UIComponent needs to be added to the display list? This goes back to what I said about what decoration is. True decoration means, var juiceMaker:JuiceMaker = new JuiceMaker(); // Button juiceMaker = new JuiceMaster(juiceMaker); // implements IJuiceMaker juiceMaker.makeJuice(apple); - which then calls JuiceMaster's makeJuice, which then would call JuicMaker's makeJuice(). I think you were mixing apples and oranges(no pun intended) when you first thought about this. As you can see after you decorate the Button with JuiceMaster, even thought it would implement the same type, juiceMaker is no longer a DisplayObject and thus, you cannot do this; myBox.addChild(juiceMaker); Does that make sense? Peace, Mike On 9/13/07, Claudia Barnal [EMAIL PROTECTED] wrote: Thanks a lot Michael! One never stops learning. I'll be using this stuff from now on, but I still have one question about all this (sorry to take your time). In your first post, you wrote this: You can't decorate a UIComponent since it is a DisplayObject and needs to be added to the display list. 1. Why does the Decorator become limited because the UIComponent needs to be added to the display list? Thanks! On 9/12/07, Michael Schmalle [EMAIL PROTECTED] wrote: arrg, I'm doing to many things today.. in the construct that would be makerImpl = new JuiceMaster(); instead of; makerImpl = new JuiceMaker(); I'm sure you knew that but, I'm just a perfectionist even with irrelevant emails. :) Mike On 9/12/07, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, below is the 'concrete' version; class JuiceMaster { public function makeJuice(type:String):void { trace(Happily making, type, juice!, Tralalala!); } } public class JuiceMaker extends Button { private var _makerClass:Class; private var makerImpl:JuiceMaster; public function set makerClass(value:Class):void { _makerClass = value; makerImpl = new _makerClass(); } public function set makerClass():Class { return makerImpl; } public function JuiceMaker() { super(); // you could just make the default implementation here // thats about as concrete as it gets makerImpl = new JuiceMaker(); } public function makeJuice(type:String):void { if (makerImpl is JuiceMaster) makerImpl.makeJuice(type); } } Notice the types are concrete meaning you are programming to an implemented class, no polymorphism here. And note this is not 'real' decoration either. Real decoration means you pass a reference to an instance of the decorator and actually call the decorators methods. This is like Composition Decorating, and maybe there is some other OO word for it. I don't care about the technical of it just that it IS a pattern good for DisplayObjects. Peace, Mike On 9/12/07, Claudia Barnal [EMAIL PROTECTED] wrote: Yeah, I had thought about something using composition. But somewhere I had read that the Decorator was what I needed :( I'll do it as you mentioned, but I would still love to hear about the Concrete class that you mention :) Thanks Michael! On 9/12/07, Michael Schmalle [EMAIL PROTECTED] wrote: Oh yeah JuiceMaker id=myJuiceMaker decorator={JuiceMaster} click= myJuiceMaker.makeJuice('orange') / is supposed to be; JuiceMaker id=myJuiceMaker makerClass={JuiceMaster} click= myJuiceMaker.makeJuice('orange') / On 9/12/07, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, You can't decorate a UIComponent since it is a DisplayObject and needs to be added to the display list. You have to either us composition or subclass Button and use an interface and pass the class to decorate the Button with. JuiceMaker id=myJuiceMaker decorator={JuiceMaster} click= myJuiceMaker.makeJuice('orange') / class JuiceMaster implemented IJuiceMaker { public function makeJuice(type:String):void { trace(Happily making, type, juice!, Tralalala!); } } public class JuiceMaker extends Button implemented IJuiceMaker { private var _makerClass:Class; private var makerImpl:IJuiceMaster; public function set makerClass(value:Class):void { _makerClass = value; makerImpl = new _makerClass(); } public function set makerClass():Class { return makerImpl; } public function JuiceMaker() {
[flexcoders] Re: [Bindable] not binding
I instantiate the controller in the controller class, in the view's onCreationComplete event: public function QController():void { _view.addEventListener(FlexEvent.CREATION_COMPLETE, onCreationComplete); } private function onCreationComplete(e: FlexEvent):void { _view.removeEventListener(FlexEvent.CREATION_COMPLETE, onCreationComplete); _view.controller = this; } --- In flexcoders@yahoogroups.com, Sean Sell [EMAIL PROTECTED] wrote: It doesn't look like you instantiate the controller, are you doing that somewhere else in your code? public var controller: QController = new QController(); - Original Message From: polestar11 [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, September 13, 2007 6:20:12 AM Subject: [flexcoders] [Bindable] not binding Hi there I've used the [Bindabe] meta-tag 100's of times, but for some reason it seems to have stopped working. I have a very straight-forward setup with a controller, properties and a view. I have a bindable reference to the controller in the view, while the controller has a bindable 'title' property. Setting breakpoints at various steps of the code I can confirm that the 'title' property is bound to the label in the view (titleText.text = My Title), yet it is not displayed. I even tried view.validateNow( ); to try force validation / displaying of the label. What could I be doing wrong, is there possibly a bug in the new Flash Player that isnt updating bound properties correctly? This is the 2nd time I've come across this in 3 days. Here is a summary of my code: View.mxml - [Bindable] public var controller: QController; mx:Label id=titleText text={controller. title} fontWeight= bold / QController. as -- [Bindable] public function get title():String { return _title; } public function set title(value: String):void { _title = value; _view.validateNow( ); } !-- #ygrp-mkp{ border:1px solid #d8d8d8;font-family:Arial;margin:14px 0px;padding:0px 14px;} #ygrp-mkp hr{ border:1px solid #d8d8d8;} #ygrp-mkp #hd{ color:#628c2a;font-size:85%;font-weight:bold;line-height:122%;margin:10px 0px;} #ygrp-mkp #ads{ margin-bottom:10px;} #ygrp-mkp .ad{ padding:0 0;} #ygrp-mkp .ad a{ color:#ff;text-decoration:none;} -- !-- #ygrp-sponsor #ygrp-lc{ font-family:Arial;} #ygrp-sponsor #ygrp-lc #hd{ margin:10px 0px;font-weight:bold;font-size:78%;line-height:122%;} #ygrp-sponsor #ygrp-lc .ad{ margin-bottom:10px;padding:0 0;} -- !-- #ygrp-mlmsg {font-size:13px;font-family:arial, helvetica, clean, sans-serif;} #ygrp-mlmsg table {font-size:inherit;font:100%;} #ygrp-mlmsg select, input, textarea {font:99% arial, helvetica, clean, sans-serif;} #ygrp-mlmsg pre, code {font:115% monospace;} #ygrp-mlmsg * {line-height:1.22em;} #ygrp-text{ font-family:Georgia; } #ygrp-text p{ margin:0 0 1em 0;} #ygrp-tpmsgs{ font-family:Arial; clear:both;} #ygrp-vitnav{ padding-top:10px;font-family:Verdana;font-size:77%;margin:0;} #ygrp-vitnav a{ padding:0 1px;} #ygrp-actbar{ clear:both;margin:25px 0;white-space:nowrap;color:#666;text-align:right;} #ygrp-actbar .left{ float:left;white-space:nowrap;} .bld{font-weight:bold;} #ygrp-grft{ font-family:Verdana;font-size:77%;padding:15px 0;} #ygrp-ft{ font-family:verdana;font-size:77%;border-top:1px solid #666; padding:5px 0; } #ygrp-mlmsg #logo{ padding-bottom:10px;} #ygrp-vital{ background-color:#e0ecee;margin-bottom:20px;padding:2px 0 8px 8px;} #ygrp-vital #vithd{ font-size:77%;font-family:Verdana;font-weight:bold;color:#333;text-transform:uppercase;} #ygrp-vital ul{ padding:0;margin:2px 0;} #ygrp-vital ul li{ list-style-type:none;clear:both;border:1px solid #e0ecee; } #ygrp-vital ul li .ct{ font-weight:bold;color:#ff7900;float:right;width:2em;text-align:right;padding-right:.5em;} #ygrp-vital ul li .cat{ font-weight:bold;} #ygrp-vital a{ text-decoration:none;} #ygrp-vital a:hover{ text-decoration:underline;} #ygrp-sponsor #hd{ color:#999;font-size:77%;} #ygrp-sponsor #ov{ padding:6px 13px;background-color:#e0ecee;margin-bottom:20px;} #ygrp-sponsor #ov ul{ padding:0 0 0 8px;margin:0;} #ygrp-sponsor #ov li{ list-style-type:square;padding:6px 0;font-size:77%;} #ygrp-sponsor #ov li a{ text-decoration:none;font-size:130%;} #ygrp-sponsor #nc{ background-color:#eee;margin-bottom:20px;padding:0 8px;} #ygrp-sponsor .ad{ padding:8px 0;} #ygrp-sponsor .ad #hd1{ font-family:Arial;font-weight:bold;color:#628c2a;font-size:100%;line-height:122%;} #ygrp-sponsor .ad a{ text-decoration:none;} #ygrp-sponsor .ad a:hover{ text-decoration:underline;} #ygrp-sponsor .ad p{ margin:0;} o{font-size:0;} .MsoNormal{ margin:0 0 0 0;}
[flexcoders] Re: PrintDataGrid and the last row problem
Hi Alex, And how to tell the correct size? Should I explicitly set the height? Here is one my my itemRenderers: ?xml version=1.0 encoding=utf-8? mx:VBox xmlns:mx=http://www.adobe.com/2006/mxml; verticalScrollPolicy=off horizontalScrollPolicy=off width=100% height=100% mx:Label id=cellLabel x=0 y=0 width=100% height=100% textAlign=left text={data.hasOwnProperty('m_sDescShort')?data.m_sDescShort:data.m_sDesc} paddingRight=10 paddingLeft=10/ /mx:VBox Thanks! Dmitri. --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: The Tree issue turned out to be in code the DG wouldn't run into. Makes me think your custom renderes are misreporting their sizes. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of mitek17 Sent: Wednesday, September 12, 2007 2:08 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: PrintDataGrid and the last row problem Hi Alex, There are 5 columns in the grid, 3 of which have custom itemRenderers. Flex 2.0.1 SDK Hotfix 1 Thanks! Regards, Dmitri. --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Alex Harui aharui@ wrote: Custom renderer or default renderers? Which version of Flex? I'm investigating a similar report against Tree today.
Re: [flexcoders] Re: PrintDataGrid and the last row problem
I'v ehad this problem too with a simple DG with no custom renderers. The last line is always cut in half. Very annoying. I gave up in the end and went onto something else. Let us know if you find a solution. Giles. On 9/13/07, mitek17 [EMAIL PROTECTED] wrote: Hi Alex, And how to tell the correct size? Should I explicitly set the height? Here is one my my itemRenderers: ?xml version=1.0 encoding=utf-8? mx:VBox xmlns:mx=http://www.adobe.com/2006/mxml; verticalScrollPolicy=off horizontalScrollPolicy=off width=100% height=100% mx:Label id=cellLabel x=0 y=0 width=100% height=100% textAlign=left text={data.hasOwnProperty('m_sDescShort')?data.m_sDescShort:data.m_sDesc } paddingRight=10 paddingLeft=10/ /mx:VBox Thanks! Dmitri. --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: The Tree issue turned out to be in code the DG wouldn't run into. Makes me think your custom renderes are misreporting their sizes. From: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com [mailto: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com] On Behalf Of mitek17 Sent: Wednesday, September 12, 2007 2:08 AM To: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com Subject: [flexcoders] Re: PrintDataGrid and the last row problem Hi Alex, There are 5 columns in the grid, 3 of which have custom itemRenderers. Flex 2.0.1 SDK Hotfix 1 Thanks! Regards, Dmitri. --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.commailto: flexcoders% flexcoders%2540yahoogroups.com , Alex Harui aharui@ wrote: Custom renderer or default renderers? Which version of Flex? I'm investigating a similar report against Tree today.
[flexcoders] Re: Resource bundle chaining
Basically there will be multiple resource bundles for a modue. If a resource is not found in one bundle, the others in the list will be searched. --- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Wednesday 12 Sep 2007, [EMAIL PROTECTED] wrote: How do I do a multiple resource bundle chaining Do what ? -- Tom Chiverton Helping to simultaneously strategize turn-key users on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com.
[flexcoders] Re: Mousewheel on a scrollbar (List or combobox)
I just noticed that it does work in the standalone flash player, but not in the browser (IE or FF). --- In flexcoders@yahoogroups.com, kevintuhumury [EMAIL PROTECTED] wrote: Hm, well I'm on a desktop PC with Windows and a normal mouse. --- In flexcoders@yahoogroups.com, Alex Harui aharui@ wrote: BTW, mouseWheel only works on Win. I've also had problems on Win with laptop touchpad mousewheels. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of kevintuhumury Sent: Wednesday, September 12, 2007 12:19 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Mousewheel on a scrollbar (List or combobox) No, but since I was using dynamic data, I thought that might be a reason. I just tested it with static data and it's still not working. I really don't get it. --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Alex Harui aharui@ wrote: Are you saying that it works for you with static data, but not with dynamic data? From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of kevintuhumury Sent: Monday, September 10, 2007 11:50 PM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] Re: Mousewheel on a scrollbar (List or combobox) Hm, for some reason it's not. I have a comboBox with a dataprovider, which gets it's data from a XML file. The same for the List, is this a problem? I mean, is this option only available with static data and not with dynamic data? Because I've got no clue as to why it wouldn't work. --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com , Alex Harui aharui@ wrote: mouseWheel should already work on list and combobox dropdowns. From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of kevintuhumury Sent: Monday, September 10, 2007 7:52 AM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] Mousewheel on a scrollbar (List or combobox) Hey, I'm trying to figure out on how to use the mousewheel on a list or a combobox, but I'm not getting anywhere. DataGrid and TextArea have an option called mouseWheelEnabled, I'd like to have this option also for a List or a ComboBox. I was thinking of extending ScrollBar and adding a method which makes scrolling with the mousewheel possible. But how do you enable it for all the scrollbars in an application? I was thinking of maybe calling the new class with ClassReference in my CSS file, but I'm not sure on which element I should add it. Any help would be great! For a few examples check out: www.scrapblog.com (comboBox with fonts or Lists in the Accordion)
[flexcoders] creating two child lists from one XMLList based on one element value
Hii I have one XMLList named keywordActionXMLList based on the following XML: labels label category_key0/category_key keyword_type_key2/keyword_type_key keyword_type_idTaa Daaa/keyword_type_id keyword_value_key8/keyword_value_key keyword_value_idReason 2/keyword_value_id /label label category_key0/category_key keyword_type_key3/keyword_type_key keyword_type_idReason B/keyword_type_id keyword_value_key6/keyword_value_key keyword_value_idReason B Value/keyword_value_id /label label category_key1/category_key keyword_type_key23/keyword_type_key keyword_type_idReason A/keyword_type_id keyword_value_key33/keyword_value_key keyword_value_idReason A Value/keyword_value_id /label /labels Now based on the element category_key value, I want to create separate XMLList's from this one. One list for category_key == 0 and another list for category_key != 0. I am trying to do something like: categoryXMLList = keywordActionXMLList.label.(category_key != 0); keywordXMLList = keywordActionXMLList.label.(category_key == 0); But am getting this error. TypeError: Error #1088: The markup in the document following the root element must be well-formed. Can anyone guide me like where am making mistake?? Thanks, Manu. -- View this message in context: http://www.nabble.com/creating-two-child-lists-from-one-XMLList-based-on-one-element-value-tf4434296.html#a12650609 Sent from the FlexCoders mailing list archive at Nabble.com.
[flexcoders] does flex2 has coldfusion cold hint?
when I edit a cfc file in flex,there isn't any code hint,seems quite awkward.How can I fix it or I should open dreamweaver when comes to a cfc file??
Re: [flexcoders] [Bindable] not binding
Shot in the dark and this might be a dumb question, but, are you sure you have the bold weight of the font in your CSS defined? good luck, jon On Sep 13, 2007, at 6:20 AM, polestar11 wrote: [Bindable] public var controller: QController; mx:Label id=titleText text={controller.title} fontWeight=bold /
[flexcoders] Re: Resource bundle chaining
Basically the module will be using multiple resource bundles. Resource lookup will support chaining, meaning that if a resource is not found in one bundle, others can be searched. --- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Wednesday 12 Sep 2007, [EMAIL PROTECTED] wrote: How do I do a multiple resource bundle chaining Do what ? -- Tom Chiverton Helping to simultaneously strategize turn-key users on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com.
[flexcoders] Questions Re: Web Services
Hi Shibli, I'm having a similar issue with binding from the SAP webservice to a datagrdi. I've managed a simple webservice call and bound a string result to a text using something like mx:Text text={srv.ZZBAPI_HELLOWORLD.lastResult.HELLOTEXT} width=432/ But when I'm using the standard BAPI_FLCUST_GETLIST I can't manage to bind the CUSTOMER_LIST (which is one of many returned) to the datagrid. Did you manage to get anywhere? I'm using flex3 beta with a NetWeaver 2004s backend system. Any help will be much appreciated. Thanks Darren
[flexcoders] scale9 bugs
I sent off an e-mail to some people at adobe and got back confirmation that there's a bug with scale-9 clips in Flex and Flash... Clips that are made with flash cs3 seem to not respect their scale9 settings right. Has anybody been able to successfully scale-9 a movieclip withe a png in it in Flash CS3 and then import in flex, or just use in Flash? Or, has anybody been able to use scaleGrid with pngs? I'm a little stumped on this one, and I'll have slice up my images to do this and code my work around on this one i guess. Thanks, Patrick
Re: [flexcoders] Resource bundle chaining
Basically the module will be using multiple resource bundles. Resource lookup will support chaining, meaning that if a resource is not found in one bundle, others can be searched. On 9/12/07, Tom Chiverton [EMAIL PROTECTED] wrote: On Wednesday 12 Sep 2007, [EMAIL PROTECTED] wrote: How do I do a multiple resource bundle chaining Do what ? -- Tom Chiverton Helping to simultaneously strategize turn-key users on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links
[flexcoders] [FLEX-ANT] Adding license parameters
Hello, I try to use Flex Ant Task to create a production version with flex charting and fds. Even if I put the license parameters in the license.properties of the framework, mxmlc is not generating a version that uses the licenses. I add the following parameters in the MXMLC task: license product=charting serial-number=serialnumberhere / I also tried something like: license productcharting/product serial-numberserialnumberhere/serial-number /license But it's rejected by the ant program. Does anybody knows the syntax to use with the license tag? Thanks in advance This email and any attachments transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient, any disclosure, copying, use, or distribution of the information included in this message and any attachments is strictly prohibited. If you have received this email in error please notify the system manager at [EMAIL PROTECTED] or by reply e-mail and immediately and permanently delete this message and any attachments. Thank you.
[flexcoders] Flex 1.5 + ColdFusion 8
Hi Guys I'm hoping someone here has some advice on how to set up a server that runs both Flex 1.5 and ColdFusion 8. The server is currently running Flex 1.5 + CF7 on a JRun server. We would like to move to CF8 in order to take advantage of the reporting improvements. I've tried setting this up the same way a couple of times and have gotten a range of errors: - a FileNotFoundException on the ServletInvoker - a dialog asking what the debug server is - a message saying that the application was compiled using the Developer version and needs to be updated Unfortunately I don't have much experience with Flex 1.5, and am testing the setup on the previous developer's box which complicates things. Any ideas of what I should look at first? Thanks Blair
RE: [flexcoders] does flex2 has coldfusion cold hint?
I always edit my cfc's in DW. I normally also write a cfc_test.cfm. this file is a good test for the cfc itself, its suprising how many errors you think are flex related, and they aren't they are cfc problems. Always test your cfc's! Thanks Shaun Shaun Mccran Solutions Architect T: 01454 423230 E: [EMAIL PROTECTED] http://www.europa-group.co.uk/ This e-mail transmission may contain Europa Group Ltd./ Motorcycle Direct confidential information, which is legally privileged. This information is intended for the use of the named individual. You are notified that any disclosure, copying and distribution is prohibited. If you have received this email in error, please notify us immediately. The views expressed in this e-mail are not that of the company unless specified within the message. Europa Group Limited is authorised and regulated by the Financial Services Authority From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of lyan_wang2003 Sent: 13 September 2007 05:45 To: flexcoders@yahoogroups.com Subject: [flexcoders] does flex2 has coldfusion cold hint? when I edit a cfc file in flex,there isn't any code hint,seems quite awkward.How can I fix it or I should open dreamweaver when comes to a cfc file?? The contents and any attachments of this electronic mail message are confidential and intended only for the named addressee. It may contain information covered by legal, professional or other privilege. You are notified that any disclosure, copying and distribution is prohibited. If you received this email in error, please accept our apologies, and we would appreciate that you return it to us. Europa Group Limited is authorised and regulated by the Financial Services Authority.Registered Office: 29 High Street, Thornbury, BS35 2FD. Registered in Wales Reg No 3279177 image002.gif
[flexcoders] major filtering of arrayCollection problem - help please
I'm using a filterFuction filtering a few different fields. So far so good, but I've been filtering on exact matches. How can I expand that to search for LIKE or INCLUDES matchs, or something like that. Here's what I have - 5 check boxes for the filter of one of the fields - lets say ( 1, 2, 3, 4, 5) My XML (arrayCollection) field had at one time, only 1 or 2 or 3, etc. Now they want it to include more than just one, so that field can look like more like - 1 1,2 2,4 2,3,4 1,2,3,4,5 ... So right now my filter is - if (item.serviceLine == checkBox.data){ isMatch = true; }... This would never return anything other than the check box marked with the exact single value. How can I expand on this? I't still early in the game so I can adjust the XML as needed if that works best. Help, Mark
Re: [flexcoders] does flex2 has coldfusion cold hint?
lyan_wang2003 wrote: when I edit a cfc file in flex,there isn't any code hint,seems quite awkward.How can I fix it or I should open dreamweaver when comes to a cfc file?? http://www.cfeclipse.org/
Re: [flexcoders] Flex 1.5 + ColdFusion 8
On Thursday 13 Sep 2007, [EMAIL PROTECTED] wrote: gotten a range of errors: - a FileNotFoundException on the ServletInvoker - a dialog asking what the debug server is - a message saying that the application was compiled using the Developer version and needs to be updated Where do these errors come from ? The flash player? The middle one is only seen if you compile with debug on, and have a debug player in your browser, for instance, so you don't need to bother about it. -- Tom Chiverton Helping to advantageously target industry-wide appliances on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * 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: Resource bundle chaining
On Thursday 13 Sep 2007, [EMAIL PROTECTED] wrote: Resource lookup will support chaining, meaning that if a resource is not found in one bundle, others can be searched. I'd check the Manager's liveDocs, but I don't think this is supported. You could write a sub class that did it though. -- Tom Chiverton Helping to widespreadedly empower eye-catching segments on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * 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] includeInLayout does not work
Hi! I have to print the multiple page datagrid and a footer which has to appear only on the last page. I've placed the PrintDataGrid a Footer component (which is based on the Canvas) into the VBox. While printing I m setting the Footer component properties visible includeInLayout to false on non-last pages. The problem is that Footer component is invisible, but it still appears in the layout and shrinks the PrintDataGrid. I tried to create a function which goes through the children of this Footer component and also sets visible includeInLayout properties to false - same result. The only method which helps is to increase PrintDataGrid height by the height of Footer component. Did anybody have similar problem with hiding the components? I saw a couple of examples - they operate with simple components like Button and never with complex components. Thanks! Cheers, Dmitri.
Re: [flexcoders] Re: [Bindable] not binding
You have bound your label to null. I think your problem is that the label never realizes the property changes so it doesn't redraw. As a test try adding titleText.invalidateProperties() at the end of your onCreationComplete - Original Message From: polestar11 [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, September 13, 2007 8:08:46 AM Subject: [flexcoders] Re: [Bindable] not binding I instantiate the controller in the controller class, in the view's onCreationComplete event: public function QController( ):void { _view.addEventListe ner(FlexEvent. CREATION_ COMPLETE, onCreationComplete) ; } private function onCreationComplete( e: FlexEvent):void { _view.removeEventLi stener(FlexEvent .CREATION_ COMPLETE, onCreationComplete) ; _view.controller = this; } --- In [EMAIL PROTECTED] ups.com, Sean Sell rough68fish@ ... wrote: It doesn't look like you instantiate the controller, are you doing that somewhere else in your code? public var controller: QController = new QController( ); - Original Message From: polestar11 polestar11@ ... To: [EMAIL PROTECTED] ups.com Sent: Thursday, September 13, 2007 6:20:12 AM Subject: [flexcoders] [Bindable] not binding Hi there I've used the [Bindabe] meta-tag 100's of times, but for some reason it seems to have stopped working. I have a very straight-forward setup with a controller, properties and a view. I have a bindable reference to the controller in the view, while the controller has a bindable 'title' property. Setting breakpoints at various steps of the code I can confirm that the 'title' property is bound to the label in the view (titleText.text = My Title), yet it is not displayed. I even tried view.validateNow( ); to try force validation / displaying of the label. What could I be doing wrong, is there possibly a bug in the new Flash Player that isnt updating bound properties correctly? This is the 2nd time I've come across this in 3 days. Here is a summary of my code: View.mxml - [Bindable] public var controller: QController; mx:Label id=titleText text={controller. title} fontWeight= bold / QController. as -- [Bindable] public function get title():String { return _title; } public function set title(value: String):void { _title = value; _view.validateNow( ); } !-- #ygrp-mkp{ border:1px solid #d8d8d8;font- family:Arial; margin:14px 0px;padding: 0px 14px;} #ygrp-mkp hr{ border:1px solid #d8d8d8;} #ygrp-mkp #hd{ color:#628c2a; font-size: 85%;font- weight:bold; line-height: 122%;margin: 10px 0px;} #ygrp-mkp #ads{ margin-bottom: 10px;} #ygrp-mkp .ad{ padding:0 0;} #ygrp-mkp .ad a{ color:#ff; text-decoration: none;} -- !-- #ygrp-sponsor #ygrp-lc{ font-family: Arial;} #ygrp-sponsor #ygrp-lc #hd{ margin:10px 0px;font-weight: bold;font- size:78%; line-height: 122%;} #ygrp-sponsor #ygrp-lc .ad{ margin-bottom: 10px;padding: 0 0;} -- !-- #ygrp-mlmsg {font-size:13px; font-family: arial, helvetica, clean, sans-serif;} #ygrp-mlmsg table {font-size:inherit; font:100% ;} #ygrp-mlmsg select, input, textarea {font:99% arial, helvetica, clean, sans-serif;} #ygrp-mlmsg pre, code {font:115% monospace;} #ygrp-mlmsg * {line-height: 1.22em;} #ygrp-text{ font-family: Georgia; } #ygrp-text p{ margin:0 0 1em 0;} #ygrp-tpmsgs{ font-family: Arial; clear:both;} #ygrp-vitnav{ padding-top: 10px;font- family:Verdana; font-size: 77%;margin: 0;} #ygrp-vitnav a{ padding:0 1px;} #ygrp-actbar{ clear:both;margin: 25px 0;white-space: nowrap;color: #666;text- align:right; } #ygrp-actbar .left{ float:left;white- space:nowrap; } .bld{font-weight: bold;} #ygrp-grft{ font-family: Verdana;font- size:77%; padding:15px 0;} #ygrp-ft{ font-family: verdana;font- size:77%; border-top: 1px solid #666; padding:5px 0; } #ygrp-mlmsg #logo{ padding-bottom: 10px;} #ygrp-vital{ background-color: #e0ecee;margin- bottom:20px; padding:2px 0 8px 8px;} #ygrp-vital #vithd{ font-size:77% ;font-family: Verdana;font- weight:bold; color:#333; text-transform: uppercase; } #ygrp-vital ul{ padding:0;margin: 2px 0;} #ygrp-vital ul li{ list-style-type: none;clear: both;border: 1px solid #e0ecee; } #ygrp-vital ul li .ct{ font-weight: bold;color: #ff7900;float: right;width: 2em;text- align:right; padding-right: .5em;} #ygrp-vital ul li .cat{ font-weight: bold;} #ygrp-vital a{ text-decoration: none;} #ygrp-vital a:hover{ text-decoration: underline; }
[flexcoders] Re: major filtering of arrayCollection problem - help please
I got it - if (item.serviceLine.indexOf(checkBox.data) != -1){ isMatch = true; }... --- In flexcoders@yahoogroups.com, Mark [EMAIL PROTECTED] wrote: I'm using a filterFuction filtering a few different fields. So far so good, but I've been filtering on exact matches. How can I expand that to search for LIKE or INCLUDES matchs, or something like that. Here's what I have - 5 check boxes for the filter of one of the fields - lets say ( 1, 2, 3, 4, 5) My XML (arrayCollection) field had at one time, only 1 or 2 or 3, etc. Now they want it to include more than just one, so that field can look like more like - 1 1,2 2,4 2,3,4 1,2,3,4,5 ... So right now my filter is - if (item.serviceLine == checkBox.data){ isMatch = true; }... This would never return anything other than the check box marked with the exact single value. How can I expand on this? I't still early in the game so I can adjust the XML as needed if that works best. Help, Mark
[flexcoders] how can I read an xml with remoteObject
up to now I know how to use httpservice to get xml data,but I don't how to edit an xml.So I change to use remoteObject and Coldfusion,because coldfusion can edit an xml file using cffile file. It seems I can get xml data from it cause I can see the infor in the debug window,the whole xml structure.I suppose the event.result is an XML object.But when I cast it to an arrayCollection,error appears.I just don't know why
Re: [flexcoders] Re: [Bindable] not binding
Event better would be to do it like cairngorm and create your controller before the view then your view objects well be correctly bound from the beginning. Look in the asdocs at what you do to bind things in as. It gives you a clearer picture of what is going on. The Label is bound to controller and then specifically the title attribute. When you do your binding controller is null. - Original Message From: Sean Sell [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, September 13, 2007 9:36:37 AM Subject: Re: [flexcoders] Re: [Bindable] not binding You have bound your label to null. I think your problem is that the label never realizes the property changes so it doesn't redraw. As a test try adding titleText.invalidat eProperties( ) at the end of your onCreationComplete - Original Message From: polestar11 [EMAIL PROTECTED] com To: [EMAIL PROTECTED] ups.com Sent: Thursday, September 13, 2007 8:08:46 AM Subject: [flexcoders] Re: [Bindable] not binding I instantiate the controller in the controller class, in the view's onCreationComplete event: public function QController( ):void { _view.addEventListe ner(FlexEvent. CREATION_ COMPLETE, onCreationComplete) ; } private function onCreationComplete( e: FlexEvent):void { _view.removeEventLi stener(FlexEvent .CREATION_ COMPLETE, onCreationComplete) ; _view.controller = this; } --- In [EMAIL PROTECTED] ups.com, Sean Sell rough68fish@ ... wrote: It doesn't look like you instantiate the controller, are you doing that somewhere else in your code? public var controller: QController = new QController( ); - Original Message From: polestar11 polestar11@ ... To: [EMAIL PROTECTED] ups.com Sent: Thursday, September 13, 2007 6:20:12 AM Subject: [flexcoders] [Bindable] not binding Hi there I've used the [Bindabe] meta-tag 100's of times, but for some reason it seems to have stopped working. I have a very straight-forward setup with a controller, properties and a view. I have a bindable reference to the controller in the view, while the controller has a bindable 'title' property. Setting breakpoints at various steps of the code I can confirm that the 'title' property is bound to the label in the view (titleText.text = My Title), yet it is not displayed. I even tried view.validateNow( ); to try force validation / displaying of the label. What could I be doing wrong, is there possibly a bug in the new Flash Player that isnt updating bound properties correctly? This is the 2nd time I've come across this in 3 days. Here is a summary of my code: View.mxml - [Bindable] public var controller: QController; mx:Label id=titleText text={controller. title} fontWeight= bold / QController. as -- [Bindable] public function get title():String { return _title; } public function set title(value: String):void { _title = value; _view.validateNow( ); } !-- #ygrp-mkp{ border:1px solid #d8d8d8;font- family:Arial; margin:14px 0px;padding: 0px 14px;} #ygrp-mkp hr{ border:1px solid #d8d8d8;} #ygrp-mkp #hd{ color:#628c2a; font-size: 85%;font- weight:bold; line-height: 122%;margin: 10px 0px;} #ygrp-mkp #ads{ margin-bottom: 10px;} #ygrp-mkp .ad{ padding:0 0;} #ygrp-mkp .ad a{ color:#ff; text-decoration: none;} -- !-- #ygrp-sponsor #ygrp-lc{ font-family: Arial;} #ygrp-sponsor #ygrp-lc #hd{ margin:10px 0px;font-weight: bold;font- size:78%; line-height: 122%;} #ygrp-sponsor #ygrp-lc .ad{ margin-bottom: 10px;padding: 0 0;} -- !-- #ygrp-mlmsg {font-size:13px; font-family: arial, helvetica, clean, sans-serif;} #ygrp-mlmsg table {font-size:inherit; font:100% ;} #ygrp-mlmsg select, input, textarea {font:99% arial, helvetica, clean, sans-serif;} #ygrp-mlmsg pre, code {font:115% monospace;} #ygrp-mlmsg * {line-height: 1.22em;} #ygrp-text{ font-family: Georgia; } #ygrp-text p{ margin:0 0 1em 0;} #ygrp-tpmsgs{ font-family: Arial; clear:both;} #ygrp-vitnav{ padding-top: 10px;font- family:Verdana; font-size: 77%;margin: 0;} #ygrp-vitnav a{ padding:0 1px;} #ygrp-actbar{ clear:both;margin: 25px 0;white-space: nowrap;color: #666;text- align:right; } #ygrp-actbar .left{ float:left;white- space:nowrap; } .bld{font-weight: bold;} #ygrp-grft{ font-family: Verdana;font- size:77%; padding:15px 0;} #ygrp-ft{ font-family: verdana;font- size:77%; border-top: 1px solid #666; padding:5px 0; } #ygrp-mlmsg #logo{ padding-bottom: 10px;} #ygrp-vital{
RE: [flexcoders] Re: Resource bundle chaining
The Flex application uses the list of locales in the localeChain property to determine precedence when getting values from resource bundles. If a value does not exist in the first locale in the list, the Flex application looks for that value in the next locale in the list, and so on. -matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of espic Sent: Thursday, September 13, 2007 3:06 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Resource bundle chaining Basically there will be multiple resource bundles for a modue. If a resource is not found in one bundle, the others in the list will be searched. --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Tom Chiverton [EMAIL PROTECTED] wrote: On Wednesday 12 Sep 2007, [EMAIL PROTECTED] wrote: How do I do a multiple resource bundle chaining Do what ? -- Tom Chiverton Helping to simultaneously strategize turn-key users on: http://thefalken.livejournal.com http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com.
RE: [flexcoders] How to increase the font size of CategoryAxis labels
I think the axisrenderer supports the fontSize property. Have you tried that? -matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of anewgene Sent: Wednesday, September 12, 2007 8:07 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] How to increase the font size of CategoryAxis labels Hi, Group, I have made a BarChart to display data with many categories (~90). I have the verticalAxis as a CategoryAxis. The label for each category is too small to be readable with the default. How can I force increasing the font size for these labels? I notice that there is still some empty space between labels to allow larger font size without overlapping. I searched manual and this forum, but cannot find the answer. The below is my code for verticalAxis mx:verticalAxisRenderer mx:AxisRenderer axisStroke={axis_stroke1} showLine=true showLabels=true tickPlacement=none canDropLabels=false labelGap=0/ /mx:verticalAxisRenderer mx:verticalAxis mx:CategoryAxis categoryField=sample / /mx:verticalAxis Thanks in advance. Lei
RE: [flexcoders] Gradient filter?
I haven't played with the gradient filter, but you can add filters to display object's filters array in Moxie like this: ?xml version=1.0? !-- l10n/FilterExample.mxml -- mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; mx:Label id=l1 text=This is a label mx:filters mx:DropShadowFilter/ /mx:filters /mx:Label /mx:Application The DisplayObject's reference page has more info on the filters array, with examples, here: http://livedocs.adobe.com/labs/flex/3/langref/flash/display/DisplayObjec t.html Maybe this will help you get started. -matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Roy Tang Sent: Tuesday, September 11, 2007 10:57 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Gradient filter? Hi, Is there a way to apply a gradient filter to a display object? Something like the color transform filter, except I would want the color to gradually transition from one end to the other. Any ideas? Thanks! Roy
[flexcoders] Re: A common question with no answer yet - Flex Debugger
Sorry about that. I guess my email didn't show the whole message or I didn't see the scroll buttons. But yes you did answer my question I this is a great help to me and my colleagues. This is most helpful. Thanks again. --- In flexcoders@yahoogroups.com, Mike Morearty [EMAIL PROTECTED] wrote: I eagerly await your response :) Sorry, I don't understand -- I think I answered your question. The steps I gave in (b) will do what you want, I think, albeit with the ugliness of opening an extra browser window that you will have to manually close. If you are asking How do I do it without opening the extra browser window, the answer is you can't. But at least you can get your work done, because the debugging session will connect. - Mike --- In flexcoders@yahoogroups.com, JWOpitz jwopitz@ wrote: I am saying b). I want to manually launch the browser and debug.swf then when the connect debugger dialog box opens, I can say localHost and have the Flex Builder Plug-in debugger connected to the manually launched swf. I eagerly await your response :) --- In flexcoders@yahoogroups.com, Mike Morearty mike.morearty@ wrote: Are you saying that (a) you want Flex Builder to launch the browser, but with a custom URL that you specify, or (b) you don't want Flex Builder to launch the browser at all -- just connec to an already-running browser that you launched? Both are possible. (a) If you want Flex Builder to launch the browser, but with a custom URL that you specify, just edit the launch configuration. Easiest way to do that is described here: http://www.morearty.com/blog/2006/05/23/flex-builder-ctrl-click-to-access-a-lanch-configs-properties/ Then, just edit the URL shown in the Debug edit box. (b) If don't want Flex Builder to launch the browser at all, but just connect to a browser you already launched manually: This is a hack, but it works: Go to the same launch configuration dialog mentioned above, and just set the URL to any old thing (e.g about:blank, or if that doesn't work, http://www.google.com). When you click Debug, Flex Builder will launch a browser at the bogus page; and now, for the next two minutes, Flex Builder is listening on a socket, waiting for the Flash player to connect to it. Just ignore the bogus browser, and go over to the browser you wanted, and load your swf. When the Flash Player starts, it will connect to the socket that Flex Builder is listening on. - Mike Morearty Adobe Flex Builder team --- In flexcoders@yahoogroups.com, JWOpitz jwopitz@ wrote: Hi folks, I have tried to find this topic posted in the group and the web in general and tho I find plenty on related cases, I cannot seem to find the right answer. So I pose this question to you, my fellow colleagues. I want to be able to connect the debugger to a swf that has NOT been launched by the Flex Builder plug-in. For instance, I want build a debug version swf locally, deploy it to a server manually (by cp'ing it there) and then connect the debugger to that swf. Used to back in the Flex 1.5 days I remember being able to just click the 'localHost' button and it would work as expected. However, I have not been able to do this with Flex 2 as it just reopens the connection box and eventually fails out. So is this possible? I apologize if there is indeed a duplicate post and I happened to miss it. If so, please post a link. Thanks, J
Re: [flexcoders] Flex 1.5 + ColdFusion 8
Hi Blair, are you trying to deploy Flex 1.5 merged to CF8 like it was done with CF7? If it's the case, did you install CF8 without LCDS integrated? -- João Fernandes www.onflexwithcf.org www.riapt.org
[flexcoders] Expected FLEX 3 Release Date and Cost ?
I'm just wondering if Adobe has an estimated FLEX 3 release date and the cost for upgrading from 2 to 3. Thanks. - Catch up on fall's hot new shows on Yahoo! TV. Watch previews, get listings, and more!
Re: [flexcoders] Re: yahoo maps CustomSWFMarker
Thanks, it did help, in order to load custom markers with click events this is now my attempt What I am now trying to do is load custom markers, once the user clicks on it, it's a method inside the loaded swf marker that loads the image...but I need to pass the image location to the loaded swf.. once it's loaded... This is what I have so far: I added an event listener : mapEventDispatcher.addEventListener('addSWFMarkerByAddress_Result', onSWFMarkerAdded); Then similar to what you have: latLonController.addMarkerByLatLon('CustomSWFMarker',44, -80,{url:'customMarker.swf', ref:'myMark'}); Then the event function: private function onSWFMarkerAdded(ev:Object):void { Alert.show(ev.lastResult, 'Title'); //shows nothing... } All works great, the event fires when the markers are added BUT from what I gather the event object ev has 2 params: event type and a reference id. I do not know however what the actual param names areAnd for some reason my Flexbuilder hangs while the map is loading ( I am uing the yahoo as3 connection kit) in debug mode.. I cannot go see the names.. So now, I am trying to figure out how I am going to pass the data to the loaded swf :( Perhaps this is the wrong approach, but I am learning! :) thanks in advance for any help! - Original Message From: Abyss Knight [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, September 12, 2007 3:21:19 PM Subject: [flexcoders] Re: yahoo maps CustomSWFMarker I actually am having the same documentation issues, but this might help you: latLonController. addMarkerByLatLo n('CustomPOIMark er',dp[i] .lat, dp[i].lon,{index: index,title: dp[i].shortName, description: description, markerColor: Number('0x3366CC' ), strokeColor: Number('0xCEE9FF' )}); Basically, it uses the latLonController to add CustomPOIMarker. Problem is, the response will not give you a reference. I hacked around it using the title of the marker as an index to the data array. Hope that helps, - William --- In [EMAIL PROTECTED] ups.com, thibs73 [EMAIL PROTECTED] wrote: Hi there, Anyone know if there is a click event for a CustomSWFMarker in yahoo Maps? Just like the onPOIClicked for POIMarker... why am I not using POIMarker? Because it seems that I can only add POI Markers by address only. I need to be able to add it by Lat Lon. To sum up, I want to add custom makers by Lat Lon, open a unique image when the user clicks on any of them. \ I am having a hard time finding documentation on this. Any help would be great, Thank-you Be smarter than spam. See how smart SpamGuard is at giving junk email the boot with the All-new Yahoo! Mail at http://mrd.mail.yahoo.com/try_beta?.intl=ca
Re: [flexcoders] Expected FLEX 3 Release Date and Cost ?
On Thursday 13 Sep 2007, [EMAIL PROTECTED] wrote: I'm just wondering if Adobe has an estimated FLEX 3 release date and the cost for upgrading from 2 to 3. Can't tell you the date, but the cost is zero (for the Flex 3 SDK). Or did you mean Flex Builder / charting ? -- Tom Chiverton Helping to appropriately industrialize total CEOs on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * 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] Expected FLEX 3 Release Date and Cost ?
FLEX Builder. Can you tell me what support there is for Alpha channels in video? I want to composite layers on each other and have good performance. Since I've not worked directly with the SDK yet, just UI and XML in the interface, I thought I'd ask. Tom Chiverton [EMAIL PROTECTED] wrote: On Thursday 13 Sep 2007, [EMAIL PROTECTED] wrote: I'm just wondering if Adobe has an estimated FLEX 3 release date and the cost for upgrading from 2 to 3. Can't tell you the date, but the cost is zero (for the Flex 3 SDK). Or did you mean Flex Builder / charting ? -- Tom Chiverton Helping to appropriately industrialize total CEOs on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links - Check out the hottest 2008 models today at Yahoo! Autos.
RE: [flexcoders] how can I read an xml with remoteObject
What the event.result object contains depends o the resultFormat property setting. Default is object, I advise e4x. If you are getting xml then you can't cast it directly to ArrayCollection. You want to either leave it as XML, or use an e4x expression to return an XMLList, then wrap that in an XMLListCollection (be sure to use new XMLListCollection(XMLList)) Note: You can use httpservice with CF, but if you are comfortable with RemoteObject, that will be faster and more flexible. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of lyan_wang2003 Sent: Thursday, September 13, 2007 9:43 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] how can I read an xml with remoteObject up to now I know how to use httpservice to get xml data,but I don't how to edit an xml.So I change to use remoteObject and Coldfusion,because coldfusion can edit an xml file using cffile file. It seems I can get xml data from it cause I can see the infor in the debug window,the whole xml structure.I suppose the event.result is an XML object.But when I cast it to an arrayCollection,error appears.I just don't know why
[flexcoders] datagrid selection issues when bound to a ListCollectionView
I have a UI which has a collection of filter definitions via lists, an ArrayCollection of objects to be filtered, a ListCollectionView bound to the ArrayCollection and a filter function which consumes the lists and applies the appropriate filter to the objects. I then have a datagrid which displays the filtered list of objects by binding to the ListCollectionView. The filtering works fine and as expected, and the ListCollectionView and filter funciton is a very neat way to provide the filtered list with arbitrarily complex filter criteria. However, once the list is filtered I get very strange behaviour in the selection of items in the datagrid. I have multiple selection enabled on my datagrid and double-click so I can hop to a dialog to edit the object. Often when I click a completely different row gets selected. Just as often the very last row in the grid is selected. Quite often nothing at all gets selected. The clicks and double-clicks get fired but there is nothing in the selectedItem variable on the grid. I'm not doing the object selection myself, I am leaving it up to the datagrid to handle it, so I cannot blame bad indexing on my end, it just doesn't seem to work properly. I'm using FlexBuilder 2. Anyone encountered anything like this? I am hoping it is not a bug.
[flexcoders] Re: How to increase the font size of CategoryAxis labels
Thanks, Matt. I actually tried, but that fontSize applys to the axis title only. I even tried the following customized axisrenderer, but still the fontSize set in this renderer has no effect on labels. ?xml version=1.0 encoding=utf-8? mx:Label xmlns:mx=http://www.adobe.com/2006/mxml http://www.adobe.com/2006/mxml creationComplete=setTxt() fontSize=12 textAlign=right paddingTop=0 paddingBottom=0 paddingLeft=0 paddingRight=0 mx:Script ![CDATA[ private function setTxt():void{ text = data.value; } ]] /mx:Script /mx:Label Lei --- In flexcoders@yahoogroups.com, Matt Horn [EMAIL PROTECTED] wrote: I think the axisrenderer supports the fontSize property. Have you tried that? -matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of anewgene Sent: Wednesday, September 12, 2007 8:07 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] How to increase the font size of CategoryAxis labels Hi, Group, I have made a BarChart to display data with many categories (~90). I have the verticalAxis as a CategoryAxis. The label for each category is too small to be readable with the default. How can I force increasing the font size for these labels? I notice that there is still some empty space between labels to allow larger font size without overlapping. I searched manual and this forum, but cannot find the answer. The below is my code for verticalAxis mx:verticalAxisRenderer mx:AxisRenderer axisStroke={axis_stroke1} showLine=true showLabels=true tickPlacement=none canDropLabels=false labelGap=0/ /mx:verticalAxisRenderer mx:verticalAxis mx:CategoryAxis categoryField=sample / /mx:verticalAxis Thanks in advance. Lei
[flexcoders] Re: [Bindable] not binding
--- Sean wrote: Event better would be to do it like cairngorm and create your controller before the view then your view objects well be correctly bound from the beginning. - Me: Modified the code slightly so that the controller is created before the view. Still no luck --- Jon wrote: Shot in the dark and this might be a dumb question, but, are you sure you have the bold weight of the font in your CSS defined? - Me: I thought it might be this, so tried both bold un-bold and still no text ... After all of that, found the problem - My label was in an HBox that was 30px high. Above the label was a linkbutton, also 30px high, so it was all working, you just couldnt see the label *blush* Thanks for the help! Tracy
RE: [flexcoders] datagrid selection issues when bound to a ListCollectionView
This usually implies that there are objects in there that have the same UID. What do the objects look like and how are they generated and updated. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of simonjpalmer Sent: Thursday, September 13, 2007 8:11 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] datagrid selection issues when bound to a ListCollectionView I have a UI which has a collection of filter definitions via lists, an ArrayCollection of objects to be filtered, a ListCollectionView bound to the ArrayCollection and a filter function which consumes the lists and applies the appropriate filter to the objects. I then have a datagrid which displays the filtered list of objects by binding to the ListCollectionView. The filtering works fine and as expected, and the ListCollectionView and filter funciton is a very neat way to provide the filtered list with arbitrarily complex filter criteria. However, once the list is filtered I get very strange behaviour in the selection of items in the datagrid. I have multiple selection enabled on my datagrid and double-click so I can hop to a dialog to edit the object. Often when I click a completely different row gets selected. Just as often the very last row in the grid is selected. Quite often nothing at all gets selected. The clicks and double-clicks get fired but there is nothing in the selectedItem variable on the grid. I'm not doing the object selection myself, I am leaving it up to the datagrid to handle it, so I cannot blame bad indexing on my end, it just doesn't seem to work properly. I'm using FlexBuilder 2. Anyone encountered anything like this? I am hoping it is not a bug.
RE: [flexcoders] Re: Mousewheel on a scrollbar (List or combobox)
You may need to click in the SWF portion of the browser to get it to work. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of kevintuhumury Sent: Thursday, September 13, 2007 5:32 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Mousewheel on a scrollbar (List or combobox) I just noticed that it does work in the standalone flash player, but not in the browser (IE or FF). --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , kevintuhumury [EMAIL PROTECTED] wrote: Hm, well I'm on a desktop PC with Windows and a normal mouse. --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Alex Harui aharui@ wrote: BTW, mouseWheel only works on Win. I've also had problems on Win with laptop touchpad mousewheels. From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of kevintuhumury Sent: Wednesday, September 12, 2007 12:19 AM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] Re: Mousewheel on a scrollbar (List or combobox) No, but since I was using dynamic data, I thought that might be a reason. I just tested it with static data and it's still not working. I really don't get it. --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com , Alex Harui aharui@ wrote: Are you saying that it works for you with static data, but not with dynamic data? From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of kevintuhumury Sent: Monday, September 10, 2007 11:50 PM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] Re: Mousewheel on a scrollbar (List or combobox) Hm, for some reason it's not. I have a comboBox with a dataprovider, which gets it's data from a XML file. The same for the List, is this a problem? I mean, is this option only available with static data and not with dynamic data? Because I've got no clue as to why it wouldn't work. --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com , Alex Harui aharui@ wrote: mouseWheel should already work on list and combobox dropdowns. From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of kevintuhumury Sent: Monday, September 10, 2007 7:52 AM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] Mousewheel on a scrollbar (List or combobox) Hey, I'm trying to figure out on how to use the mousewheel on a list or a combobox, but I'm not getting anywhere. DataGrid and TextArea have an option called mouseWheelEnabled, I'd like to have this option also for a List or a ComboBox. I was thinking of extending ScrollBar and adding a method which makes scrolling with the mousewheel possible. But how do you enable it for all the scrollbars in an application? I was thinking of maybe calling the new class with ClassReference in my CSS file, but I'm not sure on which element I should add it. Any help would be great! For a few examples check out: www.scrapblog.com (comboBox with fonts or Lists in the Accordion)
RE: [flexcoders] Re: PrintDataGrid and the last row problem
Can one of you supply a test case with local data? The renderer looks ok from here. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Giles Roadnight Sent: Thursday, September 13, 2007 5:17 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: PrintDataGrid and the last row problem I'v ehad this problem too with a simple DG with no custom renderers. The last line is always cut in half. Very annoying. I gave up in the end and went onto something else. Let us know if you find a solution. Giles. On 9/13/07, mitek17 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi Alex, And how to tell the correct size? Should I explicitly set the height? Here is one my my itemRenderers: ?xml version=1.0 encoding=utf-8? mx:VBox xmlns:mx=http://www.adobe.com/2006/mxml http://www.adobe.com/2006/mxml verticalScrollPolicy=off horizontalScrollPolicy=off width=100% height=100% mx:Label id=cellLabel x=0 y=0 width=100% height=100% textAlign=left text={data.hasOwnProperty('m_sDescShort')?data.m_sDescShort:data.m_sDes c} paddingRight=10 paddingLeft=10/ /mx:VBox Thanks! Dmitri. --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Alex Harui [EMAIL PROTECTED] wrote: The Tree issue turned out to be in code the DG wouldn't run into. Makes me think your custom renderes are misreporting their sizes. From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of mitek17 Sent: Wednesday, September 12, 2007 2:08 AM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] Re: PrintDataGrid and the last row problem Hi Alex, There are 5 columns in the grid, 3 of which have custom itemRenderers. Flex 2.0.1 SDK Hotfix 1 Thanks! Regards, Dmitri. --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto: flexcoders% mailto:flexcoders%25 40yahoogroups.com http://40yahoogroups.com , Alex Harui aharui@ wrote: Custom renderer or default renderers? Which version of Flex? I'm investigating a similar report against Tree today.
RE: [flexcoders] Re: Vertical slider instead of dropdownlist in a comboBox
I'd try PopUpButton. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of kevintuhumury Sent: Thursday, September 13, 2007 4:05 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Vertical slider instead of dropdownlist in a comboBox In short... I was thinking of overriding updateDisplayList, removing the List (if it is a List) and adding a slider. Is this the correct route to accomplish this? --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , kevintuhumury [EMAIL PROTECTED] wrote: MixBook ( http://www.mixbook.com/create/tool?d=1 http://www.mixbook.com/create/tool?d=1 ) is using a comboBox with a vertical slider instead of a dropdown box to change the fontsize of a text (select a textfield and the comboBox on the floating toolbar). I was wondering if this is a default functionality of the comboBox, which I don't know about or a custom component. I tried to find something on Google, but couldn't find anything. I guess they made it specifically for that application. I'd like to create something like it, since it makes changing fontsize a lot faster. Before looking in the code of the comboBox class, I'd like to have some suggestions on how to do this (or a link to a downloadable custom component ;)).
RE: [flexcoders] Scrollbar error in a List with an ItemRenderer
Known bug. Fixed in Moxie. You can subclass TL and ensure that rowInfo.length = listItems.length. Go to Moxie if your ship date is next year. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of kevintuhumury Sent: Thursday, September 13, 2007 3:37 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Scrollbar error in a List with an ItemRenderer Hello, I've got a weird problem. I have a List which gets it's data from a XML file. I use an ItemRenderer for each item to create a Button with a multiline label on it. I'm working on a resolution of 1280 x 1024 and my browser window has a size of 1024 x 768. When I use the scrollbar of my List, maximize my browser window, use the scrollbar, resize back to 1024 x 768 and than use the same scrollbar again I get the following error: TypeError: Error #1010: A term is undefined and has no properties. at mx.controls.listClasses::TileBase/mx.controls.listClasses:TileBase::scro llVertically() at mx.controls.listClasses::TileBase/mx.controls.listClasses:TileBase::scro llHandler() at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEven tFunction() at flash.events::EventDispatcher/dispatchEvent() at mx.core::UIComponent/dispatchEvent() at mx.controls.scrollClasses::ScrollBar/http://www.adobe.com/2006/flex/mx/i nternal::dispatchScrollEvent http://www.adobe.com/2006/flex/mx/internal::dispatchScrollEvent () at mx.controls.scrollClasses::ScrollThumb/::mouseMoveHandler() How should I solve this, since the error seems to be created by classes of the framework.
RE: [flexcoders] creating two child lists from one XMLList based on one element value
Are you sure the queries are returning the error, or do you have an error in the xml itself? Did you try the query on the base XML and not the XMLList? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Manu Dhanda Sent: Thursday, September 13, 2007 1:25 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] creating two child lists from one XMLList based on one element value Hii I have one XMLList named keywordActionXMLList based on the following XML: labels label category_key0/category_key keyword_type_key2/keyword_type_key keyword_type_idTaa Daaa/keyword_type_id keyword_value_key8/keyword_value_key keyword_value_idReason 2/keyword_value_id /label label category_key0/category_key keyword_type_key3/keyword_type_key keyword_type_idReason B/keyword_type_id keyword_value_key6/keyword_value_key keyword_value_idReason B Value/keyword_value_id /label label category_key1/category_key keyword_type_key23/keyword_type_key keyword_type_idReason A/keyword_type_id keyword_value_key33/keyword_value_key keyword_value_idReason A Value/keyword_value_id /label /labels Now based on the element category_key value, I want to create separate XMLList's from this one. One list for category_key == 0 and another list for category_key != 0. I am trying to do something like: categoryXMLList = keywordActionXMLList.label.(category_key != 0); keywordXMLList = keywordActionXMLList.label.(category_key == 0); But am getting this error. TypeError: Error #1088: The markup in the document following the root element must be well-formed. Can anyone guide me like where am making mistake?? Thanks, Manu. -- View this message in context: http://www.nabble.com/creating-two-child-lists-from-one-XMLList-based-on -one-element-value-tf4434296.html#a12650609 http://www.nabble.com/creating-two-child-lists-from-one-XMLList-based-o n-one-element-value-tf4434296.html#a12650609 Sent from the FlexCoders mailing list archive at Nabble.com.
[flexcoders] Re: datagrid selection issues when bound to a ListCollectionView
The objects in the base ArrayCollection are custom objects in my project. I create them with the new operator. Is that what you mean? I do not explcitly handle the uid on these objects and they are not Managed. There is a subclass hierarchy in the objects, here are the class declarations... public class SuperAssumption extends SuperNote public class SuperNote The SuperNote holds a reference to an object in my domain model and the internals of the SuperAssumption and SuperNote are hidden behind getters which pick properties off the domain object. Neither of the super* object has an explicitly declared uid, but the domain object does. The creation code looks like this... sass = new SuperAssumption(domainObject); and is added to the ArrayCollection like this... _assumptions.addItem(sass); I do this elsewhere but the objects in question are managed and I use the uids. Does this make it clearer what I am doing? Simon --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: This usually implies that there are objects in there that have the same UID. What do the objects look like and how are they generated and updated. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of simonjpalmer Sent: Thursday, September 13, 2007 8:11 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] datagrid selection issues when bound to a ListCollectionView I have a UI which has a collection of filter definitions via lists, an ArrayCollection of objects to be filtered, a ListCollectionView bound to the ArrayCollection and a filter function which consumes the lists and applies the appropriate filter to the objects. I then have a datagrid which displays the filtered list of objects by binding to the ListCollectionView. The filtering works fine and as expected, and the ListCollectionView and filter funciton is a very neat way to provide the filtered list with arbitrarily complex filter criteria. However, once the list is filtered I get very strange behaviour in the selection of items in the datagrid. I have multiple selection enabled on my datagrid and double-click so I can hop to a dialog to edit the object. Often when I click a completely different row gets selected. Just as often the very last row in the grid is selected. Quite often nothing at all gets selected. The clicks and double-clicks get fired but there is nothing in the selectedItem variable on the grid. I'm not doing the object selection myself, I am leaving it up to the datagrid to handle it, so I cannot blame bad indexing on my end, it just doesn't seem to work properly. I'm using FlexBuilder 2. Anyone encountered anything like this? I am hoping it is not a bug.
RE: [flexcoders] Re: datagrid selection issues when bound to a ListCollectionView
You confused me with this statements: I do this elsewhere but the objects in question are managed and I use the uids. I thought you were wrapping the managed objects, but now I'm not sure. I guess the simplest test for you is, when you have selection problems, to walk the collection and dump the results of UIDUtil.getUID() on each object. If two are the same, you'll definitely have selection problems and then we need to figure out why that happened. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of simonjpalmer Sent: Thursday, September 13, 2007 8:54 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: datagrid selection issues when bound to a ListCollectionView The objects in the base ArrayCollection are custom objects in my project. I create them with the new operator. Is that what you mean? I do not explcitly handle the uid on these objects and they are not Managed. There is a subclass hierarchy in the objects, here are the class declarations... public class SuperAssumption extends SuperNote public class SuperNote The SuperNote holds a reference to an object in my domain model and the internals of the SuperAssumption and SuperNote are hidden behind getters which pick properties off the domain object. Neither of the super* object has an explicitly declared uid, but the domain object does. The creation code looks like this... sass = new SuperAssumption(domainObject); and is added to the ArrayCollection like this... _assumptions.addItem(sass); I do this elsewhere but the objects in question are managed and I use the uids. Does this make it clearer what I am doing? Simon --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Alex Harui [EMAIL PROTECTED] wrote: This usually implies that there are objects in there that have the same UID. What do the objects look like and how are they generated and updated. From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of simonjpalmer Sent: Thursday, September 13, 2007 8:11 AM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] datagrid selection issues when bound to a ListCollectionView I have a UI which has a collection of filter definitions via lists, an ArrayCollection of objects to be filtered, a ListCollectionView bound to the ArrayCollection and a filter function which consumes the lists and applies the appropriate filter to the objects. I then have a datagrid which displays the filtered list of objects by binding to the ListCollectionView. The filtering works fine and as expected, and the ListCollectionView and filter funciton is a very neat way to provide the filtered list with arbitrarily complex filter criteria. However, once the list is filtered I get very strange behaviour in the selection of items in the datagrid. I have multiple selection enabled on my datagrid and double-click so I can hop to a dialog to edit the object. Often when I click a completely different row gets selected. Just as often the very last row in the grid is selected. Quite often nothing at all gets selected. The clicks and double-clicks get fired but there is nothing in the selectedItem variable on the grid. I'm not doing the object selection myself, I am leaving it up to the datagrid to handle it, so I cannot blame bad indexing on my end, it just doesn't seem to work properly. I'm using FlexBuilder 2. Anyone encountered anything like this? I am hoping it is not a bug.
[flexcoders] Icon in button without embed
Hello, someone know if is possible to use icons in buttons without use Embed? I had big application and this icons embeded in my swf file increase file size in more than 30kb. Thanks
[flexcoders] Re: datagrid selection issues when bound to a ListCollectionView
Sorry for the confusion, I meant I use the same filtering technique elsewhere but on Managed objects, which I explicitly refer to via their uid fields. Are you suggesting I cycle through the objects in the ListCollectionView or the ArrayCollection? I can try what you suggested on both, but I can be pretty certain that I am not adding duplicate objects to the base ArrayCollection on which the ListCollectionView operates because every one of them is created with the new operator. Is a uid assigned to objects in the background by the framework? --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: You confused me with this statements: I do this elsewhere but the objects in question are managed and I use the uids. I thought you were wrapping the managed objects, but now I'm not sure. I guess the simplest test for you is, when you have selection problems, to walk the collection and dump the results of UIDUtil.getUID() on each object. If two are the same, you'll definitely have selection problems and then we need to figure out why that happened. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of simonjpalmer Sent: Thursday, September 13, 2007 8:54 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: datagrid selection issues when bound to a ListCollectionView The objects in the base ArrayCollection are custom objects in my project. I create them with the new operator. Is that what you mean? I do not explcitly handle the uid on these objects and they are not Managed. There is a subclass hierarchy in the objects, here are the class declarations... public class SuperAssumption extends SuperNote public class SuperNote The SuperNote holds a reference to an object in my domain model and the internals of the SuperAssumption and SuperNote are hidden behind getters which pick properties off the domain object. Neither of the super* object has an explicitly declared uid, but the domain object does. The creation code looks like this... sass = new SuperAssumption(domainObject); and is added to the ArrayCollection like this... _assumptions.addItem(sass); I do this elsewhere but the objects in question are managed and I use the uids. Does this make it clearer what I am doing? Simon --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Alex Harui aharui@ wrote: This usually implies that there are objects in there that have the same UID. What do the objects look like and how are they generated and updated. From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of simonjpalmer Sent: Thursday, September 13, 2007 8:11 AM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] datagrid selection issues when bound to a ListCollectionView I have a UI which has a collection of filter definitions via lists, an ArrayCollection of objects to be filtered, a ListCollectionView bound to the ArrayCollection and a filter function which consumes the lists and applies the appropriate filter to the objects. I then have a datagrid which displays the filtered list of objects by binding to the ListCollectionView. The filtering works fine and as expected, and the ListCollectionView and filter funciton is a very neat way to provide the filtered list with arbitrarily complex filter criteria. However, once the list is filtered I get very strange behaviour in the selection of items in the datagrid. I have multiple selection enabled on my datagrid and double-click so I can hop to a dialog to edit the object. Often when I click a completely different row gets selected. Just as often the very last row in the grid is selected. Quite often nothing at all gets selected. The clicks and double-clicks get fired but there is nothing in the selectedItem variable on the grid. I'm not doing the object selection myself, I am leaving it up to the datagrid to handle it, so I cannot blame bad indexing on my end, it just doesn't seem to work properly. I'm using FlexBuilder 2. Anyone encountered anything like this? I am hoping it is not a bug.
RE: [flexcoders] Icon in button without embed
Don't remember what shape this is in, but here's a version. Keep in mind, that the only startup time advantage of external icons is if the icons don't appear on the first screen. Otherwise you are also doing an http fetch to get them. That's worth it if you choose icons dynamically, but otherwise, the total network traffic will be less if you embed. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of danielvlopes Sent: Thursday, September 13, 2007 9:09 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Icon in button without embed Hello, someone know if is possible to use icons in buttons without use Embed? I had big application and this icons embeded in my swf file increase file size in more than 30kb. Thanks ExternalIconButton.as Description: ExternalIconButton.as MyApp.mxml Description: MyApp.mxml ExternalButtonIcon.as Description: ExternalButtonIcon.as
RE: [flexcoders] Re: datagrid selection issues when bound to a ListCollectionView
If the objects do not implement IUID and are not Managed, they get a UID generated for them. Non-unique UIDs is the number 1 reason for selection problems. Everything you are doing looks fine, but we need to eliminate or identify that possibility. Walk datagrid.dataProvider. That ensures you are examining the same set of objects the dg is. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of simonjpalmer Sent: Thursday, September 13, 2007 9:12 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: datagrid selection issues when bound to a ListCollectionView Sorry for the confusion, I meant I use the same filtering technique elsewhere but on Managed objects, which I explicitly refer to via their uid fields. Are you suggesting I cycle through the objects in the ListCollectionView or the ArrayCollection? I can try what you suggested on both, but I can be pretty certain that I am not adding duplicate objects to the base ArrayCollection on which the ListCollectionView operates because every one of them is created with the new operator. Is a uid assigned to objects in the background by the framework? --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Alex Harui [EMAIL PROTECTED] wrote: You confused me with this statements: I do this elsewhere but the objects in question are managed and I use the uids. I thought you were wrapping the managed objects, but now I'm not sure. I guess the simplest test for you is, when you have selection problems, to walk the collection and dump the results of UIDUtil.getUID() on each object. If two are the same, you'll definitely have selection problems and then we need to figure out why that happened. From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of simonjpalmer Sent: Thursday, September 13, 2007 8:54 AM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] Re: datagrid selection issues when bound to a ListCollectionView The objects in the base ArrayCollection are custom objects in my project. I create them with the new operator. Is that what you mean? I do not explcitly handle the uid on these objects and they are not Managed. There is a subclass hierarchy in the objects, here are the class declarations... public class SuperAssumption extends SuperNote public class SuperNote The SuperNote holds a reference to an object in my domain model and the internals of the SuperAssumption and SuperNote are hidden behind getters which pick properties off the domain object. Neither of the super* object has an explicitly declared uid, but the domain object does. The creation code looks like this... sass = new SuperAssumption(domainObject); and is added to the ArrayCollection like this... _assumptions.addItem(sass); I do this elsewhere but the objects in question are managed and I use the uids. Does this make it clearer what I am doing? Simon --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com , Alex Harui aharui@ wrote: This usually implies that there are objects in there that have the same UID. What do the objects look like and how are they generated and updated. From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of simonjpalmer Sent: Thursday, September 13, 2007 8:11 AM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] datagrid selection issues when bound to a ListCollectionView I have a UI which has a collection of filter definitions via lists, an ArrayCollection of objects to be filtered, a ListCollectionView bound to the ArrayCollection and a filter function which consumes the lists and applies the appropriate filter to the objects. I then have a datagrid which displays the filtered list of objects by binding to the ListCollectionView. The filtering works fine and as expected, and the ListCollectionView and filter funciton is a very neat way to provide the filtered list with arbitrarily complex filter criteria. However, once the list is filtered I get very strange behaviour in the selection of items in the datagrid. I have multiple selection enabled on my datagrid and double-click so I can hop to a dialog to edit the object. Often when I click a completely different row gets selected. Just as often the very last row in the grid is selected. Quite often nothing at all gets selected. The clicks and double-clicks get fired
Re: [flexcoders] Expected FLEX 3 Release Date and Cost ?
At 360Flex Seattle, they said Early 08. Early is open to interpretation. I'm going to take it to mean first quarter Tom Chiverton wrote: On Thursday 13 Sep 2007, [EMAIL PROTECTED] wrote: I'm just wondering if Adobe has an estimated FLEX 3 release date and the cost for upgrading from 2 to 3. Can't tell you the date, but the cost is zero (for the Flex 3 SDK). Or did you mean Flex Builder / charting ? -- Jeffry Houser, Technical Entrepreneur, Software Developer, Author, Recording Engineer AIM: Reboog711 | Phone: 1-203-379-0773 -- My Company: http://www.dot-com-it.com My Podcast: http://www.theflexshow.com My Blog: http://www.jeffryhouser.com -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * 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: Icon in button without embed
Hello Alex, i agree with you about network traffic, but my application is for especif group of brazilian internet public, and most common net bandwidth is 300kbps or lower and if i had big swf files, my app will load to slow. For that reason i prefer not embed my icon in my swf. Is possible do this? What is this box with some name of class that you posted here? Thanks, for help. - -- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: Don't remember what shape this is in, but here's a version. Keep in mind, that the only startup time advantage of external icons is if the icons don't appear on the first screen. Otherwise you are also doing an http fetch to get them. That's worth it if you choose icons dynamically, but otherwise, the total network traffic will be less if you embed. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of danielvlopes Sent: Thursday, September 13, 2007 9:09 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Icon in button without embed Hello, someone know if is possible to use icons in buttons without use Embed? I had big application and this icons embeded in my swf file increase file size in more than 30kb. Thanks
[flexcoders] Error #2032, Stream Error
Good Morning everybody, You guys helped this flex beginner yesterday and now today I have a new problem, I'm getting the following error: [RPC Fault faultString=HTTP request error faultCode=Server.Error.Request faultDetail=Error: [IOErrorEvent type=ioError bubbles=false cancelable=false eventPhase=2 text=Error #2032: Stream Error. URL: http://admin.mydomain.com/bars/create;]. URL: http://admin.mydomain.com/bars/create;] at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler() at mx.rpc::Responder/fault() at mx.rpc::AsyncRequest/fault() at private::DirectHTTPMessageResponder/errorHandler() at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at flash.net::URLLoader/flash.net:URLLoader::redirectEvent() at [io] I know this error is common when the URL is incorrect, but I know it's there. I can paste it into the browser and it works fine. The code I'm using to access the service is as follows: mx:HTTPService id=listBars url=http://admin.mydomain.com/bars/list; useProxy=false method=GET/ mx:HTTPService id=updateBar url=http://admin.mydomain.com/bars/update; useProxy=false method=POST result=listBars.send()/ mx:HTTPService id=deleteBar url=http://admin.mydomain.com/bars/delete; useProxy=false method=POST result=listBars.send()/ mx:HTTPService id=createBar url=http://admin.mydomain.com/bars/create; useProxy=false method=POST result=listBars.send() contentType=application/xml mx:request xmlns= bar title{barTitle.text}/title username{barUsername.text}/username tags{barTags.text}/tags category{barCategory.text}/category description{barDescription.text}/description image{barImage.text}/image link{barLink.text}/link menu{barMenu.text}/menu coupons{barCoupons.text}/coupons address{barAddress.text}/address state{barState.text}/state zipcode{barZipcode.text}/zipcode /bar /mx:request /mx:HTTPService Listing, Updating, and Deleting function perfectly - but everytime I try and create, it fails. This is my create button: mx:Button label=Create click=createBar.send(); BarClearForm()/ Thanks again guys, I really appreciate it!
[flexcoders] Re: Icon in button without embed
Thanks Alex, now i'm understand, i was looking messages directly in yahoo flex coder site and atachment is not showed here. Thanks, i will look. Goodbye --- In flexcoders@yahoogroups.com, danielvlopes [EMAIL PROTECTED] wrote: Hello Alex, i agree with you about network traffic, but my application is for especif group of brazilian internet public, and most common net bandwidth is 300kbps or lower and if i had big swf files, my app will load to slow. For that reason i prefer not embed my icon in my swf. Is possible do this? What is this box with some name of class that you posted here? Thanks, for help. - -- In flexcoders@yahoogroups.com, Alex Harui aharui@ wrote: Don't remember what shape this is in, but here's a version. Keep in mind, that the only startup time advantage of external icons is if the icons don't appear on the first screen. Otherwise you are also doing an http fetch to get them. That's worth it if you choose icons dynamically, but otherwise, the total network traffic will be less if you embed. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of danielvlopes Sent: Thursday, September 13, 2007 9:09 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Icon in button without embed Hello, someone know if is possible to use icons in buttons without use Embed? I had big application and this icons embeded in my swf file increase file size in more than 30kb. Thanks
Re: [flexcoders] sequencing effects
I couldn't get addChild to work within a transition; I did searches for this in google, but nothing came up. If someone's got specific examples, I'd appreciate it. On Sep 12, 2007, at 4:52 PM, Mike Krotscheck wrote: You need to have the addChild in the state declaration and the transition itself, but yes- effectively what you’re doing is telling the state when it should remove the child. Here’s a brief example on something I did recently- it’s not AddChild, but if I hadn’t built it out explicitly like this the removechild of the state itself would have fired before the transition started. mx:Transition fromState=state1 toState=state2 mx:Sequence mx:Parallel duration=2000 mx:Move target={floatingOffStageComponent} xFrom=0 xTo=-400 easingFunction={mx.effects.easing.Cubic.easeOut} / mx:Move target={floatingOnStageComponent} xFrom=-400 xTo=0 easingFunction={mx.effects.easing.Cubic.easeOut} / /mx:Parallel mx:RemoveChildAction target={floatingOffStageComponent} / /mx:Sequence /mx:Transition Michael Krotscheck Senior Developer RESOURCE INTERACTIVE www.resource.com 614 621 2888 main 614 410 3195 direct 412 726 8087 mobile [EMAIL PROTECTED] From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of grimmwerks Sent: Wednesday, September 12, 2007 4:29 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] sequencing effects You put the addChild WITHIN the transition? Is there an example of this somewhere? I didn't know you could do that. On Sep 12, 2007, at 3:11 PM, Mike Krotscheck wrote: If you set up a transition to said state that contains AddChild directives, they will occur in the order and with the timing configured. Michael Krotscheck Senior Developer RESOURCE INTERACTIVE www.resource.com 614 621 2888 main 614 410 3195 direct 412 726 8087 mobile [EMAIL PROTECTED] From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of grimmwerks Sent: Wednesday, September 12, 2007 12:25 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] sequencing effects Trying to do about 50 things at once for a demo today. Say I've got a state with a number of addChildren elements. I've got a transition I want to call on those children, but not all at once -- in sequence. How can I do this? I realize the Sequence is for sequencing effects, not elements; but is there something like that here? Or will I have to roll my own function to step through an array?
[flexcoders] How do I setStyle(showDataEffect, interpolate) for a LineSeries?
I learned that showDataEffect is a style not a property from Ely's post (http://tech.groups.yahoo.com/group/flexcoders/message/49710) Now I can't figure out the correct way to set it. Here's what I've tried: mxml: mx:SeriesInterpolate id=interpolate elementOffset=10/ script: var myLineSeries:LineSeries = new LineSeries() myLineSeries.dataProvider = graphData.getItemAt(0) myLineSeries.yField = marginDollars myLineSeries.xField = dateTime myLineSeries.setStyle(showDataEffect, interpolate) chart.series = [myLineSeries] That didn't work, so I added this code: var myInterpolate:SeriesInterpolate = new SeriesInterpolate() myLineSeries.setStyle(showDataEffect, myInterpolate) no joy...so i tried it like this too, even though it didn't make sense to me: myLineSeries.setStyle(showDataEffect, interpolate) surprise surprise, that didn't work either! Any help is greatly appreciated! Thanks, Nate
[flexcoders] Re: Expected FLEX 3 Release Date and Cost ?
I only have 49 days left until my copy of Flex Builder 3 expires. I'm guessing there will be a Beta 2 released before then? --- In flexcoders@yahoogroups.com, Jeffry Houser [EMAIL PROTECTED] wrote: At 360Flex Seattle, they said Early 08. Early is open to interpretation. I'm going to take it to mean first quarter Tom Chiverton wrote: On Thursday 13 Sep 2007, [EMAIL PROTECTED] wrote: I'm just wondering if Adobe has an estimated FLEX 3 release date and the cost for upgrading from 2 to 3. Can't tell you the date, but the cost is zero (for the Flex 3 SDK). Or did you mean Flex Builder / charting ? -- Jeffry Houser, Technical Entrepreneur, Software Developer, Author, Recording Engineer AIM: Reboog711 | Phone: 1-203-379-0773 -- My Company: http://www.dot-com-it.com My Podcast: http://www.theflexshow.com My Blog: http://www.jeffryhouser.com
[flexcoders] Re: Icon in button without embed
Hum... i'm tested this classes you sended, but it still embeding icons in button, because swf file don't decrease and my folder images in bin folder don't had icons. --- In flexcoders@yahoogroups.com, danielvlopes [EMAIL PROTECTED] wrote: Thanks Alex, now i'm understand, i was looking messages directly in yahoo flex coder site and atachment is not showed here. Thanks, i will look. Goodbye --- In flexcoders@yahoogroups.com, danielvlopes danielvlopes@ wrote: Hello Alex, i agree with you about network traffic, but my application is for especif group of brazilian internet public, and most common net bandwidth is 300kbps or lower and if i had big swf files, my app will load to slow. For that reason i prefer not embed my icon in my swf. Is possible do this? What is this box with some name of class that you posted here? Thanks, for help. - -- In flexcoders@yahoogroups.com, Alex Harui aharui@ wrote: Don't remember what shape this is in, but here's a version. Keep in mind, that the only startup time advantage of external icons is if the icons don't appear on the first screen. Otherwise you are also doing an http fetch to get them. That's worth it if you choose icons dynamically, but otherwise, the total network traffic will be less if you embed. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of danielvlopes Sent: Thursday, September 13, 2007 9:09 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Icon in button without embed Hello, someone know if is possible to use icons in buttons without use Embed? I had big application and this icons embeded in my swf file increase file size in more than 30kb. Thanks
[flexcoders] removeChild vs destroyChild
Hello, I have created a custom component that dynamically adds another custom component(based on a Panel class) depending on the results from a database query. The main component has a calendar selector and depending on the selected date, a custom label/input component is added for each person that is scheduled on the given date. I am using actionscript to add this component, however, need to remove the components when a new date is selected. Currently I have things working using emoveChild, however, I realize this only removes them from view and does not delete them. I have no reason to keep these around so I think it would be better to completely remove them. The problem I have is that I am unable to use the removeChild function of the panel class since this is itself a custom component. Can anyone provide some guidance on this problem, or let me know if using removeChild is indeed the way I should proceed. Thanks in advance Don
[flexcoders] reset/invalidate property values
Hi, i have a flex application with charts and it has some public variables defined on top of the application. Is there a way, i can reset all the variables to its default values? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; mx:Script![CDATA[ [Bindable] public var hAxisShowLabels:Boolean = true; private function foo():void { hAxisShowLabels = false; } private function fooinitialize():void { //initialize back all the variables to its default values.. //is there something like invalidateproperties or something like that. //basically what i need is to redraw a chart starting from first } ]]/mx:Script
RE: [flexcoders] Re: Expected FLEX 3 Release Date and Cost ?
October 1-3 we have an event in Chicago called Adobe MAX... (Read 17 Days Away) http://www.adobemax2007.com/na/ I will be blunt, if you are doing Flex development, it would be a mistake not to be at MAX this year. We have a ton to show, far more than just Flex 3. I will step out on a limb here and put my reputation as a Flex Evangelist on the line: Attend MAX, you will not be disappointed. Cheers, Ted :)
Re: [flexcoders] Re: Expected FLEX 3 Release Date and Cost ?
From what i heard. Beta 2 will be released on Max which is sept 30th - Original Message From: Nate Pearson [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, September 13, 2007 12:28:09 PM Subject: [flexcoders] Re: Expected FLEX 3 Release Date and Cost ? I only have 49 days left until my copy of Flex Builder 3 expires. I'm guessing there will be a Beta 2 released before then? --- In [EMAIL PROTECTED] ups.com, Jeffry Houser [EMAIL PROTECTED] wrote: At 360Flex Seattle, they said Early 08. Early is open to interpretation. I'm going to take it to mean first quarter Tom Chiverton wrote: On Thursday 13 Sep 2007, robert_thompson_ [EMAIL PROTECTED] wrote: I'm just wondering if Adobe has an estimated FLEX 3 release date and the cost for upgrading from 2 to 3. Can't tell you the date, but the cost is zero (for the Flex 3 SDK). Or did you mean Flex Builder / charting ? -- Jeffry Houser, Technical Entrepreneur, Software Developer, Author, Recording Engineer AIM: Reboog711 | Phone: 1-203-379-0773 -- My Company: http://www.dot- com-it.com My Podcast: http://www.theflexs how.com My Blog: http://www.jeffryho user.com !-- #ygrp-mkp{ border:1px solid #d8d8d8;font-family:Arial;margin:14px 0px;padding:0px 14px;} #ygrp-mkp hr{ border:1px solid #d8d8d8;} #ygrp-mkp #hd{ color:#628c2a;font-size:85%;font-weight:bold;line-height:122%;margin:10px 0px;} #ygrp-mkp #ads{ margin-bottom:10px;} #ygrp-mkp .ad{ padding:0 0;} #ygrp-mkp .ad a{ color:#ff;text-decoration:none;} -- !-- #ygrp-sponsor #ygrp-lc{ font-family:Arial;} #ygrp-sponsor #ygrp-lc #hd{ margin:10px 0px;font-weight:bold;font-size:78%;line-height:122%;} #ygrp-sponsor #ygrp-lc .ad{ margin-bottom:10px;padding:0 0;} -- !-- #ygrp-mlmsg {font-size:13px;font-family:arial, helvetica, clean, sans-serif;} #ygrp-mlmsg table {font-size:inherit;font:100%;} #ygrp-mlmsg select, input, textarea {font:99% arial, helvetica, clean, sans-serif;} #ygrp-mlmsg pre, code {font:115% monospace;} #ygrp-mlmsg * {line-height:1.22em;} #ygrp-text{ font-family:Georgia; } #ygrp-text p{ margin:0 0 1em 0;} #ygrp-tpmsgs{ font-family:Arial; clear:both;} #ygrp-vitnav{ padding-top:10px;font-family:Verdana;font-size:77%;margin:0;} #ygrp-vitnav a{ padding:0 1px;} #ygrp-actbar{ clear:both;margin:25px 0;white-space:nowrap;color:#666;text-align:right;} #ygrp-actbar .left{ float:left;white-space:nowrap;} .bld{font-weight:bold;} #ygrp-grft{ font-family:Verdana;font-size:77%;padding:15px 0;} #ygrp-ft{ font-family:verdana;font-size:77%;border-top:1px solid #666; padding:5px 0; } #ygrp-mlmsg #logo{ padding-bottom:10px;} #ygrp-vital{ background-color:#e0ecee;margin-bottom:20px;padding:2px 0 8px 8px;} #ygrp-vital #vithd{ font-size:77%;font-family:Verdana;font-weight:bold;color:#333;text-transform:uppercase;} #ygrp-vital ul{ padding:0;margin:2px 0;} #ygrp-vital ul li{ list-style-type:none;clear:both;border:1px solid #e0ecee; } #ygrp-vital ul li .ct{ font-weight:bold;color:#ff7900;float:right;width:2em;text-align:right;padding-right:.5em;} #ygrp-vital ul li .cat{ font-weight:bold;} #ygrp-vital a{ text-decoration:none;} #ygrp-vital a:hover{ text-decoration:underline;} #ygrp-sponsor #hd{ color:#999;font-size:77%;} #ygrp-sponsor #ov{ padding:6px 13px;background-color:#e0ecee;margin-bottom:20px;} #ygrp-sponsor #ov ul{ padding:0 0 0 8px;margin:0;} #ygrp-sponsor #ov li{ list-style-type:square;padding:6px 0;font-size:77%;} #ygrp-sponsor #ov li a{ text-decoration:none;font-size:130%;} #ygrp-sponsor #nc{ background-color:#eee;margin-bottom:20px;padding:0 8px;} #ygrp-sponsor .ad{ padding:8px 0;} #ygrp-sponsor .ad #hd1{ font-family:Arial;font-weight:bold;color:#628c2a;font-size:100%;line-height:122%;} #ygrp-sponsor .ad a{ text-decoration:none;} #ygrp-sponsor .ad a:hover{ text-decoration:underline;} #ygrp-sponsor .ad p{ margin:0;} o{font-size:0;} .MsoNormal{ margin:0 0 0 0;} #ygrp-text tt{ font-size:120%;} blockquote{margin:0 0 0 4px;} .replbq{margin:4;} -- Luggage? GPS? Comic books? Check out fitting gifts for grads at Yahoo! Search http://search.yahoo.com/search?fr=oni_on_mailp=graduation+giftscs=bz
Re: [flexcoders] Re: Expected FLEX 3 Release Date and Cost ?
Will there be Vids of it later or not? - Original Message From: Ted Patrick [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, September 13, 2007 12:58:24 PM Subject: RE: [flexcoders] Re: Expected FLEX 3 Release Date and Cost ? October 1-3 we have an event in Chicago called Adobe MAX... (Read 17 Days Away) http://www.adobemax 2007.com/ na/ I will be blunt, if you are doing Flex development, it would be a mistake not to be at MAX this year. We have a ton to show, far more than just Flex 3. I will step out on a limb here and put my reputation as a Flex Evangelist on the line: Attend MAX, you will not be disappointed. Cheers, Ted :) !-- #ygrp-mkp{ border:1px solid #d8d8d8;font-family:Arial;margin:14px 0px;padding:0px 14px;} #ygrp-mkp hr{ border:1px solid #d8d8d8;} #ygrp-mkp #hd{ color:#628c2a;font-size:85%;font-weight:bold;line-height:122%;margin:10px 0px;} #ygrp-mkp #ads{ margin-bottom:10px;} #ygrp-mkp .ad{ padding:0 0;} #ygrp-mkp .ad a{ color:#ff;text-decoration:none;} -- !-- #ygrp-sponsor #ygrp-lc{ font-family:Arial;} #ygrp-sponsor #ygrp-lc #hd{ margin:10px 0px;font-weight:bold;font-size:78%;line-height:122%;} #ygrp-sponsor #ygrp-lc .ad{ margin-bottom:10px;padding:0 0;} -- !-- #ygrp-mlmsg {font-size:13px;font-family:arial, helvetica, clean, sans-serif;} #ygrp-mlmsg table {font-size:inherit;font:100%;} #ygrp-mlmsg select, input, textarea {font:99% arial, helvetica, clean, sans-serif;} #ygrp-mlmsg pre, code {font:115% monospace;} #ygrp-mlmsg * {line-height:1.22em;} #ygrp-text{ font-family:Georgia; } #ygrp-text p{ margin:0 0 1em 0;} #ygrp-tpmsgs{ font-family:Arial; clear:both;} #ygrp-vitnav{ padding-top:10px;font-family:Verdana;font-size:77%;margin:0;} #ygrp-vitnav a{ padding:0 1px;} #ygrp-actbar{ clear:both;margin:25px 0;white-space:nowrap;color:#666;text-align:right;} #ygrp-actbar .left{ float:left;white-space:nowrap;} .bld{font-weight:bold;} #ygrp-grft{ font-family:Verdana;font-size:77%;padding:15px 0;} #ygrp-ft{ font-family:verdana;font-size:77%;border-top:1px solid #666; padding:5px 0; } #ygrp-mlmsg #logo{ padding-bottom:10px;} #ygrp-vital{ background-color:#e0ecee;margin-bottom:20px;padding:2px 0 8px 8px;} #ygrp-vital #vithd{ font-size:77%;font-family:Verdana;font-weight:bold;color:#333;text-transform:uppercase;} #ygrp-vital ul{ padding:0;margin:2px 0;} #ygrp-vital ul li{ list-style-type:none;clear:both;border:1px solid #e0ecee; } #ygrp-vital ul li .ct{ font-weight:bold;color:#ff7900;float:right;width:2em;text-align:right;padding-right:.5em;} #ygrp-vital ul li .cat{ font-weight:bold;} #ygrp-vital a{ text-decoration:none;} #ygrp-vital a:hover{ text-decoration:underline;} #ygrp-sponsor #hd{ color:#999;font-size:77%;} #ygrp-sponsor #ov{ padding:6px 13px;background-color:#e0ecee;margin-bottom:20px;} #ygrp-sponsor #ov ul{ padding:0 0 0 8px;margin:0;} #ygrp-sponsor #ov li{ list-style-type:square;padding:6px 0;font-size:77%;} #ygrp-sponsor #ov li a{ text-decoration:none;font-size:130%;} #ygrp-sponsor #nc{ background-color:#eee;margin-bottom:20px;padding:0 8px;} #ygrp-sponsor .ad{ padding:8px 0;} #ygrp-sponsor .ad #hd1{ font-family:Arial;font-weight:bold;color:#628c2a;font-size:100%;line-height:122%;} #ygrp-sponsor .ad a{ text-decoration:none;} #ygrp-sponsor .ad a:hover{ text-decoration:underline;} #ygrp-sponsor .ad p{ margin:0;} o{font-size:0;} .MsoNormal{ margin:0 0 0 0;} #ygrp-text tt{ font-size:120%;} blockquote{margin:0 0 0 4px;} .replbq{margin:4;} -- Moody friends. Drama queens. Your life? Nope! - their life, your story. Play Sims Stories at Yahoo! Games. http://sims.yahoo.com/
[flexcoders] Re: Icon in button without embed
I'm tested again with smaller app and work fine. Thanks again and sorry for disturb. --- In flexcoders@yahoogroups.com, danielvlopes [EMAIL PROTECTED] wrote: Hum... i'm tested this classes you sended, but it still embeding icons in button, because swf file don't decrease and my folder images in bin folder don't had icons. --- In flexcoders@yahoogroups.com, danielvlopes danielvlopes@ wrote: Thanks Alex, now i'm understand, i was looking messages directly in yahoo flex coder site and atachment is not showed here. Thanks, i will look. Goodbye --- In flexcoders@yahoogroups.com, danielvlopes danielvlopes@ wrote: Hello Alex, i agree with you about network traffic, but my application is for especif group of brazilian internet public, and most common net bandwidth is 300kbps or lower and if i had big swf files, my app will load to slow. For that reason i prefer not embed my icon in my swf. Is possible do this? What is this box with some name of class that you posted here? Thanks, for help. - -- In flexcoders@yahoogroups.com, Alex Harui aharui@ wrote: Don't remember what shape this is in, but here's a version. Keep in mind, that the only startup time advantage of external icons is if the icons don't appear on the first screen. Otherwise you are also doing an http fetch to get them. That's worth it if you choose icons dynamically, but otherwise, the total network traffic will be less if you embed. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of danielvlopes Sent: Thursday, September 13, 2007 9:09 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Icon in button without embed Hello, someone know if is possible to use icons in buttons without use Embed? I had big application and this icons embeded in my swf file increase file size in more than 30kb. Thanks
Re: [flexcoders] removeChild vs destroyChild
Hi, set the reference to them to null; child = removeChild(child); child = null; Peace, Mike On 9/13/07, donvoltz [EMAIL PROTECTED] wrote: Hello, I have created a custom component that dynamically adds another custom component(based on a Panel class) depending on the results from a database query. The main component has a calendar selector and depending on the selected date, a custom label/input component is added for each person that is scheduled on the given date. I am using actionscript to add this component, however, need to remove the components when a new date is selected. Currently I have things working using emoveChild, however, I realize this only removes them from view and does not delete them. I have no reason to keep these around so I think it would be better to completely remove them. The problem I have is that I am unable to use the removeChild function of the panel class since this is itself a custom component. Can anyone provide some guidance on this problem, or let me know if using removeChild is indeed the way I should proceed. Thanks in advance Don -- Teoti Graphix http://www.teotigraphix.com Blog - Flex2Components http://www.flex2components.com You can find more by solving the problem then by 'asking the question'.
RE: [flexcoders] How do I setStyle(showDataEffect, interpolate) for a LineSeries?
This should work: myLineSeries.setStyle(showDataEffect, interpolate) Please post the error your getting and a complete code sample that shows the error. -matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Nate Pearson Sent: Thursday, September 13, 2007 1:27 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] How do I setStyle(showDataEffect, interpolate) for a LineSeries? I learned that showDataEffect is a style not a property from Ely's post (http://tech.groups.yahoo.com/group/flexcoders/message/49710 http://tech.groups.yahoo.com/group/flexcoders/message/49710 ) Now I can't figure out the correct way to set it. Here's what I've tried: mxml: mx:SeriesInterpolate id=interpolate elementOffset=10/ script: var myLineSeries:LineSeries = new LineSeries() myLineSeries.dataProvider = graphData.getItemAt(0) myLineSeries.yField = marginDollars myLineSeries.xField = dateTime myLineSeries.setStyle(showDataEffect, interpolate) chart.series = [myLineSeries] That didn't work, so I added this code: var myInterpolate:SeriesInterpolate = new SeriesInterpolate() myLineSeries.setStyle(showDataEffect, myInterpolate) no joy...so i tried it like this too, even though it didn't make sense to me: myLineSeries.setStyle(showDataEffect, interpolate) surprise surprise, that didn't work either! Any help is greatly appreciated! Thanks, Nate
Re: [flexcoders] Re: Expected FLEX 3 Release Date and Cost ?
Ted, Cool. I want to go. I love Flex I just wish I knew it at the level that you all use it over at adobe. -Patrick On Sep 13, 2007, at 10:58 AM, Ted Patrick wrote: October 1-3 we have an event in Chicago called Adobe MAX... (Read 17 Days Away) http://www.adobemax2007.com/na/ I will be blunt, if you are doing Flex development, it would be a mistake not to be at MAX this year. We have a ton to show, far more than just Flex 3. I will step out on a limb here and put my reputation as a Flex Evangelist on the line: Attend MAX, you will not be disappointed. Cheers, Ted :)
[flexcoders] Re: How do I setStyle(showDataEffect, interpolate) for a LineSeries?
I don't get an error. It just doesn't work. I'm adding and removing series and they just pop up instead of that nice interpolate feature --- In flexcoders@yahoogroups.com, Matt Horn [EMAIL PROTECTED] wrote: This should work: myLineSeries.setStyle(showDataEffect, interpolate) Please post the error your getting and a complete code sample that shows the error. -matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Nate Pearson Sent: Thursday, September 13, 2007 1:27 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] How do I setStyle(showDataEffect, interpolate) for a LineSeries? I learned that showDataEffect is a style not a property from Ely's post (http://tech.groups.yahoo.com/group/flexcoders/message/49710 http://tech.groups.yahoo.com/group/flexcoders/message/49710 ) Now I can't figure out the correct way to set it. Here's what I've tried: mxml: mx:SeriesInterpolate id=interpolate elementOffset=10/ script: var myLineSeries:LineSeries = new LineSeries() myLineSeries.dataProvider = graphData.getItemAt(0) myLineSeries.yField = marginDollars myLineSeries.xField = dateTime myLineSeries.setStyle(showDataEffect, interpolate) chart.series = [myLineSeries] That didn't work, so I added this code: var myInterpolate:SeriesInterpolate = new SeriesInterpolate() myLineSeries.setStyle(showDataEffect, myInterpolate) no joy...so i tried it like this too, even though it didn't make sense to me: myLineSeries.setStyle(showDataEffect, interpolate) surprise surprise, that didn't work either! Any help is greatly appreciated! Thanks, Nate
[flexcoders] One more question about Max - slightly OT
Do you think you'll ever bring Flash Media Server to Actionscript 3. Has there been any discussion of leveraging Air capabilities - api, ui into a new Flash Media Server product? Seems like that would be the way to go. Thanks, Patrick
RE: [flexcoders] Icon in button without embed
IconUtility Component for Dynamic Run-Time Icons http://blog.benstucki.net/?p=42 HTH, Sam --- We're Hiring! Seeking a passionate developer to join our team building Flex based products. Position is in the Washington D.C. metro area. If interested contact [EMAIL PROTECTED] _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of danielvlopes Sent: Thursday, September 13, 2007 9:09 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Icon in button without embed Hello, someone know if is possible to use icons in buttons without use Embed? I had big application and this icons embeded in my swf file increase file size in more than 30kb. Thanks
Re: [flexcoders] Re: Expected FLEX 3 Release Date and Cost ?
I will be blunt, if you are doing Flex development, it would be a mistake not to be at MAX this year. Nice, I guess I am making a mistake unless you have that free teleporter you are working on and a babysitter. Peace, Mike On 9/13/07, Sheriff [EMAIL PROTECTED] wrote: Will there be Vids of it later or not? - Original Message From: Ted Patrick [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, September 13, 2007 12:58:24 PM Subject: RE: [flexcoders] Re: Expected FLEX 3 Release Date and Cost ? October 1-3 we have an event in Chicago called Adobe MAX... (Read 17 Days Away) http://www.adobemax 2007.com/ na/ http://www.adobemax2007.com/na/ I will be blunt, if you are doing Flex development, it would be a mistake not to be at MAX this year. We have a ton to show, far more than just Flex 3. I will step out on a limb here and put my reputation as a Flex Evangelist on the line: Attend MAX, you will not be disappointed. Cheers, Ted :) -- Be a better Globetrotter. Get better travel answers http://us.rd.yahoo.com/evt=48254/*http://answers.yahoo.com/dir/_ylc=X3oDMTI5MGx2aThyBF9TAzIxMTU1MDAzNTIEX3MDMzk2NTQ1MTAzBHNlYwNCQUJwaWxsYXJfTklfMzYwBHNsawNQcm9kdWN0X3F1ZXN0aW9uX3BhZ2U-?link=listsid=396545469from someone who knows. Yahoo! Answers - Check it out. -- Teoti Graphix http://www.teotigraphix.com Blog - Flex2Components http://www.flex2components.com You can find more by solving the problem then by 'asking the question'.
RE: [flexcoders] Re: Expected FLEX 3 Release Date and Cost ?
Mike, I will get the MAX teleporter and MAX baby sitter features added into Flex 4 timeframe. I sure could use a teleporter. Beam me up! Ted J From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michael Schmalle Sent: Thursday, September 13, 2007 11:35 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Expected FLEX 3 Release Date and Cost ? I will be blunt, if you are doing Flex development, it would be a mistake not to be at MAX this year. Nice, I guess I am making a mistake unless you have that free teleporter you are working on and a babysitter. Peace, Mike On 9/13/07, Sheriff [EMAIL PROTECTED] wrote: Will there be Vids of it later or not? - Original Message From: Ted Patrick [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, September 13, 2007 12:58:24 PM Subject: RE: [flexcoders] Re: Expected FLEX 3 Release Date and Cost ? October 1-3 we have an event in Chicago called Adobe MAX... (Read 17 Days Away) http://www.adobemax 2007.com/ na/ http://www.adobemax2007.com/na/ I will be blunt, if you are doing Flex development, it would be a mistake not to be at MAX this year. We have a ton to show, far more than just Flex 3. I will step out on a limb here and put my reputation as a Flex Evangelist on the line: Attend MAX, you will not be disappointed. Cheers, Ted :) Be a better Globetrotter. Get better travel answers http://us.rd.yahoo.com/evt=48254/*http:/answers.yahoo.com/dir/_ylc=X3oD MTI5MGx2aThyBF9TAzIxMTU1MDAzNTIEX3MDMzk2NTQ1MTAzBHNlYwNCQUJwaWxsYXJfTklf MzYwBHNsawNQcm9kdWN0X3F1ZXN0aW9uX3BhZ2U-?link=listsid=396545469 from someone who knows. Yahoo! Answers - Check it out. -- Teoti Graphix http://www.teotigraphix.com Blog - Flex2Components http://www.flex2components.com You can find more by solving the problem then by 'asking the question'. image001.jpgimage002.jpg
RE: [flexcoders] Re: Icon in button without embed
Did you try the test app? It shows how to use it. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of danielvlopes Sent: Thursday, September 13, 2007 10:38 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Icon in button without embed Hum... i'm tested this classes you sended, but it still embeding icons in button, because swf file don't decrease and my folder images in bin folder don't had icons. --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , danielvlopes [EMAIL PROTECTED] wrote: Thanks Alex, now i'm understand, i was looking messages directly in yahoo flex coder site and atachment is not showed here. Thanks, i will look. Goodbye --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , danielvlopes danielvlopes@ wrote: Hello Alex, i agree with you about network traffic, but my application is for especif group of brazilian internet public, and most common net bandwidth is 300kbps or lower and if i had big swf files, my app will load to slow. For that reason i prefer not embed my icon in my swf. Is possible do this? What is this box with some name of class that you posted here? Thanks, for help. - -- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Alex Harui aharui@ wrote: Don't remember what shape this is in, but here's a version. Keep in mind, that the only startup time advantage of external icons is if the icons don't appear on the first screen. Otherwise you are also doing an http fetch to get them. That's worth it if you choose icons dynamically, but otherwise, the total network traffic will be less if you embed. From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of danielvlopes Sent: Thursday, September 13, 2007 9:09 AM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] Icon in button without embed Hello, someone know if is possible to use icons in buttons without use Embed? I had big application and this icons embeded in my swf file increase file size in more than 30kb. Thanks
RE: [flexcoders] Re: How do I setStyle(showDataEffect, interpolate) for a LineSeries?
can you post a complete code sample that illustrates this? -matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Nate Pearson Sent: Thursday, September 13, 2007 2:48 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: How do I setStyle(showDataEffect, interpolate) for a LineSeries? I don't get an error. It just doesn't work. I'm adding and removing series and they just pop up instead of that nice interpolate feature --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Matt Horn [EMAIL PROTECTED] wrote: This should work: myLineSeries.setStyle(showDataEffect, interpolate) Please post the error your getting and a complete code sample that shows the error. -matt -Original Message- From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of Nate Pearson Sent: Thursday, September 13, 2007 1:27 PM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] How do I setStyle(showDataEffect, interpolate) for a LineSeries? I learned that showDataEffect is a style not a property from Ely's post (http://tech.groups.yahoo.com/group/flexcoders/message/49710 http://tech.groups.yahoo.com/group/flexcoders/message/49710 http://tech.groups.yahoo.com/group/flexcoders/message/49710 http://tech.groups.yahoo.com/group/flexcoders/message/49710 ) Now I can't figure out the correct way to set it. Here's what I've tried: mxml: mx:SeriesInterpolate id=interpolate elementOffset=10/ script: var myLineSeries:LineSeries = new LineSeries() myLineSeries.dataProvider = graphData.getItemAt(0) myLineSeries.yField = marginDollars myLineSeries.xField = dateTime myLineSeries.setStyle(showDataEffect, interpolate) chart.series = [myLineSeries] That didn't work, so I added this code: var myInterpolate:SeriesInterpolate = new SeriesInterpolate() myLineSeries.setStyle(showDataEffect, myInterpolate) no joy...so i tried it like this too, even though it didn't make sense to me: myLineSeries.setStyle(showDataEffect, interpolate) surprise surprise, that didn't work either! Any help is greatly appreciated! Thanks, Nate
Re: [flexcoders] One more question about Max - slightly OT
...and i forgot will you be unveiling any information about a new flash media server as well over at max? On Sep 13, 2007, at 11:49 AM, Patrick Lemiuex wrote: Do you think you'll ever bring Flash Media Server to Actionscript 3. Has there been any discussion of leveraging Air capabilities - api, ui into a new Flash Media Server product? Seems like that would be the way to go. Thanks, Patrick
RE: [flexcoders] reset/invalidate property values
No. You would have to know all the initial values and write such a reset method yourself. Flex components don't remember the initial values of their properties. - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of suri_boston Sent: Thursday, September 13, 2007 10:57 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] reset/invalidate property values Hi, i have a flex application with charts and it has some public variables defined on top of the application. Is there a way, i can reset all the variables to its default values? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml http://www.adobe.com/2006/mxml mx:Script![CDATA[ [Bindable] public var hAxisShowLabels:Boolean = true; private function foo():void { hAxisShowLabels = false; } private function fooinitialize():void { //initialize back all the variables to its default values.. //is there something like invalidateproperties or something like that. //basically what i need is to redraw a chart starting from first } ]]/mx:Script
RE: [flexcoders] Resource bundle chaining
How do I do a multiple resource bundle chaining using ActionScript in Flex 2. You'll have to write the chaining code yourself in Flex 2. Flex 3 has a ResourceManager which has the concept of a locale chain. For example, if the locale chain is [ en_IN, en_GB, en_US ] the ResourceManger will first look for an Indian English resource, then a British English one, then a U.S. English one. - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dr. S. P. Chakraborty Sent: Thursday, September 13, 2007 2:24 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Resource bundle chaining Basically the module will be using multiple resource bundles. Resource lookup will support chaining, meaning that if a resource is not found in one bundle, others can be searched. On 9/12/07, Tom Chiverton [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: On Wednesday 12 Sep 2007, [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: How do I do a multiple resource bundle chaining Do what ? -- Tom Chiverton Helping to simultaneously strategize turn-key users on: http://thefalken.livejournal.com http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com http://www.halliwells.com . -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links (Yahoo! ID required) mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
[flexcoders] Re: reset/invalidate property values
Any one?? i would like to reset an application. anyone with a sample code to make it happen with states? --- In flexcoders@yahoogroups.com, suri_boston [EMAIL PROTECTED] wrote: Hi, i have a flex application with charts and it has some public variables defined on top of the application. Is there a way, i can reset all the variables to its default values? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; mx:Script![CDATA[ [Bindable] public var hAxisShowLabels:Boolean = true; private function foo():void { hAxisShowLabels = false; } private function fooinitialize():void { //initialize back all the variables to its default values.. //is there something like invalidateproperties or something like that. //basically what i need is to redraw a chart starting from first } ]]/mx:Script
[flexcoders] Simple addEventListener Question!
hey there, I am working on the addEventListener and I would like to change the title for panel_01 once panel_02 has moved, there is no error for the code below, but won't work. Do you have any suggestion? Thanks == ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute creationComplete=initApp(event) mx:Script ![CDATA[ import flash.events.Event; import mx.core.* private function initApp(event:Event):void{ panel_02.addEventListener(Event.CHANGE, moveHandler); } private function moveHandler(event:Event):void { panel_01.title = Detected trace(got); } private function movePanel(event:Event):void{ panel_02.move(350,109); } ]] /mx:Script mx:Panel id=panel_01 x=64 y=109 width=250 height=200 layout=absolute /mx:Panel mx:Panel id=panel_02 x=432 y=109 width=250 height=200 layout=absolute /mx:Panel mx:Button x=346 y=390 label=Button click=movePanel(event);/ /mx:Application ==
Re: [flexcoders] Simple addEventListener Question!
i think u would need to call the invalideDisplayList() on panel_01 but i am not sure - Original Message From: flexawesome [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, September 13, 2007 2:47:58 PM Subject: [flexcoders] Simple addEventListener Question! hey there, I am working on the addEventListener and I would like to change the title for panel_01 once panel_02 has moved, there is no error for the code below, but won't work. Do you have any suggestion? Thanks = = = = = = ?xml version=1.0 encoding=utf- 8? mx:Application xmlns:mx=http://www.adobe. com/2006/ mxml layout=absolute creationComplete= initApp( event) mx:Script ![CDATA[ import flash.events. Event; import mx.core.* private function initApp(event: Event):void{ panel_02.addEventLi stener(Event. CHANGE, moveHandler) ; } private function moveHandler( event:Event) :void { panel_01.title = Detected trace(got) ; } private function movePanel(event: Event):void{ panel_02.move( 350,109); } ]] /mx:Script mx:Panel id=panel_01 x=64 y=109 width=250 height=200 layout=absolute /mx:Panel mx:Panel id=panel_02 x=432 y=109 width=250 height=200 layout=absolute /mx:Panel mx:Button x=346 y=390 label=Button click=movePanel( event);/ /mx:Application = = = = = = !-- #ygrp-mkp{ border:1px solid #d8d8d8;font-family:Arial;margin:14px 0px;padding:0px 14px;} #ygrp-mkp hr{ border:1px solid #d8d8d8;} #ygrp-mkp #hd{ color:#628c2a;font-size:85%;font-weight:bold;line-height:122%;margin:10px 0px;} #ygrp-mkp #ads{ margin-bottom:10px;} #ygrp-mkp .ad{ padding:0 0;} #ygrp-mkp .ad a{ color:#ff;text-decoration:none;} -- !-- #ygrp-sponsor #ygrp-lc{ font-family:Arial;} #ygrp-sponsor #ygrp-lc #hd{ margin:10px 0px;font-weight:bold;font-size:78%;line-height:122%;} #ygrp-sponsor #ygrp-lc .ad{ margin-bottom:10px;padding:0 0;} -- !-- #ygrp-mlmsg {font-size:13px;font-family:arial, helvetica, clean, sans-serif;} #ygrp-mlmsg table {font-size:inherit;font:100%;} #ygrp-mlmsg select, input, textarea {font:99% arial, helvetica, clean, sans-serif;} #ygrp-mlmsg pre, code {font:115% monospace;} #ygrp-mlmsg * {line-height:1.22em;} #ygrp-text{ font-family:Georgia; } #ygrp-text p{ margin:0 0 1em 0;} #ygrp-tpmsgs{ font-family:Arial; clear:both;} #ygrp-vitnav{ padding-top:10px;font-family:Verdana;font-size:77%;margin:0;} #ygrp-vitnav a{ padding:0 1px;} #ygrp-actbar{ clear:both;margin:25px 0;white-space:nowrap;color:#666;text-align:right;} #ygrp-actbar .left{ float:left;white-space:nowrap;} .bld{font-weight:bold;} #ygrp-grft{ font-family:Verdana;font-size:77%;padding:15px 0;} #ygrp-ft{ font-family:verdana;font-size:77%;border-top:1px solid #666; padding:5px 0; } #ygrp-mlmsg #logo{ padding-bottom:10px;} #ygrp-vital{ background-color:#e0ecee;margin-bottom:20px;padding:2px 0 8px 8px;} #ygrp-vital #vithd{ font-size:77%;font-family:Verdana;font-weight:bold;color:#333;text-transform:uppercase;} #ygrp-vital ul{ padding:0;margin:2px 0;} #ygrp-vital ul li{ list-style-type:none;clear:both;border:1px solid #e0ecee; } #ygrp-vital ul li .ct{ font-weight:bold;color:#ff7900;float:right;width:2em;text-align:right;padding-right:.5em;} #ygrp-vital ul li .cat{ font-weight:bold;} #ygrp-vital a{ text-decoration:none;} #ygrp-vital a:hover{ text-decoration:underline;} #ygrp-sponsor #hd{ color:#999;font-size:77%;} #ygrp-sponsor #ov{ padding:6px 13px;background-color:#e0ecee;margin-bottom:20px;} #ygrp-sponsor #ov ul{ padding:0 0 0 8px;margin:0;} #ygrp-sponsor #ov li{ list-style-type:square;padding:6px 0;font-size:77%;} #ygrp-sponsor #ov li a{ text-decoration:none;font-size:130%;} #ygrp-sponsor #nc{ background-color:#eee;margin-bottom:20px;padding:0 8px;} #ygrp-sponsor .ad{ padding:8px 0;} #ygrp-sponsor .ad #hd1{ font-family:Arial;font-weight:bold;color:#628c2a;font-size:100%;line-height:122%;} #ygrp-sponsor .ad a{ text-decoration:none;} #ygrp-sponsor .ad a:hover{ text-decoration:underline;} #ygrp-sponsor .ad p{ margin:0;} o{font-size:0;} .MsoNormal{ margin:0 0 0 0;} #ygrp-text tt{ font-size:120%;} blockquote{margin:0 0 0 4px;} .replbq{margin:4;} -- Luggage? GPS? Comic books? Check out fitting gifts for grads at Yahoo! Search http://search.yahoo.com/search?fr=oni_on_mailp=graduation+giftscs=bz
[flexcoders] Re: How do I setStyle(showDataEffect, interpolate) for a LineSeries?
?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical mx:Script ![CDATA[ import mx.charts.series.LineSeries; import mx.collections.ArrayCollection; [Bindable]private var chartData:ArrayCollection = new ArrayCollection([{marginRevenue: '0', dateTime: 'Jan 06'}, {marginRevenue: '155', dateTime: 'Feb 06'}, {marginRevenue: '200', dateTime: 'Mar 06'}, {marginRevenue: '223', dateTime: 'Apr 06'}, {marginRevenue: '350', dateTime: 'May 06'} ]) private function addSeries():void{ var myLineSeries:LineSeries = new LineSeries() myLineSeries.dataProvider = chartData myLineSeries.yField = marginRevenue myLineSeries.xField = dateTime myLineSeries.setStyle(showDataEffect, interpolate) chart.series = [myLineSeries] } ]] /mx:Script mx:LineChart id=chart dataProvider={chartData} width=100% height=100% showDataTips=true mx:seriesFilters mx:Array/ /mx:seriesFilters mx:horizontalAxis mx:CategoryAxis categoryField=dateTime / /mx:horizontalAxis /mx:LineChart mx:Button label=Add Series click=addSeries()/ /mx:Application --- In flexcoders@yahoogroups.com, Matt Horn [EMAIL PROTECTED] wrote: can you post a complete code sample that illustrates this? -matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Nate Pearson Sent: Thursday, September 13, 2007 2:48 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: How do I setStyle(showDataEffect, interpolate) for a LineSeries? I don't get an error. It just doesn't work. I'm adding and removing series and they just pop up instead of that nice interpolate feature --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Matt Horn mhorn@ wrote: This should work: myLineSeries.setStyle(showDataEffect, interpolate) Please post the error your getting and a complete code sample that shows the error. -matt -Original Message- From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of Nate Pearson Sent: Thursday, September 13, 2007 1:27 PM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] How do I setStyle(showDataEffect, interpolate) for a LineSeries? I learned that showDataEffect is a style not a property from Ely's post (http://tech.groups.yahoo.com/group/flexcoders/message/49710 http://tech.groups.yahoo.com/group/flexcoders/message/49710 http://tech.groups.yahoo.com/group/flexcoders/message/49710 http://tech.groups.yahoo.com/group/flexcoders/message/49710 ) Now I can't figure out the correct way to set it. Here's what I've tried: mxml: mx:SeriesInterpolate id=interpolate elementOffset=10/ script: var myLineSeries:LineSeries = new LineSeries() myLineSeries.dataProvider = graphData.getItemAt(0) myLineSeries.yField = marginDollars myLineSeries.xField = dateTime myLineSeries.setStyle(showDataEffect, interpolate) chart.series = [myLineSeries] That didn't work, so I added this code: var myInterpolate:SeriesInterpolate = new SeriesInterpolate() myLineSeries.setStyle(showDataEffect, myInterpolate) no joy...so i tried it like this too, even though it didn't make sense to me: myLineSeries.setStyle(showDataEffect, interpolate) surprise surprise, that didn't work either! Any help is greatly appreciated! Thanks, Nate
RE: [flexcoders] Simple addEventListener Question!
panel_02.addEventListener(FlexEvent.MOVE, moveHandler); From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of flexawesome Sent: Thursday, September 13, 2007 12:48 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Simple addEventListener Question! hey there, I am working on the addEventListener and I would like to change the title for panel_01 once panel_02 has moved, there is no error for the code below, but won't work. Do you have any suggestion? Thanks == ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml http://www.adobe.com/2006/mxml layout=absolute creationComplete=initApp(event) mx:Script ![CDATA[ import flash.events.Event; import mx.core.* private function initApp(event:Event):void{ panel_02.addEventListener(Event.CHANGE, moveHandler); } private function moveHandler(event:Event):void { panel_01.title = Detected trace(got); } private function movePanel(event:Event):void{ panel_02.move(350,109); } ]] /mx:Script mx:Panel id=panel_01 x=64 y=109 width=250 height=200 layout=absolute /mx:Panel mx:Panel id=panel_02 x=432 y=109 width=250 height=200 layout=absolute /mx:Panel mx:Button x=346 y=390 label=Button click=movePanel(event);/ /mx:Application ==
RE: [flexcoders] Simple addEventListener Question!
Register for MoveEvent.MOVE on the Panel. A Panel doesn't dispatch Event.CHANGE when it is moved, it dispatches MoveEvent.MOVE. And you can more easily register for this event by writing mx:Panel id=panel_01 x=64 y=109 width=250 height=200 layout=absolute move=moveHandler(event)/ There's no need to do it by calling addEventListener() inside the Application's creationComplete handler. - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sheriff Sent: Thursday, September 13, 2007 1:05 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Simple addEventListener Question! i think u would need to call the invalideDisplayList() on panel_01 but i am not sure - Original Message From: flexawesome [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, September 13, 2007 2:47:58 PM Subject: [flexcoders] Simple addEventListener Question! hey there, I am working on the addEventListener and I would like to change the title for panel_01 once panel_02 has moved, there is no error for the code below, but won't work. Do you have any suggestion? Thanks = = = = = = ?xml version=1.0 encoding=utf- 8? mx:Application xmlns:mx=http://www.adobe. com/2006/ mxml http://www.adobe.com/2006/mxml layout=absolute creationComplete= initApp( event) mx:Script ![CDATA[ import flash.events. Event; import mx.core.* private function initApp(event: Event):void{ panel_02.addEventLi stener(Event. CHANGE, moveHandler) ; } private function moveHandler( event:Event) :void { panel_01.title = Detected trace(got) ; } private function movePanel(event: Event):void{ panel_02.move( 350,109); } ]] /mx:Script mx:Panel id=panel_01 x=64 y=109 width=250 height=200 layout=absolute /mx:Panel mx:Panel id=panel_02 x=432 y=109 width=250 height=200 layout=absolute /mx:Panel mx:Button x=346 y=390 label=Button click=movePanel( event);/ /mx:Application = = = = = = Moody friends. Drama queens. Your life? Nope! - their life, your story. Play Sims Stories at Yahoo! Games. http://us.rd.yahoo.com/evt=48224/*http://sims.yahoo.com/
RE: [flexcoders] Re: reset/invalidate property values
On quick and certain way to reset an app is to use navigateToURL, target _self, using Application.application.url. Other than thay you will hve to do it programmatically. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of suri_boston Sent: Thursday, September 13, 2007 3:35 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: reset/invalidate property values Any one?? i would like to reset an application. anyone with a sample code to make it happen with states? --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , suri_boston [EMAIL PROTECTED] wrote: Hi, i have a flex application with charts and it has some public variables defined on top of the application. Is there a way, i can reset all the variables to its default values? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml http://www.adobe.com/2006/mxml mx:Script![CDATA[ [Bindable] public var hAxisShowLabels:Boolean = true; private function foo():void { hAxisShowLabels = false; } private function fooinitialize():void { //initialize back all the variables to its default values.. //is there something like invalidateproperties or something like that. //basically what i need is to redraw a chart starting from first } ]]/mx:Script
Re: [flexcoders] Flex and Zinc
To be honest, I have had very bad experiences with Flex and Zinc the last few weeks. The problem started with Intel based macs, my application randomly crashed. Eventually it had to do with the way URLLoader handles things and I was happy to use the as3httpclient as an alternative. Also with screensavers I had loads of problems and eventually was forced to buy other software that was able to make screensavers. Support via the mail ended up in nothing and I have to agree with some reactions on the forums that say that this version of Zinc should not have been released as it does not do what it promises. I really hope it will get beter in the future. Greetz Erik On 9/13/07, Paul Tunnicliffe {mdm} [EMAIL PROTECTED] wrote: Hi, I have been asked a number of technical questions by many people about how Flex works with Zinc. For specific solutions, please email me directly, but for FAQ's, please see this Tech Note: http://www.multidmedia.com/support/developers/articles/?action=showid=9 . I have also been asked about the type of applications that are created with Flex and Zinc. The following link is to our Archive section http://www.multidmedia.com/showcase/?year=2007 and here is a link to our Developer Articles area http://www.multidmedia.com/support/developers/articles/ . Both of these links should spark your imaginations! There is now less than a week left for all Flexcoders to claim your 50% off MDM Zinc v2.5. Simply email 'paul (dot) tunnicliffe (at) multidmedia (dot) com' with the subject header 'Flexcoders discount' and you will receive your discount code via email. The code expires on Wednesday 19thSept so get your orders in now! Thanks to all those Flexcoders members who have taken part already, and I hope to hear from more of you soon. Best regards, Paul Tunnicliffe New Business and Sales Executive *Multidmedia Limited (MDM)* *www.multidmedia.com** **TEL:* +44 (0) 1902 837402 *FAX:* +44 (0) 1902 837401
[flexcoders] viewstack control , best way to use it with absolute values
I am doing a lot of stuff with absolute values and what happens - I add my child to the display and instead of having the selectedview show in the screen, it actually adds it so that my stage height is doubled or something... I have a menu bar at the bottom and my viewstack holds my components, all i want to do is use hte view stack to wipe in my components, hang them on the stage not increase the height of the browser stage. I never really used the viewstack control , last time i tried i got bizarre results. Thanks, Patrick