View Full Version : background / foreground scaling and positioning
how is this achieved?
http://www.blind.com/base.php
the background image stretches to fit the browser (i'm guessing because of the width and height set to 100% in the <object> tag?). but how is the foreground flash not stretching and always staying centered vertically and horizaontally?
http://www.flashgroup.net/forum/showthread.php?t=2112&highlight=firefox
should sort you out
some stuff there for tiling the bg in flash as well if you need to (firefox don't like transparent flash movies) http://www.flashgroup.net/forum/showthread.php?t=2818
actually, i'm using firefox 1.0 and i have no problems with transparency... the only browser i've found that does is opera.
at any rate, i think i found some code to do what i'm looking for:
Stage.scaleMode -- allows contents to not scale when window is resized
Stage.onResize() -- if it is resized, do something here (like resize a background image)
would i be right in assuming this?
i'm using firefox 1.0 and i have no problems with transparencyfirefox has problems with click and dragging buttons (scrollbars etc)at any rate, i think i found some code to do what i'm looking for:did u look at the link?????
it does exactly what ou wanted and theres an example file there??
clicking and dragging buttons? what are you talking about?
and yes i looked at those links, that's where i got the code to which i was referring earlier.
clicking and dragging buttons? what are you talking about?
SCROLLBARS, or anything else u click on and want to drag. i.e. a button, that you click on, and then drag somewhere on the screen, this causes a problem with transparent movies in firefox
(see this thread :) http://www.actionscript.org/forums/showthread.php3?t=56343&page=2&pp=15&highlight=edge)
|
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.