eLBX Online 2021 | June 22 - 24

Join us for a FREE, 3-day virtual conference featuring industry experts and eLearning thought leaders. Learn about critical topics such as eLearning accessibility, learning experience design, course authoring, virtual reality, and gamification. Register today!

Flash File, Flash Variable, External XML file

emcalpin Community Member Posts: 8
Hi there!

Why don't you try to use the swfobject? It's an external javascript, which allows the user to use more variables in Flash.

An example:

var fwURL = VarFwURL.getValue(); var lang = Var_lang.getValue(); var chapter = Var_chapter.getValue(); var lesson = Var_page.getValue(); var so = new SWFObject(fwURL, "frameWork", "880", "635", "8", "#FFFFFF"); so.addVariable("lang", lang); so.addVariable("c", chapter); so.addVariable("l", lesson); so.addParam("wmode", "transparent"); so.addParam("allowscriptaccess", "always"); so.write("flashcontent");

Sign In or Register to comment.

So You Wanna Be An eLearning ROCKSTAR?

We're all fans of eLearning here! Want to become an eLearning ROCKSTAR? Just click on one of the buttons below to start your rocking journey!