panorama software,virtual tour software
Alternate Text
Joined: 2008-05-05
Send Msg:
Posts: 1
2008-05-05
#1

pop up swf image with sound

im having a problem when i close my pop up image in my tourviewer which the image is swf including sound..... it won't switch off the sound once i clicked close while it is running.....does anyone have a solution for this?
Alternate Text
Joined: 2008-02-12
Send Msg:
Posts: 88
2008-05-06
#2
Is it a problem with the swf itself? Out of interest have you tried to play and close the swf on its own outside of TW?
Normally "on exit" from a swf you code to stop the sound as well. Or maybe that is the problem, the "on exit" on the swf is not performed because all you do is close the image container in TW? In which case I do not know - I have not used this set up myself.

Alternate Text
Joined: 2007-01-19
Send Msg:
Posts: 83
2008-05-06
#3

I have had a problem with this as well.  If you close the swf file with sound using the x in the top right corner provided by TW the sound continues even tho the file is closed.  I would recommend we all send a request to fix this to TW. 

You can see they are aware of this because their new example using swf popups does not use sound.

 


RTFM
www.FCEDesign.com
Alternate Text
Forum Moderator
Joined: 2002-11-23
Send Msg:
Posts: 5438
2008-05-06
#4

This same fault has be expressed on the Pano2VR forum and it appears it is a fault with Flash not Tourweaver or Pano2VR etc. Something to do with the way Flash caches files in the browser temp folder and the way items are arranged in a Flash movie container.

Still, if someone knows of a fix or work around we all would like to hear it.

Regards, Smooth


Alternate Text
Joined: 2008-02-12
Send Msg:
Posts: 88
2008-05-06
#5

This seems similar to this guys problem:
http://www.gotoandlearnforum.com/viewtopic.php?f=33&t=16903

Maybe something here but it's heavy reading:
http://livedocs.adobe.com/flex/3/langref/flash/display/Loader.html

You would have to know how EP have implemented the image holder function in TW. Best bet is to contact them.


Alternate Text
Joined: 2008-02-12
Send Msg:
Posts: 88
2008-05-11
#6

May 9th 2008

New updates for Tourweaver are available. In the latest version 3.00.080509, you will find the following changes:

Bug fixes:
[-] After closing the added Popup Image which is a .swf file with sound, the sound still runs without a stop.


Alternate Text
Joined: 2008-05-10
Send Msg:
Posts: 590
2008-06-09
#7

I am sorry to report that the bug fix in 3.00.080509 for the sound in SWF files has not been fixed.

example http://www.holidaynerja.co.uk/ep/TourWeaver_swftest.html 

Back to the drawing board on this one :(


Apartment rentals Nerja

Villa rentals Nerja

Accommodation Nerja

Alternate Text
Joined: 2008-09-16
Send Msg:
Posts: 9
2008-11-03
#8
actually you can't use netstream for mp3 files so I you have to create a SoundChannel for your Sound object to stop playing audio when you close the popup:

var audio:Sound = new Sound(new URLRequest('audio.mp3')); var sndChannel:SoundChannel = sound.play(); root.loaderInfo.addEventListener("unload", function() { sndChannel.stop(); audio.close(); } )
Alternate Text
Joined: 2008-09-16
Send Msg:
Posts: 9
2008-10-22
#9
same problem when using popup image function with an external video file. if you are using netstream for loading your audio you can use the same workaround as described here for video files.