Hi list,

I'm trying for a few hours to figure this out, and I was unable so I'm
hoping that someone here can enlight me

I have a media playback component on my stage, it will load diferent
mixes from diferent dj's.
Each dj will have a track list, I have the start and of every track,
I've build a xml like this with the info
<?xml version='1.0' encoding="UTF-8"?>
<set>
        <track>
                <start>1</start>
                <end>325</end>
                <title>Egoexpress</title>
                <artist>Knartz IV</artist>
                <reclabel>Ladomat</reclabel>
        </track>
        <track>
                <start>326</start>
                <end>550</end>
                <title>SRI</title>
                <artist>Yellow Fever AA1</artist>
                <reclabel>Force Inc</reclabel>
        </track>
        <track>
                <start>551</start>
                <end>780</end>
                <title>Basteroid</title>
                <artist>Rabimmel</artist>
                <reclabel>Areal</reclabel>
        </track>
</set>

The start and end time are in seconds ( I couldn't figure out the best
way to do this, so I accept suggestions )

I also have 6 text fields on stage curr_title_txt, curr_artist_txt,
curr_reclabel_txt, next_title_txt next_artist_txt and
next_reclabel_txt.

how can I check the media playback component for the playhead position
to change the text on the text fields? (I've played with playheadTime
and I think I'm on the correct track here ), but I can't figure out
how to compare the value from the player with the data I loaded from
the xml

Any help will be appreciated

TIA
Grillo
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to