dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: How to do collapsible text box?

  1. #1
    Senior Member bluemagica's Avatar
    Join Date
    Jun 2008
    Posts
    766

    How to do collapsible text box?

    Well its for my messaging system! In my inbox i have rows containing subject and sender names.....and these are sent from a array! But then i want it so that when i click on a subject, the message box, containing the message body, open up beneath it, and push down the other subject rows, and on second click, the message box should collapse, and everything back to their previous state! How do i do this? in fl8 i could use the accordion component, but it is not available in cs3, besides i dont want to use a component, so any other solution?

  2. #2
    Mod cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,448
    You can use a mask over your message box, which extends by a tween when you want to show the box. Then you have all the other textboxes beneath in a movieclip and they tween too.
    You can try Flex, where the Accordion is available.
    - The right of the People to create Flash movies shall not be infringed. -
    | www.Flashscript.biz | Flashscript Biz Classes/Components |

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center