flicker problem

Hi

I have the following problem:

I put a TPanel object on a form and show a avi-movie
on it with the TMediaplayer object. The panel itself
should never be displayed so my movie play code looks
like this:

  mediaplayer.device := panel;
  mediaplayer.open;
  mediaplayer.wait := false;
  mediaplayer.play;
  panel.visible := true;
  ...

although I show the panel after the movie is started,
it is displayed for a very short time, causing a flicker.
Is there a way to prevent a TPanel from showing itself?
Or is there a way to show a movie directly on a form
at a certain location (x,y)?

Any help is appreciated

  Matthias (muell...@inf.ethz.ch)

----------------------- muell...@inf.ethz.ch ------------------------
Matthias Mueller                                       .____--"_
Institut fuer Theoretische Informatik                 /         \
IFW E 49.1, ETH Zentrum                              /        *  \_
CH-8092 Zuerich                                     /              <
Switzerland                                        //\     /\  /\/"
Tel: +41-1-632-7387                                "  \___/  \/  
Homepage: http://wwwjn.inf.ethz.ch/matthi/
---------------------------------------------------------------------