February 10, 2004

FP7 video object bug fix tutorial

Last night I received an email from a fellow developer that was really in a pickle (when a fellow dev guy says he's about to cry like a 12 year old girl...) about a bug with the video object in Flash. I tried to explain to him what it was before that on the flashcom figgyleaf list but I wasn't getting my point across quite as well as I would have liked to I guess.

So due to the circumstances he was in, I couldn't stand by and watch him get fired or something from work and immediately cooked up a quick tute to help him solve his problem.

The bug is with the video object only in the flash player 7. I wrote a past post on this here. If you test this with FP6 it will work fine. My fix entails that you attach the video object to the stage each time you want to attach the cam to it so that it will reset and show the video properly each and every time, this will only be required if somebody else had been using that video object before you.

The only thing is (in this example) in the av presence component the buttons are above the video on the stage but when you attach the video by AS, they end up below the video so you have to find a way around that, maybe by placing them below the video object or placing them on a level above the video with AS. I haven't covered that part..

Keep in mind that this is not a component fix (fyi, in the tute I am using v1 components, and only because it is an easy example), it is the fix for all video objects.

I'm actually quite surprised that other developers haven't either noticed or said anything, and a bit more surprised that MM won't recognize that this is a bug in the FP7.

Here's the video tutorial. It's about 5 mins.

If it has helped you (or not maybe), please let me know in the comments.

Posted by Graeme at February 10, 2004 08:30 PM
 



Comments

thanks for taking the time to do this. i haven't run into this problem yet but it sure is nice to know the heads up.

best
nathan

Posted by: nathan at February 10, 2004 10:04 PM

I also haven't run into this problem but good job on the fix. The Chinese characters kind of freaked me out when I first popped it open!

Posted by: utsimo at February 10, 2004 10:32 PM

Thanks, I forgot to mention that my Flash program is the Japanese version. Hopefully this helps enough people out, and maybe wakes MM up to the fact? :)

Posted by: Graeme at February 10, 2004 10:41 PM

thanks, I've had the same problem and couldn't figure it out.

Posted by: paul at February 11, 2004 12:02 AM

(我对提供这个例子感到高兴,盼望以后有更多的面向初级读者的例子以更加详实的方式出现----thank you !!)I am very sorry! I am Chinese and I could not use English very well .

Posted by: shenjianguo at February 18, 2004 03:14 PM

could you recommend it expatiately and more?--- thank you !!)I am very sorry! I am Chinese and I could not use English very well .

Posted by: shenjianguo at February 18, 2004 03:19 PM