Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 7 of 7
  1. #1
    Join Date
    Jun 2002
    Posts
    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

  2. #2
    Join Date
    Jun 2002
    Posts
    24

    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

  3. #3
    Join Date
    Sep 2002
    Location
    Sol 3
    Posts
    3,160
    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

  4. #4
    Join Date
    Jun 2002
    Posts
    24

    fs command

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

  5. #5
    Join Date
    Feb 2001
    Location
    Indigo Rose Software
    Posts
    2,728
    ...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 ]]

  6. #6
    Join Date
    Jun 2002
    Location
    Southeast USA
    Posts
    1,804
    Hmmm.... Yeah. Where are those advanced Flash/AMS tutorial CDs when you need 'em?
    Eric Darling
    eThree Media
    http://www.ethreemedia.com

  7. #7
    Corey is offline Indigo Rose Staff Alumni
    Join Date
    Aug 2002
    Posts
    9,746
    Give me a month. Ended up doing these other two first.

    Corey Milner
    Creative Director, Indigo Rose Software

Posting Permissions

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