I want a pano to open fullscreen as soon as it's loaded, so I created a test controller and added an image setting its action to:
- Source Mouse click
Action Toggle Full Screen
Then I added a 2nd image and set its action to:
- Source Loaded
Action Trigger Click
Target Image 1
As I'm sure you see by the above it didn't work (or I wouldn't be asking here, duh!). Then I tried setting Image 2 to Init and every other possible setting. No change.
I also tried adding a 3rd image and setting it to:
- Source Loaded
Action Trigger Click
Target Image 3
Source Mouse click
Action Toggle Full Screen
That doesn't work but it does give me an error message about Fullscreen not being allowed. That error message isn't repeatable, it's random.
- SecurityError: Error #2152: Full screen mode is not allowed.
at flash.display::Stage/set displayState()
at SkinActionClass/toggleFullscreen()
at SkinObjectClass/doClick()
at SkinActionClass/triggerClick()
at SkinObjectClass/doEnterFrame()
at SkinClass/doEnterFrame()
To test that I'm
really passing the mouse click I changed fullscreen to rotate and it does rotate. That implies that fullscreen can't be done initially like I'm doing it or I'm doing it wrong (I suspect the latter although based on the error message I may have found a bug).