Reply to topic
FLV Issues... HELP FLASH GURUS!!!
Josh
Forum Regular

Joined: 01 Apr 2004
Posts: 1029
Location: Felton, Delaware
Reply with quote
Okay guys... im getting into flash alittlebit and trying to make a dynamic FLV player... this is what I've got so far...

in my fla file:
Code:
// Create a NetConnection object
var netConn:NetConnection = new NetConnection();
// Create a local streaming connection
netConn.connect(null);
// Create a NetStream object and define an onStatus() function
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;
};
// Attach the NetStream video feed to the Video object
my_video.attachVideo(netStream);
// Set the buffer time
netStream.setBufferTime(3);
// Begin playing the FLV file
netStream.play(Movie);


In my page...
Code:
<object type="application/x-shockwave-flash" data="playeritem.swf?Movie=/path/to/amovie.flv" width="320" height="306" class="leftmovie">
    <param name="movie" value="playeritem.swf?Movie=/path/to/amovie/flv" />
</object>


Now, the funny thing is I'm getting audio... but no video... any ideas?
Josh
Forum Regular

Joined: 01 Apr 2004
Posts: 1029
Location: Felton, Delaware
Reply with quote
nm got it... it's absolutely amazing what you can accomplish if you read... *bangs head*
Zorg


Joined: 19 Jan 2006
Posts: 1
Reply with quote
I seem to be having this same problem (except I am using the Media Playback component). Mind telling me how you resolved the issue?
dformica


Joined: 15 Feb 2006
Posts: 1
Reply with quote
I have the same problem FLV with MediaPLayback component. Everything works fine (stream, audio) but NO VIDEO. Help please.
FLV Issues... HELP FLASH GURUS!!!
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic