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
Comments

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

rtiu

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.

-DeathAdder

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
Name:


Email Address:


URL:


Comments:


Remember info?



Most Visited Entries
Experiments
Popular on Aviary