This content has been marked as final. Show 3 replies
You don't need absolute paths for preloadNetThing, so you can get rid of gBaseUrl. Just use relative paths. You might move your sprites out some distance from frame 1 so you have time to check and load the external cast. Don't use a repeat loop to test netdone()... it's too tight. Use a timeout or check it on exitframe. Usually I just use a frame behavior that tests netdone() on exitframe. If unfinished, _movie.go(_movie.frame - 1) to check it again. Once the cast is finished loading, then set the .filename property of the cast (myCastLib.filename = "subfolders/shared.cct"). The browser should know that it is now a local cast... if not simply try ... = "shared.cct"... but I think the former is correct. And yes, you can only set the filename of an existing cast. You can't create new casts on the fly.
Thanks, it's still giving me trouble though. I've isolated the problem to preloadNetThing, I'm going to start a new thread in case someone else has seen the same error code.
look up using a dswmedia folder. You have to copy your project into a
dswmedia folder before shocking then copy everything up.
"Applied CD" <firstname.lastname@example.org> wrote in message
> Thanks, it's still giving me trouble though. I've isolated the problem to
> preloadNetThing, I'm going to start a new thread in case someone else has
> seen the same error code.