Media Playback Component - how do i close connection
i using media playback component stream mp3 files. rtmp files loaded flash component database , show click-to-play links. when users click play them, call stop on playback component if playing , playback component path changed clicked song , told play. when run flash application fine, however, when preview on web or load onto web has problems.
on web:
1. each time click link makes new connection media server , not close old one.
2. music either fails play, stutters, plays both streams, or plays while , quits.
3. end 1 user taking bunch of streaming licenses
from flash:
1. each time click link closes old connection , makes new connection.
2. correct song plays without problems.
3. 1 user, 1 license
does have thoughts? how explicitly close connection?
on web:
1. each time click link makes new connection media server , not close old one.
2. music either fails play, stutters, plays both streams, or plays while , quits.
3. end 1 user taking bunch of streaming licenses
from flash:
1. each time click link closes old connection , makes new connection.
2. correct song plays without problems.
3. 1 user, 1 license
does have thoughts? how explicitly close connection?
write stopmusic function contains code: "delete yourmusic" yourmusic name of sound object. i.e. var yourmusic:sound;
More discussions in ActionScript 1 and 2
adobe
Comments
Post a Comment