[flexcoders] MenuBar Border Re:Re:
Yeah, I know. This just showed up from B2 to B3 and I'm stumped. Changing the borderStyle does effect it but doesn't remove it completly. I've been fiddling around with this all day. Trying different CSS combinations. -TH --- In flexcoders@yahoogroups.com, jeremy lu [EMAIL PROTECTED] wrote: well that's very interesting, I don't know it's that tricky to hide the border, will take a look at it tonight. On 5/17/06, Tim Hoff [EMAIL PROTECTED] wrote: Yep, borderStyle:none; and borderThickness:0; The border, from top-to-bottom looks like a gradient. If I change the border color to white, it goes from white to pink. That makes me think that it has to do with fillColors and fillAlphas (inherited and local). Tried those combinations on ApplicationControlBar and MenuBar. A three sided border - how strange. Thanks though Jeremy, Tim --- In flexcoders@yahoogroups.com, jeremy lu wade.lu@ wrote: have you tried to set borderStyle: none on MenuBar ? On 5/17/06, Tim Hoff TimHoff@ wrote: This problem pertains to a MenuBar inside of an ApplicationControlBar. I've tried everything that I know, but I can't remove a three sided border around the MenuBar: ___ | | | *| Menu1 Menu2 Menu3 Menu4 Menu5 **|* | Peter, I tried using your entire CSS file instead of mine and the border around the MenuBar (not the ApplicationControlBar) still existed. I'm wondering, since I created this application using the original Flex Store sample as a template (not the Cairngorm version), if there is some low-level skinning that is buried in the framework, that I can't get to. The same goes for the highlighting of the top level menu items on roll- over. I can't change that either. This is such a trivial problem that I hate to ask, but I've spent a lot of time trying to fix it. I was hoping that someone could shed some light on what I'm missing. The code that I'm using is similar to that below. Thanks so much in advance, Tim Hoff -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders% 40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Flex2B3 :: Transitions :: Can I create a transition from ActionScript
Rest assured, it works. Been there, done that :) From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michael SchmalleSent: Tuesday, May 16, 2006 11:46 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Flex2B3 :: Transitions :: Can I create a transition from ActionScript Yeah,That is what I thought also, but looking on the b3 docs, mx.transitions is no longer listed.I hadn't tried importing the package.Peace, Mike On 5/16/06, Dirk Eismann [EMAIL PROTECTED] wrote: Don't have the documentation in front of me but it should be mx.states.Transition Dirk.-Ursprüngliche Nachricht-Von: flexcoders@yahoogroups.com im Auftrag von Michael Schmalle Gesendet: Di 16.05.2006 21:19An: flexcoders@yahoogroups.comBetreff: Re: [flexcoders] Flex2B3 :: Transitions :: Can I create a transition from ActionScript Hi Dirk,I have subclassed State classes;I need to create transitions just like I subclassed state classes. Then inmy components, I want to use the 'subclassed' transitions to add the thecomponent's transitions array.That is about it, what is the signature, IE class to subclass???I looked and I don't see the class Transition, I guess that is my problem,where to get it.Other than that, I can figure it out.Peace, MikeOn 5/16/06, Dirk Eismann [EMAIL PROTECTED] wrote: Yes, it works - what's your specific problem? Dirk. -Ursprüngliche Nachricht- Von: flexcoders@yahoogroups.com im Auftrag von Michael Schmalle Gesendet: Di 16.05.2006 20:43 An: flexcoders@yahoogroups.com Betreff: [flexcoders] Flex2B3 :: Transitions :: Can I create a transition from ActionScript Hi, This might be obvious but, I can't get it and I have looked everywhere. I need to be able to create classes of transitions to be reused. Adobe, aside from my question, can I even do this? ; create reusable transitions via mxml or as classes? Peace, Mike -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com -- YAHOO! GROUPS LINKS - Visit your group "flexcodershttp://groups.yahoo.com/group/flexcoders" on the web. - To unsubscribe from this group, send an email to: [EMAIL PROTECTED] [EMAIL PROTECTED] - Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/. -- -- What goes up, does come down.--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Re: Flex 1.5: Using columnName + labelFunction in a DataGrid
Thank you very much! It worked perfectly! Barbara. --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: No, I don't believe that will work. I would just use the labelFunction to get the string value when I needed it programmatically: var sFullName:String = getFullName(myDataGrid.dataProvider.getItemAt(0)) Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of nahruka Sent: Tuesday, May 16, 2006 8:37 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex 1.5: Using columnName + labelFunction in a DataGrid Hi all, Please, how can I get the data value of a DataGrid cell when the DataGridColumn uses a labelFunction? -- mx:DataGridColumn headerText=Full name columnName=fullname labelFunction=getFullName editable=false / -- private function getFullName(item: Object, columnName: String): String { var str; item.FULLNAME == undefined? str=null : str=item.FULLNAME.FIRST+ +item.FULLNAME.LAST; return str; } For example, should myDataGrid.dataProvider.getItemAt(0)[fullname] return John Smith ? I always get an undefined value... Thanks! -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Visual Samples of F2B3 Themes?
there's a AeonGraphical.swf inside the framework theme folder. btw, source FLA is included. On 5/17/06, Ethan Miller [EMAIL PROTECTED] wrote: Pointer please?thanks, ethan Yahoo! Groups Sponsor ~--Home is just a click away. Make Yahoo! your home page now. http://us.click.yahoo.com/DHchtC/3FxNAA/yQLSAA/nhFolB/TM~---Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links * To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/* To unsubscribe from this group, send an email to: [EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to:http://docs.yahoo.com/info/terms/ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Re: OLAP grid with Flex
I love jaco pastorius too, btw...On 5/17/06, Tim Hoff [EMAIL PROTECTED] wrote: Hi Alessandro,Very cool idea!You could probably achieve drill-down withexpansion in place.There is an example in the Flex ComponentExplorer under states.For pivoting the axis, you could have twoview states, each with a grid, that flips the axis. Tim HoffP.S. from you user Id, I assume that you play jazz base. :)--- In flexcoders@yahoogroups.com, jpastorius69 [EMAIL PROTECTED] wrote: Hi all, I would like to implement an OLAP grid component with Flex. Is there anyone who can help on how to approch the development ? The OLAP grid (Business Intelligence grid) should have the following capabilities: Drill-down drill-up of column and row headers Pivoting of columns and rows Swap axis Do you think is it possible to play with grid renderers of a single grid or should I think at three component (a tree on the left , atree on top and a grid) linked together ? Thank you in advance Alessandro Yahoo! Groups Sponsor ~--Get to your groups with one click. Know instantly when new email arrives http://us.click.yahoo.com/.7bhrC/MGxNAA/yQLSAA/nhFolB/TM~---Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links * To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/* To unsubscribe from this group, send an email to: [EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to:http://docs.yahoo.com/info/terms/ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Re: Cairngorm microarchitecture. 2 instances of view with different data.
Thanx, Tim. I'm not taking offence, but i'm really care about architecture, thats why i'm trying to find not another workaround solution cause every workaround decrease stability and simplicity of large system (my app is large - allready 1500 classes on client). You suggestion can help, but it's another workaround cause 1. Instead of view dependent on server or view dependent on user type think view MUST be independent (it's general aproach of every reusable solution). Against redesign of server i think we have to use inversion to separate the view from the environment, and it's not so hard, i'm just trying to find a solution that fits to cairngorm. 2. //If the user shouldn't be able to remove a message, don't display a visible // removeMessage button. Cairngorm events and commands are usually // initiated by user gestures. If the gesture isn't available to the // user, it will not occur. I can't take this seriously, cause it's antipattern. It's sounds like make all methods 'public' but don't use methods that you don't have permission to use. 3. For owner and visitor delegate's methods have different signatures, thats why i can't use the same set of delegates. If I'll redesign server side to has the same signatures it will be the same adapter but on the server side. Can someone suggest how to use binding in multiwindow app based on cairngorm??? Thanx a lot for all suggestions. --- In flexcoders@yahoogroups.com, Tim Hoff [EMAIL PROTECTED] wrote: Hi, Let's take another crack at this. Please don't take offense by my suggestions. I am trying to help you. To obtain a clean solution for your application, I believe that you need to change your approach slightly in two areas; delegates and views. Instead of view dependent on server, think view dependent on user type. I'll explain shortly. Secondly, in Cairngorm, delegates are nothing more than proxies. In your case, instead of having delegates based on user type or server, I would break them down into smaller functional units. Instead of GuestBookDelegate and FriendGuestBookDelegate, I would have getMessageDelegate, addMessageDelegate and removeMessageDelegate. In the delegates, depending on the user type, you would call one service (server) or the other. You could do this conditionally or even with overloading. The way that you currently have it setup, if you add a feature (like updateMessage), you would have to add redundant methods to 2 or more places. To my understanding, delegates create a level of abstraction between a command and a service. They do not act as control classes. Instead of controlling whether a user can remove a message in a delegate, you can do it in the view. If the user shouldn't be able to remove a message, don't display a visible removeMessage button. Cairngorm events and commands are usually initiated by user gestures. If the gesture isn't available to the user, it will not occur. As a tip, you can control the visibility of a button with a Boolean value that is bound to the ModelLocator. As far as the rest of it goes, I think that I should call Shirley McClaine. :--) Hope that this helps, Tim Hoff --- In flexcoders@yahoogroups.com, maxym.hryniv mokus@ wrote: //While I don't necessarily subscribe to the idea that delegates should //have a one-to-one mapping with views (I don't know your app, so I can't //comment specifically), I see no reason why the delegate layer should //impact on this model/view binding strategy. Don't u think that it's can be called view dependent on server? I can descripe: we are creating social network and for user own guestbook it has GuestBookDelegate with getMessages(), addMessage(message : GuestbookMessage), removeMessage(messageId: Number) methods. For different user guestbook we have another delegate FriendGuestBookDelegate with getMessages(userId : Number), addMessage(userId : Number, message : GuestbookMessage). I think it's logical, cause i don't want to extend signature of GuestBookDelegate by unnecessary information and i don't want to have a possibility to call removeMessage if i don't have such permissions. To resolve this i can of course create Adapters for these delegates that will cast them to same interface than make a set of workarounds to support different delegates, BUT i don't like workarounds. Can you describe me clean solution, or why we have one-to-one mapping . Cause any view only renders data and must be completely separated from data provider. // Hey, I'm just a guy from the RIA practice. I'm not sure we have a //metaphysics practice. :-) lol. Respect. Thanks one more time and reply please to another my post with the same subj. --- In flexcoders@yahoogroups.com, Steven Webster swebster@ wrote: Hey, 1. Using this approach i'm loosing all advantages of flex data
[flexcoders] Re: Cairngorm microarchitecture. 2 instances of view with different data.
No problem Maxym. It sounds like you are set with your current architecture. I wish you good luck and success with your application. Take care, Tim Hoff --- In flexcoders@yahoogroups.com, maxym.hryniv [EMAIL PROTECTED] wrote: Thanx, Tim. I'm not taking offence, but i'm really care about architecture, thats why i'm trying to find not another workaround solution cause every workaround decrease stability and simplicity of large system (my app is large - allready 1500 classes on client). You suggestion can help, but it's another workaround cause 1. Instead of view dependent on server or view dependent on user type think view MUST be independent (it's general aproach of every reusable solution). Against redesign of server i think we have to use inversion to separate the view from the environment, and it's not so hard, i'm just trying to find a solution that fits to cairngorm. 2. //If the user shouldn't be able to remove a message, don't display a visible // removeMessage button. Cairngorm events and commands are usually // initiated by user gestures. If the gesture isn't available to the // user, it will not occur. I can't take this seriously, cause it's antipattern. It's sounds like make all methods 'public' but don't use methods that you don't have permission to use. 3. For owner and visitor delegate's methods have different signatures, thats why i can't use the same set of delegates. If I'll redesign server side to has the same signatures it will be the same adapter but on the server side. Can someone suggest how to use binding in multiwindow app based on cairngorm??? Thanx a lot for all suggestions. --- In flexcoders@yahoogroups.com, Tim Hoff TimHoff@ wrote: Hi, Let's take another crack at this. Please don't take offense by my suggestions. I am trying to help you. To obtain a clean solution for your application, I believe that you need to change your approach slightly in two areas; delegates and views. Instead of view dependent on server, think view dependent on user type. I'll explain shortly. Secondly, in Cairngorm, delegates are nothing more than proxies. In your case, instead of having delegates based on user type or server, I would break them down into smaller functional units. Instead of GuestBookDelegate and FriendGuestBookDelegate, I would have getMessageDelegate, addMessageDelegate and removeMessageDelegate. In the delegates, depending on the user type, you would call one service (server) or the other. You could do this conditionally or even with overloading. The way that you currently have it setup, if you add a feature (like updateMessage), you would have to add redundant methods to 2 or more places. To my understanding, delegates create a level of abstraction between a command and a service. They do not act as control classes. Instead of controlling whether a user can remove a message in a delegate, you can do it in the view. If the user shouldn't be able to remove a message, don't display a visible removeMessage button. Cairngorm events and commands are usually initiated by user gestures. If the gesture isn't available to the user, it will not occur. As a tip, you can control the visibility of a button with a Boolean value that is bound to the ModelLocator. As far as the rest of it goes, I think that I should call Shirley McClaine. :--) Hope that this helps, Tim Hoff --- In flexcoders@yahoogroups.com, maxym.hryniv mokus@ wrote: //While I don't necessarily subscribe to the idea that delegates should //have a one-to-one mapping with views (I don't know your app, so I can't //comment specifically), I see no reason why the delegate layer should //impact on this model/view binding strategy. Don't u think that it's can be called view dependent on server? I can descripe: we are creating social network and for user own guestbook it has GuestBookDelegate with getMessages(), addMessage(message : GuestbookMessage), removeMessage(messageId: Number) methods. For different user guestbook we have another delegate FriendGuestBookDelegate with getMessages(userId : Number), addMessage(userId : Number, message : GuestbookMessage). I think it's logical, cause i don't want to extend signature of GuestBookDelegate by unnecessary information and i don't want to have a possibility to call removeMessage if i don't have such permissions. To resolve this i can of course create Adapters for these delegates that will cast them to same interface than make a set of workarounds to support different delegates, BUT i don't like workarounds. Can you describe me clean solution, or why we have one-to-one mapping . Cause any view only renders data and must be completely separated from data provider. //
[flexcoders] Re: Cairngorm microarchitecture. 2 instances of view with different data.
Thanx Tim, it sounds like 1.view is dependent on environment in cairngorm 2.multiwindow apps are not suported in cairngorm I wish you good luck in software development. --- In flexcoders@yahoogroups.com, Tim Hoff [EMAIL PROTECTED] wrote: No problem Maxym. It sounds like you are set with your current architecture. I wish you good luck and success with your application. Take care, Tim Hoff --- In flexcoders@yahoogroups.com, maxym.hryniv mokus@ wrote: Thanx, Tim. I'm not taking offence, but i'm really care about architecture, thats why i'm trying to find not another workaround solution cause every workaround decrease stability and simplicity of large system (my app is large - allready 1500 classes on client). You suggestion can help, but it's another workaround cause 1. Instead of view dependent on server or view dependent on user type think view MUST be independent (it's general aproach of every reusable solution). Against redesign of server i think we have to use inversion to separate the view from the environment, and it's not so hard, i'm just trying to find a solution that fits to cairngorm. 2. //If the user shouldn't be able to remove a message, don't display a visible // removeMessage button. Cairngorm events and commands are usually // initiated by user gestures. If the gesture isn't available to the // user, it will not occur. I can't take this seriously, cause it's antipattern. It's sounds like make all methods 'public' but don't use methods that you don't have permission to use. 3. For owner and visitor delegate's methods have different signatures, thats why i can't use the same set of delegates. If I'll redesign server side to has the same signatures it will be the same adapter but on the server side. Can someone suggest how to use binding in multiwindow app based on cairngorm??? Thanx a lot for all suggestions. --- In flexcoders@yahoogroups.com, Tim Hoff TimHoff@ wrote: Hi, Let's take another crack at this. Please don't take offense by my suggestions. I am trying to help you. To obtain a clean solution for your application, I believe that you need to change your approach slightly in two areas; delegates and views. Instead of view dependent on server, think view dependent on user type. I'll explain shortly. Secondly, in Cairngorm, delegates are nothing more than proxies. In your case, instead of having delegates based on user type or server, I would break them down into smaller functional units. Instead of GuestBookDelegate and FriendGuestBookDelegate, I would have getMessageDelegate, addMessageDelegate and removeMessageDelegate. In the delegates, depending on the user type, you would call one service (server) or the other. You could do this conditionally or even with overloading. The way that you currently have it setup, if you add a feature (like updateMessage), you would have to add redundant methods to 2 or more places. To my understanding, delegates create a level of abstraction between a command and a service. They do not act as control classes. Instead of controlling whether a user can remove a message in a delegate, you can do it in the view. If the user shouldn't be able to remove a message, don't display a visible removeMessage button. Cairngorm events and commands are usually initiated by user gestures. If the gesture isn't available to the user, it will not occur. As a tip, you can control the visibility of a button with a Boolean value that is bound to the ModelLocator. As far as the rest of it goes, I think that I should call Shirley McClaine. :--) Hope that this helps, Tim Hoff --- In flexcoders@yahoogroups.com, maxym.hryniv mokus@ wrote: //While I don't necessarily subscribe to the idea that delegates should //have a one-to-one mapping with views (I don't know your app, so I can't //comment specifically), I see no reason why the delegate layer should //impact on this model/view binding strategy. Don't u think that it's can be called view dependent on server? I can descripe: we are creating social network and for user own guestbook it has GuestBookDelegate with getMessages(), addMessage(message : GuestbookMessage), removeMessage(messageId: Number) methods. For different user guestbook we have another delegate FriendGuestBookDelegate with getMessages(userId : Number), addMessage(userId : Number, message : GuestbookMessage). I think it's logical, cause i don't want to extend signature of GuestBookDelegate by unnecessary information and i don't want to have a possibility to call removeMessage if i don't have such permissions. To resolve this i can of course create
RE: [flexcoders] Using a logical AND in property.
Perfect Gordon thanks. Never thought of that. I understand the reasoning behind this. Even though it's not easy to read, an interaction designer can learn this faster then vars and functions etc... for basic interaction logic. Jason -Message d'origine- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la part de Gordon Smith Envoyé : mardi 16 mai 2006 23:19 À : flexcoders@yahoogroups.com Objet : RE: [flexcoders] Using a logical AND in property. , , and are special characters in XML and therefore in MXML. You can't use them in attribute values as is; you have to encode them as the entities lt; gt; and amp; Therefore the way to write in an attribute value is amp;amp; It's ugly, but if we broke this rule in MXML you wouldn't be able to maniupulate MXML with standard XML tools. - Gordon -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jason Hawryluk Sent: Tuesday, May 16, 2006 6:46 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Using a logical AND in property. I've tried about 10-20 different ways just can't seem to make it work. I suppose that a function is the only way, but it's unfortunate. Being able to compare 1 or more bound values in order to get the result would be very handy in my particular case. Below is the error I get. Error: The entity name must immediately follow the '' in the entity reference. On a good note I did get this to work {value1.selected==value2.selected} but that will only do in certain circumstances. Thanks for your help. I'm still trying to get Flex to do it, if anyone has any ideas... Jason -Message d'origine- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la part de Michael Schmalle Envoyé : mardi 16 mai 2006 15:24 À : flexcoders@yahoogroups.com Objet : Re: [flexcoders] Using a logical AND in property. Hi, I don't even know if you can do it but, did you try using parenthesis ? Peace, Mike On 5/16/06, sourcecoderia [EMAIL PROTECTED] wrote: I'm wanting to be able to do something like the below, where the operator is used for a locale compare on the Boolean values, however I keep getting errors with the various methods I've tried. mx:CheckBox enabled={value1.selected==true value2.selected==true } label=myitem id=chk_item / Where values(1 and 2) are other checkbox controls. Any ideas on a good way to do the above. I'm trying to stay away from script as much as possible for this type of stuff in order to keep it as simple as possible for the UI designer. Thanks Jason -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Using a logical AND in property.
Thanks for your help, but I was looking for something closer to what Gordon posted. i.e. amp;amp; instead of Im trying to keep interaction designers from writing to much action script code for basic interaction logic. Thanks again. jason -Message d'origine- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la part de Darren Houle Envoyé : mardi 16 mai 2006 21:47 À : flexcoders@yahoogroups.com Objet : RE: [flexcoders] Using a logical AND in property. Jason, I know this doesn't actually answer your question, but I ran into the same thing recently and found that I was looking at the problem backward. I was trying to set enabled on a Panel based on whether one or more rows were selected in a DataGrid. I tried the same things you did, adding AS code to the Panel's enabled property. I had all kinds of trouble and nothing seemed to work right, until I decided to do things backwards. Instead of adding code to the enabled property that watched or was bound to other values or components, I added an itemClick=panelEnabler(); to the DataGrid. The panelEnabler() function just looks like: public function assignPanelEnabler():void { if(dgAccts.selectedItems.length = 1) { assign_panel.enabled=true; } else {assign_panel.enabled=false; } } Now, the DataGrid runs the function whenever items are clicked, and the function changes the enabled property for the Panel. Works perfectly, and you don't need to worry about using inside the enabled property field, you can put all your if...then logical operators in the function script. Darren From: Jason Hawryluk [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Using a logical AND in property. Date: Tue, 16 May 2006 15:46:27 +0200 I've tried about 10-20 different ways just can't seem to make it work. I suppose that a function is the only way, but it's unfortunate. Being able to compare 1 or more bound values in order to get the result would be very handy in my particular case. Below is the error I get. Error: The entity name must immediately follow the '' in the entity reference. On a good note I did get this to work {value1.selected==value2.selected} but that will only do in certain circumstances. Thanks for your help. I'm still trying to get Flex to do it, if anyone has any ideas... Jason -Message d'origine- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la part de Michael Schmalle Envoyé : mardi 16 mai 2006 15:24 À : flexcoders@yahoogroups.com Objet : Re: [flexcoders] Using a logical AND in property. Hi, I don't even know if you can do it but, did you try using parenthesis ? Peace, Mike On 5/16/06, sourcecoderia [EMAIL PROTECTED] wrote: I'm wanting to be able to do something like the below, where the operator is used for a locale compare on the Boolean values, however I keep getting errors with the various methods I've tried. mx:CheckBox enabled={value1.selected==true value2.selected==true } label=myitem id=chk_item / Where values(1 and 2) are other checkbox controls. Any ideas on a good way to do the above. I'm trying to stay away from script as much as possible for this type of stuff in order to keep it as simple as possible for the UI designer. Thanks Jason -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Capture a DisplayObject or UIComponent as a jpg? flex2b3
Should work on VideoDisplay, but havent tried it.Yeah it would work. -abdulOn 5/17/06, Rishikesh Shetty [EMAIL PROTECTED] wrote: On 5/16/06, rigidcode [EMAIL PROTECTED] wrote: Can I (programmatically) get a jpg or bitmap of a DisplayObject or aUIComponent as it looks in the browser?Like as a bitmap or jpg orsomething.See flash.display.BitmapData.draw (). Should work on VideoDisplay, but havent tried it.-rishi -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service . -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Handling CSS
Thanks for your answer. Your tricky solution is interesting but you're right, it can't be applied to my problem. An AS3 CSS Parser would be a solution, Are you the future writer of such a tool? -- Damien -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Manish Jethani Sent: mardi 16 mai 2006 17:32 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Handling CSS On 5/16/06, dmandrio [EMAIL PROTECTED] wrote: I am coding a visual component with custom CSS styling. The CSS stylesheet is accessible via an URL, how can i put the stylesheet in memory to use it, i haven't found a generic parser on flex documentation. CSS currently is parsed at compile time. I had figured out a way to do it at runtime in Flex 1.5 [1], but I guess it won't work in your case. One of these days somebody's going to write a CSS parser in AS3 and integrate with Flex 2.0. [1]: http://mannu.livejournal.com/286686.html -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Handling CSS
Hello, Thanks for your answers. Two questions: Gordon, do you know a CSS to XML translator ? Mike, do you have some code to show ? -- Damien From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Gordon Smith Sent: mercredi 17 mai 2006 05:01 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Handling CSS I meant that the framework isn't designed to make this just work. The player has some CSS parsing capabilities, you could write your own CSS parser in AS3, you could transform CSS into XML on the server and send it down to be parsed with E4X, etc. We will likely make runtime CSS support a feature in a future release. - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michael Schmalle Sent: Tuesday, May 16, 2006 2:22 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Handling CSS ... obviously there are some things 'not supported' I think anybody that is logical can consider the things that couldn't work :) Peace, Mike On 5/16/06, Michael Schmalle [EMAIL PROTECTED] wrote: Flex doesn't support runtime CSS. You must compile the CSS into your SWF. Yeah it does ;-) I've got a scheme in my extended workspace component set comming out. You'll have to see then how I implemented it. There are always ways to get in, always... :-) Peace, Mike On 5/16/06, Gordon Smith [EMAIL PROTECTED] wrote: Flex doesn't support runtime CSS. You must compile the CSS into your SWF. - Gordon -Original Message- From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of dmandrio Sent: Tuesday, May 16, 2006 2:50 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Handling CSS Hello, I am coding a visual component with custom CSS styling. The CSS stylesheet is accessible via an URL, how can i put the stylesheet in memory to use it, i haven't found a generic parser on flex documentation. Any Idea ? Damien. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Mystic CFC remoting
On Tuesday 16 May 2006 14:59, Bill Sahlas wrote: Mike Nimer is correct (he did write the feature after all). Really ? Cool he's listening in then ! Perhaps I misunderstood you. Yeah, probably :-) -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the Year at the 2005 Growth Company Awards -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Release Dates?
So .. doing elementary math, that means 1 1/2 monts at the most ;-) MikeOn 5/16/06, Gordon Smith [EMAIL PROTECTED] wrote: The first half of the year. - Gordon From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of Steve Gustafson Sent: Tuesday, May 16, 2006 2:32 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Release Dates? Has Adobe given any indications on when FlexBuilder and Flash 9 will be released? I'm starting a project for a client and Flex is the right tool... but it has to be out of beta to give to the client. Any insights would be helpful. Thanks. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- What goes up, does come down. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] [ResourceBundle(language)]
Can you help with a simple example to use ResourceBundle with beta 3? I'm writing a simple Form with a ComboBox for language and i wish to change to runtime the label description. Thank's for your help Devis -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.