I am using Flash embedded inside Lectora. I have audio in Lectora and also in
flash. When I click a button in my flash object, I want the audio in Lectora to
cease. Lectora is published as html and I have the html properties of the audio
file. What is the code on the flash button to stop the audio from Lectora?
Any help is greatly appreciated.
if the audio needs to be controlled in html, you'll need a javascript function in the html that you can use. Then you can call that function from flash - and there you have it.
-----------------------------------------------Reply-----------------------------------------------
Hi,
Thanks for the quick response. Unfortunately it's html that gets published
automatically so it would be impossible to put the js code into each specific
html file as it would be replaced upon republish.
Is there any other alternative...maybe an FScommand of somesort?
-----------------------------------------------Reply-----------------------------------------------
you could maybe call a .js file directly, or another script, but I'd probably
try to find away to link the .js file to the html doc. FScommand kinda works
for that, but calling scripts is a lot easier - . hmmmmmmmmm