Forum Moderators: open

Message Too Old, No Replies

Height in proportion to amount of text

         

mattbaker

2:56 pm on Apr 15, 2005 (gmt 0)



Hey,

This problem has been bugging me for years and I'm on a mission to try and figure it out.

We do a lot of flash pieces such as having a button "Get More Info" and when clicked displays a list point by point. This really irks me because I cannot find a way to eliminate the extra white space shown for the entire flash piece. So before you click the button, you see the button and then 500px of white space (where the points will be listed).

Is there anyway to make the .swf height variable to the amount of text that is being shown in the flash piece at any given time?

whoisgregg

3:04 pm on Apr 15, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



It *should* be possible to have Flash and on page javascript communicate and change the flash movie code (or CSS) to . Support for this across different browsers will be ::cough:: interesting, so you'd want the default size to be "big enough to fit everything."

I have no experience doing this, but I do know that Flash sizing is a pain. I tried to sort it out once [webmasterworld.com] and gave up.