RE: [flexcoders] Re: How do I get the ControlBar to show at the t op of my Panel?
Try using mx:ApplicationControlBar -Ashish _ From: scott_flex [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 21, 2007 10:56 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: How do I get the ControlBar to show at the top of my Panel? The first thing i would do is make sure that your mx:ControlBar mxml tag is NOT the last mxml tag in your component. Have you tried making it the first? That's what i'm doing on one of my panels where i do want a Control bar of buttons at the top of my popup Panel window. --Scott --- In [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com, michael_ramirez44 [EMAIL PROTECTED] wrote: I want my Panel control to have a ControlBar link componet that appears at the top of the Panel instead of the bottom. Basically I want my Panel control to have a Application type menu.
RE: [flexcoders] Re: How do I get the ControlBar to show at the t op of my Panel?
I'm not sure. If it doesn't work inside the Panel then you can also place it on top of the Panel. You can get more info about ApplicationControlBar at http://livedocs.adobe.com/flex/201/langref/mx/containers/ApplicationControlB ar.html http://livedocs.adobe.com/flex/201/langref/mx/containers/ApplicationControl Bar.html -Ashish _ From: michael_ramirez44 [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 21, 2007 3:28 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: How do I get the ControlBar to show at the t op of my Panel? Ashish, Will the ApplicationControlBar work inside a Panel control? Michael --- In [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com, Ashish Goyal [EMAIL PROTECTED] wrote: Try using mx:ApplicationControlBar -Ashish _ From: scott_flex [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 21, 2007 10:56 AM To: [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com Subject: [flexcoders] Re: How do I get the ControlBar to show at the top of my Panel? The first thing i would do is make sure that your mx:ControlBar mxml tag is NOT the last mxml tag in your component. Have you tried making it the first? That's what i'm doing on one of my panels where i do want a Control bar of buttons at the top of my popup Panel window. --Scott --- In [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com, michael_ramirez44 michael_ramirez44@ wrote: I want my Panel control to have a ControlBar link componet that appears at the top of the Panel instead of the bottom. Basically I want my Panel control to have a Application type menu.
RE: [flexcoders] Image Scroller
I can think of one way you can achieve this. Add all images to HBox. On Hboxs creationComplete event use Timer class to set timer for say 500 ms. In the timer handler function increment the value of horizontalScrollPosition by 5 px. You can also check if the horizontalScrollPosition is greater than maxhorizontalScrollPosition and then set horizontalScrollPosition to 0 again. BTW, you can check out flash.utils package for more info on Timer class. -Ashish From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Daniel Freiman Sent: Tuesday, November 07, 2006 12:34 PM To: flexcoders Subject: [flexcoders] Image Scroller I need an image scroller. It's a standard concept. You have a set of images in a horizontal list and the list is animated to scroll from right to left. It never stops scrolling because the images are looped (it's like the text scrollers people used to make in Java when applets first showed up). This seems to me like it should be easy but the looping is throwing me. Some extra incentive to help me: it's for a charitable non-profit (a local Boys and Girls Club). (Yes I'm channeling my mother to try and guilt people.) - Dan __._,_.___ -- 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 Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
RE: [flexcoders] Re: Viewstack with canvas + centered panel
Nope, you need to set those properties on Panel (Children of Canvas). When you set horizontalCenter and verticalCenter to 0 on Panel, it positions itself at the exact center. Now, if you have another panel which you want to display at 100, 100 center offset then you can set horizontalCenter and verticalCenter to 100. For eg: mx:Canvas backgroundColor=blue width=100% height=100% mx:Panel horizontalCenter=0 verticalCenter=0 width=100 height=100/ mx:Panel horizontalCenter=100 verticalCenter=100 width=100 height=100/ /mx:Canvas Hope this will clear your concern. -Ashish From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of joshuajnoble Sent: Tuesday, September 26, 2006 8:50 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Viewstack with canvas + centered panel I think you mean: To get the Panel centered on the stage (Canvas), set horizontalCenter and verticalCenter properties on the Canvas to 0. Setting those props on the Panel will only affect children inside the Panel. --- In [EMAIL PROTECTED]ups.com, Ashish Goyal [EMAIL PROTECTED] wrote: To stretch the Canvas you can set the width and height to 100%. To get the Panel centered on the stage (Canvas), set horizontalCenter and verticalCenter properties on the Panel to 0. These are constrained based layout properties and they work only if the component is a child of Canvas as in your case. -Ashish From: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] On Behalf Of Jeroen Beckers Sent: Monday, September 25, 2006 1:13 PM To: flexcoders Subject: [flexcoders] Viewstack with canvas + centered panel Hi, I'm fairly new to Flex, but I have been developing in Flash for some years now. The reason why I mailed you guys is that I'm having trouble with the viewstack component... This is what I want: -viewstack -Canvas -Panel The Canvas has to cover the entire stage and the Panel has to be centered on the stage (both vertically as horizontally). Could anyone give me a push in the right direction? Maybe a little mxml or something ? I can get a canvas + panel into a viewstack, but I really can't figure out how to center the panel and 'stretch' the canvas ... Greets, Jeroen Beckers [EMAIL PROTECTED] mailto:info%40dauntless.be http://www.dauntless.be http://www.dauntless.be __._,_.___ -- 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 Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
RE: [flexcoders] Viewstack with canvas + centered panel
To stretch the Canvas you can set the width and height to 100%. To get the Panel centered on the stage (Canvas), set horizontalCenter and verticalCenter properties on the Panel to 0. These are constrained based layout properties and they work only if the component is a child of Canvas as in your case. -Ashish From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jeroen Beckers Sent: Monday, September 25, 2006 1:13 PM To: flexcoders Subject: [flexcoders] Viewstack with canvas + centered panel Hi, I'm fairly new to Flex, but I have been developing in Flash for some years now. The reason why I mailed you guys is that I'm having trouble with the viewstack component... This is what I want: -viewstack -Canvas -Panel The Canvas has to cover the entire stage and the Panel has to be centered on the stage (both vertically as horizontally). Could anyone give me a push in the right direction? Maybe a little mxml or something ? I can get a canvas + panel into a viewstack, but I really can't figure out how to center the panel and 'stretch' the canvas ... Greets, Jeroen Beckers [EMAIL PROTECTED]be http://www.dauntless.be __._,_.___ -- 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 Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
RE: [flexcoders] background color of a text?
You can just wrap your text or label component in a container with backgroundColor set to desired color. For eg: mx:VBox backgroundColor=red mx:Label text=Label1/ /mx:VBox -Ashish From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of oktay nba Sent: Saturday, September 09, 2006 12:31 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] background color of a text? hi; how can i give a background color to a text control (like thespan style='background-color=#xx'anything/spanusage in html)or label? oktay __._,_.___ -- 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 Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
RE: [flexcoders] MX:AddChild error
This error means the component you are trying to add is already a child component of some container. In your example Im sure VBox is already a child of application or any other component. You first need to remove that child from the existing parent and then add to a new parent. If the VBox id is V1 and Panels id is P1 then you should write mx:RemoveChild target={V1}/ mx:AddChild target={V1} relativeTo={P1}/ -Ashish From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Ian Skinner Sent: Thursday, June 29, 2006 3:43 PM To: flex@houseoffusion.com; [EMAIL PROTECTED]; flexcoders@yahoogroups.com Subject: [flexcoders] MX:AddChild error Error: Cannot add a child that is already parented. at mx.states::AddChild/apply() at mx.core::UIComponent/::applyState() at mx.core::UIComponent/::commitCurrentState() at mx.core::UIComponent/setCurrentState() at mx.core::UIComponent/set currentState() at MobileCalendar/__button1_click() What does this mean? I am trying to add a VBox to a Panel in my application. When I click on the button to add this VBox, I get this error. But I do not understand what it is trying to tell me. -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA - | 1 | | - Binary Soduko | | | - C code. C code run. Run code run. Please! - Cynthia Dunning Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. __._,_.___ -- 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] View States from Non Bound Buttons
Remove the quotes which are around the number (n). selectedIndex property expects an integer and quotes around the number converts the number to string in ActionScript. -Ashish From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Ethan Miller Sent: Tuesday, June 13, 2006 10:46 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] View States from Non Bound Buttons Greetings - I need to control a viewStack from some plan old buttons (rather than from navigator bound to the stack). I though I could simply set the click event on the button to be: click=stackName.selectedIndex='n' (where 'stackName' is the name of my stack and 'n' is the stack child in question. However, on compile, this return the following error (on the button): Implicit coercion of a value of type String to an unrelated type int. The view stack is in the same file (there's another stack in that file as well). More generally, is there a way to reference (and make active) an item in a viewStack by id rather than by sequential child number? cheers, ethan __._,_.___ -- 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] Spacing of repeater objects
You can set verticalGap to 0 if you are using VBox as the parent container of Repeater or horizontalGap to 0 if you are using HBox. -Ashish -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of fi_heidi Sent: Wednesday, May 31, 2006 8:31 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Spacing of repeater objects I am laying out HBox in a Repeater, and I would like them to be completely contiguous, but there seems to be a small space between them. I have set the border,left,right,top,bottom and padding on the HBoxes to zero, however they are still spaced. How can I get rid of this space? Thanks, /Heidi -- 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] TabNavigator.horizontalAlign does not work
This bug is already fixed in post beta3 builds. -Ashish -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ben.clinkinbeard Sent: Wednesday, May 31, 2006 12:37 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] TabNavigator.horizontalAlign does not work Can someone from Adobe confirm that this is a known bug and is in the queue? Thanks, Ben --- In flexcoders@yahoogroups.com, ben.clinkinbeard [EMAIL PROTECTED] wrote: I can't even get the tabs to right align. horizontalAlign has no effect. Doesn't appear that this was fixed in B3. Ben --- In flexcoders@yahoogroups.com, Mac Martine martine@ wrote: I have just logged a bug on this. Thanks. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ben.clinkinbeard Sent: Thursday, April 06, 2006 10:52 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: how is this TabNavigator is done? Simply because that is what the design stipulates. Aesthetic choice really. I just don't understand why the property does not work as specified. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS * Visit your group flexcoders http://groups.yahoo.com/group/flexcoders on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/ . Yahoo! Groups Sponsor -- 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] TabNavigator Events
Try show event. You still need to use creationComplete or initialize event on the initial tab. Show event fires when you switch tabs. -Ashish -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ethan Miller Sent: Thursday, May 25, 2006 12:46 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] TabNavigator Events Greetings - I need one set of tabs to drive another set. Can't seem to find an event to attache the change to. CreationComplete (on each child in the first TabNavigator) works the first time but not on subsequent tab changes (they've already been created). Nor does Click work when attached to the children (VBox, et al) of the main TabNavigtor. Suggestions? cheers, ethan -- 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] Re: Chaning the click event on a button
One alternate way is to use states. States has a tag called SetEventHandler which you can use to change event handlers at runtime. Define a state in your app: mx:states mx:State name=state1 mx:SetEventHandler name=click target={button1} handler= closeState()/ /mx:State /mx:states In your actionscript code, you can set currentState = state1 which will change the click handler of the button to closeState(). button1.label = Exit; button2.label = Print; currentState = state1; BTW, you can also set label properties on buttons inside State tag using SetProperty tag. Thanks -Ashish -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Gordon Smith Sent: Tuesday, May 23, 2006 2:47 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: Chaning the click event on a button what I need to do is repalce that click event with another click event You can use removeEventListener() to remove an event handler added by addEventListener(). But I don't think it is trivial to remove a handler declared via an MXML event attribute, because the actual handler name is autogenerated. If this is what you are doing, rewrite it to use addEventListener() for both handlers. - Gordon -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy Rottman Sent: Tuesday, May 23, 2006 2:25 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Chaning the click event on a button On my button I already have one click event, what I need to do is repalce that click event with another click event based off of an if statment. Here is my code for that if statement. public function StatusModcheckStatusQryResult(result){ if (result.status == 'Pending'){ ClosingDisplayModcloseResQry(result.fileNum); } else if (result.status == 'Closed'){ ClosingDisplayModdisplayClosingQry(result.fileNum); button1.label = Exit; button2.label = Print; button1.addEventListener(MouseEvent.CLICK, closeState); } } --- In flexcoders@yahoogroups.com, Gordon Smith [EMAIL PROTECTED] wrote: myButton.addEventListener(MouseEvent.CLICK, doThisFunction); Note that there are no parens on doThisFunction. You are passing a reference-to-this-handler to addEventListener(), not calling the handler. - Gordon -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy Rottman Sent: Tuesday, May 23, 2006 2:03 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Chaning the click event on a button Is it possible to change the click event on a button through actionscript. IE something like this. myButton.click = doThisFunction(); -- 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 Yahoo! Groups Sponsor -- 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] Background color of DataGrid row and column
backgroundColor style is not supported for DataGrid. DataGrid has a style called alternatingRowColors which accepts two colors in an array. You can just specify same colors to get set the uniform background color. For eg, to make green background color, you can set alternatingRowColors=[0x00FF00, 0x00FF00] -Ashish -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mustaq Pradhan Sent: Thursday, April 20, 2006 3:31 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Background color of DataGrid row and column How to set background color of a DG row. By setting backgroundColor property I get nothing displayed, but the mxml compiled ok. Is there any way to set background color of a DG row? -- 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] Calling previous state
You can use newState and oldState properties of the StateChangeEvent. There is another event currentStateChanging which you can define on the application tag and in the event handler set some variable to the event.OldState. mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; currentStateChanging=setOldState(event) In the script block: import mx.events.*; public var prevState; public function setOldState(evt:StateChangeEvent):void { prevState = evt.oldState; } You can set your currentState to prevState to go to the previous state. Hope this helps. -Ashish -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy Rottman Sent: Monday, April 10, 2006 2:00 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Calling previous state I am working on my app, and I have run into a situation where I need change states and then when a user saves it takes them back to thier previous state. Is there something like previousState? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Calling previous state
Title: RE: [flexcoders] Calling previous state There is typo: and in the event handler set some variable to the event.OldState Its event.oldState (lower case o) -Ashish -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Ashish Goyal Sent: Monday, April 10, 2006 3:03 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Calling previous state You can use newState and oldState properties of the StateChangeEvent. There is another event currentStateChanging which you can define on the application tag and in the event handler set some variable to the event.OldState. mx:Application xmlns:mx=http://www.adobe.com/2006/mxml currentStateChanging=setOldState(event) In the script block: import mx.events.*; public var prevState; public function setOldState(evt:StateChangeEvent):void { prevState = evt.oldState; } You can set your currentState to prevState to go to the previous state. Hope this helps. -Ashish -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jeremy Rottman Sent: Monday, April 10, 2006 2:00 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Calling previous state I am working on my app, and I have run into a situation where I need change states and then when a user saves it takes them back to thier previous state. Is there something like previousState? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ -- Flexcoders 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] Init?
Call function on creationComplete event of Application tag. -Ashish -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ryan Pieszak Sent: Friday, March 31, 2006 12:18 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Init? How can call a function (which will then remote call a CFC) when the swf is loaded. In other words, I want to prepopulate the application's data on load. 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 * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Still need some help with my menu bar
Try this: currentState = [EMAIL PROTECTED]; -Ashish -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy Rottman Sent: Wednesday, March 29, 2006 8:12 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Still need some help with my menu bar after a few hours of playing with the menu bar issue I was having yesterday, I am still stuck trying to figure out why my menu handler function wont work with my menu bar. This function is suposed to change teh state when someone changes thier selection to one of the child menu items. It appears to change the state, but it does not load the state that is called. function menuHandler( oEvent : * ) : void { currentState = oEvent.menuItem.getProperty(data); } Here is my menubar again. mx:MenuBar change=menuHandler(event) labelField=@label showRoot=false width=100% height=22 x=1 y=10 mx:dataProvider mx:XML xmlns= menuitem label=Today data=today /menuitem menuitem label=Contacts data=home menuitem label=Add/Edit Outside Agent / menuitem label=Add/Edit Vendor / /menuitem menuitem label=Search data=home menuitem label=Listing data=etls / menuitem label=Sales / menuitem label=Rentals / menuitem label=Referrals / menuitem label=Contacts / menuitem label=HomeSmart Agents / /menuitem menuitem label=Transactions data= menuitem label=Add Listing data=ntcl / menuitem label=Add Sale data=ntcs / menuitem label=Add Rental data=ntcr / menuitem label=Add Referral data=ntcrf / /menuitem menuitem label=Marketing data= menuitem label=Lead Manager / menuitem label=Recruiting Manager / menuitem label=Mass Email / menuitem label=Mail Merge / /menuitem menuitem label=Education menuitem label=Video Modules / menuitem label=Schedule / /menuitem menuitem label=Content menuitem label=Downloads menuitem label=Add/Edit Download Category / menuitem label=Add/Edit Downloads / /menuitem menuitem label=CMS menuitem label=Add/Edit News Category / menuitem label=Add/Edit News / menuitem label=Smart News / /menuitem menuitem label=Links / /menuitem menuitem label=Reports menuitem label=Accounting / menuitem label=Marketing / menuitem label=Transactions / menuitem label=Franchise / /menuitem menuitem label=Setup menuitem label=Company Information data=compInfo hint=Displays Company Information Screen / menuitem label=Activity Plans / menuitem label=Commission Plans / menuitem label=Preferences / /menuitem menuitem label=Tools menuitem label=Remote Access / menuitem label=Cameras / menuitem label=Video Conference / menuitem label=Video Email / /menuitem /mx:XML /mx:dataProvider /mx:MenuBar -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Still need some help with my menu bar
Hey Jeremy, I just tried your sample and it works fine. If you are naming your states as menu labels then @label would work and if you are using data as your state names then @data would work. For example, I added following states in your code: mx:states mx:State name=Sales mx:AddChild mx:Button label=In Sales State/ /mx:AddChild /mx:State mx:State name=Rentals mx:AddChild mx:Button label=In Rental State/ /mx:AddChild /mx:State mx:State name=Referrals mx:AddChild mx:Button label=In Referrals State/ /mx:AddChild /mx:State /mx:states On selecting menu Search - Sales or Rentals or Referrals, I do see state changes. Please attach your complete code if you are still having problems. -Ashish -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy Rottman Sent: Wednesday, March 29, 2006 11:51 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Still need some help with my menu bar Ashish Goyal wrote: Try this: currentState = [EMAIL PROTECTED]; -Ashish -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy Rottman Sent: Wednesday, March 29, 2006 8:12 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Still need some help with my menu bar after a few hours of playing with the menu bar issue I was having yesterday, I am still stuck trying to figure out why my menu handler function wont work with my menu bar. This function is suposed to change teh state when someone changes thier selection to one of the child menu items. It appears to change the state, but it does not load the state that is called. function menuHandler( oEvent : * ) : void { currentState = oEvent.menuItem.getProperty(data); } Here is my menubar again. mx:MenuBar change=menuHandler(event) labelField=@label showRoot=false width=100% height=22 x=1 y=10 mx:dataProvider mx:XML xmlns= menuitem label=Today data=today /menuitem menuitem label=Contacts data=home menuitem label=Add/Edit Outside Agent / menuitem label=Add/Edit Vendor / /menuitem menuitem label=Search data=home menuitem label=Listing data=etls / menuitem label=Sales / menuitem label=Rentals / menuitem label=Referrals / menuitem label=Contacts / menuitem label=HomeSmart Agents / /menuitem menuitem label=Transactions data= menuitem label=Add Listing data=ntcl / menuitem label=Add Sale data=ntcs / menuitem label=Add Rental data=ntcr / menuitem label=Add Referral data=ntcrf / /menuitem menuitem label=Marketing data= menuitem label=Lead Manager / menuitem label=Recruiting Manager / menuitem label=Mass Email / menuitem label=Mail Merge / /menuitem menuitem label=Education menuitem label=Video Modules / menuitem label=Schedule / /menuitem menuitem label=Content menuitem label=Downloads menuitem label=Add/Edit Download Category / menuitem label=Add/Edit Downloads / /menuitem menuitem label=CMS menuitem label=Add/Edit News Category / menuitem label=Add/Edit News / menuitem label=Smart News / /menuitem menuitem label=Links / /menuitem menuitem label=Reports menuitem label=Accounting / menuitem label=Marketing / menuitem label=Transactions / menuitem label=Franchise / /menuitem menuitem label=Setup menuitem label=Company Information data=compInfo hint=Displays Company Information Screen / menuitem label=Activity Plans / menuitem label=Commission Plans / menuitem label=Preferences / /menuitem menuitem label=Tools
RE: [flexcoders] AS3/Flex2 - Effects and Cancelling them
There will be three new methods in the next beta release which will enable you to pause, resume and reverse any effect. In your case, when you want the effect to stop playing on certain user input, you can either call pause or you can call reverse to play the effect in reverse from that point to the starting point to create a nice effect reversal. -Ashish -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Trey Long Sent: Thursday, January 19, 2006 12:28 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] AS3/Flex2 - Effects and Cancelling them I am using the Move effect to create a really nice tween in my Flex app. I want to stop the effect during certain user input and there is an endEffect() method that will allow me to stop the event but it abruptly jumps to the destination of the Move, whatever the Move.xTo property is. Can anyone think of a way to cancel the effect without jumping to the end of the tween? I tried creating and instance and setting it to null when I wanted the effect to stop prematurely but I haven't had any luck. -James. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] State Transistions
The effect you see in that example is due to the resizeEffect property defined on the container. Transitions is a complete different feature with set of new tags to define your own transition effect when state changes. You can use Sequence or Parallel effects to create complex and rich choreography of effects. You can also control what transition effect to play on what particular state change. Its a really cool and useful feature and it will be included in the next beta release of Flex 2.0. I encourage you to download the beta when it comes out and use transitions with states. Thanks -Ashish From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Kaushik Mukherjee Sent: Wednesday, January 11, 2006 3:41 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] State Transistions I think there is transition effect in states. There I found a state example in Flex 2 Alpha release sample file, explorerstatesMulti-state thumbnail example Kaushik Ashish Goyal [EMAIL PROTECTED] wrote: States will have support for transition effects in the next alpha/beta release. Thanks -Ashish -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of rebel_assualt Sent: Sunday, January 08, 2006 7:31 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] State Transistions Hey, I was wondering if anyone had any information of transistion effects for flex 2 states? For example an animation or something that displays when different states are navigated to. Thanks Matt -- 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 Send instant messages to your online friends http://in.messenger.yahoo.com -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] State Transistions
States will have support for transition effects in the next alpha/beta release. Thanks -Ashish -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of rebel_assualt Sent: Sunday, January 08, 2006 7:31 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] State Transistions Hey, I was wondering if anyone had any information of transistion effects for flex 2 states? For example an animation or something that displays when different states are navigated to. Thanks Matt -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] how to display ruler in mx:Grid
If you mean displaying grid with borders, you can do that by setting borderStyle property to solid in Grid, GridRow and GridItem tags. You can also change the border thickness by setting borderThickness property to a valid number. Let me know if that doesn't answer your question. Thanks -Ashish -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of t_msreddy Sent: Friday, January 06, 2006 8:22 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] how to display ruler in mx:Grid I want to display a grid with ruler. Can you please tell me how to do it? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Flex 2.0 Repeater not working
Title: RE: [flexcoders] Flex 2.0 Repeater not working You should have gotten a compiler error since the dataProvider should be in the camel case and your code has it in all lower case. Change it to dataProvider then it should work. mx:Repeater id=r dataProvider={myAC} mx:RadioButton id=Radio label={r.currentItem.name} width=150 x=129 y=77/ Thanks -Ashish -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Venkatesh kambhammettu Sent: Wednesday, January 04, 2006 5:51 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex 2.0 Repeater not working Hi, I am a newbie to Flex, trying out Flex2. I am trying this sample app from the documentation using a repeater and for some reason it is just displaying a blank app/screen. Does anybody why this is not working? Thanks Venkat sample.mxml --- ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml xmlns=* mx:Model id=catalog source=products.xml/ mx:ArrayCollection id=myAC source={catalog.product}/ mx:Repeater id=r dataprovider={myAC} mx:RadioButton id=Radio label={r.currentItem.name} width=150 x=129 y=77/ /mx:Repeater /mx:Application products.xml ?xml version=1.0? products product nameName /name pricePrice/price freeshipFree Ship?/freeship /product product namePanasonic/name price10/price freeshipfalse/freeship /product product nameGE/name price5/price freeshipyes/freeship /product /products __ Yahoo! DSL Something to write home about. Just $16.99/mo. or less. dsl.yahoo.com -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * 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] mx:Repeater problem
You cannot access the currentItem property of a repeater without using binding _expression_ and Flex does not support using binding _expression_ inside event handlers. For this reason we have a getRepeaterItem() property and if you use this code, it should work. click=alert(event.target.getRepeaterItem().name) -Ashish From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Hasan Basri Sent: Wednesday, November 23, 2005 2:00 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] mx:Repeater problem in the following code, I have a problem stated below, label={list.currentItem.name} returns a value but click=alert(list.currentItem.name) returns nothing how to correct this situation? thanks in advance... mx:Repeater id=list dataProvider={dosyalar} mx:VBox verticalGap=0 horizontalAlign=center mx:HBox mx:Image width=45 height=44 source=@Embed('./klasor.jpg') toolTip=${list.currentItem.name}/ mx:Link label={list.currentItem.name} click=alert(list.currentItem.name) toolTip={list.currentItem.path}/ mx:Label text=dsy{list.currentItem.id} / /mx:HBox /mx:VBox /mx:Repeater Yahoo! kullaniyor musunuz? Simdi, 1GB e-posta saklama alani sunuyor http://tr.mail.yahoo.com -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] [Flex2] State and size
Hello Stephane, It seems like setting resizeEffect on the panel is causing this bug. Remove resizeEffect=Resize from the searchPanel then switching to the base state (currentState to '') should work. I have already logged the bug in the bugbase. Thanks for finding this issue. -Ashish -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stephane De Jonckheere Sent: Tuesday, October 25, 2005 12:12 AM To: 'flexcoders@yahoogroups.com' Subject: [flexcoders] [Flex2] State and size Hi all, I'm currently trying Flex 2 and the new State feature. I'd like to do some kind of fullscreen button. I managed to do that in Flex 2 but I have some problems. First of all I need to set the width and height back in a new State. Switching back to the Base State (setting currentState to null) is not working 'cause the panel keep the width and height of the fullscreen state. That's why I'm using the restore state. Ain't it a bug in the state feature? Or is there something I am not doing correctly? See code below. Regards, Stephane ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml; xmlns=* mx:states mx:State name=FullScreen mx:RemoveChild child={searchPanel}/ mx:RemoveChild child={mainBox}/ mx:AddChild target={appCanvas} child={searchPanel}/ /mx:State mx:State name=Restore mx:PropertyOverride target={appCanvas} property=height value=100%/ mx:PropertyOverride target={appCanvas} property=width value=100%/ mx:PropertyOverride target={mainBox} property=height value=100%/ mx:PropertyOverride target={mainBox} property=width value=100%/ mx:PropertyOverride target={menuPanel} property=height value=100%/ mx:PropertyOverride target={menuPanel} property=width value=25%/ mx:PropertyOverride target={contentBox} property=height value=100%/ mx:PropertyOverride target={contentBox} property=width value=75%/ mx:PropertyOverride target={searchPanel} property=height value=100%/ mx:PropertyOverride target={searchPanel} property=width value=100%/ mx:PropertyOverride target={resultPanel} property=height value=100%/ mx:PropertyOverride target={resultPanel} property=width value=100%/ /mx:State /mx:states mx:Script static var fullscreen:Boolean=false; /mx:Script mx:Canvas id=appCanvas width=100% height=100% mx:HDividedBox id=mainBox width=100% height=100% mx:Panel id=menuPanel height=100% width=25% mx:Canvas height=100% width=100%/ /mx:Panel mx:VBox id=contentBox height=100% width=75% hScrollPolicy=off vScrollPolicy=off mx:Panel id=searchPanel height=100% width=100% resizeEffect=Resize mx:Canvas height=100% width=100% id=canvas1 mx:Button x=275 y=116 label=Switch click=currentState=(fullscreen?'Restore':'FullScreen');fullsc reen=!fullscre en; id=button1/ mx:Button x=275 y=156 label=getState click=if (currentState!=null) { mx.controls.Alert.show(currentState.toString()); } else { mx.controls.Alert.show('Base State'); } id=button2/ /mx:Canvas /mx:Panel mx:Panel id=resultPanel height=100% width=100% mx:Canvas height=100% width=100%/ /mx:Panel /mx:VBox /mx:HDividedBox /mx:Canvas /mx:Application ** * This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager to [EMAIL PROTECTED] ** * Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM -- --~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:
RE: [flexcoders] Flash Player 8.5 installation file
"Install Flash Player 8.5 AX.exe" is the installer toinstall ActiveX version of player on IE. Other one is to install plugin version of player onall otherbrowsers (Netscape, firefox, opera , etc..). -Ashish From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Torben NielsenSent: Monday, October 24, 2005 8:45 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Flash Player 8.5 installation file Hi, I have some experiments that I am making for a client with Flex 2. He would of course like to see them, but he will need Flash Player 8.5 to see them. I looked in the Flex 2 Folder and found to player installation files: Install Flash Payer 8_5.exe Install Flash Player 8.5 AX.exe Whats the difference with these to, and am I allowed to send them to him without breaking the license agreement? Thanks. Best regards. Torben Nielsen Starvision Studios -- 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] F2 Alpha: Repeaters and dynamic HTML text?
Text and image are aligned to the top as designed.Since your bullet image is small, itgives an appearance thattext is renderedbelow the image. If possible create a bigger bullet image by adding some white space on the top of the image. If youwant to use the same image then add that image to a VBoxand set marginTop to some value say 5. Your code would look like: mx:Repeater mx:HBox mx:VBox marginTop="5" mx:Image/ /mx:VBox mx:Text/ /mx:HBox /mx:Repeater -Ashish From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, JasonSent: Monday, October 24, 2005 1:16 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] F2 Alpha: Repeaters and dynamic HTML text? OK thanks Ashish, getting closer. However, the text drops down and to the right from the bullet, and the bullet is completely snug at the far and upper left. When rendered as straight HTML it doesnt do this. i.e. mx:Text mx:htmlText ![CDATA[img src=''/Test HTML Text]] /mx:htmlText /mx:Text That positions the text and graphic completely different. See the differences here: http://cmt.icfconsulting.com/temp/AFDW/AFDWTOC.html Any ideas? Thanks. Jason Merrill | E-Learning Solutions | icfconsulting.com From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Ashish GoyalSent: Monday, October 24, 2005 3:53 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] F2 Alpha: Repeaters and dynamic HTML text? Wrap your Image and Text tag in HBox inside Repeater. -Ashish From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Merrill, JasonSent: Monday, October 24, 2005 12:48 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] F2 Alpha: Repeaters and dynamic HTML text? Full of questions today. So using Flexbuilder 2 Alpha, I want to use a repeater to show text, and so this works fine: mx:Repeater id="CMMetricsTextRepeater" dataProvider="{dataService.result.dashboard.categories.category}" mx:Image source="@Embed('assets/bullet.gif')" / mx:Text text="{CMMetricsTextRepeater.currentItem.label}"/ /mx:Repeater However, I want that bullet graphic to appear next to the text, but it doesnt the bullet appears, but the text that follows drops to the next line. So, I thought I would try HTML text, but Im not sure how to use the dynamic data of a repeater since the text is supposed to be enclosed in a CDATA tag. For example, this does not work: mx:Repeater id="CMMetricsTextRepeater" dataProvider="{dataService.result.dashboard.categories.category}" mx:htmlText ![CDATA[img src=''/ {CMMetricsTextRepeater.currentItem.label} ]] /mx:htmlText /mx:Repeater What happens is the {CMMetricsTextRepeater.currentItem.label} is shown literally since its in the CDATA tag. How do I use repeaters and dynamic HTML text? Do I *have* to use Actionscript for this? If so, how? Thanks. Jason Merrill | E-Learning Solutions | icfconsulting.com NOTICE: This message is for the designated recipient only and may contain privileged or confidential information. If you have received it in error, please notify the sender immediately and delete the original.Any other use of this e-mail by you is prohibited. -- 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] % in as
There is a property called percentWidth for setting percentage width in AS. Component.percentWidth = 100; Similarly you can use percentHeight to set height in percentage. -Ashish -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rajesh Jayabalan Sent: Wednesday, October 19, 2005 5:15 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] % in as Hi, Anyone know how to set width=100% in actionscript method for any component? Regards Rajesh J Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM -- --~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links Yahoo! Groups Sponsor ~-- Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] How to disable tabNavigator if two tabNavigator there
Use ViewStack.. Check Flex docs for the ViewStack usage. -Ashish -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sandip_patil01 Sent: Tuesday, September 20, 2005 11:15 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] How to disable tabNavigator if two tabNavigator there Hi All, I have two tab navigator. when I type URl in browser i need to display one tab navigator out of two navigator. And when click on let say on a button another tab navigator will be display. Means how to achive this enabling and disabling of tab navigator. Thx in advance. sandip patil Yahoo! Groups Sponsor ~-- Most low income households are not online. Help bridge the digital divide today! http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM -- --~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links Yahoo! Groups Sponsor ~-- Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] How to change the button's image after click
You can do this easily by setting button's toggle property to true and then changing the icon image by checking the value of button's selected property. See this example code: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; mx:Script ![CDATA[ [Embed(image1.jpg)] var img1:String; [Embed(image2.jpg)] var img2:String; private function checkToggle() { if (b1.selected) b1.icon = img2; else b1.icon = img1; } ]] /mx:Script mx:Button id=b1 toggle=true label=Button1 icon={img1} click=checkToggle()/ /mx:Application -Ashish -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Prasad Dhananjaya Sent: Sunday, September 11, 2005 9:58 PM To: FlexML Subject: [flexcoders] How to change the button's image after click Hi, I want to change the button's image(icon image) after click. (use this as toggle button) I tried several ways, but failed. Can someone tell me how to do this? thanks - ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; mx:Script ![CDATA[ var first:String = true; function changeImage() { if (first==true){ but1.load('ob2.jpg'); first=false; } else { but1.load('ob1.jpg'); first=true; } } ]] /mx:Script mx:VBox mx:Button id=but1 click=changeImage() / /mx:VBox /mx:Application - Yahoo! Groups Sponsor ~-- Most low income households are not online. Help bridge the digital divide today! http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM -- --~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Re: Is there a LinkBar style similar to activeTab for tabNavigator
You can't change the backgroundcolor of the selected link but you can change the color and font properties to show that its selected. Below is the sample code, where I'm changing the font color of the selected link to red and also making it bold. Hope this will help. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; width=600 height=600 mx:Script ![CDATA[ function doLinkBar(event){ for(var i=0; ievent.target.numChildren; i++){ var curItem = event.target.getChildAt(i); if (i==event.index) { curItem.setStyle(color, 0xFF); curItem.setStyle(fontWeight, 'bold'); }else{ curItem.setStyle(color, 0x00); curItem.setStyle(fontWeight, 'normal'); } } } ]] /mx:Script mx:LinkBar id=lb1 dataProvider={['Flex','Flash','Dreamweaver','Breeze']} click=doLinkBar(event)/ /mx:Application To show the selected link as red and bold when the page first loads, you can write an initialize event handler and change the link appearance of the default selected link in that function. -Ashish -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of delaquae Sent: Monday, September 12, 2005 7:39 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Is there a LinkBar style similar to activeTab for tabNavigator Thanks Saleh, I am already quite familiar with the CSS Style explorer but unfortunately it does not expose all the styles that are available for each component and what I'm trying to do is not a documented style that I have been able to find anyway. I suspect I will have to do it with some ActionScript and that was what I am looking for help with. But thanks for the response. Martin --- In flexcoders@yahoogroups.com, vnice Cute [EMAIL PROTECTED] wrote: Hello, Please try this URL http://weblogs.macromedia.com/mc/archives/FlexStyleExplorer.html that may help you to build your CSS file very easy. Thanks, Saleh delaquae [EMAIL PROTECTED] wrote: Is there any way for a LinkBar to approximate the activeTab style behaviour? Either with a style or via ActionScript? I need to set the background and text color for a link once it has been selected in order to visually indicate that it was selected/active. With a TabNavigator I was able to do this with: TabNavigator { horizontal-gap: 6; tab-height: 21; theme-color: #ff; background-color: #3399cc; } Tab { fill-colors: #cc, #f6; selected-fill-colors: #3399cc, #3399cc; color: #33; } ActiveTab { color: white; font-weight: bold; text-roll-over-color: white; } -- 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. - __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com Yahoo! Groups Sponsor ~-- Most low income households are not online. Help bridge the digital divide today! http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM -- --~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] HeadColors doesn't work in Panel properly
headerColors property expects an array of two color values. If you want header color just to be a single color then you can write it as headerColors=[0xCFE4FB, 0xCFE4FB] -Ashish -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tansht Sent: Thursday, September 08, 2005 6:55 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] HeadColors doesn't work in Panel properly Hi, there I tried in vain to use the headerColors in the panel. After I deployed it onto J2EE server, the page shows the following error message. Failed to parse Array: 0xCFE4FB or Failed to parse Array: #CFE4FB Could anyone please tell me how to solve it? Best Wishes David Yahoo! Groups Sponsor ~-- Most low income households are not online. Help bridge the digital divide today! http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM -- --~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links Yahoo! Groups Sponsor ~-- Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] drilling down to get dynamically generated form values
Repeater creates an array of items, so in this case it will create an array of TestInputs. You can access the value of the first TextInput by item1[0].text, for the second TextInput as item2[0].text, 2nd value of first TextInput as item1[1].text and so on... -Ashish -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of cruegger2000 Sent: Wednesday, September 07, 2005 12:52 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] drilling down to get dynamically generated form values I create a form dynamically using a repeater shown below. When the user hits the Submit button, I want to be able to drill down to get all of the values for the TextInput fields. How can I get to them in ActionScript code for submitForm() starting from form1? Thanks in advance. mx:VBox label=Charges width=100% mx:Form id=form1 borderStyle=solid mx:Repeater id=rp dataProvider={dataList} mx:HBox mx:Label text={rp.currentItem.name}/ mx:FormItem mx:TextInput id=item1 /mx:FormItem mx:FormItem mx:TextInput id=item2 /mx:FormItem mx:FormItem mx:TextInput id=item3 /mx:FormItem /mx:HBox /mx:Repeater /mx:Form mx:Button label=Submit click=submitForm()/ /mx:VBox Yahoo! Groups Sponsor ~-- Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM -- --~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Why Canvas don't work?
widthFlex and heightFlex properties are deprecated so you are getting those warnings. You can use the syntax as shown in the warnings to get rid of the deprecation warnings. From the error, it seems like you are calling doDragEnter method but its notdefined anywhere. Let us know if you still getting errors afteradding doDragEnter method. -Ashish From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Igor CostaSent: Wednesday, September 07, 2005 4:34 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Why Canvas don't work? I trying to create some drag and drop with canvas but I recive theses errors alerts. Warning /canvas.mxml:50 Property mx.controls.List.widthFlex is deprecated.Please use width='n%', where n is a number from 1 to 100. Warning /canvas.mxml:50 Property mx.controls.List.heightFlex is deprecated.Please use height='n%', where n is a number from 1 to 100.Warning /canvas.mxml:58 Property mx.controls.List.widthFlex is deprecated.Please use width='n%', where n is a number from 1 to 100. Warning /canvas.mxml:58 Property mx.controls.List.heightFlex is deprecated.Please use height='n%', where n is a number from 1 to 100.Warning /canvas.mxml:66 Property mx.controls.List.widthFlex is deprecated.Please use width='n%', where n is a number from 1 to 100. Warning /canvas.mxml:66 Property mx.controls.List.heightFlex is deprecated. Please use height='n%', where n is a number from 1 to 100.And an error on the method with the classesError /canvas.mxml:44 There is no method with the name 'doDragEnter'The part of code is below mx:Canvas backgroundColor="#FF" borderStyle="solid" width="30" height="30" mouseDown="dragIt(event, 'Red 1', 'red')" mx:Label text="1" x="8" y="6" width="22" height="24"/ /mx:Canvas-- Igor Costawww.igorcosta.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 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] Web Service Input Variable
Try this CFC code: cfcomponent cffunction name=returnLines access=remote returnType=query cfargument name=orderID type=numeric required=yes cfquery name=getLines Datasource=#application.appDataSource# username=listdev password=RMH383 SELECT Line_name AS NAME, Line_id AS ID FROM Lines WHERE Order_id LIKE '%#arguments.orderID#%' ORDER BY Line_id; /cfquery cfreturn getLines /cffunction /cfcomponent WebService code: mx:WebService id=xmlService wsdl=http://192.168.10.17/DistrictsLT9/People.cfc?wsdl; mx:operation name=returnLines mx:request orderID100/orderID /mx:request /mx:operation /mx:WebService -Ashish -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of flexblog5333 Sent: Tuesday, September 06, 2005 2:13 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Web Service Input Variable I have successfully got my Web Service to perform querys using a .cfc but I cannot for the life of me figure out the syntax to pass in and call a single variable in the query. Any help would be greatly appreciated. Thanks ahead of time. My .mxml Code: mx:WebService id=xmlService wsdl=http://192.168.10.17/DistrictsLT9/People.cfc?wsdl; mx:operation name=returnLines mx:request VARIABLE?? /mx:request /mx:operation /mx:WebService My .cfc Code: cfcomponent cffunction name=returnLines access=remote returnType=query cfquery name=getLines Datasource=#application.appDataSource# username=listdev password=RMH383 SELECT Line_name AS NAME, Line_id AS ID FROM Lines WHERE Order_id LIKE '%VARIABLE??%' ORDER BY Line_id; /cfquery cfreturn getLines /cffunction /cfcomponent Yahoo! Groups Sponsor ~-- Most low income households are not online. Help bridge the digital divide today! http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM -- --~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links Yahoo! Groups Sponsor ~-- Most low income households are not online. Help bridge the digital divide today! http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Flex Install on IIS
Title: Flex Install on IIS This technote should help http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=96611248 -Ashish From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mehdi, AghaSent: Wednesday, August 03, 2005 9:22 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Flex Install on IIS Hi all, How do I install Flex with IIS? CF is already configured to run under IIS. Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Fax: 408.284.2766 -- 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] Accordions hide underneath the buttom ControlBar
ControlBar shouldn't hide anything defined inside the panel. Can you post your testfile. Thanks -Ashish -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ghislain Simard Sent: Tuesday, August 02, 2005 11:07 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Accordions hide underneath the buttom ControlBar Is there a way to prevent the ControlBar to hide some accordion stacks when the browser is resized. Thanks Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hsfhnqb/M=362131.6882499.7 825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP= 1123013246/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy/a./font -- --~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12ht4upej/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123014563/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992 Fair play? Video games influencing politics. Click and talk back!/a./font ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Accordions hide underneath the buttom ControlBar
=zone_vestiairesPEBC/ EEfrm:zone_piscinePEBC id=zone_piscinePEBC/ EEfrm:zone_gymnasePEBC id=zone_gymnasePEBC/ EEfrm:zone_barsSalonsPEBC id=zone_barsSalonsPEBC/ EEfrm:zone_stationnementPEBC id=zone_stationnementPEBC/ EEfrm:Resultats id=Resultats/ EEfrm:zone_hallMainHQ id=zone_hallMainHQ/ EEfrm:HQRegulationFrm id=HQRegulationFrm/ EEfrm:HQMesuresEfficaciteEnergetiqueFrm id=HQMesuresEfficaciteEnergetiqueFrm/ EEfrm:CVCA_main id=CVCA_main/ /mx:ViewStack !-- viewstack end from tree panel -- mx:ControlBar height=30 verticalAlign=middle horizontalAlign=right marginTop=3 marginBottom=3 visible=true mx:Label id=childId text=.../ mx:Spacer width=100%/ mx:TextInput id=stackID width=40 / mx:Button label=GO click=gotostack()/ mx:Button id=next label=lt;lt; click=prevNode();treeNav.dispatchEvent({type:'change'})/ mx:Button id=back label=gt;gt; click=nextNode();treeNav.dispatchEvent({type:'change'})/ /mx:ControlBar /mx:Panel Ghislain Simard Analyst Technique web | Web Technical Analyst Ressources Naturelles Canada | 580 Booth Ottawa (Ontario) K1A 0E4 Natural Resources Canada | 580 Booth St Ottawa ON K1A 0E4 Gouvernement du Canada | Government of Canada [EMAIL PROTECTED] 613-947-0582 | télécopieur / facsimile 613-996-9416 -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Behalf Of Ashish Goyal Sent: Tuesday, August 02, 2005 2:28 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Accordions hide underneath the buttom ControlBar ControlBar shouldn't hide anything defined inside the panel. Can you post your testfile. Thanks -Ashish -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ghislain Simard Sent: Tuesday, August 02, 2005 11:07 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Accordions hide underneath the buttom ControlBar Is there a way to prevent the ControlBar to hide some accordion stacks when the browser is resized. Thanks Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hsfhnqb/M=362131.6882499.7 825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP= 1123013246/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy/a./font -- --~- -- 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 Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12ha05fbd/M=362329.6886308.7 839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123015202 /A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?p age_id=1992 Fair play? Video games influencing politics. Click and talk back!/a./font -- --~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hbf4pf5/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123023732/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992 Fair play? Video games influencing politics. Click and talk back!/a./font ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email
RE: [flexcoders] Passing variables into an alert handler
How about simple passing the parameters like: Alert(... ..., Delegate.create(this, this.alertHandler('apples','Bar')); And in your alertHandler(myVar,myFoo), you can get the values of your parameters. Does this answer your question? Thanks -Ashish -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Beeman Sent: Tuesday, August 02, 2005 9:17 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Passing variables into an alert handler I'm trying to pass variables into the Delegate that I have run during an alert. Here is the code I currently have: alert(Delete record?, Alert, mx.controls.Alert.OK | mx.controls.Alert.CANCEL, Delegate.create(this, this.alertHandler), mx.controls.Alert.CANCEL); I would like to be able to pass variables into the alertHandler, i.e.: Alert(... ..., Delegate.create(this, this.alertHandler({ myVar:'apples', myFoo:'Bar' }); This works... but the problem is that the 'event' is no longer passed. Trying to add 'myEvent:event' to that object doesn't work, as I get an error returned saying 'event' doesn't exist. Is there a way to pass variables using the method above while still capturing the event details? /*** * Jeff Beeman * Digital Media Instructional Technologies * Arizona State University ***/ Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hn4jb9f/M=362131.6882499.7 825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123006875 /A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy/a./font -- --~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12htq29fs/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123024998/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992 Fair play? Video games influencing politics. Click and talk back!/a./font ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Passing variables into an alert handler
I just reread your question and it seems like you already got that part which I have mentioned in my previous post. About the passing of events, I tried adding event as the 3rd parameter and getting the event.target value but it returns blank. Somebody on the flexcodes who have played around with events should be able to answer your question.. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ashish Goyal Sent: Tuesday, August 02, 2005 2:23 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Passing variables into an alert handler How about simple passing the parameters like: Alert(... ..., Delegate.create(this, this.alertHandler('apples','Bar')); And in your alertHandler(myVar,myFoo), you can get the values of your parameters. Does this answer your question? Thanks -Ashish -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Beeman Sent: Tuesday, August 02, 2005 9:17 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Passing variables into an alert handler I'm trying to pass variables into the Delegate that I have run during an alert. Here is the code I currently have: alert(Delete record?, Alert, mx.controls.Alert.OK | mx.controls.Alert.CANCEL, Delegate.create(this, this.alertHandler), mx.controls.Alert.CANCEL); I would like to be able to pass variables into the alertHandler, i.e.: Alert(... ..., Delegate.create(this, this.alertHandler({ myVar:'apples', myFoo:'Bar' }); This works... but the problem is that the 'event' is no longer passed. Trying to add 'myEvent:event' to that object doesn't work, as I get an error returned saying 'event' doesn't exist. Is there a way to pass variables using the method above while still capturing the event details? /*** * Jeff Beeman * Digital Media Instructional Technologies * Arizona State University ***/ Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hn4jb9f/M=362131.6882499.7 825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123006875 /A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy/a./font -- --~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12htq29fs/M=362329.6886308.7 839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123024998 /A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?p age_id=1992 Fair play? Video games influencing politics. Click and talk back!/a./font -- --~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hsc3iup/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123025860/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy/a./font ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Rounded corners on Title Window
Set panelBorderStyle style property to roundCorners. -Ashish From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of charlespaz1Sent: Tuesday, July 26, 2005 2:24 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Rounded corners on Title Window Is it possible, and if so, how, to make the bottom corners of a TitleWindow rounded like an Alert window?Thanks -- 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 Computer software testing Macromedia flex Development Software developer 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] Button toggle clarification
You should be able to see a halo around the toggled button when you click. Its same as the halo you seein mouseover state. -Ashish From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Devin HollowaySent: Friday, July 22, 2005 1:28 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Button toggle clarification the button control has a toggle attribute. according to the flex docs,"Specifies whether a button can be toggled, true, or acts like a pushbutton, false. The default value is false."My initial assumption was that if you set toggle to true, then if you clicked a button, it would remain in the pressed state until youclick it again. But this isn't so. To experiment, I created two button controls, side by side, one with toggle set to true, and the other false. I couldn't find any difference whatsoever. So obviously it doesn't affect anything visually.So my question is, what's it for? What does it do? -- 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 Computer software testing Macromedia flex Development Software developer 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: Button toggle clarification
Toggle buttoncan be used in many ways. It shows visually that if its in a selected state or not as well asyou can get or set the state of the buttonprogrammatically using the "selected" property of the button. It returns true ifthe toggle button is selected and false if its not selected. I don't have really good use case off hand but for eg. say you are creating a really simple math app with four buttons for addition, subtraction, multiplication and division with two input text boxes and a result textbox. If you use the toggle buttons instead of normal buttons user will know by looking at the button state the result in the result box is the output of which mathematical function. -Ashish From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Devin HollowaySent: Friday, July 22, 2005 2:28 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Re: Button toggle clarification Thank you for pointing that out. I do see it now. Though, it doesn't seem all that useful, unless I'm missing the greater purpose. It's not like a random user understand the purpose.--- In flexcoders@yahoogroups.com, "Ashish Goyal" [EMAIL PROTECTED] wrote: You should be able to see a halo around the toggled button when you click. Its same as the halo you see in mouseover state. -Ashish From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Devin Holloway Sent: Friday, July 22, 2005 1:28 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Button toggle clarification the button control has a toggle attribute. according to the flex docs, "Specifies whether a button can be toggled, true, or acts like a pushbutton, false. The default value is false." My initial assumption was that if you set toggle to true, then if you clicked a button, it would remain in the pressed state until you click it again. But this isn't so. To experiment, I created two button controls, side by side, one with toggle set to true, and the other false. I couldn't find any difference whatsoever. So obviously it doesn't affect anything visually. So my question is, what's it for? What does it do? -- 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 Computer software testing http://groups.yahoo.com/gads?t=msk=Computer+software+testingw1=Comput er+software+testingw2=Macromedia+flexw3=Developmentw4=Software+develo perc=4s=93.sig=kh2CguJwmatU5oBXjFo9Rg Macromedia flex http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Computer+softwar e+testingw2=Macromedia+flexw3=Developmentw4=Software+developerc=4s= 93.sig=dAUcEV7do91-wrRtVS641g Development http://groups.yahoo.com/gads?t=msk=Developmentw1=Computer+software+te stingw2=Macromedia+flexw3=Developmentw4=Software+developerc=4s=93. sig=AlxNUQBOI7Io7S7nhmxV0Q Software developer http://groups.yahoo.com/gads?t=msk=Software+developerw1=Computer+soft ware+testingw2=Macromedia+flexw3=Developmentw4=Software+developerc=4 s=93.sig=QWIit8JayomoIHLVkV3FDg YAHOO! GROUPS LINKS * Visit your group "flexcoders http://groups.yahoo.com/group/flexcoders " on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/ . -- Flexcoders 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] Accordian Header Colors
I have attached the code below which is pretty much self explainatory. In this function I'msetting the color of all the headers to black and then setting the colorof the selcted header to red.Call this function on change event of the accordion. function headerTextColor(){// accordion1 is an id of the accordion for(var i=0; iaccordion1.numChildren; i++){ var header = accordion1.getHeaderAt(i); header.setStyle("color", 0x00) }var headerIndex = accordion1.getHeaderAt(accordion1.selectedIndex);headerIndex.setStyle("color", 0xFF) } I could also have the fuction coded in another way which is more efficient (inside the for loop, check if"i" is the selectedIndex and change the color to red otherwise black)but its not working for few of the style properties. I'll log the bug in the Flex bugbase. Thanks -Ashish From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andy GoodfellowSent: Thursday, June 23, 2005 10:34 AMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Accordian Header Colors Does anyone know how to change the font color of the selected accordion header? I can get things like the background and fill color to change fine using either actionscript skinning or a swc theme file, I just can't seem to find any documentation on how to change the font color of a selected header. Thanks in advance.-Andy On 1/9/05, dave buhler [EMAIL PROTECTED] wrote: Thanks Manish.I'll give it a shot tomorrow (just got home from the office).Perhaps I was using selectedFillColors and not the hyphenated cssstyle declaration?I got the headers working with Lin's example, but I'd still prefer toexternalize the styles.Dave On Sun, 09 Jan 2005 01:41:24 +0530, Manish Jethani[EMAIL PROTECTED] wrote: dave buhler wrote: None of my attempts to change the accordian header colors (or 'colours' for the Canadian/British FlexCoders) was successful within my Css. Okay, here's how you set the _colours_ (Indian ;-) ) using CSS: Accordion { fill-colors: blue, white; selected-fill-colors: blue, lime; theme-color: blue; } Manish Yahoo! Groups Links Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Accordian Header Colors
Below is the more efficient way of achieving the same thing withless lines of code. Previously I had some typo in my code so it wasn't working ;) function headerTextColor(){// accordion1 is an id of the accordion for(var i=0; iaccordion1.numChildren; i++){ var header = accordion1.getHeaderAt(i); i==accordion1.selectedIndex ? header.setStyle("color", 0xFF) : header.setStyle("color", 0x00); } } -Ashish From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ashish GoyalSent: Thursday, June 23, 2005 1:44 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Accordian Header Colors I have attached the code below which is pretty much self explainatory. In this function I'msetting the color of all the headers to black and then setting the colorof the selcted header to red.Call this function on change event of the accordion. function headerTextColor(){// accordion1 is an id of the accordion for(var i=0; iaccordion1.numChildren; i++){ var header = accordion1.getHeaderAt(i); header.setStyle("color", 0x00) }var headerIndex = accordion1.getHeaderAt(accordion1.selectedIndex);headerIndex.setStyle("color", 0xFF) } I could also have the fuction coded in another way which is more efficient (inside the for loop, check if"i" is the selectedIndex and change the color to red otherwise black)but its not working for few of the style properties. I'll log the bug in the Flex bugbase. Thanks -Ashish From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andy GoodfellowSent: Thursday, June 23, 2005 10:34 AMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Accordian Header Colors Does anyone know how to change the font color of the selected accordion header? I can get things like the background and fill color to change fine using either actionscript skinning or a swc theme file, I just can't seem to find any documentation on how to change the font color of a selected header. Thanks in advance.-Andy On 1/9/05, dave buhler [EMAIL PROTECTED] wrote: Thanks Manish.I'll give it a shot tomorrow (just got home from the office).Perhaps I was using selectedFillColors and not the hyphenated cssstyle declaration?I got the headers working with Lin's example, but I'd still prefer toexternalize the styles.Dave On Sun, 09 Jan 2005 01:41:24 +0530, Manish Jethani[EMAIL PROTECTED] wrote: dave buhler wrote: None of my attempts to change the accordian header colors (or 'colours' for the Canadian/British FlexCoders) was successful within my Css. Okay, here's how you set the _colours_ (Indian ;-) ) using CSS: Accordion { fill-colors: blue, white; selected-fill-colors: blue, lime; theme-color: blue; } Manish Yahoo! Groups Links Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.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/ 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] LinkBar question
You can have the selected link to show in a different color though instead of the default grey color for better visibility. Just set 'disabledColor' property on the link bar to the desired color. Thanks -Ashish From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Robert BrueckmannSent: Wednesday, June 22, 2005 8:20 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] LinkBar question Is there a way to leave the selection background behind the currentlyselected link in a LinkBar to indicate to the user which link iscurrently selected? None of the attributes seem to indicate anything ofthe sort, so I was curious if anyone is doing anything like this outthere?Thanks!robert l. brueckmannsenior web developermerlin securities595 madison avenuenew york, ny 10022p: 212.822.4821f: 212.822.4820This message contains information from Merlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission.Merlin Securities, LLC is a registered broker-dealer. Services offered through Merlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed by Merlin Securities, LLC and may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security. Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] LinkBar question
I have just emulatedyour scenario. In this case the active link color will change to red. Let me know if that doesn't work for you. ?xml version="1.0" encoding="utf-8"?mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" width="600" height="600" mx:ViewStack height="300" width="400" id="ViewStack1"mx:VBox width="100%" height="100%" label="View1" mx:Button label="Button1"//mx:VBoxmx:VBox width="100%" height="100%" label="View2" mx:Button label="Button2"//mx:VBoxmx:VBox width="100%" height="100%" label="View3" mx:Button label="Button3"//mx:VBoxmx:VBox width="100%" height="100%" label="View4" mx:Button label="Button4"//mx:VBox/mx:ViewStack mx:LinkBar dataProvider="ViewStack1" disabledColor="#FF"/ /mx:Application Thanks -Ashish From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Robert BrueckmannSent: Wednesday, June 22, 2005 11:57 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] LinkBar question Not sure what you mean. Using the disabledCOlor attribute does nothing. I have a linkbar at the bottom of my page that navigates a viewstack which takes up the upper portion of the page. I want to be able to indicate to the user when they click on the link in the link bar which location theyve clicked on by either changing the color of the link they clicked on or leaving the background color that appears when you mouse over the link to indicate thats the last link they clicked on. How can I do this? robert l. brueckmann senior web developer merlin securities 595 madison avenue new york,ny 10022 p: 212.822.4821f: 212.822.4820 From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Ashish GoyalSent: Wednesday, June 22, 2005 1:33 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] LinkBar question You can have the selected link to show in a different color though instead of the default grey color for better visibility. Just set 'disabledColor' property on the link bar to the desired color. Thanks -Ashish From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Robert BrueckmannSent: Wednesday, June 22, 2005 8:20 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] LinkBar question Is there a way to leave the selection background behind the currentlyselected link in a LinkBar to indicate to the user which link iscurrently selected? None of the attributes seem to indicate anything ofthe sort, so I was curious if anyone is doing anything like this outthere?Thanks!robert l. brueckmannsenior web developermerlin securities595 madison avenuenew york, ny 10022p: 212.822.4821f: 212.822.4820This message contains information from Merlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission.Merlin Securities, LLC is a registered broker-dealer. Services offered through Merlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed by Merlin Securities, LLC and may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security. This message contains information fromMerlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission. Merlin Securities, LLC is a registered broker-dealer. Services offered throughMerlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed byMerlin Securities, LLCand may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an
RE: [flexcoders] How do you store and then retrieve the backcolor of something
You are setting 'color' style instead of 'fillColors' style in your changebackcolor() function. Change the 'color' to 'fillColors' in changebackcolor() as well as in changecolor() function and it should work. Thanks -Ashish From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]Sent: Tuesday, June 07, 2005 9:55 AMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] How do you store and then retrieve the backcolor of something Can someone explain why this code does not work then? I tried to make it so that it will change the button color to red then back to its original color but its not working? ?xml version="1.0" encoding="utf-8"?mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" xmlns="*" mx:Script ![CDATA[public var oldColor:Object;]] public function changecolor(){oldColor= buttonthree.getStyle("color");buttonthree.setStyle("fillColors", [0xCCC333,0xCC0065]) }public function changebackcolor(){ buttonthree.setStyle("color", [oldColor])}/mx:Script mx:HBox id="buttonstocolor" visible="true" mx:Button label="press to restore color" click="changebackcolor()" id="Buttonone" /mx:Button label= "Press to change color" click="changecolor()" id="Buttontwo"/mx:Button width="30" id="buttonthree"/ /mx:HBox/mx:Application Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Tree Drag and Drop help
Try this code as adragDrop event handler for the treeand let me know if it doesn't work. function doDragDrop(event) {doDragExit(event); var items = event.dragSource.dataForFormat(treeItems);var dest = event.target;var dropLoc = dest.getDropLocation(); dest.clearSelected();var dropParent = dest.getDropParent(); for (var i = items.length - 1; i = 0; i--){var newNode = dropParent.addTreeNodeAt(dropLoc,items[i]);dest.selection = newNode;}} -Ashish From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of pilby1Sent: Thursday, May 05, 2005 4:04 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Tree Drag and Drop help I've been wracking my brains on this for a while now, and it hasn't been a smooth ride. Instead of chanting my experiences in this forum, it all boils down to my pleading for help from any of you.Can anyone please provide me a code sample or a URL of such pertaining to drag-n-drop with a Tree which can demonstrate a successful drag of one node onto another, and having the dragged node appear as a child of the node where it was dropped?In a nutshell, I've gotten as far as getting the node references of the dragged and dropped nodes within my dragDrop event, including the index of the node that was dropped on. I can even display these two nodes using "alert", and their internal toString() methods would correctly display all the node contents (in XML). However, when I use the addTreeNodeAt() method on a node that's a parent (i.e. a folder), nothing happens! And when the node is a leaf (i.e., not a parent of any child nodes), that node somehow "climbs" up one step higher in the tree hierarchy, and the dragged node does not appear anywhere!I would be very grateful to anyone who could provide me some help and guidance on this please. :( Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Tree Drag and Drop help
One correction.. 'treeItems' should be in quotes. var items = event.dragSource.dataForFormat("treeItems"); From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ashish GoyalSent: Thursday, May 05, 2005 4:28 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Tree Drag and Drop help Try this code as adragDrop event handler for the treeand let me know if it doesn't work. function doDragDrop(event) {doDragExit(event); var items = event.dragSource.dataForFormat(treeItems);var dest = event.target;var dropLoc = dest.getDropLocation(); dest.clearSelected();var dropParent = dest.getDropParent(); for (var i = items.length - 1; i = 0; i--){var newNode = dropParent.addTreeNodeAt(dropLoc,items[i]);dest.selection = newNode;}} -Ashish From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of pilby1Sent: Thursday, May 05, 2005 4:04 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Tree Drag and Drop help I've been wracking my brains on this for a while now, and it hasn't been a smooth ride. Instead of chanting my experiences in this forum, it all boils down to my pleading for help from any of you.Can anyone please provide me a code sample or a URL of such pertaining to drag-n-drop with a Tree which can demonstrate a successful drag of one node onto another, and having the dragged node appear as a child of the node where it was dropped?In a nutshell, I've gotten as far as getting the node references of the dragged and dropped nodes within my dragDrop event, including the index of the node that was dropped on. I can even display these two nodes using "alert", and their internal toString() methods would correctly display all the node contents (in XML). However, when I use the addTreeNodeAt() method on a node that's a parent (i.e. a folder), nothing happens! And when the node is a leaf (i.e., not a parent of any child nodes), that node somehow "climbs" up one step higher in the tree hierarchy, and the dragged node does not appear anywhere!I would be very grateful to anyone who could provide me some help and guidance on this please. :( Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Formatting Fields in Datatips
You can customize the text in DataTips using the 'dataTipFunction' callback function. When you specify a 'dataTipFunction'callback function, you can access the data of the DataTip before Flex renders it and customizes the text. The argument to the callback function is the event object that contains the 'hitData' property, of type mx.charts.HitData. The 'item' property of 'hitData' contains a copy of the dataProvider object for the data point. For example, say your chart dataProvider contains a field Amount that you wantapply currency formatter, then you needdefine a dataTipFunction in the chart tag and then format the data in the function handler. Sample Code: ?xml version="1.0"?mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" mx:Script var expenses = [{Expense: "Taxes", Amount: 2000}, {Expense: "Gas", Amount: 100}, {Expense: "Food", Amount: 200} ]; function showdt(eventObject:Object) { var cf = new mx.formatters.CurrencyFormatter() return cf.format(eventObject.hitData.item.Amount) } /mx:Script mx:BarChart dataProvider="{expenses}" showDataTips="true" dataTipFunction="showdt" mx:verticalAxis mx:CategoryAxis dataProvider="{expenses}" categoryField="Expense" name="Expense"/ /mx:verticalAxis mx:horizontalAxis mx:LinearAxis name="Amount"/ /mx:horizontalAxis mx:series mx:Array mx:BarSeries xField="Amount" yField="Expense" name="MY EXPENSES" / /mx:Array /mx:series /mx:BarChart/mx:Application -Ashish From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of DaveSent: Tuesday, May 03, 2005 7:22 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Formatting Fields in Datatips I need to format data (currency, number, etc.) that shows up in the data tips of each chart column. Thanks,-Dave Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Re: Making a visible property really invisible
You can set width to 100% in first panel and height and width to 0 in the second one. This will enable the first panel to cover the whole HBox. When you click on the checkbox, in AS set visible to true for second panel and width and height to 100%. Now since both panels has width 100%, they'll share the equal width in HBox. I've tried to create a small mock up of what you are trying to achive. Let me know if that doesn't work for you. ?xml version="1.0"?mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" backgroundColor="white" mx:Script![CDATA[function makeVisible(){p2.visible= true;p2.height="100%";p2.width="100%";}]]/mx:Script mx:HBox borderThickness="2" borderStyle="solid" width="500"mx:Panel id="p1" title="panel 1" width="100%"mx:Button /mx:Button /mx:CheckBox id="c1" click="makeVisible()"//mx:Panelmx:Panel id="p2" title="panel 2" visible="false" height="0" width="0" mx:TextInput /mx:TextInput //mx:Panel/mx:HBox /mx:Application Thanks -Ashish From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of digital_eyezedSent: Monday, May 02, 2005 11:07 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Re: Making a visible property really invisible That doesn't seem to work, it looks even more messy now, any more ideas?--- In flexcoders@yahoogroups.com, "Tracy Spratt" [EMAIL PROTECTED] wrote: Set height = 0; Then to restore the view, set height= undefined; I have not done this myself, any you might have to do something like call invalidateLayout to get it to work right. Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of digital_eyezed Sent: Monday, May 02, 2005 1:04 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Making a visible property really invisible How can I make a container completely invisible? i.e. if I have two panels, both in an HBox and when I check a box in panel 1 it enables the visibility of panel 2, but panel two was completely invisible before I checked the box, including the space it was invisibly taking up. I want to be able to enable the panel and the panels should re-arrange themselves with the available space instead of them both having space allocated before the visibility is changed. I have a number of items and methods attached to panel 2, so I think createChild wouldn't work. Yahoo! Groups Links Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] drag drop
You can get the dragging source byusing -event.dragSource.dataForFormat("source"). Thanks -Ashish From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Sent: Friday, April 22, 2005 9:03 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] drag drop Is there any way to get the id of the component which is the source from which you're dragging items from? I'm trying to do 2 things on a page. I have a list of indices and a blank list...the user first can drag indices over to the blank list and then once they've dragged them over, they can then drag and drop within the list to order them accordingly...so I have the initial drag drop done without a hitch...but I can figure out the intra-list drag dropping for ordering purposes...I thought one way would be in the the doDragOver function, I would simply check the id of the source and against the id of the destination and if they're equal make it a move action, otherwise it's a copy action...I can get the id of the destination without a hitch but I can't figure out how to retrieve the id of the source the item is being dragged from. Possible? Should I just add an up and down arrow next to the list and make them select the items and call the setChildIndex method on the item in the list instead of doing the whole drag drop thing? Robert L. Brueckmann Senior Web Developer Merlin Securities, LLC 595 Madison Avenue New York, NY 10022 p: 212.822.4821f: 212.822.4820 This message contains information fromMerlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission. Merlin Securities, LLC is a registered broker-dealer. Services offered throughMerlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed byMerlin Securities, LLCand may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security. Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Datagrid rowcount
For variable row height DataGrid, rowCount is not supported. Since the rowheight is not constant in a VRH DG, its not possible to show fix number of rows in a fixed height datagrid. Make sense? To show 2 rows in a VRH DG, you can set DataGrid height such that it only shows 2 rows ;) It will work really well if your row height (row content) is fixed. -Ashish -Original Message- From: Tom Fitzpatrick [mailto:[EMAIL PROTECTED] Sent: Friday, April 01, 2005 1:50 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Datagrid rowcount Setting a datagrid's variableRowHeight property to true (and enabling wordwrap in one of the columns) seems to make it impossible to reset the rowCount, which stays at the default of 6 rows even though I define the rowCount property as 2 (or try to have it match the length of the dataProvider). Is there any solution to this - if it's not just something I'm doing wrong? - Tom Yahoo! Groups Links Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/