Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   New Scripting Engine (GS2) (https://forums.graalonline.com/forums/forumdisplay.php?f=153)
-   -   GS2 Flash Problem (https://forums.graalonline.com/forums/showthread.php?t=69440)

Em 10-15-2006 11:28 PM

GS2 Flash Problem
 
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") {
      
25;
      
40;
      
width 265;
      
height 220;
      
moviename "layout.swf";
      
playmovie();
    }
  }



Skyld 10-16-2006 12:34 AM

Any download errors in F2 window?

Admins 10-16-2006 02:29 AM

/find layout.swf on RC is showing the file?
Eventually also try "tryactivex = true;"

Em 10-16-2006 02: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 04:50 AM

Note the 'not downloadable'.

Twinny 10-16-2006 09:14 AM

Nice advice Rick. Did you add *.swf in the folder options?

Admins 10-16-2006 12:09 PM

Add

file debug/*.swf

to the folder configuration

Em 10-16-2006 04:23 PM

Quote:

Originally Posted by Rick (Post 1231570)
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 01: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


All times are GMT +2. The time now is 11:34 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.