Initating Actions within SWF file

Flash has an action script getURL which will go to any web address. You can use this to call the Lectora javascript functions that it creates for you on the html published pages. Functions such as trivPrevPage() and trivNextPage() can be used to navigate the user to the previous or next page. Actions can also be called to specific Lectora objects such as actionHide() and actionShow(). If using Lectora 2005 or higher, you can obtain the name of the object by opening the title and go into the file/preferences menu and check the option to "Show HTML published object names." Once this is enabled go into the properties of your button object and it will be displayed in the top right corner of the general tab. You should see something similar to "button37". In this case you could use the javascript button37.actionShow(); to show the button. Just place that in the Flash getURL() actionscript function on the last frame.Here is an example title that demonstrates the concept of calling Lectora javascript functions through Flash:2004-12-29_144540_FlashNavWithLectora.zipNote that it will only work once the content is published to html and viewed in the web browser.

Discussions have been disabled for this post