| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Flash Seeker
Join Date: Feb 2003
Location: Egypt
Posts: 60
|
on (release) {
var netConn:NetConnection = new NetConnection(); netConn.connect(null); var netStream:NetStream = new NetStream(netConn); netStream.onStatus = function(infoObject) { status.text += "Status (NetStream)"+newline; status.text += "Level: "+infoObject.level+newline; status.text += "Code: "+infoObject.code+newline; }; my_video.attachVideo(netStream); netStream.setBufferTime(5); netStream.play("04_56k.flv"); } I have this code on a button to play a FLV File this code work nice on the local machine, but it doesn't work on the web . anyone can Help me |
|
|
|
|
|
#2 |
|
Registered User
Join Date: Jun 2004
Posts: 1
|
I'm going through some similar pain. One thing to try is to NOT include the file extension in the flv reference, "movie" not "movie.flv".
|
|
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|