I took the code from my old RealStudio project and applied it to my project in the latest XOJO version, but when I go to drag a movie into the MoviePlayer, it rejects the movie. In my moviePlayer Open event I have:
all formats are in my FileTypes set and can be loaded into the MoviePlayer by using a Load Movie button.
For my DropObject event for the MoviePlayer I have (abbreviated):
f=obj.folderItem if f <> Nil then m = f.OpenAsMovie if m <> nil then moviePlayer1.movie = m
So when I drag any file onto the MoviePlayer, its file icon goes right back to the Desktop where it was before instead of getting loaded into the MoviePlayer.