I've got some secondary assets (photos, plans, etc.) that are loaded each time a new pano scene is loaded.
A regular Wait(Load) works 95+% of the time but every once in a while, the new pano loads before the secondary assets are loaded and creates and bugs out (the window doesn't resize per the asset). Is there a way to halt xml execution until a particular layer is loaded?
Basic code flow is:
New pano scene is clicked
layers containing secondary assets are faded out
Wait (load)
URLs for the secondary assets are stored as custom scene attributes.
Replace layer URLS with those from new scene
>>>Can I wait here until new URLS are retrieved and we have new image heights and widths <<<
Resize overlay window based on layer[xxx].imagewidth and layer[xxx].imageheight
Fade new assets in.