This content has been marked as final. Show 7 replies
Use a global variable to hold the movieTime value. Set the value when you open the new window. Then in the window that will open, put a behavior on the video sprite that will tell that sprite to set the movieTime to the value of the global variable.
I think understand the process you have offered but am not certain how to write it.
This video is one of 100, my "attempt" is below
gmovietime = "..\videos/Circuit" ???? - How do i specify which movie I am talking about ? OR should I be setting the time here
When opening the window...
window.... open etc
gmovietime = 48.12 - not sure what the exact way of describing what 48.12 seconds as MovieTime
On video sprite add behaviour:
sprite 2.movietime = gmovietime
Sorry if the above is total garbage !!
Try something like the following:
return [#myMovieTime: [#comment: "Cue point time:", #format:
#integer, #default: 0]]
on mouseUp me
if _player.windowPresent("Circuit") = 0 then
w = window().new("Circuit")
w.filename = "@//videos/Circuit"
w = window("Circuit")
w.movie.sprite(2).movieTime = myMovieTime
I get an error: Variable used before assigned a value
if _player?.windowPresent("Circuit") = 0 then
Which version of Director are you using?
Both but I tried it on MX (final project will be built in MX04)
I'll try in MX04 and let you know if the problem persists
> I'll try in MX04 and let you know if the problem persists
It shouldn't. If you're not using the current version you should
explicitly say so when you post a question.