View Full Version : stage re-size
texbala
12-30-2002, 06:06 PM
hi..
how can we change the stage size pixels dynamically. I have seen ads when it is mouse over - the stage size increases.. when the mouse is out, the movie disappears and the stage size is reduced..
does anyone have a sample or tutorials. I think it is done by stage.onResize??
thnx!!
R-type
12-30-2002, 09:20 PM
For as far as I know this is impossible. The onResize you mention is about the browser in which your movie plays being resized.
Most likely what you saw is simply a flash movie with the background set to transparent by using the WMODE attribute of a flash movie in HTML.
Also this is enough for you to make the same: make your movie the size of the largest size. And let the size change within the movie. And ofcourse use WMODE.
P.s. if anyone thinks he knows a way to REALLY change the stage size i'd love to hear :) because for as far as I know it is impossible/unnecessary in Flash and Director as well.
texbala
12-31-2002, 08:04 PM
thnx for ur reply... it shld have worked this way only.
how can we insert HTML text underneath, using layers?? can we use tables??
what is DHTML?
i can see an example here..
http://www.macromedia.com/support/flash/ts/documents/wmode.htm
thnx!
happy && new && year
prisma
01-01-2003, 11:03 AM
http://www.dalord.yi.org/prisma/acs/members.html
Scroll up and down and look how the text 'fades out' on the ceiling border. This is accomplished overlaying a fixed swf.
I had some problems with this effect cause the Internet Explorer doesnt support 'position: fixed' from css (unlike Netscape), but with some help and a little trick I solved it.
(You don't actually scroll the body, but a DIV element containing the content of the page. The body doesn't scroll, so the swf doesn't scroll either.)
If you try to understand it you will have to look at the .css used, too. It's located here:
http://www.dalord.yi.org/prisma/acs/c1.css
Happy New Year to y'all!
vBulletin v3.5, Copyright ©2000-2010, Jelsoft Enterprises Ltd.