Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   Other Web Development Languages (http://www.programmingforums.org/forum40.html)
-   -   Flash not loading (http://www.programmingforums.org/showthread.php?t=5871)

Obtruse_Man4 Sep 12th, 2005 9:09 AM

Flash not loading
 
I just build this site, and I'm having some trouble with it. I put blogging software on my site, and I'm currently trying to turn it into more than just a site with a blog. As you can see I've managed to add links to the top bar. I'm not a programmer in the least, but I was able to figure out that bit of php. That link is the pics gallery I'm trying to setup. It's supposed to come up with flash, but doesn't work. I got the flash script from a friend, and by itself it works fine. Just change the .php file to a .html, and it will come up with the other page (without the header). I thought I had finally gotten the header working, but apparently it has some problems. I tried using Markup Validation Service, but the errors I get from there make no sense. I tried changing bits of the code at the top, but most of it doesn't make sense. Would appreciate some help, thanks!

Polyphemus_ Sep 12th, 2005 9:24 AM

:

          <param name="movie" value="  APG.swf">

you've got there a few spaces before APG.swf. Try removing them, maybe it will help :)

good luck :)

Obtruse_Man4 Sep 12th, 2005 9:56 AM

Nope doesn't work :mad: Thought you had something there though. Thanks for the response! Any other ideas? My guess is that it's something with my code at the top, since the regular .html file works fine, but like I said I'm not a programmer.

Polyphemus_ Sep 12th, 2005 11:37 AM

:

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="750" height="525" id="apg" align="middle">
  <param name="allowScriptAccess" value="sameDomain" />
  <param name="movie" value="APG.swf" />
  <param name="quality" value="high" />
  <param name="bgcolor" value="#ffffff" />
  <embed src="APG.swf" quality="high" bgcolor="#ffffff" width="750" height="525" name="apg" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />

</object>


try this, it's an edited version of a webpage somewhere on my server..

Obtruse_Man4 Sep 12th, 2005 1:09 PM

Didn't work. I don't think it's my browser, because I refreshed it several times. Even changed mydomain to http://www.farsideofthegalaxy.com, but that didn't work either. The html works fine, with just the flash displaying. All I want is the header to be on there as well. Has to be something in the header code.

EDIT: maybe it's my connection, but your flash display code doesn't seem to work. I tried editing the html file, and now neither one of them work. I have the originals at home so I can replace them, but not even the header works now. I must have buggy code in there, because it doesn't seem to want to work.

coldDeath Sep 12th, 2005 1:29 PM

It was working for me before, but now it says, movie not loaded.

Obtruse_Man4 Sep 12th, 2005 1:35 PM

Which one was working? Originally I had the php page in there, and that's what I was experimenting with. The html file was the original flash page and it worked fine. My question is why do they not work when together?

Obtruse_Man4 Sep 12th, 2005 1:48 PM

I think I found the problem, atleast partly. It's these two lines of code:

:

<link href="style.css" rel="stylesheet" type="text/css" />

:

<base href="http://www.farsideofthegalaxy.com/skins/plain/">

Together they form the green header bar, but flash doesn't work. With only the first line of code in, only the links show up (no green graphics), but the flash works. With just the second line of code in, the flash doesn't work nor do the green graphics show. I have no clue why that is, but I think I'm getting a little farther.

Polyphemus_ Sep 12th, 2005 2:27 PM

Quote:

Originally Posted by coldDeath
It was working for me before, but now it says, movie not loaded.

it has never worked for me :confused:, but it did work when i typed the url of the swf in the addressbar..

Polyphemus_ Sep 12th, 2005 2:29 PM

Quote:

Originally Posted by Obtruse_Man4
I think I found the problem, atleast partly. It's these two lines of code:

:

<link href="style.css" rel="stylesheet" type="text/css" />

:

<base href="http://www.farsideofthegalaxy.com/skins/plain/">

Together they form the green header bar, but flash doesn't work. With only the first line of code in, only the links show up (no green graphics), but the flash works. With just the second line of code in, the flash doesn't work nor do the green graphics show. I have no clue why that is, but I think I'm getting a little farther.

that will probably your problem. use for the URL "../../photos/APG.swf" instead of "APG.swf".

Hope that helps :)


All times are GMT -5. The time now is 2:16 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC