Hello this is my first post so Hello All.
I am trying to use the Moock Flash Detection script and I am having a problem. It works perfectly if I use the script to redirect the user to pages but if I want to embed my flash movie in the same page it does not work.
I have copied and pasted my flash object into the designated space, that didnt work. All I can think of is that the object code has to be broken up like Moock sets out, it this right?
Moocks object code uses + and ' ' tags that Flash does not write:
- Code: Select all
var oeTags = '<OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'
+ 'WIDTH="550" HEIGHT="400"'
+ 'CODEBASE="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab">'
+ '<PARAM NAME="MOVIE" VALUE="movie.swf">'
+ '<PARAM NAME="PLAY" VALUE="true">'
+ '<PARAM NAME="LOOP" VALUE="false">'
+ '<PARAM NAME="QUALITY" VALUE="high">'
+ '<PARAM NAME="MENU" VALUE="false">'
+ '<EMBED SRC="movie.swf"'
+ 'WIDTH="550" HEIGHT="400"'
+ 'PLAY="true"'
+ 'LOOP="false"'
+ 'QUALITY="high"'
+ 'MENU="false"'
+ 'TYPE="application/x-shockwave-flash"'
+ 'PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">'
+ '<\/EMBED>'
+ '<\/OBJECT>';