July 13, 2002
DHTML Flash Object Resize

There is one thing where HTML is superior to Flash - and especially with the new combobox component this becomes obvious: HTML dropdown boxes can cover the rest of the content while they are open - flash boxes can't.

This problem nagged me a bit, because for my localConnection experiment I just wanted to have a single combo box in a tiny flash file. The annoying thing is that I have to make the flash file big enough so it can display the list in full length when it is open, which is 4 times the height of the closed version. So most of the time you have the closed box and a big empty area underneath. This is not ideal. So I'm currently fiddling around with DHTML, Javascript and the Stage object to have a Flash file that can resize itself inside the page.

As you can (or can't) see this seems to work at least in my Internet Explorer. The problem is that now the localConnection fails sometimes and the flash file does not refresh. Still i think this is an interesting area to explore further.

Posted at July 13, 2002 08:51 PM | Further reading

IE 5.2.1 // OSX 10.1.5 // seems to crash IE. Thought I'd let you know

Posted by: Chad Spicer on July 14, 2002 06:35 PM


Posted by: juyufrt on February 10, 2003 05:53 PM

I'm having the same problem with a "dynamic" menu... using HTML w/ Tables and Cells... the "menu" can grow dynamically to whatever size it needs to be.. with flash, I have to determine what the largest possible size is and "reserve" that space, otherwise it gets cut off.

Also, with LocalConnection, I noticed that it fails about 50% of the time... which is really annoying. Wish I knew how to fix it, or put in place some kind of "check" function.

Keep me posted on what you find. Interested to see what you come up with.


Posted by: DeathAdder on February 20, 2004 08:39 PM

I want a comment box, can anyone help me get this?!!??

Posted by: Billy Bob Joseph on March 26, 2005 07:05 PM
Post a comment

Email Address:



Remember info?

Thank you!

Most Visited Entries
Sketches, Works & Source Code
In Love with
Powered by
Movable Type 2.661

© Copyright Mario Klingemann

Syndicate this site:
RSS 1.0 - RSS 2.0

Quasimondo @ flickr
Quasimondo @ LinkedIn
Quasimondo @ Twitter
Quasimondo @ Facebook
Quasimondo @ MySpace
Quasimondo is a Bright
Citizen of the TRansnational Republic
My other blog in german

My family name is written Klingemann,
not Klingelmann, Klingeman, Klingaman, Kingemann,
Kindermann, Killingaman, Klingman, Klingmann, Klingonman
Klingemman, Cleangerman, Klingerman or Kleangerman

profile for Quasimondo at Stack Overflow, Q&A for professional and enthusiast programmers