Flash Navigation sample won.t run
September 20, 2007 12:00 AM
Ok I posted an example: http://www.sharpmedia.com/elearning/LectoraExamples/flashNav .zipOpen the HTML folder first and run it. See if the flash navigation controls at the bottom are working. If so, there is a problem with your flash file - not your player settings. The .fla file (saved as a Flash 8 file) is included. In this example I put all of the code in one frame at the top. It looks a little different than how it is posted in some places in the forum. However giving your movie clip an instance name (say button_mc) and then putting this code in an actions layer:button_mc.onRelease = function(){ getURL("javascript:trivN extPag e();");}[/CODE]is the same as putting this code directly on the button:[CODE]on(release){ getURL("javascript:trivN extPag e();");}[/CODE]Also, the lectora file is a 2007 file. If you are using a previous version, create a blank title in the same location as the 2007 version and import the flashNav.xml (File --> Import --> XML) Let me know if the html doesn't work for you, or if you have any questions.Edited By: Hemingway on 2008-1-23 13:50:1[CODE]button_mc.onRelease = function(){ getURL("javascript:trivN extPag e();");}[/CODE]is the same as putting this code directly on the button:on(release){ getURL("javascript:trivN extPag e();");}[/CODE]Also, the lectora file is a 2007 file. If you are using a previous version, create a blank title in the same location as the 2007 version and import the flashNav.xml (File --> Import --> XML) Let me know if the html doesn't work for you, or if you have any questions.Edited By: Hemingway on 2008-1-23 13:50:1[CODE]on(release){ getURL("javascript:trivN extPag e();");}[/CODE]Also, the lectora file is a 2007 file. If you are using a previous version, create a blank title in the same location as the 2007 version and import the flashNav.xml (File --> Import --> XML) Let me know if the html doesn't work for you, or if you have any questions.Edited By: Hemingway on 2008-1-23 13:50:1
Discussions have been disabled for this post