I have an swf file and embeded into a plane like this

swf = new swfMaterial() as MovieClip;
var animeM:MovieMaterial = new MovieMaterial(swf)
plane.material = animeM

The plane can play movie clip but I want to detect end of movie
I try to

if(swf.currentFrame >= swf.totalFrame){
    do something
}

but didn't work

How I can detect the end of the Movie Clip

Thank you

Reply via email to