I dont know if this is relevant in your case, but last January I pointed out on 
this list that in order the get the correct duration of certain files I had to 
use the following approch, where to get myDuration (a double) I had to use \ 
instead of /

  myDuration = getDuration(myMovie)

......
......
dim MovieDuration, MovieTimeScale as integer
  MovieDuration = GetMovieDuration (myMovie.Handle)
  MovieTimeScale = GetMovieTimeScale (myMovie.Handle)
  return MovieDuration \ MovieTimeScale

Using /, in the movieplayerStop event the following code at the end of the 
movie would not fire:

if me.position = myDuration then
doSomething
end if


-- 
Carlo
_______________________________________________
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>

Reply via email to