header
ask question
Click here to ask Question Now Its free No registration required. Flash, Flex, Flash Media Server, ActionScript,Adobe Air. Most questions receive a response in an hour.
Ramakrishna
Points:0
Posts:0

9/27/2010 12:18:37 AM

Title: canvas(minimize, maximize)


Hi to All,

I have a component. In that component having four inner components. In Each and Every component have minimize and maximize option. How to do it?

Please help me. its very urgent.

with Regards,
Ramakrishna



1
action2n3
Points: 200
Posts:0
9/27/2010 4:07:54 AM



You will have to store their initial x , y and width height, then increase width and height. Try to use in build effects to make it more attractive else it will happen with jerk and will not look good.

Thanks

2
Denley
Points: 0
Posts:0
9/27/2010 9:31:48 AM



place two buttons (minimize and maximize) on top right of each component. Now on click of minimize button set the height to something like 20 px and move to the bottom by setting the x and y of the component. Before moving store the initial x,y positions. On maximize set the height and x,y to original values saved earlier.


Post your Reply
Name  

Email

Type your Reply or Answer

Are you human? What is 8+1 



Members Login

Email  
Password
Forgot Password





This website focus on: Flash | Flex | FMS | RED5 | WOWZA | Flash Media Server | Adobe AIR | ActionScript,Flash Solutions | Flash Question | Flash Answers | Flash Developers | Flash Problem, Flash Help, Flash bugs, Flash workaround | Flash Blog | Flex Question Answers | Flash Forum | Flex Development | Actionscript development | Flash development | Adobe AIR development
Copyright © 2008 AskMeFlash.com. All rights reserved. Privacy Policy | Terms & Conditions