I'm trying to dislpay 'layout.swf'
I have layout.swf uploaded in the same folder as the level
The problem is that it keeps saying "Flash file cannot be found"
I also tried loading it off my website.. But it gave the same error message.
PHP Code:
//#CLIENTSIDE
function onCreated(){
new GuiWindowCtrl("Flash_Window") {
}
Flash_Window.destroy();
onWeaponfired();
}
function onWeaponfired(){
new GuiWindowCtrl("Flash_Window") {
text = "Flash";
x=0;
y=0;
width = 320;
height = 320;
destroyonhide = true;
canresize = false;
canclose = true;
canminimize = true;
canmaximize = false;
new GuiFlash("Flash") {
x = 25;
y = 40;
width = 265;
height = 220;
moviename = "layout.swf";
playmovie();
}
}
}