Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   GS2 GuiFlash Function (https://forums.graalonline.com/forums/showthread.php?t=71449)

steve2 01-14-2007 09:32 PM

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

Chompy 01-14-2007 10:06 PM

Have you tried to search for it? It has been several threads about it.

Lao_Su2 01-14-2007 11:51 PM

None of which really explain it.

Chompy 01-14-2007 11:58 PM

Yes, there are posts about it here on the forums, and an article on the wiki.

steve2 01-15-2007 09:30 PM

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

Chompy 01-15-2007 09:47 PM

you have to use requesturl() and obj.fulldata

steve2 01-15-2007 10:01 PM

It keeps displaying this error if I load a new .swf file:
http://img76.imageshack.us/img76/803...messagekw4.jpg

Chompy 01-15-2007 10:30 PM

post code?

Admins 01-15-2007 10:47 PM

I can check if we can add support for urls as movie name, right now it is expecting a file from the server

Chompy 01-15-2007 10:51 PM

Quote:

Originally Posted by Stefan (Post 1265310)
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 :D

Admins 01-18-2007 12:06 AM

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.

[email protected] 09-11-2008 10:48 PM

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

Chompy 09-11-2008 10:55 PM

Quote:

Originally Posted by [email protected] (Post 1422481)
HTML Code:

...
why won't this work then

Try put "tryactivex = true;" before playMovie();

[email protected] 09-13-2008 07:00 PM

ty ^^ ^^

LoneAngelIbesu 09-13-2008 07:02 PM

Just as a warning: make sure your flash movie as no transparency anywhere. It will turn black. ^^


All times are GMT +2. The time now is 04:21 PM.

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