Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / General Flash Topics / July 2008



Tip: Looking for answers? Try searching our database.

Playing FLV's - I'm Confused!!

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
blazelet - 08 Jul 2008 17:34 GMT
Hey everyone!

I have long avoided flash, now I'm giving it a shot. I got stuck this evening
trying to work my way through a template. As I describe my problem please bear
with me, I am only half certain that I know what's going on. This is what I'm
up against :

I have a flash template that has an image index. Each thumbnail in the index
launches the same timeline, but goes to a certain frame on that timeline and
sits, showing the image that's on that one frame of the timeline. There is then
a navigation bar that allows you to cycle through the images (or frames) on the
timeline.

I am wanting to dispell the images in each of these still frames and, in their
place, put a video flv box and text. Ideally the FLV would not be playing, but
you would be able to control the playback with buttons. I have been able to
make this work in a new document using the following Actionscript :

var netConn:NetConnection = new NetConnection();
netConn.connect(null);
var netStream:NetStream = new NetStream(netConn);
netStream.onStatus = function(infoObject) {
status_txt.text += "Status (NetStream)" + newline;
status_txt.text += "Level: "+infoObject.level + newline;
status_txt.text += "Code: "+infoObject.code + newline;
};
my_video.attachVideo(netStream);
netStream.setBufferTime(5);
netStream.play("composed.flv");
netStream.playPauseButton = play_pause_1;
netStream.seekBar = seek_1;
netStream.volumeBar = volume_1;

However, when I try and apply this to my single still frame, the video does
play when you initially enter the frame, but none of the buttons work. I am
assuming it has something to do with the fact it is sitting on a paused frame
and flash doesn't like having active buttons in that state? Or am I completely
off? Can anyone offer me an approach to how I might go research this at least?
I've been hammering at it for 12 hours now!

Inversely, I did try the FLVPlayback component, and it doesn't work at all! In
a brand new document I get it to work easily, but when I try and put it
anywhere in this template I'm working with - it looks fine in work mode but as
soon as I preview it completely disappears - I have no video, no audio, no skin
- it's like I never put it there.

If anyone has any insight, I'd very much appreciate it.

Thanks!

Ryan
blazelet - 11 Jul 2008 20:35 GMT
I've taken a few days off of this to wrap up another project but now I'm back on it and still can't figure out the problem after looking at it fresh today.

Might anyone have some insight?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.