PDA

View Full Version : FLVPlayback Simple Problem but Confusing


redXI
10-25-2006, 06:20 AM
Hi guys, I'm working for my website but I have a little problem here. I really need your help guys since I gotta finish this site on this week. I almost ran out of oxygen for figuring out the problem, and so I decided to seek experts' help. Ok, here goes.
http://img183.imageshack.us/img183/3377/01yf2.jpg

Above is my extra page. By clicking on the "judges" button, a screen will appear.

http://img242.imageshack.us/img242/9019/02qy2.jpg

The screen itself is a component. What I want acually is not only the screen, but the video must also show up inside the component as well, like below:

http://img221.imageshack.us/img221/7176/03xw3.jpg

The video is uploaded using a Sorenson Spark codec. And I find it impossible to include action script to hide the video using _visible = false. I can use this _visible = false fine to the component screen but I can't apply it to this one. I wanna make it unseen at first and after clicking the button, the movie will appear. I also try using "stop" actionscript but it won't work. So, the questions are:

1. How do I make the movie invisible at first(before clicking it?)
2. How do I make the movie appear simultaneously with the component screen by clciking the button? And by clicking the button once again, will make them both disappear.

Please assist this poor boy...thanks a lot!:)

Navarone
10-25-2006, 12:46 PM
I assume you are using the NetStream object and you used Sorensen to make the flv? I am not sure I understand when you say it's uploaded using the Sorensen codec.

redXI
10-25-2006, 01:03 PM
I imported the file to Flash using that codec :)

Navarone
10-25-2006, 01:13 PM
Oh.. ok. That means you have a movieClip that makes up your video, correct?

What you should do is export it as an FLV. Unless you have a reason for leaving it as a movieClip.

roamingBobert
10-25-2006, 01:56 PM
A quick and dirty way to do it would be to place a movie clip that is the same color as the player background above the flv layer... then show or hide it to 'reveal' the flv itself...

Prob a better way, but if time is an issue...