D
D
Denis Kovalchuk2015-04-29 10:03:40
Adobe Flash
Denis Kovalchuk, 2015-04-29 10:03:40

Why doesn't NetStream open video when running swf locally?

Such a problem: when you run the flash drive locally from the browser, everything works, but if you just open the flash drive with the player, it does not work. Is it possible to make it work locally from the player too?
AS2 code:

var flv_connect:NetConnection = new NetConnection();
flv_connect.connect(null);
var motionStream:NetStream = new NetStream(flv_connect);
motion_mc.motion_vid.attachVideo(motionStream);
motionStream.setBufferTime(2);
 
motionStream.play("weather_snow.mp4");

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Flasher, 2015-05-07
@denisator

Only debug version of flash player can open link or files locally.
If you just need to test locally, download the version of the player with the debugger and open the swf in it. Or you need to implement an application using Air / Zinc.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question