[futurebasic] Re: [FB] QT Controller

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : October 1999 : Group Archive : Group : All Groups

From: AlStaff@...
Date: Wed, 20 Oct 1999 22:33:34 EDT
>I am using the quicktime example that came with FB as an include file to
>a project which is working fine except that the controller come up every
>time I play a song.
>
>How do I get it to play without any trace of the controller appearing?


Get the bounding box of the movie, If the bottom and right is larger than the 
top and left, then it has movie data.

CALL GETMOVIEBOX(Movie&,boxT)                     'get rect for movie
LONG IF (boxB > boxT) AND (boxR > boxL)           ' check for graphics in 
movie
    ' bounding box is bigger than 0, 0 so it's a movie
    ' you can create a controller
XELSE
    ' it's a wav, midi, or other non movie track movie
END IF


Al Staffieri Jr.

AlStaff@...
http://members.aol.com/AlStaff/index.html