Adding 2 videos in 2 different scenes doesn't work??? (error #1009)

自古美人都是妖i 提交于 2020-01-06 21:25:38

问题


I've been pulling my hair trying to figure this one out.

I thought I am doing something very simple, but it fails miserably.

All I am doing is this: I open a new document, import 1 video, then add another scene and import another video into the 2nd scene. I make sure the videos are named instances.

Now, I press "Test movie" (Ctrl + Enter), but I only get a 2nd movie playing with the following error:

TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at fl.video::UIManager/http://www.adobe.com/2007/flash/flvplayback/internal::hookUpCustomComponents()
    at fl.video::FLVPlayback/http://www.adobe.com/2007/flash/flvplayback/internal::handleVideoEvent()....

WHYYYYY??????

I've tried everything I could think of, but why something seemingly so simple doesnt work???


回答1:


I did some tests and I got the same behavior as you've mentioned in your question.

These are my remarks about the problem :

  • I think that's a bug in the FLVPlayback component.

  • The problem is fired when you have (at least) two scenes and when the FLVPlayback component(s) inserted in the first scene(s) has no skin (e.g. as your example, you have two scenes, and the FLVPlayback component inserted in the 1st one has no skin). The problem can also be fired when you have many FLVPlayback components inserted in different frames even on the same scene ...

  • To avoid the problem, you can add a stop() in the first scene (or each scene), which I think is a normal thing otherwise the animation playhead will continuously play all scenes.

Hope that can help.



来源:https://stackoverflow.com/questions/34003944/adding-2-videos-in-2-different-scenes-doesnt-work-error-1009

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!