Flash Buttons

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • John McCoy
    Forum Member
    • Feb 2002
    • 15

    Flash Buttons

    Can anyone explain how to do the following with Buttons that have been created in Macromedia Flash.

    1. Mouse Over... Have Text appear in Text Box.
    ( I can do this with buttons created within Autoplay)

    2. Mouse Down... Action to Open a PDF File .. or go to next page etc

    Thanks
  • longedge
    Indigo Rose Customer
    • Aug 2003
    • 2496

    #2
    If you have AMS5 Pro version you use on fsCommand which is documented under "fscommand" in the help file. Obviously you have to get your swf to send the fscommands at the appropriate times.

    Comment

    • John McCoy
      Forum Member
      • Feb 2002
      • 15

      #3
      Buttons

      Thanks

      It all sounds soooooooooo easy... but toooooooo hard for me

      I have read all the info on Buttons

      I create the button
      on press

      Import into ams

      Then lost.

      Comment

      • ianhull
        Forum Member
        • Jul 2004
        • 314

        #4
        You can use geturl under the flash button like this.

        on (press) {
        getURL("pathto.pdf");
        }

        __________________________________________________ ___ or use

        on (press) {
        fscommand("Exec","true");
        }


        Then in AutoPlay insert your flash button and double click it go to the actions tab and insert your action.

        That should do it.

        Comment

        • longedge
          Indigo Rose Customer
          • Aug 2003
          • 2496

          #5
          Assuming that in flash you have 'sent' an fsCommand in say a mouse over state and other appropriate fsCommands in the other states/conditions you want to use, then you insert your swf in AMS.

          In AMS if you look at the Actions tab for your flash object you see just one option under Actions which is "on FSCommand" (this is in AMS pro version only). Whenever the flash object sends an fscommand, AMS receives it and you need to then test for it. So in the on fscommand you would for instance use -

          if (e_FSCommand == "Exit")
          Application.Exit()
          end

          You need to monitor for all possible parameters.

          Comment

          • longedge
            Indigo Rose Customer
            • Aug 2003
            • 2496

            #6
            A small example for you. The flash button sends fscommands on mouse over, press, release and mouse out and AMS responds in different ways and distinguishes which instance of the button is sending the command.

            Comment

            • John McCoy
              Forum Member
              • Feb 2002
              • 15

              #7
              Flash Buttons

              :lol
              Thanks LONGEDGE & IANHULL for your help

              I will now go and try this with renewed interest

              :lol :yes

              I will post a reply when I have it mastered :yes :yes

              Comment

              • Corey
                Indigo Rose Staff Alumni
                • Aug 2002
                • 9741

                #8
                Nice one Longedge! :yes :yes :yes :yes :yes

                Comment

                Working...
                X