Music doesn't play when .swf is embedded in page (but plays when the .swf file is open in browser)

5 replies
  • WEB DESIGN
  • |
Let me show you an example so you can see for yourself.

Go to this link (the main page I want the .swf to function with music)

Here: Visum Designz

Everything works flawlessley except for the .mp3

Now if you go to this link you will notice its the same except the .mp3 plays.

Here: http://visumdesignz.com/3/our%20portfolio.swf

Any solutions and ideas would be GREATLY APPRECIATED!

Thanks,

Mike
#browser #embedded #file #music #open #page #play #plays #swf
  • Profile picture of the author CSS Architect
    Did you turn on auto start?
    I'm not 100% sure if this would work, since I don't work with flash, but it won't hurt to try.

    Add this to your code:
    Code:
    <PARAM VALUE="true" name="autostart">
    It should look something like this:
    <object id="FlashID" width="900" height="700" classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" style="visibility: inherit;">
    <PARAM VALUE="true" name="autostart">
    <param value="3/our work flip.swf" name="movie">
    <param value="high" name="quality">
    <param value="opaque" name="wmode">
    <param value="8.0.35.0" name="swfversion">
    <param value="Scripts/expressInstall.swf" name="expressinstall">
    <object width="900" height="700" data="3/our work flip.swf" type="application/x-shockwave-flash">
    </object>

    If this doesn't work then check out this link:
    http://library.creativecow.net/artic...ash-videos.php
    {{ DiscussionBoard.errors[4901334].message }}
  • Profile picture of the author nikeman070
    Ok I figured out the issue, and it's an issue I had prior, The key is to put the .swf and .mp3 at root level. I don't know why I guess somewhere in the javascript or somewhere in the code in general it doesn't give the correct path to my folder, I would prefer to keep the files organized but oh well if I spot the path to the mp3 I will change it.

    Thanks,

    Mike
    {{ DiscussionBoard.errors[4903464].message }}
  • Profile picture of the author brucaSEO
    How you make the flash file ?? Adobe flash or something other ???
    I want to work in flash but which software will be better ?
    {{ DiscussionBoard.errors[4903546].message }}
    • Profile picture of the author CSS Architect
      I think you're able to change the javascript path wouldn't you?
      I don't know, I don't work with flash and javascript not my strong point.
      Either way, glad you figured it out.

      Originally Posted by brucaSEO View Post

      How you make the flash file ?? Adobe flash or something other ???
      I want to work in flash but which software will be better ?
      I'm pretty sure it's adobe flash.
      {{ DiscussionBoard.errors[4903554].message }}

Trending Topics