[SWFObject] Handling of FlashVars for IE browser

Brooks Andrus brooks.andrus at gmail.com
Wed May 17 23:34:23 PDT 2006


Looks like what you really want is:

so.addVariable("zoomifyImagePath",
"http://www.mapformation.com/images/portfolio/campus/onu3D/");

Brooks

-----Original Message-----
From: swfobject-bounces at lists.deconcept.com
[mailto:swfobject-bounces at lists.deconcept.com] On Behalf Of Derek Tonn
Sent: Thursday, May 18, 2006 1:16 AM
To: swfobject at lists.deconcept.com
Subject: [SWFObject] Handling of FlashVars for IE browser

Geoff,

I'm a couple weeks late to this discussion, but I am experiencing the 
identical problem that Jonathan described a few weeks ago. And I did 
notice one VERY important common thread between us: the use of 
magnification technologies from Zoomify (www.zoomify.com).  Under the 
current/"old" zoomify embed code, things looked like this:


<OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" 
CODEBASE="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.ca
b#version=6,0,40,0" 
WIDTH="700" HEIGHT="450">
           <PARAM NAME="FlashVars" 
VALUE="zoomifyImagePath=http://www.mapformation.com/images/portfolio/campus/
onu3D/">
           <PARAM NAME="MENU" VALUE="FALSE">
           <param name=bgcolor value=#A7A690>
           <PARAM NAME="SRC" 
VALUE="http://www.mapformation.com/images/zoom/zoomifyViewer.swf">
           <param name="wmode" value="transparent" />
           <EMBED 
FlashVars="zoomifyImagePath=http://www.mapformation.com/images/portfolio/cam
pus/onu3D/" 
wmode="transparent" bgcolor=#A7A690 
SRC="http://www.mapformation.com/images/zoom/zoomifyViewer.swf" 
MENU="false" 
PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_
Version=ShockwaveFlash" 
  WIDTH="700" HEIGHT="450"></EMBED>
   </OBJECT>


Using your swfObject solution, my code looks like this:

<script type="text/javascript" 
src="../../templates/scripts/swfobject.js"></script>
<div id="flashcontent">3D Perspective Campus Map of Ohio Northern 
University, complete with magnification functionality using Zoomify 
technology.</div>
<script type="text/javascript">
    var so = new 
SWFObject("http://www.mapformation.com/images/zoom/zoomifyViewer.swf", 
"mymovie", "700", "450", "6", "#A7A690");
    so.addParam("FlashVars", 
"zoomifyImagePath=http://www.mapformation.com/images/portfolio/campus/onu3D/
");
    so.addParam("MENU", "FALSE");
    so.addParam("wmode", "transparent");
    so.write("flashcontent");
</script>


Your code is a lot cleaner!  However, no "zoomify" functionality after a 
refresh in MSIE.  This is a BIG problem for me, since my site makes 
heavy use of Zoomify technology.  Any ideas?  At minimum, I wanted to 
see if I could help Jonathan at least know he's not alone in his 
struggles....as well as about the "common thread" of Zoomify between us. 
  Essentially what Zoomify does is load one common .swf "Viewer" file, 
then variably-load hundreds or even thousands of spliced .jpgs into it 
from many different folders/directories.  Works like a charm across all 
browsers....until this recent issue with MSIE.

Any help/advice is greatly appreciated.  Thanks!

Derek

mapformation
220 South Burns Avenue
Springfield, MN 56087

Phone: 507-723-6662
Fax: 206-203-0411
datonn at mapformation.com
www.mapformation.com

-- 


On 25 Apr 2006, at 16:02, Geoff Stearns wrote:

 > so just to clarify:
 >
 > you load a flash movie that has flashvars passed in
 >
 > in IE, if you hit reload, the flashvars no longer show up inside
 > the movie?
 >
 > Can you go to my SWFObject test page and hit refresh and see if the
 > vars don't show up anymore?
 >
 > this page:
 > http://blog.deconcept.com/swfobject/swfobject.html
 > has a string of text passed in - you can see it printed out saying
 > "this is passed in via flashvars..."
 >
 > hit reload on that page and see if the string still shows up.
_______________________________________________
SWFObject mailing list
SWFObject at lists.deconcept.com
http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com




More information about the Swfobject mailing list