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

Sean P. DeNigris sean at clipperadams.com
Wed Dec 29 23:00:16 UTC 2010



Chris Cunnington-3 wrote:
> 
> "Attaboy, Sean!"
> 

I love compliments, so I went ahead and got the video working ;-)  If you
download the latest package from the above mentioned repository, and
evaluate:
	aURI := URI fromString: 'file:///path/to/aQuickTimeMovie.flv'.
	manager := SophieResourceManagerFolderPackage new.
	resource := SophieResource basedOn: manager.
	resource fileURI: aURI.
	movie := QuickTimeMovie new.
	movie resource: resource.
	movie openMovieFromURI: aURI. 
	movie play.
	"movie stopMovieQT."

you will have a QuickTime movie playing for you in Squeak.

Todo:
* Have it be a morph - It's temporarily drawing the form directly to the
display
* run the loop in another thread - it currently locks up the UI (a user
interrupt will get you out)

It seems on the verve of being useable very soon!!

Sean


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



More information about the Squeak-dev mailing list