Flash Problem

by 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.

danW

Shopify Advisor

02:57AM, Sep 13, 2007

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?

[notextile]
code here.......
[/notextile]

replace [] these with angle brackets <>.

Artur

Member

06:22AM, 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.

Artur

Member

06:30AM, Sep 13, 2007

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 <div id=flashcontent"></div> with swfobject.js

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.

Artur

Member

06:31AM, Sep 13, 2007

1. is notextile of course with < > for [].

lorem ipsum

Member

09:29PM, Sep 13, 2007

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
Mike

lorem ipsum

Member

01:08PM, Sep 17, 2007

...oh and don’t forget you’ll have to add the path to your assets folder when referencing the swf, like this I think:

[in the object/embed]

src="{{ 'ipods.swf' | asset_url }}" 

or


<script type="text/javascript">
        // <![CDATA[
        var so = new SWFObject("{{ 'ipods.swf' | asset_url }}", "", "250", "100", "8");;
        so.write("flashcontent");
        // ]]>
        </script>

Carlitos09

Member

03:21PM, Jun 30, 2008

Thanks for this post your solution works well.

You must login to post a comment!

Don't have an account yet? Sign up for one.