Is it possible to do with v2?
I know it was possible with 1.7/1.8, but how easy (if possible at all) is it to pop in this gallery inside an existing page... and how?
X3 Photo Gallery Support Forums
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','100%','height','460','title','myimagevue','src','../soda/imagevue/imagevue2','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','flashvars','globalpath=../soda/','movie','../soda/imagevue/imagevue2' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="100%" height="460" title="myimagevue">
<param name="movie" value="../soda/imagevue/imagevue2.swf" />
<param name="quality" value="high" />
<param name="flashvars" value="globalpath=../soda/" />
<embed src="../soda/imagevue/imagevue2.swf" width="100%" height="460" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" flashvars="globalpath=../soda/"></embed></object>
This was just an example. If I made the example with SWFObject, I would have to explain how to use that specific javascript, which is a category in itself. If you are using SWFObject from before, then I would expect you to already know how to embed a SWF file into a HTML file.Crazy Serb wrote:why switch to dreamweaver embed code from swfobject.js and such?
what if I'm not using dreamweaver and don't have that default .js dreamweaver creates, and would like to edit this in notepad (for dummies)?
<script type="text/javascript" src="[PATH_TO_swfobject.js]"></script>
<div id="imagevue">
This is where the gallery is placed
</div>
<script type="text/javascript">
//<![CDATA[
var flashVars = {
globalpath: '[GLOBALPATH_HERE]'
};
swfobject.embedSWF([PATH_TO_IMAGEVUE2.SWF], "imagevue", [WIDTH], [HEIGHT], "8.0.0", "[PATH_TO EXPRESSINSTALL.SWF]", flashVars, {allowScriptAccess: 'always', allowFullScreen: true, bgcolor: '[BGCOLOR]'}, {id: 'imagevue', name: 'imagevue'});
// ]]>
</script>