FLV File
- Started
- Last post
- 14 Responses
- Sharif
im trying to call a movie to stream when a button is pressed, dont know how to make an flv file, so after your done laughing can someone un retard me on thi, heres my code
var nc:NetConnection = new NetConnection();
nc.connect(null);var nas:NetStream = new NetStream(nc);
this.theVideo.attatchvideo(ns)
ns.play("FRANKLIN CHANG DIAZ.mov");
this.frankplay.onRelease = function() {
ns.play("FRANKLIN CHANG DIAZ.mov");}
thanks guys
- Sharif0
is an flv just automatically generated when you import the clip and embed it into the actual flash doc?
- TResudek0
Open up the properties for the imported movie and export as FLV
TR
- Sharif0
thank you thank you
- UndoUndo0
FLV => FLash Video.
- Sharif0
now i got that, i just gotta figure out why its not playing, i think the script is good, i checked it in flash, said there were no errors, thanks for the help guys
- Sharif0
here it is now
var nc:NetConnection = new NetConnection();
nc.connect(null);var nas:NetStream = new NetStream(nc);
this.theVideo.attatchvideo(ns)
ns.play("frank.flv");
this.frankplay.onRelease = function() {
ns.play("frank.flv");}
- Sharif0
basically, I might not really need to do any of that, all I want is to have it and a couple other videos played when a certain button is pressed, do I need to go through all of this trouble, or is there an easier way? Please excuse the huge lack of NO IDEA, it just got thrown at me at work and Im just trying to get it done, thanks again guys
reef
- Sharif0
basically, I might not really need to do any of that, all I want is to have it and a couple other videos played when a certain button is pressed, do I need to go through all of this trouble, or is there an easier way? Please excuse the huge lack of NO IDEA, it just got thrown at me at work and Im just trying to get it done, thanks again guys
reef
- j_red0
you're having it play twice, you don't need to do that....
make sure it's in the rioght directory, it won't give you an error message if it's not in the right place like it will with a .swf or .jpg
make sure you don't have spaces in the filename.
- UndoUndo0
embed yr videos in a swf and load the swf in. maybe much simpler for you.
http://www.kirupa.com some good tuts over there
- Sharif0
thanks again guys
- Sharif0
so if its in the same directory as my fla file, i dont need to add anything else but "moviename.flv"?
no/ before and what not
- zuna0
i ran into a problem that is similar to this, my flv didnt play because it didnt have the correct Meta Data included in it. see if thats what you need. if it doesnt have the correct metadata the file sometimes wont show loading progess or play markers. http://www.buraks.com/flvmdi/
- Sharif0
thanks ill definately check that out, Im just trying to find some good resources that arent so complicated, just simple, thanks to everyone thats helpin a brother out, take care
reef