Trying to call a function in flash from Lectora

Hi,


I'm trying to build a mute/unmute button in Lectora that will call a function in a swf movie to toggle the sound off and on.


I used the action Flash command and set command to call function.


l was able to get this feature to work when I'm using AS3, but I get an error message (Object doesn’t support this property or method) when the swf movie is coded using AS2. The error occurs when trying to execute "anim282.flsPlayer.toggleSound( '1' ); ", this seems to imply the linkage to the flash movie is incorrect.


The big problem is that I really need to use AS2, targeting flash player 8.


Does anyone understand why this isn't working, or have an alternative to achieve the same effect?



Thanks


Dave

Discussions have been disabled for this post