Forum Discussion
Storyline preload handling
Mark Marino said:
I ended up re-rigging things so that a "Loading, please wait..." text box is shown in Storyline rather than in my .swf and when the .swf is completely loaded, it executes the following code:
ExternalInterface.call('GetPlayer().SetVar','stateFromFlash',"flash_loaded");
Then, within Storyline, I have a trigger watching for changes to variable 'stateFromFlash' and when it gets set to "flash_loaded", I hide the loading text box.
Not the most elegant solution, but it seems to be working fine.
Many, many thanks, it works just great !
I was desperate to find a solution because the preloader I added to my swf just wouldn't work when imported in Storyline.
This is so simple and yet efficient !
- SushilSuryawans11 years agoCommunity Member
Hi Pierre Jouan and Mark Marino!
I felt really good reading your discussion on solving the preloading problem. In fact, I am facing the similar problem with my SL output deployment.
Actually we and our clients are habitual to use Adobe Captivate output that shows a download progress bar before starting the eLearning module. Once the module is 100% downloaded, it starts and runs smoothly after that.
With Storyline what is happening is, the module starts off quickly but that's not fully downloaded. So at some point of time, where the assets are not yet downlaoded, the viewer gets stuck! ..and doen't understand why the module stopped in between, and you might know what happens next!
Thanks to your discussion, I could sense that SOMETHING can be done for this!
Can you please explain how exactly to do what Mark suggested and Pierre liked:
"Re-rigging things so that a "Loading, please wait..." text box is shown in Storyline rather than in my .swf and when the .swf is completely loaded, it executes the following code:
ExternalInterface.call('GetPlayer().SetVar','stateFromFlash',"flash_loaded");
Then, within Storyline, I have a trigger watching for changes to variable 'stateFromFlash' and when it gets set to "flash_loaded", I hide the loading text box."
You might have understood that I am a new animal on this planet who needs all the details about what all things need to be clicked to do this! :P
It will be a great help! Thanks in advance!
Related Content
- 8 months ago
- 7 months ago
- 8 months ago
- 4 months ago