This content has been marked as final. Show 6 replies
if they are both running at the same time on the same user's computer, you can use the localconnection class. if they running at different times on the same user's computer you can use the sharedobject class. and if they are running on different user's computer you'll need to use some scripting outside of flash and you'll need to contend with security issues.
I'm not sure what you're doing with the gotoAndStop("lessons.swf"); command - whether lessons.swf is a scene or a frame label. If its a scene, then I think you need a frame number as well. (actually I don't know - I don't use this function)
But you might want to take a look at the comments at the bottom of this page, I think - not sure if its relevant, but it seems like it could be :
Lessons.swf is a whole separate file. I just want the link to open and run that file, from the beginning.
Thanks for the tips so far, but I'm not there yet!
I'm guessing you just want to load the new swf and dump the old one. If that's the case you want to use the loadMovie() function.
You should be able to use _root.loadMovie("lessons.swf"); for this as a quick'n'dirty solution :)
Thanks mforsberg, that's exactly what I was after!
Just one thing though, the original move keeps running in the background of the one which has loaded, it doesn't seem to get 'dumped'.
Tried using unloadMovie, but that didn't seem to work. Maybe I wasn't doing it right.
use _level0.loadMovie(lessions.swf) if you want to unload the main swf.