Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Splash screen?
Index -> Programming, Turing -> Turing Help
Goto page 1, 2  Next
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
lord_pwnerer




PostPosted: Sun Nov 05, 2006 3:25 pm   Post subject: Splash screen?

Does anybody know how to create a splash screen just without the windows bar on top? Like, a splash screen that the turing compiler has. One like that.

I've looked around and haven't found anything.

Thanks,
Sponsor
Sponsor
Sponsor
sponsor
ericfourfour




PostPosted: Sun Nov 05, 2006 4:44 pm   Post subject: (No subject)

Its not possible to remove the bar at the top but I think you can position the window so the bar is off the top of the screen.

code:
View.Set ("position:...")
[Gandalf]




PostPosted: Sun Nov 05, 2006 5:30 pm   Post subject: (No subject)

It's a bit complicated... Though here is what you could do:
1. Since it's not possible in Turing, create an executable in another language to do the splashscreen for you.
2. Hide the Turing window as soon as your main program is executed.
3. Execute the splash screen using Sys.Exec().
4. After it has been displayed for the desired time, the splash screen terminates and the Turing window is again displayed.

Not sure if it'll actually work though, good luck.
lord_pwnerer




PostPosted: Sun Nov 05, 2006 5:46 pm   Post subject: (No subject)

That is a great idea! Thanks alot, what I might to is make a flash executable, and then execute it with turing like you said! That's genius. I hope it works.

Thanks alot.
kompsai




PostPosted: Wed Nov 08, 2006 10:55 am   Post subject: (No subject)

apart from the title bar, this'd work, and is probably worthwhile to at least try:

on execution, have the main run window hide, and open a new, smaller window with no button bar, etc., which displays your image/logo/whatever, and then either have a 'continue' button or set a delay until the window closes, and the main window comes back.

i dont know the specific code to do this, but i know it can be done.
DemonZ




PostPosted: Wed Nov 08, 2006 3:27 pm   Post subject: (No subject)

Why Dont you just use
code:

setscreen ("nobuttonbar")

This way the button bar will disappear when you run your program
[Gandalf]




PostPosted: Wed Nov 08, 2006 6:10 pm   Post subject: (No subject)

DemonZ wrote:
This way the button bar will disappear when you run your program

Because splash screens don't have the Windows bar at the top. Turing can remove the "button bar", but not the Windows bar.
lord_pwnerer




PostPosted: Wed Nov 08, 2006 8:58 pm   Post subject: (No subject)

Thanks alot for all your input guys!

I've decided how I'm going to do it, and will share it with you guys in case you ever have the urge to make cool splash screens. (All credit of this idea goes to Gandalf for the wicked awesome idea)

In response to you other posts on why I didn't use View.Set and take the button bar off, Gandalf was once again correct in saying splash screens do not have the Windows button bar, but thanks for the suggestions anyway.

I have made a flash splash-screen. But once again do not want it to display the Windows bar. So, using a third-party program for flash animations called MDM Zinc, which enables you to tweek these properties, I made the splash screen without any Windows bar.

I will then execute it using Sys.Exec() and it will open the newly made .exe which has no button bar, as a splash-screen.

BUT!, this solution is not perfect!, I have yet to find a way to close the flash movie after either the timeline is finished, or after a delayed period of time. This of course would have to be done with ActionScript*.

If anybody knows of a way to do this with ActionScript, please let me know. Thanks for all your suggestions, and if you don't mind having Windows bars on your splash-screens, then flash movies make excellent ones. (Granted we find a way to close them internally)

-------------------------------------------------------------------------------------
* ActionScript is a proggramming language used to tweek and modify components in flash movies such as the timeline, buttons, mouse, and keyboard.
Sponsor
Sponsor
Sponsor
sponsor
[Gandalf]




PostPosted: Thu Nov 09, 2006 9:27 pm   Post subject: (No subject)

lord_pwnerer wrote:
(All credit of this idea goes to Gandalf for the wicked awesome idea)

Hehe, thanks.

Here's one solution to your problem... After executing the Flash program from Turing, run a program made in yet another language to close the splash screen and then terminate itself... Or is that complicating things too much? Laughing
lord_pwnerer




PostPosted: Fri Nov 10, 2006 7:13 pm   Post subject: (No subject)

Lol, now things are getting complicated. To bad there's not like a Sys.Stop() command in Turing, or something like that. I would consider making that 'other program' in Java, but the problem is that I want my Turing program to be able to run in full without the computers having Java installed on them.

I don't know any C++, or any VB, which would be the other languages that I would consider using. I don't know if either of those would be able to do what I want either.
ericfourfour




PostPosted: Fri Nov 10, 2006 11:12 pm   Post subject: (No subject)

Isn't there a command that you can use to terminate a process. It has something to do with the command line. I think it was discussed before.
lord_pwnerer




PostPosted: Sat Nov 11, 2006 11:29 am   Post subject: (No subject)

That would be awesome, I searched around but I couldn't find anything. (I hope you mean like an actaul running process, not a process inside of your code, lol)

If anybody knows of a way to do this, I would be very greatfull.
jrblast




PostPosted: Sat Nov 11, 2006 12:30 pm   Post subject: (No subject)

Is there no flash script that will terminate itself? Turing can close its own programs, so I would think flash can too.
lord_pwnerer




PostPosted: Sat Nov 11, 2006 3:22 pm   Post subject: (No subject)

I've posted on flash-specific forums, and nobody seems to know. I thought that there would have to be one also, but it seems otherwise. If you find one, please let me know.
[Gandalf]




PostPosted: Sat Nov 11, 2006 4:03 pm   Post subject: (No subject)

Hmm... I thought I had already posted this. In any case, here it is again:

Well, there is a way... I only hope that some fool doesn't use this for malicious purposes.
code:
var success : boolean := Sys.Exec("taskkill /f /im turing.exe")
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 2  [ 16 Posts ]
Goto page 1, 2  Next
Jump to:   


Style:  
Search: