Xojo Conferences
XDCMay2019MiamiUSA

MoviePlayer vs Canvas Slugfest (Real Studio network user group Mailinglist archive)

Back to the thread list
Previous thread: StyleData & Double-byte incompatible?!
Next thread: Having trouble inputting singles/string into a Listbox


Re: Your general text to file problem form a tired user!   -   Jan Erik Moström <
  MoviePlayer vs Canvas Slugfest   -   Maury McCown
    MoviePlayer vs Canvas Slugfest   -   Maury McCown

MoviePlayer vs Canvas Slugfest
Date: 14.08.03 15:40 (Thu, 14 Aug 2003 09:40:50 -0500)
From: Maury McCown
I have a new one that's got me stumped!

In an attempt to play animated GIFs in my program, I've added a MoviePlayer
control to the main window, on top of the canvas that I use to draw other
images.

What I'm doing then, is if the image is a GIF, I hide the canvas and draw
the GIF in the MoviePlayer control -- and it works great. When my app gets a
JPG, I do the opposite: I hide the MoviePlayer and draw into the canvas --
and this works great, too.

The problem, then, is when I go from viewing a GIF in the MP control to a
JPG in the canvas, the canvas has the area of the MP control "cut out" from
it. There's nothing in the cut-out area -- it just filled with my BG color.

I'll whip-up an example project if necessary, but does anyone have any
ideas? Is simply hiding the MP control not good enough? I've done all the
refreshing I know to do, as well as clearRect, etc.

Thanks,
Maury
===========================================
RAILhead Design: ³Giving the planet a makeover²
news | icons | desktops | fonts | software | more
< http://www.railheaddesign.com/ >
===========================================

---
A searchable archive of this list is available at:
<http://support.realsoftware.com/listarchives/search.php>

Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>

MoviePlayer vs Canvas Slugfest
Date: 14.08.03 15:43 (Thu, 14 Aug 2003 09:43:47 -0500)
From: Maury McCown
Belay that request for help! I wasn't telling the canvas to become visible
when I should -- I got it fixed. =)

Maury
===========================================
RAILhead Design: ³Giving the planet a makeover²
news | icons | desktops | fonts | software | more
< http://www.railheaddesign.com/ >
===========================================

---
A searchable archive of this list is available at:
<http://support.realsoftware.com/listarchives/search.php>

Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>