Andromo - Start Making Apps - Free Signup

Announcement

Collapse

New Forum Software

If you're here, you've found the new home for our forums. There will be some bugs to iron out, so thanks for your patience...
See more
See less

Flash fs commands

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

  • #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


    • #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


      • #4
        fs command

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

        Comment


        • #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


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

            Comment


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

              Corey Milner
              Creative Director, Indigo Rose Software

              Comment

              Working...
              X