PDA

View Full Version : GS2 Flash Problem


Em
10-16-2006, 12:28 AM
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.

//#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();
}
}
}

Skyld
10-16-2006, 01:34 AM
Any download errors in F2 window?

Admins
10-16-2006, 03:29 AM
/find layout.swf on RC is showing the file?
Eventually also try "tryactivex = true;"

Em
10-16-2006, 03:38 AM
find returns:

levels/debug/layout.swf: not downloadable, 56750 byte, 2006-10-15 15:53:43

On a side note, is it possible to load flash files off a website?

Rick
10-16-2006, 05:50 AM
Note the 'not downloadable'.

Twinny
10-16-2006, 10:14 AM
Nice advice Rick. Did you add *.swf in the folder options?

Admins
10-16-2006, 01:09 PM
Add

file debug/*.swf

to the folder configuration

Em
10-16-2006, 05:23 PM
Note the 'not downloadable'.

Thanks for that very eye opening piece of advice, it was oh so helpful.

I'm waiting on someone to change the folder config at the moment, but I expect it will work once .swf is added. Thanks Stefan.

Em
10-17-2006, 02:03 AM
Well it's loading now, kinda..
It says : Downloading

and then this appears over my client:
http://img170.imageshack.us/img170/1106/errorpz3.gif