Featured Categories
-
Lectora®
Lectora® is the most trusted authoring tool in the world. Rock out your creativity! Author courses any way you like. Lectora adheres to best practices for Accessibility and Web Content Accessibility Guidelines (WCAG), offers responsive authoring for eLearning, and publishes to any LMS (Learning Management System).
-
CenarioVR®
Experience virtual reality through CenarioVR®, our training and virtual reality (VR) authoring software that allows you to create immersive learning in minutes! No coding required!
-
Rockstar Learning Platform®
Our Rockstar Learning Platform® has all the features you’ll love. Help your employees be better at their jobs, more valuable to your company, and most effective in servicing your customers.
-
The Training Arcade®
Level up your learner engagement with the Training Arcade®! The Training Arcade is a library of fun, mobile-ready, casual games that can be rapidly customized with your content to create effective gaming!
-
ELB Learning Content
Did you know that our AssetLibrary™ has over 120 million engaging, interactive, and awe-inspiring templates and assets to help you become an eLearning Rockstar®?
Triggering a Lectora Command from a Flash File

We have tried to do this using the following code in Flash:
import flash.external.ExternalInterface;
flash.external.ExternalInterface.call("bullet1.actionShow");
As it is supposed to, when we run the file locally, we get a Flash message: "Flash player has stopped a potentially unsafe location. The following local application is trying to comunicate with this Internet-enabled location .... "
When we run it on a web server, we don't get this message.
Can you please help us figure out how to trigger a Lectora action from Flash? Any help is greatly appreciated.
Thank you,
Comments
-
To stop the flash player warning you can set the flash player securtiy settings on the Adobe website to trust the folder, your course is in.
To call an action from a SWF your code is basically correct, you just need to use the objects html name:
import flash.external.ExternalInterface;
ExternalInterface.call("insert_the_html_name_of_the_object.actionShow");
Easier than calling a specific action is to run an action group from flash:
ExternalInterface.call("runGroup_html_name_of_the_group");
Then you wouldn't have to edit the FLA if you wanted to change the action.
Tim
Categories
- 35.9K All Categories
- 110 ✫ Announcements
- 33.2K Lectora®
- 31.1K Lectora Discussions
- 29K Lectora Desktop
- 2K Lectora Online
- 2K Lectora Feature Requests
- 71 Lectora User Groups
- 36 Lectora Accessibility User Group (LAUG)
- 27 ELB Learning Content
- 27 ELB Learning Content Discussions
- 346 CenarioVR®
- 205 CenarioVR Discussions
- 141 CenarioVR Feature Requests
- 44 Rockstar Learning Platform®
- 41 Rockstar Learning Platform Discussions
- 108 CourseMill®
- 108 CourseMill Discussions
- 48 ReviewLink®
- 48 ReviewLink Discussions
- 7 The Training Arcade®
- 7 The Training Arcade Discussions
- 938 All Things eLearning
- 39 eLearning Development
- 546 Learning Management System (LMS) Integration
- 333 Web Accessibility
- 1.2K ♪ The Green Room
- 9 Additional Learning Products