Thank you Muzak for you help - that's some tight code. I'm getting close. I get "Unexpected file format." when I try to open your fs640x480.fla in flash pro 8. Also, in my version of Flash, I can only use... Stage["fullScreenSourceRect"] = rect; Stage["displayState"] = "fullScreen";
carlos On Mon, Nov 24, 2008 at 5:26 AM, Cor <[EMAIL PROTECTED]> wrote: > Hi Muzak, > > Very nice! > Do you have this in AS30 as well??? > > Kind regards > Cor > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Muzak > Sent: maandag 24 november 2008 3:08 > To: Flash Coders List > Subject: Re: [Flashcoders] full screen rectangle issue > > The following works for me: > > > import mx.utils.Delegate; > import flash.geom.Rectangle; > > function fsClickHandler(o:Object):Void { > trace("Application ::: fsClickHandler"); > var rect:Rectangle = new Rectangle(0, 0, 640, 480); > Stage.fullScreenSourceRect = rect; > Stage.displayState = "fullScreen"; > } > > fullscreen_btn.addEventListener("click", Delegate.create(this, > fsClickHandler)); > > http://muzakdeezign.com/downloads/as2_fullscreen/fs640x480.html > http://muzakdeezign.com/downloads/as2_fullscreen/fs640x480.zip > > > ----- Original Message ----- > From: "carlos varner" <[EMAIL PROTECTED]> > To: "Flash Coders List" <flashcoders@chattyfig.figleaf.com> > Sent: Sunday, November 23, 2008 10:34 PM > Subject: Re: [Flashcoders] full screen rectangle issue > > > > Could someone take a quick look at http://venturawave.com/test.html > and > > see if you can catch why the rectangle isn't working. I commented the > > actionscript into the html. > > > > > > > > > > On Sun, Nov 23, 2008 at 9:44 AM, carlos varner <[EMAIL PROTECTED]> > wrote: > > > >> Hello... I've got flash player 9 working but no luck getting only > >> the rectangle to go fullscreen. Also unsuccessfully tried it with > version > >> 10. carlos > >> > >> > >> On Sun, Nov 23, 2008 at 9:08 AM, Hans Wichman < > >> [EMAIL PROTECTED]> wrote: > >> > >>> are you testing in the player version 9? > >>> > >>> On Sun, Nov 23, 2008 at 5:42 PM, carlos varner <[EMAIL PROTECTED]> > >>> wrote: > >>> > >>> > I keep getting full screen based on the entire stage but not my > 640x480 > >>> > rectangle. I gotta be missing something? I'm using actionscript 2 > with > >>> > flash > >>> > 8 and the example at > >>> > > >>> > http://www.adobe.com/devnet/flashplayer/articles/full_screen_mode_03.html > >>> > thanks.... carlos > >>> > > >>> > import flash.geom.Rectangle; > >>> > goFullscreen_mc.onPress=function(){ > >>> > > >>> > var screenRectangle:Rectangle = new Rectangle(); > >>> > > >>> > screenRectangle.x = 0; > >>> > > >>> > screenRectangle.y = 0; > >>> > > >>> > screenRectangle.width=640; > >>> > > >>> > screenRectangle.height=480; > >>> > > >>> > Stage["fullScreenSourceRect"] = screenRectangle; > >>> > > >>> > Stage["displayState"] = "fullScreen"; > >>> > > >>> > } > >>> > _______________________________________________ > >>> > Flashcoders mailing list > >>> > Flashcoders@chattyfig.figleaf.com > >>> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > >>> > > >>> _______________________________________________ > >>> Flashcoders mailing list > >>> Flashcoders@chattyfig.figleaf.com > >>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > >>> > >> > >> > > _______________________________________________ > > Flashcoders mailing list > > Flashcoders@chattyfig.figleaf.com > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > _______________________________________________ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > No virus found in this incoming message. > Checked by AVG - http://www.avg.com > Version: 8.0.175 / Virus Database: 270.9.9/1809 - Release Date: 24-11-2008 > 9:03 > > _______________________________________________ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders