neworx
Dabei seit: 04.10.2004
Ort: Berlin (West)
Alter: 37
Geschlecht:
|
Verfasst So 30.01.2005 03:06
Titel
|
|
|
hi,
sobald man den film auf w:100% und h:100% macht skaliert sich deren inhalt ja auch
mit und das ist ja nicht die lösung des problemes.
link zum thema: LINK
beispiel zum stage objekt:
Code: | //Make Rectangle
movieclip.prototype.newRect = function(x,y,nwidth,nheight,line,linecolr,linealph a,fillcolr, fillalpha) {
with(this){
moveTo(x,y);
lineStyle(line,linecolr,linealpha);
beginFill(fillcolr,fillalpha);
lineTo(x+nwidth,y);
lineTo(x+nwidth,y+nheight);
lineTo(x,y+nheight);
lineTo(x,y);
endFill();
}
}
//recktecke erzeugen
createEmptyMovieClip("test",1);
newRect(10,10,530,380,1,"0x000000",100,"0xff6600",100 );
test.newRect(0,0,20,20,1,"0x000000",100,"0xff6600",100);
test._x=stage.width-30;
test._y=stage.height-30;
//stage objekt
stage.align="TL";
mL = new Object();
mL.onResize = function() {
test._x=stage.width-30;
test._y=stage.height-30;
}
Stage.addListener(mL); |
cuuuuuuuuuuuu[/code]
|
|