i have a portfolio application that uses a MediaPlayer
component to play both audio (MP3) and video (FLV) clips. when an
image thumb is clicked in the portfolio--either an image, a video
clip, or an audio clip is displayed (images are displayed in
another MC). everything works fine--when selecting an audio or
video thumb, then the corresponding audio or video clip is loaded
and played in the MediaPlayer. but this only works once. any other
time an audio or video thumb is selected, the corresponding clip
will not load and play.
below is the code i am currently using. resetMedia() is
another function that simply makes invisible the MediaPlayer and
image display MC (and then one of these will be turned back on to
display content), and also stops any media playback in MediaPlayer.