hi all,
i have website that loads images and videos for my company.
it's an internal thing that's meant to be shown in a network folder
that people can access.
my problem comes when i try to load videos in. on my local
machine, everything works fine, if you launch the swf directly from
the network folder, everything works fine. the problem comes when
you launch the html that the swf is embedded in. my netconnection
is successful, but when i try to load the flv using netStream.play
(using a local path like "videos/myVid.flv") if get a
NetStream.Play.StreamNotFound error.
local paths work fine when loading images etc but not videos
(even when i put the video into the images folder or vice versa).
the only way i can get this working is if i put absolute paths into
the video ( like "\\myServer\flash\videos\myVid.flv")
i'm thinking this is a sandbox problem. when you open the swf
directly, it's running on the network, so it's ok to access network
files, but when you open the html, it's being loaded to your local
computer, and isn't able to do it? both times when i print out the
sandbox type it's "localWithFile", but it just doesn't work in the
browser. but then i don't get why xml loading and image loading
works, but not video. i've also changed the export to
localWithNetworking and tried Security.allowDomain("*") but nothing
worked.
this works fine if the files are uploaded to a webserver,
btw.
i've
put
up a zip file with the relevant files (though you'll have to
stick in your own flv), though unless you have a network handy it's
going to be a bit hard to test it.
any help or points in the right direction would be
appreciated though
thanks