I’m starting the process of rewriting one of my apps that uses QuickTime to use Windows Media now that QuickTime for Windows has been discontinued. I’ve already run into a couple of hurdles that I’ve managed to create workarounds for, but one of them I just don’t get is why looping doesn’t seem to work at all. Even if I create a new desktop application and simply drop in a movie player and a movie file, set it to autoplay and loop, it does not loop - just stops at the end of the movie.
Does anyone know what I might be doing wrong here? Thanks!
Thanks… that works but I get it flashes as it loops with the movie being so short, I think I’ll have a go at a image sequence, which I would of thought would be better for such a short loop
I just tried that but the background image is 3D rendered and looks terrible at 256 colours
I’m just playing around to see how easy it would be to do a HOG type game in Xojo
as it turns out very easy (apart from animation but that will come)
[quote=130066:@nige cope]I just tried that but the background image is 3D rendered and looks terrible at 256 colours
I’m just playing around to see how easy it would be to do a HOG type game in Xojo
as it turns out very easy (apart from animation but that will come)[/quote]
Managing frames yourself “sprite style” seems like the best option.
Managing frames yourself "sprite style" seems like the best option.
]
What’s that? please enlighten me
do you mean a sprite sheet, the animation lined up in a row?
What I’ll do is get a demo together and start a thread on problems /improvements… so far It can do things QTQuick can’t ie custom cursors
[quote=130145:@nige cope]Managing frames yourself "sprite style" seems like the best option.
]
What’s that? please enlighten me
do you mean a sprite sheet, the animation lined up in a row?
What I’ll do is get a demo together and start a thread on problems /improvements… so far It can do things QTQuick can’t ie custom cursors ;)[/quote]
“Sprite style” is more like displaying pictures in succession. Using a spritesheet is fine, although it requires Drawpicture to be able to set the offset. I was also thinking of a dictionary where you place all pictures, and then it makes it easy to fetch them for display.
[code] Dim Frames(-1) as Picture
dim oldticks as integer = ticks
Frames = Array(user_astronaut, user_angel,user_angel_female,user_angel_female_black,user_angel_black,user_alien,user_add)
Dim FrameIndex as integer
For Frameindex = 0 to Frames.Ubound
Canvas1.Backdrop = Frames(FrameIndex)
FrameIndex = FrameIndex + 1
Canvas1.Refresh
while ticks-oldticks<10
wend
oldticks = Ticks
next[/code]
The pictures are icons from the Fatcow collection dragged into the project. Invalidate did not work, so I went for Refresh. Probably because I use backdrop.
If you want to use Frames in Paint instead, you got to make Frames a window or module property. I used the Ticks loop to be able to see the different pics.
I want to make a note here that the original (my) problem still persists. Doing me.play int he stop event does not solve the problem as another poster mentioned, it causes a momentary delay or flash which does NOT occur on OS X when looping is set and should not occur on Windows either. Unfortunately the nature of my flagship app requires the video to loop smoothly (as it used to when QuickTime was supported on Windows but not does not).
And flash or no flash, the looping property should do SOMETHING right?