[Xerte] Stopping flash video, Loaded[Type Function]
KnowledgeWare
knowledgeware at kccsoft.com
Tue May 21 01:45:28 BST 2013
Using Desktop xerte 2.17 - I have an external swf file that contains
next/previous buttons and navigation code. After adding youtube video from
the page templates the youtubes continue to play after I click the next
button, I'm trying to find the proper command to stop or unload them. I've
tried all this in the external swf file to try to silence the movie:
NextButton.onRelease = function()
{
//RGM 20130519 Stop video on next
_level0.engine[ytID].pauseVideo();
Iconid.reset();
_level0.engine.fw.currentPage.reset();
_level0.engine.fw.currentPage.sound.stop();
_level0.engine.fw.IconID.sound.stop();
ic.stop();
ic._mc.stop();
None of these work.('ic' is the Id of the video icon). What command should I
be using here? Is there a way to 'unload' the movie rather than just
stopping the sound?
Also getting a debug window with 'Loaded[Type Function]' showing on each
youtube. I have added the embed code via the template, however I also edited
the page text in the xml file later. What is the 'Loaded' message saying?
Thanks
RonM2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20130520/22571652/attachment.html>
More information about the Xerte
mailing list