Jump to content

embedding a flash file from hosting site


hansolo

Recommended Posts

Hello im using the code below this paragraph to embed an swf file. Thi works fine on my desktop.I have successfully uploaded the files to an ftp host .orgfree.com.I save the files as index.htmland the flash file is called flash.swf. height is 800 pixels and width i 600 pixels I dont know were the files are uploaded to the web . i am out of The instructions mentions this the server path directly below Some scripts require server path. Yours is /home/vhosts/flashgamestest.orgfree.com.Should i be uploading the files to wordpress what vital parts am i missing .________________________________________________________________________________below is saved as index.html______________________________________________________________________________<!DOCTYPE html><html><body> <h1>i work fine on personal computer(lost on the ftp part )</h1><embed src="folder/flash.swf" width="800" height="600" wmode="transparent" /></body></html>

Link to comment
Share on other sites

You need to upload the SWF file to match what you're telling the browser in the code. In that code you're telling the browser that the SWF file is in a folder called "folder" which is in the same folder as the file with that code on it. If that's not the case then it's not going to find the SWF.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...