Dave,

I have the same issue with html page not loading my swf runtime objects. All
my flash objects are stored in the same directory which is one level below
my html directory. When my html page gets loaded, it seems to look for the
runtime library file in the same directory as the html page and since it is
not able to find it, it does not load any runtime objects. If I move the
runtime library file to the html directory, everything works fine. However,
from a file organization standpoint, I would like to have all my swf files
in a different directory. Is there anyway I can do this?

Thanks in advance

Regards,
Kannan
http://www.solution-space.net

Message: 6
Date: Mon, 11 Jun 2007 08:57:31 -0500
From: "dave matthews" <[EMAIL PROTECTED]>
Subject: [Flashcoders] RE: Swf not loading at run time
To: flashcoders@chattyfig.figleaf.com
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; format=flowed

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


_______________________________________________
Flashcoders@chattyfig.figleaf.com
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