| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| I have an flv playback component that plays a flv. Is there a way to make it instead of just playing one loop through a series of flvs? |
|
#2
| |||
| |||
| This is ONE way to do it: Add a FLVPlayback-component on the stage and name it myPlayer. Add this code to the first frame. var counter:int = 0; var playList:Array = ["Video1.flv","Video2.flv","Video3.flv"]; myPlayer.source = playList[counter]; myPlayer.addEventListener(Event.COMPLETE, nextVid); function nextVid(e:Event):void { counter ++; if (!playList[counter]) { counter=0; } myPlayer.source = playList[counter]; } |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.