Forum Discussion
Example files: Generating a certificate from Storyline
Hi, Mike -
Certificates can mean many things to many folks (looks, styles, fields). I'd imagine this is why the feature wasn't prioritized and isn't included by default. I would definitely suggest the feature if it's something that is important to you. Even so, there are a few methods you can use to print a certificate in the current feature set:
- Use a JavaScript Trigger to execute window.print(); for the currently displayed slide. You could make a slide that looks like a certificate. Downside is this will always print in portrait and will include any navigation.
- Use a JavaScript Trigger to open a custom HTML page included either within the Story file or from an external link.
- Use a JavaScript Trigger to write custom window contents.
- Build (or have someone build) a custom Flash widget that handles certificate printing for you. Keep in mind this won't work in the HTML5 output.
Unfortunately, the inability for Flash to talk to the browser is a Flash player limitation (or feature), not a limitation of Storyline itself. Concerning the method described in this thread, there are a couple of things you might try running locally. More than likely, you're looking at an issue with the Flash Security Sandbox (a feature, really )
1) Publish as CD. This still publishes to HTML but also outputs an EXE file that bypasses all of the security sandbox features and ActiveX warnings produced in IE. This will let you test it locally.
- OR -
2) Try adding your published folder to the Flash Security Settings Manager (it's a whitelist that'll allow the player to communicate with JavaScript locally). http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html