I realize that the answer to this problem may not reside here, but this is a good place to start.
This is a great app, but right now it seems to be geared towards those folks who need a .swf file to put into an HTML page. If possible, I'd like to see more emphasis placed on better Flash integration. Here's the problem:
The example .fla file for the Virtual Tour is coded with ActionScript that loads the panoramas, radar, and map at the root level. This causes no end of problems when you want to call the .swf file into a larger Flash movie. Once the main pano .swf you've created is loaded into your larger movie, it never goes away.
My ActionScript knowledge is less than stellar and I'm wondering if it's possible to provide another example of how we can incorporate our Virtual Tours into larger Flash movies without the _root command?
I'm going to try and post the code at some Flash forums and see what kind of response I get. In the meantime, who created the Virtual Tour sample .fla file for this site? Can they do another that alters the code to just use standard loadMovie script? Thanks much.
Broader Utilization in Flash: Can we get some new Code?
I think I've found a solution.
I've simply removed the
whenever there's loading to be done.
I then took that code and dumped it into a movieClip that resides in my main project library. A button loads the clip to level 10 (which is where all my movieClips reside). Press another menu button and that clip is replaced. If I hadn't removed the root, it gets difficult to remove.
So far it works great. Now I just have to figure out how to incorporate mask via ActionScript, then load the pano .swf file into that mask movieClip![/code]
I've simply removed the
Code: Select all
_root.
I then took that code and dumped it into a movieClip that resides in my main project library. A button loads the clip to level 10 (which is where all my movieClips reside). Press another menu button and that clip is replaced. If I hadn't removed the root, it gets difficult to remove.
So far it works great. Now I just have to figure out how to incorporate mask via ActionScript, then load the pano .swf file into that mask movieClip![/code]