[flexcoders] Resize effect when I expand a Panel
I can't find any way to apply a resize effect when I expand a Panel inside a DividedBox. I tried using transition and applying a resize effect directly to Panel resizeEffect, but without any effective result. In some cases the behaviour is weird and I presume the cause could be that the effect doesn't work well when using percentage dimension. Here is my test code: http://www.faser.net/public/tmp/flextest/testtrans.html Anyway, do you think it's better to use transition or I can continue to try to use the Panel resizeEffect event?
[flexcoders] Resize Effect Plays Twice?
Here is a really simple example that is bringing up some buggy behavior. This little app will let the user flip between a few different trays. There is a resizeEffect on the ViewStack that holds the trays and a show and hide effect slides them. The resizeEffect is making the move effects play twice for some reason. If you disable it the tray move effects play just fine. Has anyone found a workaround for this? ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute backgroundGradientAlphas=[1.0, 1.0] backgroundGradientColors=[#ADA4A4, #ADA4A4] mx:Move id=moveIn duration=1000 xTo=0 xFrom=-150/ mx:Move id=moveOut duration=1000 xTo=-150 xFrom=0/ mx:Resize id=resize duration=500 / mx:HBox x=75 y=45 width=100% horizontalGap=0 mx:Canvas id=topCanvas width=200 height=229 backgroundColor=#47818A /mx:Canvas mx:ViewStack id=stack height=229 resizeEffect=resize resizeToContent=true mx:Canvas showEffect=moveIn hideEffect=moveOut label=Canvas0 backgroundColor=#41E20F width=0 /mx:Canvas mx:Canvas showEffect=moveIn hideEffect=moveOut label=Canvas1 backgroundColor=#41E20F width=50 mx:Label x=10 y=186 text=1 fontSize=22/ /mx:Canvas mx:Canvas showEffect=moveIn hideEffect=moveOut label=Canvas2 backgroundColor=#CE0E0E width=150 mx:Label text=2 fontSize=22 right=10 bottom=10 color=#FF/ /mx:Canvas /mx:ViewStack mx:Canvas id=topCanvas0 width=66 height=229 backgroundColor=#FF3E3E/ /mx:HBox mx:RadioButtonGroup id=radiogroup1/ mx:RadioButton x=10 y=10 label=Off groupName=radiogroup1 click={stack.selectedIndex = 0}/ mx:RadioButton x=10 y=36 label=1 groupName=radiogroup1 click={stack.selectedIndex = 1}/ mx:RadioButton x=10 y=62 label=2 groupName=radiogroup1 click={stack.selectedIndex = 2}/ /mx:Application
[flexcoders] Resize Effect for Auto
I'm trying to create a container that has a label and an arrow that you can click on to show the contents of the container (by default the contents are hidden). However, I would like to add the pretty Resize effect to make it appear but if there is no height defined the container should expand as necessary to display the contents. Is there any way to go from 0 height to whatever the auto-height is? I could probably figure out a way to determine the height in pixels it wants to end up at, but even if I figure that out if I add content into it after I have done that it will no longer expand to fit will it?
Re: [flexcoders] Resize Effect for Auto
On Thursday 17 May 2007, Matt wrote: container should expand as necessary to display the contents. Is there any way to go from 0 height to whatever the auto-height is? heightTo={ parent.height } or something similar. -- Tom Chiverton Helping to quickly enable fifth-generation mindshares on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Resize Effect for Percentages?
You can use the AnimateProperty effect on the percentWidth/percentHeight property. On 4/22/07, Matt [EMAIL PROTECTED] wrote: Is there any way to use the Resize effect to either resize from 0 to a percentage or from a percentage to 0? -- Flexcoders Mailing 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] Resize Effect for Percentages?
Is there any way to use the Resize effect to either resize from 0 to a percentage or from a percentage to 0?
[flexcoders] Resize Effect Limits in an app - are there any??
Hi, I have a bunch of panels that I am resizing where they are set to decreases to a minimum height, 40 pixels. I have one panel that increases in size to a maximum height of 400 - at the same time the decreasing happens, all of these sit inside a vbox. I have a total of 10 panels, often in a while my panel doesn't increase in size that i want to though the property comes back as being full height or 400 pixels. Which makes me wonder if there's a limit to the number of resize effects you can have in flex? Thanks and Cheers, Patrick
[flexcoders] resize effect with AS
Hi there, I'm trying to add an event listener when the effect ends. Something like this in mxml: mx:Resize id=expand target={img} widthTo=100 heightTo=200 duration=1 effectEnd=endEffectHandler();/ but in AS, I have this function so far: private function resize(w:Number, h:Number):void { var resize:Resize = new Resize(); resize.end(); resize.target = this; resize.widthFrom = width; resize.widthTo = w; resize.heightFrom = height; resize.heightTo = h; resize.play(); } AS doest not seem to support effectEnd. is there any method to manage that from AS? thanks, Diego. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Resize effect puzzle
Hi, Tryto use rollOver androllOut instead mouseOver, mouseOut. Gustavo Sanabio Brazil 2006/5/27, rama satoskar [EMAIL PROTECTED]: Hi everyone,I am using a image structure as an item renderer in a tilelist whichis populated from a data array. The application runs an resizes the image when on the 'mouseOver' and 'mouseOut' triggers.the imageresizes from a 50 width to 85.However i observed that after moving the mouse over the image five tosix times...it does not resize the imageand stays static at 85 width.The code of the item renderer is given below.?xml version=1.0 encoding=utf-8?!-- The itemRenderer that formats the contents of each cell in the TileList control. When the mouse pointer goes over a cell, this component changesits state to showdesc. When the mouse pointer goes out of the cell the component returnsto the base state. -- mx:VBox xmlns:mx=http://www.adobe.com/2006/mxml width=400height=300 horizontalAlign=center verticalAlign=top mouseOver=currentState='showdesc' mouseOut=if(!event.relatedObject)currentState='' !-- In the base state, display the image and the label. --mx:Image id=img1 source={data.image} width=50height=50 resizeEffect=Resize /mx:Label text={data.name}/mx:states mx:State name=showdesc !-- In the showdesc state, add the price, make the image bigger, and put the description in the parent application's TextArea. -- mx:AddChild mx:Text text={data.price}/ /mx:AddChild mx:SetProperty target={img1} name=width value=85/ mx:SetProperty target={img1} name=height value=85/ mx:SetProperty target={ parentApplication.t1} name=text value={data.description}/ /mx:State/mx:states/mx:VBoxis it becoz of some default property of the resize effect?? i am confused.Kindly help. Yahoo! Groups Sponsor ~--Home is just a click away. Make Yahoo! your home page now. http://us.click.yahoo.com/DHchtC/3FxNAA/yQLSAA/nhFolB/TM~---Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/* To unsubscribe from this group, send an email to: [EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Resize Effect jumps. not smooth
Hi all, Sometimes, when I resize an object that has a resizeEffect, the following happens. - the object resizes to the new size automatically - it then goes back to the old size - then it resizes with the effect it does not look so pretty... -- : Aldo Bucchi : mobile (56) 8 429 8300 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] Resize Effect jumps. not smooth
On 11/9/05, Aldo Bucchi [EMAIL PROTECTED] wrote: Sometimes, when I resize an object that has a resizeEffect, the following happens. - the object resizes to the new size automatically - it then goes back to the old size - then it resizes with the effect it does not look so pretty... Flex 2 or Flex 1.5? Do you have a standalone example? 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] Resize Effect jumps. not smooth
Hi Manish, OT: I was going to post an example but I hit SEND instead of SAVE NOW... Gmail has this goddamn usability issue .. or is it just me? I have sent so many unfinished mails by accident!! They should really put the two buttons far appart, or you should be able activate a confirm dialog for the Send operation. mmmh, I will file a feature request... Tip of the Day: To avoid embarrassing situations, don't write the email address till the end BTW, I got the effect working OK ;) Best, Aldo On 11/9/05, Manish Jethani [EMAIL PROTECTED] wrote: On 11/9/05, Aldo Bucchi [EMAIL PROTECTED] wrote: Sometimes, when I resize an object that has a resizeEffect, the following happens. - the object resizes to the new size automatically - it then goes back to the old size - then it resizes with the effect it does not look so pretty... Flex 2 or Flex 1.5? Do you have a standalone example? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- : Aldo Bucchi : mobile (56) 8 429 8300 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] Resize Effect and undefined Heights
On 5/10/05, pk_wasp [EMAIL PROTECTED] wrote: var e = new mx.effects.Resize( vbxDetails ); e.heightFrom = 0; e.heightTo = undefined; e.duration=750; Try this: vbxDetails.height = undefined; // set this to undefined first e.heightTo = vbxDetails.preferredHeight; vbxDetails.height = 0; // set back to 0 before effect start I expect this to work because the component recalculates its preferred height if it is set to undefined and then you can set the effect's heightTo to the preferred height. 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] Resize Effect and undefined Heights
Hi Wonder if any1 knows how to do this (tried using the search, but couldn't find anything) I Have a VBox container that is initally 0, and has x no of child containers/controls that could be added dynamically. When I click a button I want to play a resize effect to expand it to show the whole container but when I try the undefined trick...it doesn't work: var e = new mx.effects.Resize( vbxDetails ); e.heightFrom = 0; e.heightTo = undefined; e.duration=750; Any1 able to help? vbxDetails.height = undefined (this works i think, but I want to play a nice Flex effect :) ) thanks. 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] Resize Effect and undefined Heights
Could you just assign a resizeEffect on the VBox instead of writing it in AS? mx:Effect mx:Resize name=vbxResize duration=750 / /mx:Effect mx:VBox resizeEffect=vbxResize / Something like that. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of pk_wasp Sent: Monday, May 09, 2005 7:43 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Resize Effect and undefined Heights Hi Wonder if any1 knows how to do this (tried using the search, but couldn't find anything) I Have a VBox container that is initally 0, and has x no of child containers/controls that could be added dynamically. When I click a button I want to play a resize effect to expand it to show the whole container but when I try the undefined trick...it doesn't work: var e = new mx.effects.Resize( vbxDetails ); e.heightFrom = 0; e.heightTo = undefined; e.duration=750; Any1 able to help? vbxDetails.height = undefined (this works i think, but I want to play a nice Flex effect :) ) thanks. 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.