Hi,
i need to play a video only in a part of the screen.
media.playVideo():
As media.playVideo() uses the fullscreen system media player, it is of no use for me. Masking doesn’t do it either.
display.newImage
So i thought of converting the video to a sequence of frames and play it via display.newImage.
But the loop :
display.newImage(frame)
video:removeSelf()
video = nil
frame+1
is to slow.
movieclips/spritesheets
And the third way i came across are movieclips or spritesheets. But i think the memory for the whole animation must be allocated and that’s to much for the complete video sequence.
So did i forget something? Is there a good way to realize a fast and memory efficient way to play an animation build with a sequence of frames (or better is there a way to play a part of a video).
With text it is possible to change the text content (without removeSelf) :
MyText = display.newText( “test”, 50, 50, nil, 10 )
MyText.text = (x)
Does something similar exists for an Image? A new sourceimage without freeing the old one?
MyPicture=display.newImage(“test1.png”,100,100,true);
MyPicture.XXXXXX=“testx.png”
Sorry if this is a newbie question
Dan [import]uid: 46662 topic_id: 11421 reply_id: 311421[/import]