Hi Jimmy,
the php test is wrong:
swfobject.embedSWF("http://www.jmusicphoto.com/fullscreenTEST.swf
","content","100%","100%","9.0.0",allowfullscreen="true");
see the following:
swfobject.embedSWF(swfUrlStr, replaceElemIdStr, widthStr, heightStr,
swfVersionStr, xiSwfUrlStr, flashvarsObj, parObj, attObj, callbackFn)
flashvars, params & attribs are all objects
how to correct your example:
the order of you args passed to embedSWF are wrong your missing
expressInstall (xiSwfUrlStr) make this false if not using expressInstall
your skipping flashvars also use {} if you don't need this
swfobject.embedSWF("http://www.jmusicphoto.com/fullscreenTEST.swf","content","100%","100%","9.0.0",
false, {}, {allowfullscreen: "true"});
check (has articles too)
http://learnswfobject.com/generator/
- S
On 8 April 2010 14:37, jimmymusic <[email protected]> wrote:
> I have uploaded a test .swf with a fullscreen button that works here:
>
> http://www.jmusicphoto.com/fullscreenTEST.html (the html file
> published by flash)
>
> but doesn't work here: http://www.jmusicphoto.com/fullscreenTEST.php
> (the same swf file is displayed but I'm using SWFObject to embed it)
>
> I might be missing some code in the php file which would allow
> fullscreen mode. Any help would be great!
>
> --
> 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]<swfobject%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/swfobject?hl=en.
>
>
--
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.