Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Easy for you, hard for me.

edited June 2007 in Vanilla 1.0 Help
I've been searching forums for a week or so trying to figure out why my flash carousel won't work in IE or FF. I finally came across SWFobject.js. I wasn't sure it was for me becasue I have dreamweaver CS3 and supposedly it formats all scripts to work in a multitude of browsers. However, it wasn't working for me. I took out the default code that DW adds and tried SWFobject and I'm closer now than I was before. At least I can see the blue background where my flash is supposed to be. Will you guys take a look at my source and see if there are any formatting errors. I'm not sure if I'm doing this right. I've saved SWFobject.js in a scripts folder and my flash files and all dependent files are in the root folder. Thanks for all your help!


  • Options
    I had a problem with swf and it was caused by single quotes vs. double quote. Whatever you have now, try the opposite.
  • Options
    Around what? Every attribute in the AS? I was reading some other posts. Am I supposed to have some thing after the "var so" because right now mine looks like this. <script type="text/javascript" src='/scripts/swfobject.js'></script> <div id="flashcontent"> <object width="840" height="440"> <param name="movie" value="outdoor.swf"> <param name="quality" value="high"> <embed src="outdoor.swf" width="840" height="440" quality="high" pluginspage="" type="application/x-shockwave-flash" movie="outdoor.swf" wmode="transparent"></embed> </object> </div> <script type="text/javascript"> var so = new SWFObject("outdoor.swf", "mymovie", "840", "440", "8", "#336699"); so.write("flashcontent"); so.addParam("wmode", "transparent"); </script>
  • Options
    I think the problem is that the XML file is not being found.

    Posted: Wednesday, 27 June 2007 at 9:14AM

  • Options
    Thanks for the response, but that didn't work. I changed it to the complete url and still no luck. If I can get one of you to check out the source code, I think maybe it's too jumbled with the other scripts on the page. Any suggestion on how to embed them without so much code. I created them in Firefox and exported to dreamweaver.
  • Options
    edited June 2007
    I am still getting... - Error: Not Found
    Error: src="file:///C|/work/krudkutter/mm_menu.js" (seems to be pointing to a local file?)

    As for "created them in Firefox" that means nothing, what did you create in Firefox?

    If you send me the XML file, I'll create the embed code for you.

    Posted: Wednesday, 27 June 2007 at 11:52AM

  • Options
    OK, thanks. I switched the "src='///C|/work....'" to "src='mm_menu.js'" I created the two nav_bars in firefox (mm_menu.js). Here is the xml text: Sorry for all the code, I didn't see any way to trap the code. <?xml version="1.0" encoding="utf-8"?> <icons> <icon image="HW01.png" ref="HW01_ref2.png" tooltip="MultiPurpose House Wash" content="America's ..." url="" msds="" tech=""/> <icon image="CE01.png" ref="CE01_ref2.png" tooltip="Concrete Clean and Etch" content="Cleans..." url="" msds="" tech=""/> <icon image="DC01.png" ref="DC01_ref2.png" tooltip="Driveway Cleaner" content="Contains..." url="" msds="" tech=""/> <icon image="GC32.png" ref="GC32_ref2.png" tooltip="Gutter Cleaner" content="Removes ..." url="" msds="" tech=""/> <icon image="WW32H.png" ref="WW32H_ref2.png" tooltip="Window Wash" content="Cleans..." url="" msds="" tech=""/> <icon image="ES01.png" ref="ES01_ref2.png" tooltip="Exterior Siding Cleaner" content="Removes..." url="" msds="" tech=""/> <icon image="RW01.png" ref="RW01_ref2.png" tooltip="Roof Cleaner" content="Cleans ..." url="" msds="" tech=""/> <icon image="PWC01.png" ref="PWC01_ref2.png" tooltip="Pressure Washer Concentrate" content="No ..." url="" msds="" tech=""/> <icon image="SDG01.png" ref="SDG01_ref2.png" tooltip="Concrete and Driveway Cleaner" content="Contains..." url="" msds="" tech=""/> <icon image="SDF01.png" ref="SDF01_ref2.png" tooltip="Deck and Fence Cleaner" content="Contains ..." url="" msds="" tech=""/> </icons>
  • Options
    Sorry, I'm an idiot. I wasn't putting all of the files on the server by click the blue arrow. I was just saving them to the local folder. I works now. Just a few wrinkles to iron out. Thanks for all of you help!!
  • Options
    Happy you got it working.

    To "trap" code, put it inside these <code> tags </code>

    Nice flash display by the way!

    Posted: Thursday, 28 June 2007 at 7:14AM

This discussion has been closed.