--------------------------------------------------------------------------------
------------
var hasRightVersion = DetectFlashVer(requiredMajorVersion,
requiredMinorVersion, requiredRevision);
if(hasRightVersion) { // if we've detected an acceptable version
// embed the flash movie
AC_FL_RunContent(
'codebase',
'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0
,24,0',
'width', '957',
'height', '772',
'src', 'site2',
'quality', 'high',
'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
'align', 'middle',
'play', 'true',
'loop', 'true',
'scale', 'showall',
'wmode', 'transparent',
'devicefont', 'false',
'id', 'Paper Jet Wednesday',
'bgcolor', '#333333',
'name', 'Paper Jet Wednesday',
'menu', 'true',
'allowScriptAccess','sameDomain',
'allowFullScreen','false',
'movie', 'site2',
'salign', 't'
); //end AC code
--------------------------------------------------------------------------------
------------
All the alignment settings are set to middle or center, so I don't really
understand why it still aligns left. You can check out it out at
http://www.paperjetwednesday.com/demo/pjw/site2.html
Any help would be greatly appreciated! Thanks so much.
Leigh
<div align="center" width="100%">
//AC Code
</div>
L
How would I go about doing this? Once again, changing the width and height in
the javascript doesn't work - it doesn't seem to recognise "%" as a valid
parameter.
* confused *
http://code.google.com/p/swfobject/
What you will want to do is set the width and height both to 100% for the div
as well as the swf object.
Then, in the swf, you can code the lightbox to fill the screen.
One more thing!!!! When you change the swf embed over to % width and height,
you will need to set the "align" parameter to "C." This will tell the SWF to
align completely centered. If you want it center on the top, then use "T" You
can do this in the swf as well as in the embed. To do it in the swf
with Actionscript 2: Stage.align = "C";
Actionscript 3 automatically centers.