Hi, I want a progress bar on my projet that will follow time of the mp3 that is playing like Winamp. Is it possible ?
Announcement
Collapse
No announcement yet.
Useful thing...
Collapse
X
-
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]
-
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
-
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
-
Re: Useful thing...
You could use Tigger's code and trigger a flash progress bar...
Corey Milner
Creative Director, Indigo Rose Software
Comment
-
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
-
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
-
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
Comment