Useful thing...

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Ready
    Forum Member
    • Jan 2003
    • 4

    Useful thing...

    Hi, I want a progress bar on my projet that will follow time of the mp3 that is playing like Winamp. Is it possible ?
  • Derek
    Indigo Rose Customer
    • May 2001
    • 1254

    #2
    Re: Useful thing...

    Nope ... 'fraid not. I have already requested an Object.Move action that would work with such an idea, but currently there is no way within AMS to do that.
    You may be able to come up wth something using current Objects [colored text boxes etc] that will show the progress, like IE does when it's loading a web page - but this would not be interactive.

    [However, something tells me there must be a way to integrate Flash to achieve this.]
    -
    = Derek
    ["All glory comes from daring to begin" - fortune cookie]

    Comment

    • TJ_Tigger
      Indigo Rose Customer
      • Sep 2002
      • 3159

      #3
      Re: Useful thing...

      There was the MP3 player project that Adam made for 4.0 beta. In there he had a progess bar that used the time of the mp3 file. On the main page he had a text object that would get the full time of the mp3 (%MP3Total%) that is playing and in front of that time it would update a variable of the current time(%MP3Time) in the mp3. I know I am not describing it correctly but here is what he did with the actions.

      On initialize the variables are set to 00:00:00
      %MP3Time% = "00:00:00"
      %MP3Total% = "00:00:00"

      Then on Song Progress of the MP3 he used these actions
      %MP3Time% = MP3.GetProperty ("Progress")
      TextObject[Text5].SetText ("%MP3Time%")
      %MP3Total% = MP3.GetProperty ("Length")
      TextObject[Text6].SetText ("%MP3Total%")

      I hope that helps.
      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

      • Lorne
        Indigo Rose Staff Member
        • Feb 2001
        • 2729

        #4
        Re: Useful thing...

        Derek -- you can simulate a progress bar with multiple objects lined up in a row, showing one at a time in sequence to make it look like a slider advancing by a step.

        As for moving objects, [img]/ubbthreads/images/icons/smile.gif[/img].
        --[[ Indigo Rose Software Developer ]]

        Comment

        • Corey
          Indigo Rose Staff Alumni
          • Aug 2002
          • 9745

          #5
          Re: Useful thing...

          You could use Tigger's code and trigger a flash progress bar...

          Corey Milner
          Creative Director, Indigo Rose Software

          Comment

          • TJ_Tigger
            Indigo Rose Customer
            • Sep 2002
            • 3159

            #6
            Re: Useful thing...

            Show me the Flash!!
            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

            • Derek
              Indigo Rose Customer
              • May 2001
              • 1254

              #7
              Re: Useful thing...

              Yes Lorne, as I stated in my reply - with current objects etc. like simulating the IE progress bar.

              Thats what i did with my "installing LindowsOS" [img]/ubbthreads/images/icons/smile.gif[/img]
              -
              = Derek
              ["All glory comes from daring to begin" - fortune cookie]

              Comment

              • Ready
                Forum Member
                • Jan 2003
                • 4

                #8
                Re: Useful thing...

                I have already a text box that show the time each seconde. What I want is what Derek has tried with objet.move. A progress bar interactive (ex: if I click in the meddle, the time will seek on good position). But if we cant do that in AMS, ok. Thx for help.

                Comment

                • Worm
                  Indigo Rose Customer
                  • Jul 2002
                  • 3971

                  #9
                  Re: Useful thing...


                  As for moving objects[img]/ubbthreads/images/icons/smile.gif[/img]
                  Lorne,
                  Are you teasing us again?...

                  Comment

                  • Lorne
                    Indigo Rose Staff Member
                    • Feb 2001
                    • 2729

                    #10
                    Re: Useful thing...

                    [img]/ubbthreads/images/icons/smile.gif[/img]
                    --[[ Indigo Rose Software Developer ]]

                    Comment

                    • _acecombat_
                      Forum Member
                      • Dec 2002
                      • 20

                      #11
                      Re: Useful thing...

                      I'm working on a way now. I havent quite worked out the timing if >60 secs but i have got the interactivity happening and a progress bar happening. I will upload whenit all working AOK!

                      Comment

                      Working...
                      X