At 4:14 PM -0500 12/31/04, Ron Benditt wrote:
I used to open sounds as editablemovies because I wanted access to
the duration property. I had to abandon that approach because
during my beta testing, I found that users were trying to open songs
from CDs (i.e. non-editable media) or write-protected files. None
of these files will open as editablemovies. After researching this
a bit, I found that someone posted that you can get the sound's
duration by setting its playback position to some extremely large
number, then reading it back. You can then reset the position to
the original position after obtaining the duration. Another
workaround is to use the Monkeybread plugin.
Hi Ron
That's very insightful info.
Does the MBS approach allow you to open EditableMovies from write
protected media? I often want to extract a track from a write
protected file, but RB's editablemovie class won't open them, as
you've noted.
Happy Holidays,
Joe
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|