Wendy Richardson schrieb:
> I am trying to use the MovieClipLoader and onProgress in a way similar
> to this example:
> http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00002546.html
>
>
> I use the onProgress to send info to function that visualizes the
> preload status.  Works great when I test in flash (using
> control-enter, and running as a download simulation).  However, when
> uploading the swf files (loader and loaded) to a server, the
> onProgress function does not seem to get hit.  Movie may take 10s to
> load, but I cannot get responses from the functions onProgress,
> onInit, etc,  (via tracing to a text field).
>
> Has anyone come across this or have a workaround?  I see similar
> problems as I research this, but I'm not coming up with an answer. 
Sorry, just a quick answer, as I'm already on the go:

It's surely a matter of a missing "crossdomain.xml" file on the site
where the file(s) to load reside. Look for "crossdomain.xml" at
macromedia.com or elsewhere, try
http://www.coolsnacks.de/crossdomain.xml as a valid for all example file.

Furthermore I recommend using remote debugging - if you debug the thing
while running on the target website, and it really IS the
crossdomain-matter, then you will see a sandbox violation error message!
If this message does not appear, then it's another thing and you can
ignore the crossdomain file.

If you have never dealt with a crossdomain.xml, then the documents on
the web can get very confusing, that's why I proposed the ready-made
crossdomain.xml above. It allows every (that's what the asterisk stands
for) foreign website's flash movie to load all the swf's from the site
where the xml resides.


Good luck,
Roman.

-- 
-------------------------------------------------------------------
 gosub communications gmbh | fredersdorfer str. 10  | 10243 berlin
t [030] 29 36 39 1 - 43 | f [030] 29 66 88 84 | http://www.gosub.de
-------------------------------------------------------------------

_______________________________________________
[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