Viewpoint Forums
Viewpoint Forums
Viewpoint Tips, Tricks & Hacks
Loading sound|
Go
![]() |
New
![]() |
Find
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
|
Member |
Hey i have this set of code
<MTSTimeElem Type="Sound" Name="sound_loader" On="0" Path="test.mp3" /> but when i try to check if it has loaded by using <MTSHandle Event="MTSLoadDone:sound_loader" Action="JavaScript" Func="alert('test');" /> i get nothing...can you check if a mp3 has been loaded? |
||
|
|
Member |
Hello,
Are you wrapping the <MTSHandle> tag in <MTSInteractor> tags? |
|||
|
|
Member |
Yes, sorry i should have made that clearer...
<MTSInteractor Name="myInteractor" IgnoreHandled="1" IgnoreError="1" NeverHandle="1" > <MTSHandle Event="MTSLoadDone:sound_loader" Action="JavaScript" Func="alert('test');" /> </MTSInteractor> |
|||
|
|
Member |
Unfortunately, no events are detected with mp3 audio using Type="Sound". This is because the mp3 is merely externally referenced by the vet scene and the VET has no control over it. MP3 audio in VET is extremely limited in its functionality and support. It is not the recommended way of doing sound in VET anymore because of this and cross-browser and cross-OS compatability issues.
Instead, we first recommend you use VET video/audio (Type="iVideo"). However, VET video can only be used by using Enliven to convert .avi's, .mov's, .mp3's, and .wav's to VET video format. For a month, we unfortunately will not have a trial download of Enliven available as we address issues with the trial download. So you would have to purchase Enliven ($250). And I admit, as a developer myself, I know it's kind of a lame thing to purchase software before you test drive it. Soooo, if you're unwilling to purchase Enliven right now until we release the new trial version, you can also check out using VET audio-only (Type="VMPAudio). Info on Type="VMPAudio" attached. Regards VMPAudio_info.html (6 KB, 172 downloads) |
|||
|
| Powered by Eve Community |
| Please Wait. Your request is being processed... |
|

