Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

play video on StageVideo with starling

i work on as3 mobile project , iam using starling as Framework , how i can added a video on starling using stage video , not video player . stage video option is a lot better for performance . any one to advice me.

like image 623
Sameer H. Ibra Avatar asked Oct 04 '22 03:10

Sameer H. Ibra


1 Answers

answer : add your stage video class inside starling display object as overlay :

Starling.current.nativeOverlay.addChild(stageVideoPlayer)
like image 189
Sameer H. Ibra Avatar answered Oct 13 '22 11:10

Sameer H. Ibra