Help with: mdm.Application.path solution for Projector ?
Hello
So i made a flash move including embedded sounds and 3 Videos (converted to FLV and component)
all works great as .Swf
then i want to make a projector and got ZINC 4.0 (win version)
everything exports fine except the 3 videos.
i went to forums (a lot) and apparently the video paths are dropped when ZINC compiles the file
and then cant locate the source videos.
i found this possible solution (on Mdm forum)
http://www.mdmforum.com/forum/index.php?showtopic=29740&view=&hl=FLV%2 0component%20projector%20video%20&fromsearch=1
function path(aPath:String😞String{
if(mdm.Application && mdm.Application.path){
var newPath:String = "file://"+mdm.Application.path.split("\\").join("/");
newPath += aPath;
return newPath;
}
return aPath;
}
//
var soundPath:String = path("assets/sounds/mySound.mp3");
but honnestly i have no or little idea where i should put this script and what to do with the :
"file://"+mdm.Application.path.split("\\").join("/");
line
my video files are in a folder like this: source/vid1.mp4
so q's are:
1: WHERE do i put the lines of code? (at frame 1 or on the frame where the video is)
2: How do i fill in the blanks in line 3 in the example?
3: Does this script even work with F.Pro CC ?
This is such a downer, i managed to build everything and it is actually pretty nice, then i tumble at the very very last step ![]()
Please, Help
SCUMSPAWN
