Player object

Peter Haworth pete at lcsql.com
Tue Jan 13 20:10:42 EST 2015


OK, got it. The buttons are for a different usage than I interpreted them.
They do behave a bit strangely though.  Holding down the mouse sends a
playpaused message and does fast forward through the track but the track
doesn't start playing again when I let go the mouse.  Maybe I can store the
currenttime in a mouseDown handler then in mouseUp start the player again
if the currenttime is different.

I guess I'll just add my own button for prev/next track.

Thanks Scott.

Pete
lcSQL Software <http://www.lcsql.com>
Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and
SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html>

On Tue, Jan 13, 2015 at 3:37 PM, Scott Rossi <scott at tactilemedia.com> wrote:

> I don’t believe the player as any sense of “tracks” by itself.  The
> buttons on the right are for fast forward and reverse (click and hold), but
> like the play button, they don’t respond well when playing audio only.
> Play a movie and you’ll see the results better.
>
> Regards,
>
> Scott Rossi
> Creative Director
> Tactile Media, UX/UI Design
>
> On Jan 13, 2015, at 3:17 PM, Peter Haworth <pete at lcsql.com> wrote:
>
> > Just venturing into using a player object for the first time.
> >
> > I'm playing mp3 files in my iTunes library and I have most of what I want
> > to do figured out but one thing eludes me.
> >
> > The controller has a couple of buttons on the right that look like they
> are
> > supposed to move to the prev/next track (I'm playing music from a
> > library).  I see a playPaused message when I click on them but there
> > doesn't appear to be a way to differentiate between clicking on one of
> > those buttons and clicking the controller icon.  I'd like to start
> playing
> > the prev/next track in the library.
> >
> > I'm sure I'm missing something obvious!
> >
> > Pete
> > lcSQL Software <http://www.lcsql.com>
> > Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and
> > SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html>
> > _______________________________________________
> > use-livecode mailing list
> > use-livecode at lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the use-livecode mailing list