vendredi 29 mai 2015

i got an error when i'm trying to use event that allow me to do something after my flvplayback end

here is the code

introVideo.source = "video/Intro.flv";;

introVideo.addEventListener(Event.COMPLETE, selesaiIntro);
function selesaiIntro(event:Event):void{
    gotoAndPlay(1,"Scene Gambaran Umum");

and i got error TypeError: Error #1009: Cannot access a property or method of a null object reference. at UIrev80_rombak_uibaru_fla::MainTimeline/frame2()[UIrev80_rombak_uibaru_fla.MainTimeline::frame2:13] at flash.display::MovieClip/gotoAndPlay() at UIrev80_rombak_uibaru_fla::MainTimeline/selesaiIntro()[UIrev80_rombak_uibaru_fla.MainTimeline::frame1:13] at at at at at at at i have search in many forums but i can't find the right answer i have tried use VideoEvent and i'm trying to use any other option, but it's same that it can't solved my problem, i'm sorry for poor my english grammar can someone help me? thank you very much

Aucun commentaire:

Enregistrer un commentaire