Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/flash/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
TypeError:错误1006:值不是函数。flash Builder 4.6上的电影剪辑_Flash_Builder_Movieclip - Fatal编程技术网

TypeError:错误1006:值不是函数。flash Builder 4.6上的电影剪辑

TypeError:错误1006:值不是函数。flash Builder 4.6上的电影剪辑,flash,builder,movieclip,Flash,Builder,Movieclip,我需要在电影剪辑结束或到达x帧或标签时启动一个功能。 我怎么做呢 我尝试了以下代码和其他一些代码: if (PresentacionVideo.currentFrame("fin")) { trace("Termino Animacion"); stage.removeChild(PresentacionVideo); stage.addEventListener(Event.ENTER_FRAME,Update); } 但它不起

我需要在电影剪辑结束或到达x帧或标签时启动一个功能。 我怎么做呢

我尝试了以下代码和其他一些代码:

if (PresentacionVideo.currentFrame("fin"))
    {
        trace("Termino Animacion");
        stage.removeChild(PresentacionVideo);
        stage.addEventListener(Event.ENTER_FRAME,Update);
    }
但它不起作用,它说:

TypeError:错误1006:值不是函数

有人能帮我吗? 谢谢 对不起我的英语

试试这个

if (PresentacionVideo.currentFrameLabel == "fin")
        {
            trace("Termino Animacion");
            stage.removeChild(PresentacionVideo);
            stage.addEventListener(Event.ENTER_FRAME,Update);
        }

是的,我知道了。我真是个傻瓜,谢谢你。