Moderators: e_phoenix13
Go
New
Find
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Member
Posted
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?
 
Posts: 38 | Registered: July 04, 2006Reply With QuoteEdit or Delete MessageReport This Post
Member
Picture of Admin
Posted Hide Post
Hello,

Are you wrapping the <MTSHandle> tag in <MTSInteractor> tags?
 
Posts: 1188 | Registered: January 08, 2003Reply With QuoteEdit or Delete MessageReport This Post
Member
Posted Hide Post
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>
 
Posts: 38 | Registered: July 04, 2006Reply With QuoteEdit or Delete MessageReport This Post
Member
Picture of Admin
Posted Hide Post
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)
 
Posts: 1188 | Registered: January 08, 2003Reply With QuoteEdit or Delete MessageReport This Post
  Powered by Eve Community