Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Keeping a Full Screen Projector Window in Front?!?!

Status
Not open for further replies.

nemecda

Technical User
Nov 12, 2003
6
US
I am new to the BuddyAPI xtra and more of a designer than programmer. My initial problem was that after my splash screen appears (.bmp file in projector folder)..applications or folders in that were open on my desktop jump in front of my fullscreen projector. I found another reference to this problem and bought the ba xtra. I put the following script on the first frame of my movie:

on enterFrame me
baWindowToFront(baWinHandle())
baSetWindowState(baWinHandle(), "StayOnTop")
end

This works.. EXCEPT.. there is a brief period where my desktop folders jump in front of my projector. Then as the first frame loads.. my projector becomes the focus. Is there a better place or way to use the baWindowToFront command?

Thanks in advance for any clues!!
 
Code:
on prepareMovie
occurs before
Code:
on startMovie
, then finally
Code:
on enterFrame
.

Please note
Code:
on prepareMovie
and
Code:
on startMovie
are movie script handlers, you cannot put them in the script channel in the score.
 
Thanks..
I did move my script to the
on prepareMovie movie script.
On that script, I am also using the rectdraw to resize my projector to match the screen resolution.

There is still a skip between the .bmp file and my projector :(

I actually now have a second problem, by using the baSetWindowState to "StayOnTop", my links which launch a web broweser is not working.. the browser is always in the background. Which makes sense.

I think my whole problem started when I created the .bmp "splash" screen. That seems to cause the projector to not go full screen.

Is there an easy way to create a "preloader" projector that would quickly launch to my bigger director projector?

 
Splash screen may not work properly with fullscreen projector under Windows. Use stub projector instead. Stub projector should contain minimum contents so it starts up fast.
 
That was the way to go. I hadn't understood the purpose of the stub projector before.. it was too easy :)

That "splash screen" .bmp file is too buggy.

Thanks!
Dana
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top