Flash to Lectora Problem
July 12, 2006 12:00 AM
The problem that I am having is that a Flash animation is hiding text and graphics in Lectora. I know that the Flash layer always wants to be the top layer when used in Internet Explorer; however, I know that others in the Trivantis community section have gotten around this problem. In addition, I checked to ensure that all of the computers involved have the same operating system (Windows 2000), the same version of Internet Explorer (Version 6), and the same version of Macromedia Flash Player (v8.0.22 R2).A more detailed description of the problem is as follows:I put a Flash .swf file as an animation in Lectora. I have the animation initially not visible. I then have a button in Lectora that once clicked it shows the Flash animation. Then I have an action on the Flash animation that on show it plays the Flash animation. Once the animation is over I want the animation to disappear. My reasoning behind this is that before and after the Flash animation is played there will be text, graphics, etc. underneath. After reviewing the community section on the Trivantis website and used it to produce potential solutions since there is no direct solution for my problem on the community board. The solutions that I have tried are listed below and the results of each:1st Try:With this I placed the following code as an action on the last frame of the Flash file getURL("javascript:trivExitPage('ThePublishedPageInLectora.h tml',true)");stop();The page that it is sent to is actually the current page that it is on, producing a loop effect that will bring up the page and the movie will be hidden because once the page is reloaded it will be “initially not visible”.In addition, I tried two variations including not having the stop(); command, having a button be the last frame in Flash and having the getURL script on the button. The results of all of the variations included when published it worked on the computer the files were produced on, but it did not work on any other computers. 2nd Try:With this I added an action on the movie that once it is shown is should hide the button that shows the movie. I then placed the following code as an action on the last frame of the Flash filegetURL("javascript: button385.actionShow();");stop(); This reshows the button that was hidden. This button also has an action on it that states on show hide the movie. Which in theory would then hide the movie.In addition, I tried two variations including not having the stop(); command, having a button be the last frame in Flash and having the getURL script on the button. The results of all of the variations included when published it worked on the computer the files were produced on, but it did not work on any other computers. 3rd Try:With this I placed the following code as an action on the last frame of the Flash FilegetURL("javascript: swfanim386.actionHide();");stop();This in theory would hide itself. In addition, I tried two variations including not having the stop(); command, having a button be the last frame in Flash and having the getURL script on the button. The results of all of the variations did not work on any computer.4th Try:My last attempt was to try all the previously mentioned ways one more time, but when publishing each Flash file I went to: Publish Settings, HTML Tab, Window Mode and then selected Transparent Windowless. The results included working on my computer (except for the redoing of the 3rd try) and not working on any other machine.I am now at a loss on any other ways to accomplish the desired result. If you have any ideas or suggestions it would be greatly appreciated.
Discussions have been disabled for this post