I dug up some old code that was never used, maybe it might help or make
sense:

var scalingRect:Rectangle=new Rectangle(0,0,768,432);
stage["fullScreenSourceRect"]=scalingRect;
if (stage.displayState==StageDisplayState.NORMAL) {
     stage.displayState=StageDisplayState.FULL_SCREEN;
} else {
     stage.displayState=StageDisplayState.NORMAL;
}


Notice the rectangle which should be the size of your swf now...don't know
if this is all the code you'll need but obviously it's very different that
just plain fscommand("fullscreen", "true");

-Pete



On Fri, Mar 5, 2010 at 12:15 PM, Peter Kapelyan <[email protected]> wrote:

> There is an option to turn off scaling and such, try to play around. I
> don't see why frame rate would increase if the SWF stays the same
> resolution, in fact it *should* be faster since there is nothing else on
> screen.
>
> -Pete
>
>
> On Fri, Mar 5, 2010 at 12:09 PM, Stefan <[email protected]>wrote:
>
>> Hello Pete, Hello all,
>> just tried in fullscreen (with standalone player and embedded in
>> website). Also chews up frames.
>>
>> Well, worth a try =)
>> Thanks for your help!
>>
>>
>> On 5 Mrz., 17:27, Stefan <[email protected]> wrote:
>> > Thanks Pete! I will give fullscreen a try =)
>> >
>> > On 5 Mrz., 16:38, Peter Kapelyan <[email protected]> wrote:
>> >
>> > > No, the more "stage" the flash player has to render, the slower it
>> would be.
>> > > You can try the reverse, make the SWF in the HTML smaller, and see it
>> go
>> > > faster. This has to do with redraw regions also.
>> >
>> > > As an alternative, try using the fullscreen function, that would
>> maintain
>> > > your resolution, but scale your monitor down, and it should run just
>> as
>> > > fast.
>> >
>> > > -Pete
>> >
>> > > On Fri, Mar 5, 2010 at 10:24 AM, Stefan <[email protected]>
>> wrote:
>> > > > Hello all,
>> > > > created a scene with the size of 500x375 pixels. Then embedded it
>> into
>> > > > a html page and set the width an hight properties 1000x750.
>> >
>> > > > Actually I thought that this would not affect the framerate (as it's
>> > > > only scaling the already rendered objects, right?) - but it does.
>> > > > Frames per second dropped from average 35 frames to 15 frames.
>> >
>> > > > What am I doing wrong? Could somebody please explain? Is there a way
>> > > > to scale the movie without loosing frames?
>> >
>> > > > Thanks in advance,
>> > > > Stefan
>> >
>> > > --
>> > > ___________________
>> >
>> > > Actionscript 3.0 Flash 3D Graphics Engine
>> >
>> > > HTTP://AWAY3D.COM
>>
>
>
>
> --
> ___________________
>
> Actionscript 3.0 Flash 3D Graphics Engine
>
> HTTP://AWAY3D.COM
>



-- 
___________________

Actionscript 3.0 Flash 3D Graphics Engine

HTTP://AWAY3D.COM

Reply via email to