Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 10 of 10
  1. #1
    Join Date
    Nov 2005
    Posts
    33

    Old "Credit" Function

    We've finally upgraded from AMS 4 to 6 and I can't quite recreate the old "credit" splash image when exiting the application. I did manage to figure out that "Dialog.SplashImage("AutoPlay\\Images\\Credit.jpg" , 5, true);" on ShutDown for Project Settings almost does it, but the application is still open behind it which looks a little weird. Anyone have any ideas on how to close out the application and then show the credit splash image for a specfified interval? Thanx in advance.

  2. #2
    Join Date
    Sep 2002
    Location
    Sol 3
    Posts
    3,160
    Certainly, just use Application.Hide to hide your project window, and then show the splash image, start a timer or use the Application.Sleep and when that is done, have it exit.

    Tigg
    TJ-Tigger
    "A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
    "Draco dormiens nunquam titillandus."
    Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine

  3. #3
    Join Date
    Jun 2002
    Location
    Israel
    Posts
    1,843
    Why not do it simpler (sorry Tigg...).

    1. Create your credit page (which now could also include any object you want...) and point all your "exit" buttons to it.

    2. Inside the onTimer event of that page, just add Application.Exit.

    3. Inside the onShow event, add Page.StartTimer(n) where n is the time you want the credit page to remain on.

    Good luck

    Yossi

  4. #4
    Corey is offline Indigo Rose Staff Alumni
    Join Date
    Aug 2002
    Posts
    9,746
    That's an excellent idea Yossi. You could even add a resize action to that page if you want a custom size exit splash.

  5. #5
    Join Date
    Aug 2003
    Location
    Maine, USA
    Posts
    1,695
    I see what you're saying Yossi as far as choice of a shutdown page, but why all this timer stuff?

    Window.Hide(Application.GetWndHandle());
    Dialog.SplashImage("AutoPlay\\Images\\Credit.jpg", 5, true);

    done

  6. #6
    Join Date
    Jun 2002
    Location
    Israel
    Posts
    1,843
    Sorry Ron, but you're wrong.
    What happens AFTER the Splash? You are stuck with the app still running and need to close it.
    The way I proposed mimicks almost exactly the way ver 4 did it. And, Corey, you are 100% right about the custom size (and add a mask with setMask.DLL...).

    Yossi

  7. #7
    Join Date
    Aug 2003
    Location
    Maine, USA
    Posts
    1,695
    Yossi, the actions I presented are on the shutdown event, the "exit" is already invoked

  8. #8
    Join Date
    Jun 2002
    Location
    Israel
    Posts
    1,843
    Ah...OK. Understood...Sorry.

    Yossi

  9. #9
    Join Date
    Nov 2005
    Posts
    33

    Workable Solutions

    Thanks to all for your ideas and dialogue.

    Window.Hide(Application.GetWndHandle());
    Dialog.SplashImage("AutoPlay\\Images\\Credit.jpg", 4, true);

    works just fine for my purposes when it's tied to "On Shutdown" in Project Actions, but I'll certainly keep Yosik's idea (and Corey's embellishment) in mind if I want to go a little slicker and end with a video of our revolving logo along with the credit info intead of just a static graphic.

  10. #10
    Join Date
    Sep 2002
    Location
    Sol 3
    Posts
    3,160
    If you do go the route of directing all the exit functions to a particular page, take a look at the built-in function QueryAllowProjectClose ( ). This will catch the application whenever it tries to close so you can make sure they are directed to the credit page.

    Tigg
    TJ-Tigger
    "A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
    "Draco dormiens nunquam titillandus."
    Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine

Similar Threads

  1. Another tough one... Interaction between Web and AMS
    By Agent Jones in forum AutoPlay Media Studio 5.0
    Replies: 13
    Last Post: 08-18-2005, 02:10 PM
  2. Function: String.RandomFromPattern
    By Brett in forum Setup Factory 8.0 Examples
    Replies: 0
    Last Post: 10-28-2004, 08:09 AM
  3. Bizarre Callback Function Behaviour - Can anyone help?
    By SRJ in forum AutoPlay Media Studio 5.0
    Replies: 3
    Last Post: 06-30-2004, 09:16 PM
  4. Function: Increase/Decrease Audio Playback Volume
    By Adam in forum AutoPlay Media Studio 5.0 Examples
    Replies: 0
    Last Post: 05-31-2004, 02:28 PM
  5. Function: Resize & Center an Image
    By kpsmith in forum AutoPlay Media Studio 5.0 Examples
    Replies: 0
    Last Post: 05-17-2004, 01:36 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts