Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   GUI Flash Problems (https://forums.graalonline.com/forums/showthread.php?t=72713)

godofwarares 03-10-2007 03:28 AM

GUI Flash Problems
 
(What is it with this component?!)

I'm having problems running the flash file on my GUI; It keeps refusing to play x-x

PHP Code:

requiresactivex=true;
tryactivex=false;
loadmovie("levels/Flash/test.swf"true100); 

This loads the movie, but returns "Can't show Flash. Requires ActiveX Control"
How do I enable ActiveX in Graal?

Chandler 03-10-2007 09:19 AM

You're aware that your script contains
PHP Code:

tryactivex=false 

Maybe try the opposite of the above?

godofwarares 03-10-2007 02:00 PM

Yeah, That may have worked, but when I try to load the flash, an application error pops up and I don't have any download errors . . . whats with that?

Chompy 03-10-2007 02:31 PM

Does it play the sound, but not the video file?

Because sometimes you must use activex to run the video, and the sound you must run without activex, or vice versa, can't remember :o

DustyPorViva 03-10-2007 02:57 PM

It might use the settings from IE... maybe open up your internet settings and see if activeX is enabled in there.

godofwarares 03-10-2007 03:06 PM

Of course they're enabled; And Chompy: The file doesn't have sound so I honestly have not a clue ^^;

DustyPorViva 03-10-2007 03:12 PM

Well you should disable it then! ActiveX is the devil in binary!

Rapidwolve 03-10-2007 04:05 PM

I had the solution a while ago, but I forgot. -_-

Any F2 Errors?

Admins 03-10-2007 04:12 PM

You should do

PHP Code:

requiresactivex true;
moviename "test.swf";
playmovie(); 

I think the problem is that you provide a path name, but in Graal you never specify the path for a file.

godofwarares 03-10-2007 05:42 PM

Quote:

Originally Posted by F2 Menu
File download: test.swf (size: 32000)...
File download: test.swf (size: 34324)...
File download: test.swf (size: 34324) done

Quote:

Originally Posted by GUI
Can't show Flash: Requires ActiveX Control (Windows)

PHP Code:

     new GuiFlash("Flash")
     {
          
position = { 1030 };
          
extent = { 800600 };
          
          
requiresactivex true;
          
tryactivex true;
          
moviename "test.swf";
          
playmovie();
     } 

___________________________________
Okay, It started using this:

PHP Code:

     new GuiFlash("Flash")
     {
          
position = { 1030 };
          
extent = { 300150 };
          
          
requiresactivex false;
          
tryactivex true;
          
moviename "940.swf";
          
playmovie();
     } 

But now it won't play sound!! x.x

Admins 03-10-2007 05:53 PM

Hmmm when you do requiresactivex = false then it tries the built-in flash player (gameswf) which is quite limited. Have you installed flash on your PC? Try to watch e.g. the graal homepage with Internet Explorer.

godofwarares 03-10-2007 06:01 PM

Flash works, I got the flash movie to display (even if a few [or alot] of components are missing), but the sound is missing o.o

Chompy 03-10-2007 11:51 PM

Quote:

Originally Posted by godofwarares (Post 1287120)
Flash works, I got the flash movie to display (even if a few [or alot] of components are missing), but the sound is missing o.o

Read my post :]

One gui control view the video, another the sound..
One with activex, one without :p

try :o


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

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