[squeak-dev] Re: Playing Flash movies in-image

Sean P. DeNigris sean at clipperadams.com
Wed Dec 29 21:32:22 UTC 2010



Sean P. DeNigris wrote:
> 
> I filed Sophie-Movie into trunk.  I'll see what I can come up with.
> 

Okay, here's a first stab - Mac-only (platform temporarily hardcoded).  If
you download:
* FFI including Examples
* SpdQT from http://www.squeaksource.com/SophieGoldDig

then you can evaluate the following:
	aURI := URI fromString: 'file:///path/to/aQuickTimeFile.flv'.
	manager := SophieResourceManagerFolderPackage new.
	resource := SophieResource basedOn: manager.
	resource fileURI: aURI.
	movie := QuickTimeMovie new.
	movie resource: resource.
	movie openMovieFromURI: aURI. 
	"movie play."
	movie startMovieQT.
	"movie stopMovieQT."
when you do #startMovieQT, you will hear the movie audio, but drawing has
not been implemented, so you won't see anything.  At least we're connected
to the QT API :)

Sean

-- 
View this message in context: http://forum.world.st/Playing-Flash-movies-in-image-tp3167383p3167639.html
Sent from the Squeak - Dev mailing list archive at Nabble.com.



More information about the Squeak-dev mailing list