Flash Command error

ruprety
Community Member Posts: 81
My guess is that you have a lectora variable that is expecting a string and you are trying to pass it an array so it chokes. Try converting your array to a string and passing that over. For example:
So the idea is you just loop through your array and dump it into a string - then pass that. I'm not sure if you are trying to pass things with ExternalInterface or getURL - but I would lean more towards using flash's external interface if you are publishing to flash 8 or above. Let me know if this works or breaks everything you are trying to do
Code:
var passString:String();passString = "";for(i=0; i
So the idea is you just loop through your array and dump it into a string - then pass that. I'm not sure if you are trying to pass things with ExternalInterface or getURL - but I would lean more towards using flash's external interface if you are publishing to flash 8 or above. Let me know if this works or breaks everything you are trying to do

Categories
- 35.8K All Categories
- 109 ✫ Announcements
- 33.1K Lectora®
- 31.1K Lectora Discussions
- 28.9K Lectora Desktop
- 2K Lectora Online
- 2K Lectora Feature Requests
- 71 Lectora User Groups
- 36 Lectora Accessibility User Group (LAUG)
- 22 ELB Learning Content
- 22 ELB Learning Content Discussions
- 321 CenarioVR®
- 188 CenarioVR Discussions
- 133 CenarioVR Feature Requests
- 41 Rockstar Learning Platform®
- 38 Rockstar Learning Platform Discussions
- 108 CourseMill®
- 108 CourseMill Discussions
- 47 ReviewLink®
- 47 ReviewLink Discussions
- 7 The Training Arcade®
- 7 The Training Arcade Discussions
- 934 All Things eLearning
- 36 eLearning Development
- 546 Learning Management System (LMS) Integration
- 332 Web Accessibility
- 1.2K ♪ The Green Room
- 9 Additional Learning Products