http://www.intentionallies.co.jp/content_normal.html
How come when you resize the window the objects don't scale/distort? The object move along with the window's size, where as, the logo and text stand still.
Printable View
http://www.intentionallies.co.jp/content_normal.html
How come when you resize the window the objects don't scale/distort? The object move along with the window's size, where as, the logo and text stand still.
in flash :
code:
Stage.scaleMode = "noScale"
listener = new Object();
listener.onResize = MyFunctionForResize
Stage.addListener(listener);
Stage.align = "TL"
function MyFunctionForResize(){
// here u can change positions , scale of the objects in the stage etc
}
on the html part you have to put size of the swf 100% / 100% ...
Stoc could you upload a sample .FLA for us to view. PLEASE PLEASE! :DQuote:
Originally posted by stoc
in flash :
code:
Stage.scaleMode = "noScale"
listener = new Object();
listener.onResize = MyFunctionForResize
Stage.addListener(listener);
Stage.align = "TL"
function MyFunctionForResize(){
// here u can change positions , scale of the objects in the stage etc
}
on the html part you have to put size of the swf 100% / 100% ...
Here yao go!
http://www.skaggivara.com/fla/bg_scale.rar
Thanks for your feedback. You guys rock!
ummm. . .
can you upload a zip type instead of rar?
this is turning into flash challenge, lol
ive been playing with stoc's code for a little while trying to get it to work for multiple boxes and i still cant get that effect
do you think you(stoc) could make one with multiple boxes?
Nadskram, you should check out Morran2's work. There are 3 objects. One scales 100% width and 100% height, One 100% width only and the other does not scale but remains centered.
what i meant by the multiple boxes, was being able to move and rotate multiple boxes
like this:
www.dcmdesign.net/play/flash/rotation_02.html
i dont fully understand the math, but getting pieces of it
by tweaking of course
but i couldnt have done it with stoc's code
thanks stoc
http://www.skaggivara.com/fla/bg_scale.zipQuote:
Originally posted by mxgen
ummm. . .
can you upload a zip type instead of rar?
Sorry it took a while, here your go;)