Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-14-2007, 09:32 PM
steve2 steve2 is offline
Steve (Scripter)
Join Date: Jul 2005
Location: Canada
Posts: 32
steve2 is on a distinguished road
Send a message via AIM to steve2 Send a message via MSN to steve2
Arrow GS2 GuiFlash Function

Hey,

I got a question concerning the gs2 GuiFlash function.

http://wiki.graal.net/index.php/Crea...lient/GuiFlash

Anyone got experience with it and know about the function and the different params?
It wont load the .swf flash file from url or file.
So it would be awesome if anyone of you could help me.

Thanks,

Greetings
Steve
Reply With Quote
  #2  
Old 01-14-2007, 10:06 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
Have you tried to search for it? It has been several threads about it.
__________________
Reply With Quote
  #3  
Old 01-14-2007, 11:51 PM
Lao_Su2 Lao_Su2 is offline
Panda
Lao_Su2's Avatar
Join Date: Jan 2002
Location: Draper, Utah
Posts: 645
Lao_Su2 is on a distinguished road
Send a message via AIM to Lao_Su2
None of which really explain it.
__________________
Panda
Reply With Quote
  #4  
Old 01-14-2007, 11:58 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
Yes, there are posts about it here on the forums, and an article on the wiki.
__________________
Reply With Quote
  #5  
Old 01-15-2007, 09:30 PM
steve2 steve2 is offline
Steve (Scripter)
Join Date: Jul 2005
Location: Canada
Posts: 32
steve2 is on a distinguished road
Send a message via AIM to steve2 Send a message via MSN to steve2
I know there are posts about it on forums and an acticle on the wiki..I even linked the article in my first post.

And I did everything like the article shows and everything I found in threads about it...or I would not post this thread here.
I just never found a thread where it worked for someone they always end somewhere with an error message or no more replies.

So could you just tell me what you know (if you do) or provide me a link to any thread which may work.

So things like would it work to load a .swf file from a hardcoded url with loadmovie("http://www.website/file.swf");
If yes why is the part where the flash thing should be displayed in just a white area and no flash would load it in...if I right click it it still says it is a flash element but it also show unable to load flash....

So please if anyone got a answer to this which may help me.
And please if you do not know anything about that and just want to tell me there are already threads on forums about it, or there is a article on wiki...that is all stuff I already know/tried.


It event display file download done in F2 log console...


Thanks
Steve

Last edited by steve2; 01-15-2007 at 09:45 PM..
Reply With Quote
  #6  
Old 01-15-2007, 09:47 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
you have to use requesturl() and obj.fulldata
__________________
Reply With Quote
  #7  
Old 01-15-2007, 10:01 PM
steve2 steve2 is offline
Steve (Scripter)
Join Date: Jul 2005
Location: Canada
Posts: 32
steve2 is on a distinguished road
Send a message via AIM to steve2 Send a message via MSN to steve2
It keeps displaying this error if I load a new .swf file:
Reply With Quote
  #8  
Old 01-15-2007, 10:30 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
post code?
__________________
Reply With Quote
  #9  
Old 01-15-2007, 10:47 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
I can check if we can add support for urls as movie name, right now it is expecting a file from the server
Reply With Quote
  #10  
Old 01-15-2007, 10:51 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
Quote:
Originally Posted by Stefan View Post
I can check if we can add support for urls as movie name, right now it is expecting a file from the server
Hmm, that would be nice
__________________
Reply With Quote
  #11  
Old 01-18-2007, 12:06 AM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
Ok fixed it in my version, tested with flash video url (preview video for flying technology), it worked fine including streaming. I have also fixed the bug that gave the error message when the file could not be loaded.
Reply With Quote
  #12  
Old 09-11-2008, 10:48 PM
[email protected] sid.gottlieb@googlemail.com is offline
Banned
Join Date: Mar 2008
Posts: 861
sid.gottlieb@googlemail.com will become famous soon enough
HTML Code:
//#CLIENTSIDE
function onCreated() {
  new GuiControl("flashwindow") {
    position = {30, 30};
    extent = {500, 500};
    useownprofile = true;
    profile.border = 1;
    
    new GuiFlash("Flashy") { 
      position = {5, 10};
      extent = {490, 490};
      
      moviename = "http://www.cyberjoueurs.com/videohigh/index2.swf"; 
      playmovie(); 
    } 
  }
}  
why won't this work then
Reply With Quote
  #13  
Old 09-11-2008, 10:55 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
Quote:
Originally Posted by [email protected] View Post
HTML Code:
...
why won't this work then
Try put "tryactivex = true;" before playMovie();
__________________
Reply With Quote
  #14  
Old 09-13-2008, 07:00 PM
[email protected] sid.gottlieb@googlemail.com is offline
Banned
Join Date: Mar 2008
Posts: 861
sid.gottlieb@googlemail.com will become famous soon enough
ty
Reply With Quote
  #15  
Old 09-13-2008, 07:02 PM
LoneAngelIbesu LoneAngelIbesu is offline
master of infinite loops
LoneAngelIbesu's Avatar
Join Date: May 2007
Location: Toldeo, Ohio
Posts: 1,049
LoneAngelIbesu has a spectacular aura aboutLoneAngelIbesu has a spectacular aura about
Send a message via AIM to LoneAngelIbesu
Just as a warning: make sure your flash movie as no transparency anywhere. It will turn black.
__________________
"We are all in the gutter, but some of us are looking at the stars."
— Oscar Wilde, Lady Windermere's Fan
Reply With Quote
Reply


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 08:36 AM.


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