bluewalrus
06-21-2008, 05:48 AM
I have a basic idea of flash but I've never really worked with video. I'm trying to make 16:9 video's play. What I've seen so far online and around is that flv convert it to 4:3. I have it playing now at 16:9 with an action script (2.0) but its reading it as an mov file not an flv cause i heard the wont work. The audio won't work and i can't figure out how the seek command works. 1 Goes to the second frame 0 goes to start of movie and thats all i've found. I also tried making the current play time show up in a dynamic text field titled 'frame' but that doesn't work either. Any help here would be great thanks for your time:
stop();
var connect_nc:NetConnection = new NetConnection();
connect_nc.connect(null);
var stream_ns:NetStream = new NetStream(connect_nc);
myVideo.attachVideo(stream_ns);
stream_ns.play("2008-03-29_16x9 test.mov");
stream_ns.onStatus = function(infoObject:Object) {
if (infoObject.code == "NetStream.Play.StreamNotFound") {
trace("Could not find video file.");
}
};
stream_ns.pause(true);
pausebtn.onRelease = function() {
stream_ns.pause(true);
};
playbtn.onRelease = function() {
stream_ns.pause(false);
stream_ns.seek(0);
};
stopbtn.onRelease = function() {
stream_ns.status.complete;
};
rwbtn.onRelease = function() {
};
ffbtn.onRelease = function() {
};
frame = stream_ns.currentFps;
stop();
var connect_nc:NetConnection = new NetConnection();
connect_nc.connect(null);
var stream_ns:NetStream = new NetStream(connect_nc);
myVideo.attachVideo(stream_ns);
stream_ns.play("2008-03-29_16x9 test.mov");
stream_ns.onStatus = function(infoObject:Object) {
if (infoObject.code == "NetStream.Play.StreamNotFound") {
trace("Could not find video file.");
}
};
stream_ns.pause(true);
pausebtn.onRelease = function() {
stream_ns.pause(true);
};
playbtn.onRelease = function() {
stream_ns.pause(false);
stream_ns.seek(0);
};
stopbtn.onRelease = function() {
stream_ns.status.complete;
};
rwbtn.onRelease = function() {
};
ffbtn.onRelease = function() {
};
frame = stream_ns.currentFps;