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 03-10-2007, 03:28 AM
godofwarares godofwarares is offline
Webmaster
godofwarares's Avatar
Join Date: Dec 2006
Location: Florida
Posts: 552
godofwarares is on a distinguished road
Send a message via ICQ to godofwarares Send a message via AIM to godofwarares Send a message via MSN to godofwarares Send a message via Yahoo to godofwarares
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?
__________________
What signature? I see no signature?
Reply With Quote
  #2  
Old 03-10-2007, 09:19 AM
Chandler Chandler is offline
Banned
Join Date: Jan 2007
Posts: 656
Chandler will become famous soon enough
You're aware that your script contains
PHP Code:
tryactivex=false 
Maybe try the opposite of the above?
Reply With Quote
  #3  
Old 03-10-2007, 02:00 PM
godofwarares godofwarares is offline
Webmaster
godofwarares's Avatar
Join Date: Dec 2006
Location: Florida
Posts: 552
godofwarares is on a distinguished road
Send a message via ICQ to godofwarares Send a message via AIM to godofwarares Send a message via MSN to godofwarares Send a message via Yahoo to godofwarares
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?
__________________
What signature? I see no signature?
Reply With Quote
  #4  
Old 03-10-2007, 02:31 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
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
__________________
Reply With Quote
  #5  
Old 03-10-2007, 02:57 PM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
It might use the settings from IE... maybe open up your internet settings and see if activeX is enabled in there.
Reply With Quote
  #6  
Old 03-10-2007, 03:06 PM
godofwarares godofwarares is offline
Webmaster
godofwarares's Avatar
Join Date: Dec 2006
Location: Florida
Posts: 552
godofwarares is on a distinguished road
Send a message via ICQ to godofwarares Send a message via AIM to godofwarares Send a message via MSN to godofwarares Send a message via Yahoo to godofwarares
Of course they're enabled; And Chompy: The file doesn't have sound so I honestly have not a clue ;
__________________
What signature? I see no signature?
Reply With Quote
  #7  
Old 03-10-2007, 03:12 PM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
Well you should disable it then! ActiveX is the devil in binary!
Reply With Quote
  #8  
Old 03-10-2007, 04:05 PM
Rapidwolve Rapidwolve is offline
Registered User
Join Date: Jul 2006
Posts: 1,241
Rapidwolve is an unknown quantity at this point
I had the solution a while ago, but I forgot. -_-

Any F2 Errors?
Reply With Quote
  #9  
Old 03-10-2007, 04:12 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
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.
Reply With Quote
  #10  
Old 03-10-2007, 05:42 PM
godofwarares godofwarares is offline
Webmaster
godofwarares's Avatar
Join Date: Dec 2006
Location: Florida
Posts: 552
godofwarares is on a distinguished road
Send a message via ICQ to godofwarares Send a message via AIM to godofwarares Send a message via MSN to godofwarares Send a message via Yahoo to godofwarares
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
__________________
What signature? I see no signature?
Reply With Quote
  #11  
Old 03-10-2007, 05:53 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
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.
Reply With Quote
  #12  
Old 03-10-2007, 06:01 PM
godofwarares godofwarares is offline
Webmaster
godofwarares's Avatar
Join Date: Dec 2006
Location: Florida
Posts: 552
godofwarares is on a distinguished road
Send a message via ICQ to godofwarares Send a message via AIM to godofwarares Send a message via MSN to godofwarares Send a message via Yahoo to godofwarares
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
__________________
What signature? I see no signature?
Reply With Quote
  #13  
Old 03-10-2007, 11: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 godofwarares View Post
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

try :o
__________________
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 12:02 AM.


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