Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting > New Scripting Engine (GS2)
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 10-15-2006, 11:28 PM
Em Em is offline
Registered User
Em's Avatar
Join Date: Oct 2006
Posts: 288
Em is an unknown quantity at this point
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();
    }
  }

Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 07:12 PM.


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