Thread
:
Have mask adjust width on resize
View Single Post
#
5
(
permalink
)
02-11-2009, 02:29 AM
Razvan
Flashtory Staff
Join Date: Feb 2009
Posts: 241
Try this instead:
in main.as
go to line 101 and add this ->
Stage.addListener(this);
go to line 107 and add this ->
public function onResize(){
actualMaskWidth =mask._width = Stage.width - 20;
}
Now it will work just fine !
All the best !
Razvan
View Public Profile
Visit Razvan's homepage!
Find all posts by Razvan