It is usually done but setting the wmode to transparent (or simething similar cannot remember - google for it) instead of opaque (flash objects in an html page are rendered on top of everything else this way)
--- In flexcoders@yahoogroups.com, "Paul Andrews" <[EMAIL PROTECTED]> wrote: > > > ----- Original Message ----- > From: "jwebbsuccess" <[EMAIL PROTECTED]> > To: <flexcoders@yahoogroups.com> > Sent: Sunday, October 19, 2008 11:58 PM > Subject: [flexcoders] How Do I Programatically Make Flash Movie's Stage > Expand Over its Container Div? > > > > http://www.futurewebstudios.com/clientspace/OMCC/ohpws_preview/index.p > > hp > > > > In the animation on the page above, notice the toy soldier spinning > > the candy cane. The candy cane gets cut off by the bottom of the > > stage as it spins. I'd like to grow the stage height to reveal the > > whole candy cane as it spins, then shink it back to it's starting > > height once the cane stops spinning. > > > > Does anyone know how to make the flash movie expand over the HTML div > > it is contained inside without changing the div's size? I've seen > > Flash ads on websites like Yahoo.com and Huffingtonpost.com where > > mousing over the ad makes the ad expand to an arbitrary size without > > moving any of the page elements, as if the flash movie suddenly > > overlaps the rest of the page. Once you mouseout, the movie returns > > to its original size/state inside the div. > > I think the movie is always at the full size, but has a transparent > background. Then you just mask the contents and change the size of the > mask.. > > > > > > I've already got the code that fires an event when the toy solider > > starts and stops the spin. Now I need the code to resize the > > animation without without moving any HTML elements. > > > > > > > > > > ------------------------------------ > > > > -- > > Flexcoders Mailing List > > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > > Alternative FAQ location: > > https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 > > Search Archives: > > http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups > > Links > > > > > > > > >