PDA

View Full Version : GUI Flash Problems


godofwarares
03-10-2007, 03:28 AM
(What is it with this component?!)

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


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


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

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


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
File download: test.swf (size: 32000)...
File download: test.swf (size: 34324)...
File download: test.swf (size: 34324) done



Can't show Flash: Requires ActiveX Control (Windows)



new GuiFlash("Flash")
{
position = { 10, 30 };
extent = { 800, 600 };

requiresactivex = true;
tryactivex = true;
moviename = "test.swf";
playmovie();
}


___________________________________
Okay, It started using this:


new GuiFlash("Flash")
{
position = { 10, 30 };
extent = { 300, 150 };

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
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