Under Cocoa (10.8.2) and MBS 12.5 with RB 2012 R2, it seems that OpenAsMovieMBS
returns a movie object with .handle=nil, yet the regular old OpenAsMovie works
just fine.
This seems backwards to me.
dim f as FolderItem = GetOpenFolderItem("")
if f = nil then return
// this code works in Carbon, but not in Cocoa
dim m as movie = f.OpenAsMovieMBS
dim h as integer = m.Handle // is zero
dim p as picture =m.MoviePictureMBS(0) // is nil
p =m.MoviePictureMBS(2) // is nil
p = m.PosterPictureMBS // is nil
// this code works in Cocoa
m = f.OpenAsMovie
h = m.Handle // not zero
p =m.MoviePictureMBS(0) // valid picture
p =m.MoviePictureMBS(2) // valid picture
p = m.PosterPictureMBS // valid picture
// this code works in Carbon but not Cocoa:
dim em as EditableMovie
em = f.OpenEditableMovie
p = em.Poster // nil
p = em.PosterPictureMBS // nil
p = nil // nil
_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info