home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / amiga / programm / 18537 < prev    next >
Encoding:
Internet Message Format  |  1993-01-11  |  1.4 KB

  1. Path: sparky!uunet!mcsun!Germany.EU.net!mpifr-bonn.mpg.de!uniol!caty!cbmger!peterk
  2. From: peterk@cbmger.de.so.commodore.com (Dr Peter Kittel Germany)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Subliminal Messages
  5. Message-ID: <10407@cbmger.de.so.commodore.com>
  6. Date: 11 Jan 93 14:34:15 GMT
  7. References: <Gene_Ruebsamen.01lo@republik.fidonet.org>
  8. Reply-To: peterk@cbmger.de.so.commodore.com (Dr Peter Kittel Germany)
  9. Organization: Commodore Germany
  10. Lines: 19
  11.  
  12. In article <Gene_Ruebsamen.01lo@republik.fidonet.org> Gene_Ruebsamen@republik.fidonet.org (Gene Ruebsamen) writes:
  13. >I am trying to figure out a way to get my A3000 to flash a text
  14. >message on the screen for a brief period of time (about 1/15th to 1/30th)
  15. >of a second, and then wait a few seconds and flash the message again.
  16.  
  17. I'm a bit concerned with this subliminal stuff, but anyway. How about
  18.    WaitTOF();   /* Sync to screen start */
  19.    Write your message (e.g. by holding it on an own screen and simply
  20.                do a ScreenToFront(xxx);)
  21.    WaitTOF();   /* show it 1/60 s */
  22.    WaitTOF();   /* another 1/60 s, makes together 1/30 s */
  23.    /* Insert more WaitTOF's if you like */
  24.    Hide your message again (e.g. through ScreenToBack)
  25.    Delay(secs*50);  /* Pause until next exposition */
  26.  
  27. -- 
  28. Best regards, Dr. Peter Kittel  // E-Mail to \\  Only my personal opinions...
  29. Commodore Frankfurt, Germany  \X/ {uunet|pyramid|rutgers}!cbmvax!cbmger!peterk
  30. Wer's nicht kann, soll's bleiben klopfen oder Steine lassen!
  31.