Flash fs commands

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • fredkauf
    Indigo Rose Customer
    • Jun 2002
    • 24

    Flash fs commands

    I have a flash start page that has 3 buttons on it with fs commands and I need to have when button one is pressed on my flash start page to jump to page one, button 2 to jump to page two and so on, I can get button one to do a page jump to page one ok but thats where I get stuck. Do I need some different paramerters in the flash fs command, or do I need some different actions in AMS 5 to allow the page jump actions to work. I have the fs commands in flash set up on the 3 buttons to fscommand page1,2,3 and in AMS5 the pages are labeled page1,2,3.

    Thanks
  • fredkauf
    Indigo Rose Customer
    • Jun 2002
    • 24

    #2
    fs command

    I Think I had a brain cramp, figured it out

    if (e_FSCommand == "jump1")
    then Page.Jump("page1");
    end
    if (e_FSCommand == "jump2")
    then Page.Jump("page2");
    end
    if (e_FSCommand == "jump3")
    then Page.Jump("page3");
    end


    Thanks

    Comment

    • TJ_Tigger
      Indigo Rose Customer
      • Sep 2002
      • 3159

      #3
      You could string them together as well using elseif statements

      if (e_FSCommand == "jump1") then
      Page.Jump("page1");
      elseif (e_FSCommand == "jump2") then
      Page.Jump("page2");
      elseif (e_FSCommand == "jump3") then
      Page.Jump("page3");
      end
      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

      Comment

      • fredkauf
        Indigo Rose Customer
        • Jun 2002
        • 24

        #4
        fs command

        Thanks Tigger, that's the way I wound up doing it. The older I get the more I forget...

        Comment

        • Lorne
          Indigo Rose Staff Member
          • Feb 2001
          • 2729

          #5
          ...and if you change your FSCommands a bit, you can make changes without even having to touch the AutoPlay script. Try this:

          Code:
          Page.Jump(e_FSCommand);
          Then just pass the page name from your Flash actionscript.
          --[[ Indigo Rose Software Developer ]]

          Comment

          • eric_darling
            Indigo Rose Customer
            • Jun 2002
            • 1805

            #6
            Hmmm.... Yeah. Where are those advanced Flash/AMS tutorial CDs when you need 'em?
            Eric Darling
            eThree Media
            http://www.ethreemedia.com

            Comment

            • Corey
              Indigo Rose Staff Alumni
              • Aug 2002
              • 9745

              #7
              Give me a month. Ended up doing these other two first.

              Corey Milner
              Creative Director, Indigo Rose Software

              Comment

              Working...
              X