|
366ae4fbba407097e0fbfba6984014d3
|
Flash Problemby Artur - Member - 01:17AM, Sep 13, 2007 |
|
Hello, I’m trying to place everything from my old shopping cart into shopify. Everything is working fine the only problem I got is with flash. Now before you tell me to search the community forum, I did, tried everything that is posted. All other flash files work but mine. My flash file has clickable content within the flash, and other stuff. This is what I have in my old pages; <script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','800','height','280','src','ipods','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','ipods' ); //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=9,0,28,0" width="800" height="280">
<param name="movie" value="ipods.swf" />
<param name="quality" value="high" />
<embed src="ipods.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="800" height="280"></embed>
</object></noscript>
I’m not a pro at working with flash and javascript, so maybe I’m missing something using the help i already found within this community. Could someone help me out and tell me what I should be using or at least what the code would look like. I just can’t figure it out. :( Thank you in advance. |
|
|
are you trying to place this inside a page or product description or in a liquid template file? If its the former that you are trying to do, have you tried wraping the code with a notextile tag?
replace [] these with angle brackets <>. — Last edited 02:58AM, Sep 13, 2007 |
|
|
Hello Dan, Thanks for helping. Yes, I’ve tried almost everything that I’ve read on this forum and I’m stuck a little to making this work. I think it has to do something with the javascript not really sure. Not a pro at javascript stuff :) I did test it though with putting iFrame into the liquid template and than letting iframe load the html with just the flash in it. That works great, now the only problem is, that within my flash, when you click on an item there it should direct it to the “collection” but doing so, it opens a new browser window or setting ”_self” on the link opens just within the iFrame. Which can’t be. :( Any other suggestions? Thanks again.
|
|
|
Hi, Stupid me. lol on the iFrame… ”_parent” seemed to help. I would still like to stay away from using iFrame for this if anyone else knows a fix to this. I’ve tried the following; 1. 2. the 3. I’ve tried placig embed option without anything else but the link to the movie. Nothing worked out of those. Seems that with embed flash loads but thats it no content of the movie. BTW: it my first time as a designer using Shopify and damn, why haven’t I tried using it earlier for clients, it amazing. I Love it! :) Thanks to everyone for the help in this, really.
|
|
|
1. is notextile of course with < > for [].
|
|
|
Artur The code you posted first calls a function AC_FL_RunContent
This is a javascript dating from about Flash 8 onwards (if memory serves) and was introduced by Adobemedia to fix some problems with newer version of IE. In the head of your original page you should find a reference to an externally linked javascript (in a directory called ‘Scripts’ I think). That’s where the AC_FL_RunContent function resides. Make sure you have the same javascript link tag in the head of index liquid, and upload the external js file to your assets folder. Either that or use swfobject (that would be my choice) to replace an ID on your page with the flash movie if the flash player is present. To implement swfobject, take a look here and then put your Shopify hat on to include the necessary elements in your .liquid files hth
|
|
|
...oh and don’t forget you’ll have to add the path to your assets folder when referencing the swf, like this I think:
or
— Last edited 01:09PM, Sep 17, 2007 |
|
|
Thanks for this post your solution works well.
|
danW
Shopify Advisor
02:57AM, Sep 13, 2007