From the limited amount of testing I am doing right now it seems this is a quicktime issue rather that an RB issue but I though I would run it by everyone.

It seems that if a movieplayer is loaded with a movie and then set to nil my realbasic app will unexpectedly quit. This happens in all apps built from 5.2.4 to RB2006r1. Many of these apps are the originals I built years ago.

This used to work fine. Not sure what the issue is. Is this something I should not be doing?

The following is sample code that illustrates the problem...

In a window place 2 pushbuttons named "Load" and "Nil" and a movie player.

In the Load Pushbutton action event:

  dim f as FolderItem

  f=GetOpenFolderItem("any")
  if f <> nil then
    If f.Exists then
        MoviePlayer1.Movie = f.OpenAsMovie
    end if
  end if

In the Nil Pushbutton action event:

MoviePlayer1.Movie = nil

You will also need to set up an "any" file type with ???? as creator and type.

Loading a movie and then pressing Nil will crash my RB app here with OS X 10.4.5 and Quicktime 7.0.4. Do other people see this issue?

This issue breaks quite a lot of code I have written. Does anyone have a suggested workaround?

Thanks in advance,
Drew Findley
http://www.findleydesigns.com
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to