It just wont work (Flash + html)

I am incredibly frustrated right now. I’m having trouble displaying my flash on my site. I’ve done many times, but now this once it wont work.

My site currently consists of two flash elements: A top banner, and a side menu. The top one is called “AFROTOPHEADER.swf” and the side one is called “AFROSIDEBAR2”

I have uploaded both movies into the same directory, they are right next to eachother. on the home.html page, I used the following code to implement them:


<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
 codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
 WIDTH="800" HEIGHT="150" id="AFROTOPHEADER" ALIGN="">
 <PARAM NAME=movie VALUE="AFROTOPHEADER.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=wmode VALUE=transparent> <PARAM NAME=bgcolor VALUE=#0099FF> <EMBED src="http://afro-ninjacom.readyhosting.com/Page_Home/AFROTOPHEADER.swf" quality=high wmode=transparent bgcolor=#0099FF  WIDTH="800" HEIGHT="150" NAME="AFROTOPHEADER" ALIGN=""
 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>
</OBJECT>

<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
 codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
 WIDTH="200" HEIGHT="450" id="AFROSIDEBAR2" ALIGN="">
 <PARAM NAME=movie VALUE="AFROSIDEBAR2.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=wmode VALUE=transparent> <PARAM NAME=bgcolor VALUE=#0066FF> <EMBED src="http://afro-ninjacom.readyhosting.com/Page_Home/AFROSIDEBAR2.swf" quality=high wmode=transparent bgcolor=#0066FF  WIDTH="200" HEIGHT="450" NAME="AFROSIDEBAR2" ALIGN=""
 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>
</OBJECT>

The top banner shows up fine. The side bar does not. So then I checked the swf files themselves.

when I simply viewed “http://afro-ninjacom.readyhosting.com/Page_Home/AFROTOPHEADER.swf

the swf file showed up fine. When viewing the other one I got nothing. So I uploaded some test swf files to see what results I got. Some of them showed up, some did not.

Does anyone have any idea what is causing this??

Hi
If you load
http://afro-ninjacom.readyhosting.com/Page_Home/AFROSIDEBAR2.swf

Then right click you see the flash menu. That tells me that the swf is loaded but it is some how blank or faulty???/ not sure

It doesn’t make sense!!! what causes a flash file to be faulty?

Ok this is way off the front now… I’ll try a bump

Try changing the PARAM name for one of them, they’re both using the PARAM name “movie.”

Ah, I have made a new discovery. first off I reinstalled flash

I made a brand new movie, to the same dimensions of the menu that wouldn’t upload. I simply wrote “test” on it and uploaded it. It showed fine.

I took the same movie and pasted my menu in it from the original file. I renamed it and uploaded it. It did not work.

I went back to it. I removed all the buttons. renamed it again and uploaded it. It worked fine.

Why do the buttons cause this?
here is the AS that I put on each button:

[AS]
on (rollOver){

_root.display = "Home/ Updates";

}

on (rollOut){

_root.display = "Click a Button";

}
on (release) {
getURL (“http://www.angelfire.com/games3/Icons/AfroNinja/Updatestest.html”);
}
[/AS]

the variable “display” is a text box that changes according to what button you’re on. It goes back to “click a button” on rollout. And accordingly, each button retrieves its own URL

I know that’s the secure/pro way to do it but I prefer this for when I’m just uploading flash to an html page:

<embed src="filename.swf" height="-" width="-" quality="best" name="filename" menu="false"></embed>

  • If you need to put it in a table to center it, go right ahead.

Well I’ve discovered the problem isn’t the HTML. whenever I just try to view the swf standing alone, nothing appears…

here is the address of the top swf:
www.afro-ninja.com/Page_Home/AFROTOPHEADER.swf

and the side bar that doesn’t work:
www.afro-ninja.com/Page_Home/AFROSIDEBAR2.swf

like I said, both display fine on my computer.