# Problem loading swf from different locations

**URL:** <https://forum.kirupa.com/t/problem-loading-swf-from-different-locations/62788>\
**Category:** Uncategorized\
**Created:** [August 31, 2004, 9:55am UTC](https://forum.kirupa.com/t/problem-loading-swf-from-different-locations/62788 "2004-08-31T09:55:24Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![cave12oy](https://avatars.discourse-cdn.com/v4/letter/c/43a26b/32.png) [@cave12oy](https://forum.kirupa.com/u/cave12oy)\
**Post date:** [August 31, 2004, 9:55am UTC](https://forum.kirupa.com/t/problem-loading-swf-from-different-locations/62788/1 "2004-08-31T09:55:24Z")

</div>

hello people.

i am using a free host (hostultra) so the url to the site is [hostultra.com/~username](http://hostultra.com/~username). thats where i store some of my flash files.

most of my pages are located at [geocities.com/username](http://geocities.com/username)

the problem is if i go to [geocities.com/username](http://geocities.com/username) and open my webpage which links back to the swf on hostultra, the flash file doesn’t show up but if go to hostultra/~username, and open up a webpage that links to the same file, the file shows.

the weird thing is that if i go to the hostultra/~username first and then go to the one at [geocities.com/username](http://geocities.com/username), then it works fine everytime until i delete my temp internet files.

sorry if my wording is a little confusing :-/

-roy

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 31, 2004, 11:37am UTC](https://forum.kirupa.com/t/problem-loading-swf-from-different-locations/62788/2 "2004-08-31T11:37:55Z")

</div>

> [@cave12oy](#):
>
> the weird thing is that if i go to the hostultra/~username first and then go to the one at [Yahoo | Mail, Weather, Search, Politics, News, Finance, Sports & Videos](http://geocities.com/username), then it works fine everytime until i delete my temp internet files.
> 
> sorry if my wording is a little confusing :-/
> 
> -roy

first thing is it works on your machine fine because of the temp internet files, it will only work on your machine like this, no one elses.

second thing is that this is a little confusing, how about some code examples…that might help

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 31, 2004, 7:04pm UTC](https://forum.kirupa.com/t/problem-loading-swf-from-different-locations/62788/3 "2004-08-31T19:04:19Z")

</div>

thanks for you reply!

**hostultra**  
index.htm  
swf/main.swf

**geocities**  
index.htm

both index.htm links to the main.swf in the swf folder on hostultra with

```auto

 

 
the two index.htm pages are exactly identical in code but one works and the other doesn't.
 
if you want to me to put the actual links, then i will.. i just didnt want to because hostultra has some crazy pop-ups if you open their index.htm.. but thats what i get for using free hosts!
```

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 31, 2004, 7:06pm UTC](https://forum.kirupa.com/t/problem-loading-swf-from-different-locations/62788/4 "2004-08-31T19:06:01Z")

</div>

ahh, how do you put the code on here. i never knew how. lets me try…

\<body leftmargin=“0” topmargin=“0” marginwidth=“0” marginheight=“0”\>  
\<div align=“left”\>  
\<object classid=“clsid:D27CDB6E-AE6D-11cf-96B8-444553540000” codebase=“[http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0](http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0)” width=“800” height=“200”\>  
\<param name=“menu” value=“false”\>  
\<param name=“movie” value=“[http://hostultra.com/~cave12oy/swf/island.swf](http://hostultra.com/~cave12oy/swf/island.swf)”\>  
\<param name=“quality” value=“high”\>  
\<embed src=“[http://hostultra.com/~cave12oy/swf/island.swf" quality=“high” pluginspage="[url=“http://www.macromedia.com/go/getflashplayer”]http://www.macromedia.com/go/getflashplayer](http://hostultra.com/~cave12oy/swf/island.swf)” type=“application/x-shockwave-flash” width=“800” height=“200”\>\</embed\>\</object\>  
\</div\>\<iframe name=“music” src=“blank.htm” width=“10” height=“10” frameborder=“0” scrolling=“no”\>\</iframe\>  
\</body\>

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 31, 2004, 7:07pm UTC](https://forum.kirupa.com/t/problem-loading-swf-from-different-locations/62788/5 "2004-08-31T19:07:17Z")

</div>

one more time…

\<body leftmargin=“0” topmargin=“0” marginwidth=“0” marginheight=“0”\>  
\<div align=“left”\>  
\<object classid=“clsid:D27CDB6E-AE6D-11cf-96B8-444553540000” codebase=“[http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0](http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0)” width=“800” height=“200”\>  
\<param name=“menu” value=“false”\>  
\<param name=“movie” value=“[http://hostultra.com/~username/swf/main.swf](http://hostultra.com/~username/swf/main.swf)”\>  
\<param name=“quality” value=“high”\>  
\<embed src=“[http://hostultra.com/~username/swf/main.swf](http://hostultra.com/~username/swf/main.swf)” quality=“high” pluginspage=“[http://www.macromedia.com/go/getflashplayer](http://www.macromedia.com/go/getflashplayer)” type=“application/x-shockwave-flash” width=“800” height=“200”\>\</embed\>\</object\>  
\</div\>  
\</body\>

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 31, 2004, 7:07pm UTC](https://forum.kirupa.com/t/problem-loading-swf-from-different-locations/62788/6 "2004-08-31T19:07:56Z")

</div>

please help me on how to put up html code on here. im pathetic.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 31, 2004, 7:08pm UTC](https://forum.kirupa.com/t/problem-loading-swf-from-different-locations/62788/7 "2004-08-31T19:08:50Z")

</div>

When you reply to a post there is a button that looks like a little globe and the link of a chain. Hit that and it will guide you through.

:hr:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 31, 2004, 8:08pm UTC](https://forum.kirupa.com/t/problem-loading-swf-from-different-locations/62788/8 "2004-08-31T20:08:52Z")

</div>

i didn’t want to link a page, but show it in here… let me try one more time.

```auto
 

[left][/left]
```

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 31, 2004, 8:10pm UTC](https://forum.kirupa.com/t/problem-loading-swf-from-different-locations/62788/9 "2004-08-31T20:10:12Z")

</div>

i think i got it now… when i preview it and then post it, my code disappeared.

```auto
 
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<div align="left">
  <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="800" height="200">
		<param name="menu" value="false">
		<param name="movie" value="http://hostultra.com/~cave12oy/swf/island.swf">
		<param name="quality" value="high">
		<embed src="http://hostultra.com/~cave12oy/swf/island.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="800" height="200"></embed></object>
</div><iframe name="music" src="blank.htm" width="10" height="10" frameborder="0" scrolling="no"></iframe>
</body>

```

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 31, 2004, 8:11pm UTC](https://forum.kirupa.com/t/problem-loading-swf-from-different-locations/62788/10 "2004-08-31T20:11:03Z")

</div>

dont mind the iframe code…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 31, 2004, 8:19pm UTC](https://forum.kirupa.com/t/problem-loading-swf-from-different-locations/62788/11 "2004-08-31T20:19:51Z")

</div>

i think its because i was hotlinking the swf on hostultra…  
i just created a html page that would just load the swf. didn’t work.

but how would that explain why…

when i went to hostultra to view it from there, i closed the browser before the swf was fully loaded; i had a preloader. when i went to geocities, it continued loading from where it left off…

i am so confusing on explaining things but thats how i am.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 31, 2004, 8:56pm UTC](https://forum.kirupa.com/t/problem-loading-swf-from-different-locations/62788/12 "2004-08-31T20:56:27Z")

</div>

okay… its because i was hotlinking the swf files for sure… case closed! thanks anyways!
