hi  JohnT,

The path to loaded .swf files changes when accessing from an HTML page on the net - it is different than the IDE/authoring environment.

For example, with all .swf's in the same folder, the path is direct, the main.swf loads peers from the same folder.

When main.swf is embedded in a web page, main.swf loads from the web page's _files folder (adjust file explorer in windoze to show 'hidden' folders)... HTML pages with .swf content store assets in an accompanying 'webPageName_files' folder.

So, main.swf must call to the web page's accompanying folder to find the to be loaded .swf files, since main.swf is now outside of the storage folder - the path from the HTML embedded main.swf would be: webPageName_files/to_be_loaded.swf

The key is that even though all the .swf files are in the same folder on the server, the main.swf is actually outside of that folder in the HTML page when it is trying to call the content to load.

Also, an earlier comment in this thread mentioned case ( capital vs small letters ) on many servers... it's true.

hth,
Dave_Matthews
http://www.2GoTo.com
-----------------------------original-----------
Message: 10
Date: Mon, 11 Jun 2007 19:38:06 +1000
From: John Trentini <[EMAIL PROTECTED]>
Subject: [Flashcoders] Swf not loading at run time

Hi guys,

I am going insane, please give me a hint,

I have a swf embedded in a html doc (the intro). this when completed
loads another swf (the main interface). I have an empty mc into which I
load another swf (showcase) which dynamically displays a variety of
image presentation.

When testing the Movie from the authoring environment, everything works
like a charm but when I publish and view the html in the browser the
showcase.swf does not seem to be loading; I have the same issue  also
when I open the swf file from the player

The html and all swf files reside in the same folder at the same level.
I have double checked and tried everything I know and I am getting quite
desperate now as I don't know what else to do.

Is there any simple reason/issue with the implementation? What else can
I try to resolve this?

thanks
JohnT
------------------------------end-------------------------

_________________________________________________________________
Get a preview of Live Earth, the hottest event this summer - only on MSN http://liveearth.msn.com?source=msntaglineliveearthhm

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to