Unstoppable Domains

Uploading Flash to my website?!

Spaceship Spaceship
Watch

Ilyasny

New Member
Impact
0
Hi Guys,

I am new to this forum, but I have a pressing question about my website.

I have been trying to upload a Flash file to my website. The file consists of a three images, and a video, which rotate consistently.

I added the images and video that I want, and am able to open the file correctly on XML editor. However, when I try to upload the SWF file to my website, the blank casing for the images shows up not the actual images.

Here is what is currently being posted.

Website :: EmptyCase.jpg picture by ilyasny - Photobucket

Here is what I need to be posted.

Website :: FullCase.jpg picture by ilyasny - Photobucket

I really appreciate any help I can get.

Thanks :)
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
Does the swf display the images when you open it locally on your computer?
 
0
•••
Dumb Question.

Have you checked the case?

If you test on Windows and upload to Linux you may have these types of results.

I also assume you have auto on the upload so that the binary transfer is fine...
 
0
•••
@Erdinc - It only opens when I use XML editor.

@Defaultuser - Yeah the case is fine. I'm uploading on Windows. Yeah I have auto on the upload. I really don't know what is going on.

Still having trouble, I have no idea why it's not uploading.
 
0
•••
On your local machine when you double click on the swf does it start loading the images?
Or if you have included the swf to a html page, when you open the html page on your local machine, do the images start loading?

The swf file uses the xml to read image paths. But the swf file does not assume its own location as the base location. It will assume the html or php file where it is inserted as the base location. Therefore if the html or php file location changes in relation to the xml file, then it won't work.

For instance, inside the fla file it will probably say something like this:
XML File Path: images.xml

This means look for an xml file inside the same directory where this html or php page is located. It does not refer to the location of the swf file.

Let's say you have an index.html file on the main directory and you have a folder called "slide_images" in the main directory as well. Inside that folder you have an xml file and jpg images.

In this case you need to set the path like this:
XML File Path: slide_images/images.xml

The swf file can be anywhere you like. It doesn't matter as long as the html file has the correct path to it. It looks like on your case, the html has the correct path to the swf but it doesn't have the correct path to the xml.

You will need to set the path from the page to xml inside the fla file. If this is already pre-set and you can not change it (maybe you don't have a .fla file?) then move the xml where it should be (probably to the same directory as the page) and inside the xml update the paths to the images.

Here is a summary. Both of these will work.

Scenario 1:
1. File path to XML is: images.xml (the xml file and the page are on the same directory)
2. Inside the XML file it shows the correct paths from the XML to the images. For instance, for instance if the images are inside the slide_images folder, then in the xml file it will say: <img src="slide_images/01.jpg" />

Scenario 2:
1. File path to XML is: slide_images/images.xml (the xml file is inside the slide_images folder together with the images)
2. Inside the XML file it shows the correct paths from the XML to the images. In this case it will say:
<img src="01.jpg" />
 
Last edited:
0
•••
@Erdinc - Thank you so much for the very descriptive reply. I tried what you suggested, but I'm not great with programming. Maybe I did it wrong. Would it be possible for you to remotely access my computer and take a look at the file?

I've been struggling with this file for a while now. It would be really great if you could help me solve this problem.

All the best,

Ilyasny
 
0
•••
This kind of access is not needed and is unrelated to your website. I suggest that you open an account at a freelance website and post a job for this. For a job like this you would pay between $20 to $40. The idea is that it is a good thing to experiment with freelance websites. In the future if you need something else (probably you will) you would know where to go.

I suggest Elance.com and Guru.com. I have used both and both are very good. I find elance a little easier to use.

When you find somebody to help you, you can give them ftp access to a specific folder inside your hosting account, or you can email them the files in a zip folder.

Good luck
 
0
•••
Thank so much!

That's exactly What i'll do.
 
0
•••
HI, such a nice and help full article. i m new in this field. thx for share.
 
0
•••
Dynadot — .com Registration $8.99Dynadot — .com Registration $8.99

We're social

Unstoppable Domains
Domain Recover
NameMaxi - Your Domain Has Buyers
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back