Sean P. DeNigris wrote:
I've started digging the code out of Sophie.
I wrote a proof of concept that plays QuickTime movies (including Flash movies if you have Perian installed). It works in Squeak 4.1 on Mac only right now. It also works with minimal changes in Pharo 1.1.1, but I don't have time to split out the platform-dependent parts right now. To check it out: * in Pharo 1.1.1 1. load FFI Gofer new squeaksource: 'MetacelloRepository'; package: 'ConfigurationOfFFI'; load. ((Smalltalk at: #ConfigurationOfFFI) project latestVersion) load. 2. allow underscore assignments in settings 3. load the player with "Gofer new squeaksource: 'SophieGoldDig'; package: 'SpdQT'; load." 4. 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." 5. manually remove the isFinalizationSupported checks when the two errors appear * or, load it in Squeak per the discussion at http://forum.world.st/Playing-Flash-movies-in-image-td3167383.html Sean -- View this message in context: http://forum.world.st/How-I-can-do-SWF-files-playing-in-pharo-tp3161269p3167... Sent from the Pharo Smalltalk mailing list archive at Nabble.com.