|
|
# 1 | ||
|
Member
Join Date: Jan 2010
Posts: 6
|
Hi !
I've inserted a sound and a little looped animation (in one swf file) in a slide and i've got two problems once I've published the quiz: - Once the sound finish, I have to clic twice to restart the animation. Is that possible to clic just one time to restart the animation ? - If I clic on the "submit" button before the animation end, the sound still play. How can I stop the sound when I move to another question in my quiz ? Maybe my swf file is badly made ?? I hope someone can give me a solution or at least some information about this little problem. Thanks. |
||
|
|
|
|
# 2 | ||
|
Member
Join Date: Jan 2010
Posts: 6
|
Hi again,
I find a solution for the first point. It seems that quizmaker '09 insert one stop at the beginning of the swf file. So, in the swf, I erased all the code stop() and I added one blank frame at the beginning. And It works, I have now just one clic to launch the animation and restart the animation once it finished. The second point is still not resolve. Any ideas ? |
||
|
|
|
|
# 3 | ||
|
Moderator
![]() Join Date: Nov 2008
Posts: 427
|
YanD,
Welcome to the forums! I cannot reproduce the issue you are having. This issue would be hard to diagnose without knowing more specifics, in both Quizmaker and the Flash file itself. Please review the following link outlining Flash movie best practices: Flash movie best practices – Articulate Presenter ‘09 Knowledge Base Hope this helps.
__________________
Dave Burton Customer Support Engineer Articulate http://www.articulate.com/support/ |
||
|
|
|
|
# 4 | ||
|
Member
Join Date: Jan 2010
Posts: 6
|
Hi UnkieXeon,
Thanks for your response, I read carefully the flash movie best practices but I cannot find something that can help me. I leave in attachments the quiz, swf and fla files. Maybe you can reproduce the issue and diagnose my problem. I notice a new problem :-), When I clic another time on the icon before the animation end, the animation launch again and I hear the two sounds which overlap. Thanks again |
||
|
|
|
|
# 5 | ||
|
Moderator
![]() Join Date: Nov 2008
Posts: 427
|
YanD,
Thank you for uploading your Flash file and quiz. I've attached a modified version of the Flash file (source and complied) for you to look at. Please note, the modified code will allow you to start and stop the audio at any point - or at least when the end user selects the speaker icon. When using the method I supplied in the modified code, you will have to upload any audio separately to a web server first and link to it from within the actionscript code. The audio gets loaded using the loadSound method. Please refer to all of the actionscipt comments for more information. Unfortunately, there's not a method to stop the audio when selecting any of the Quizmaker '09 buttons. We have not released an SDK for this. As a workaround, you could rewrite the actionscipt I supplied to only play the audio when the mouse hovers over the speaker and stops when moved off of the speaker. Hope this helps ;-)
__________________
Dave Burton Customer Support Engineer Articulate http://www.articulate.com/support/ |
||
|
|
|
|
# 6 | ||
|
Member
Join Date: Jan 2010
Posts: 6
|
Hi UnkieXeon,
Thanks for your reply, the swf file works perfectly in my quiz and it is really better with your solution. Unfortunatly, I can open the fla file so I can't read and duplicate the code... Is that possible you send me another time the fla file ? Thanks again |
||
|
|
|
|
# 7 | ||
|
Moderator
![]() Join Date: Nov 2008
Posts: 427
|
YanD,
What version of Adobe Flash are you using to create your Flash files?
__________________
Dave Burton Customer Support Engineer Articulate http://www.articulate.com/support/ |
||
|
|
|
|
# 8 | ||
|
Member
Join Date: Jan 2010
Posts: 6
|
UnkieXeon,
We use Flash CS3 Professional. One day we will succed :-) |
||
|
|
|
|
# 9 | ||
|
Moderator
![]() Join Date: Nov 2008
Posts: 427
|
YanD,
The file I uploaded to you previously was in the CS3 format. I'm not sure why you cant open it. I have reattached a different file here.
__________________
Dave Burton Customer Support Engineer Articulate http://www.articulate.com/support/ |
||
|
|
|
|
# 10 | ||
|
Member
Join Date: Jan 2010
Posts: 6
|
Thanks for your help,
I can open the file now. |
||
|
|