Roger. Ok, I understand what you are actually after now (it was a bit unclear from your initial post). The code for embedding the swf at 100% in the HTML is well, 100% correct.
What you are talking about is setting a scalemode in Flash. You want to look at these relevant methods (these are AS2, there are similar ones for AS3 (slight difference in name etc)): Stage.scaleMode - determines how content is scaled (you would most likely be wanting a value of "noScale") Stage.align - determines your x/y registration point (you would most likely be wanting a value of "TL" (top left)) Stage.onResize - code to run when browser window is resized (to reposition / layout your content) You can optionally pass the scaleMode (as "scale") and align (as "salign") in your params object using SWFObject. You need to write the stage resizing exclusively in Flash. Regards, Aran -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of //rGr Sent: Monday, 19 January 2009 2:35 AM To: SWFObject Subject: Re: Full Page Flash, Not Fluid Width/Height No, the example that you provided has a dynamic width and height. When you resize the browser it resizes the text. In the 1.5 example that I provided (http:// blog.deconcept.com/swfobject/fullpage.html) the Stage in the swf is only the 300x300 dotted line box in the center and if you resize the browser it does not resize this box. Everything else on the page is in the flash file but off of the stage. Thanks for your attempt. roger On Jan 18, 2:25 am, "Aran Rhee" <[email protected]> wrote: > Are you meaning like in FAQ #1? > > http://code.google.com/p/swfobject/wiki/faq > > Dynamic pub:http://www.bobbyvandersluis.com/swfobject/testsuite_2_1/test_dynamic_... > wserflash.html > > Static pub:http://www.bobbyvandersluis.com/swfobject/testsuite_2_1/test_fullbrow... > h.html > > Aran > > -----Original Message----- > From: [email protected] [mailto:[email protected]] On > > Behalf Of //rGr > Sent: Sunday, 18 January 2009 4:58 PM > To: SWFObject > Subject: Full Page Flash, Not Fluid Width/Height > > I found this example for 'Full Page' Flash for swfObject 1.5, but have > not been able to achieve it using 2.0. In searching I've only found > solutions for variable width pages where the swf width/height is set > to 100% of the browser window. > > Here's the example that I found. I'm sure you all remember it. Any > help is greatly appreciated. > > http://blog.deconcept.com/swfobject/fullpage.html > > Thanks > //rgr --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SWFObject" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/swfobject?hl=en -~----------~----~----~----~------~----~------~--~---
