PDA

View Full Version : Is it possible have different layers in each pano?


BionicDroid
03-09-2009, 06:19 PM
Hy! I have two panos with one xml each. each xml file have different parameters and it's run well, but i have a small problem when i use different layers in each xml like this.
------------------------------
pano1 --> xml1

The xml1 have
layer_3 = flash/blue.swf
------------------------------
pano2 --> xml2

The xml2 have
layer_3 = flash/red.swf
------------------------------
When pano2 is loaded the layer3(red.swf) is loaded too but layer_3(blue.swf) from pano1 is not unloaded. My question is: Is it possible to unload previous loaded layers and have different layers in each pano?

LepLep
03-11-2009, 11:20 AM
note that all the time you have pano.swf loaded in memory, you just load new panorama and xml but you cant override loaded layers (in flash it would give you trace output - layer busy). what you can do is just load new layer on empty layer_N slot