New topic: Changing Movie Screen size for MoviePlayer
<http://forums.realsoftware.com/viewtopic.php?t=32147> Page 1 of 1 [ 1 post ] Previous topic | Next topic Author Message barrytraver Post subject: Changing Movie Screen size for MoviePlayerPosted: Fri Jan 22, 2010 3:08 pm Joined: Fri Sep 30, 2005 1:53 pm Posts: 336 Location: Philadelphia, PA When you use MoviePlayer to play a movie, how do you change the size of the movie on the screen? I want the movie to be large, about the size of the MoviePlayer control, but when my RB program is run, the actual movie takes up only a small box in the middle of the MoviePlayer control. I can't seem to find a MoviePlayer property that applies (likely properties seem to be "read only"). Anyone have any advice? Barry Traver A related question.... I tried the following sample code from the Language Reference entry for Movie Class, but it gave 0 as the size of height and width of the movie: Code:Dim f as FolderItem Dim m as Movie f=GetFolderItem("Logo.mov") m=f.OpenasMovie moviePlayer1.border=True moviePlayer1.movie=m moviePlayer1.controller=2 TextField1.text=Str(m.movieheight) TextField2.text=Str(m.moviewidth) The height and width are obviously not 0, so what's going on here? Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 1 post ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
