Exit application button

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Geoffh
    Indigo Rose Customer
    • Jun 2003
    • 34

    Exit application button

    Hi there
    Need some help. I know this should work but can,t figure out what I'm doing wrong. I am stumped. Anyone recognize what's up.

    I created my animated text menu's in Swish, exported as a Flash file and imported to AMS 4. I added a text button in Swish to allow users to exit the presentation and close the Autoplay window. I assigned an FSCommand "EXIT".

    in AMS4 the commands I added:

    %Property% = FlashObject(Flash1).Get Property(Last FSCommand"

    IF (%FSCommand% = "exit")
    Aoolication exit
    WAV stop
    END IF

    the problem is the animation graphics stop but the window stays open and the WAV continues playing.

    Thanks in advance
    Geoff



  • Corey
    Indigo Rose Staff Alumni
    • Aug 2002
    • 9745

    #2
    Re: Exit application button

    Looks like you used "EXIT" in swish and "exit" in AMS. try making them both the same case type, i.e. uppercase or lowercase, but not both...

    Corey Milner
    Creative Director, Indigo Rose Software

    Comment

    • Geoffh
      Indigo Rose Customer
      • Jun 2003
      • 34

      #3
      Re: Exit application button

      Thanks for your reply Corey.

      I've got "EXIT" in upper case in the Swish FSCommand and the AMS side. It was just in my email message that I had them different (Upper and lower case)

      It seems like the command "Application Exit" is stopping the Flash object from playing but the AMS application stays open! with the background displayed. I end up having to terminate the AMS preview application using Task Manager.

      hope this extra info helps.
      Regards
      Geoff

      Comment

      • Corey
        Indigo Rose Staff Alumni
        • Aug 2002
        • 9745

        #4
        Re: Exit application button

        You have

        IF (%FSCommand% = "exit")

        But it should be

        IF (%Property% = "exit")

        That's all...

        Corey Milner
        Creative Director, Indigo Rose Software

        Comment

        • Geoffh
          Indigo Rose Customer
          • Jun 2003
          • 34

          #5
          Re: Exit application button

          That's it!! I was just looking at a knowledge base article too. Where it said I should use the following first:

          %FSCommand% = FlashObject(Flash1).Get Property (Last FSCommand)


          I had Property in between the % signs.

          Great Thanks
          Geoff

          Comment

          • Corey
            Indigo Rose Staff Alumni
            • Aug 2002
            • 9745

            #6
            Re: Exit application button

            [img]/ubbthreads/images/icons/smile.gif[/img]

            Corey Milner
            Creative Director, Indigo Rose Software

            Comment

            Working...
            X