How attach a flash in gamestudio?

Posted By: pengbin

How attach a flash in gamestudio? - 05/28/05 05:00

How attach a flash in gamestudio?
please give me a example?ok?
i down a example ,but didn't run ,can't find the dll?
but i have down the flash dll.
Posted By: Ayrus

Re: How attach a flash in gamestudio? - 05/28/05 05:03

What do you mean by flash?? Do you mean a flash of lightning? a camera flash?? It helps a lot to be more specific in what you are looking for as well as including your A6/A5 version/Edition (Version is found under Help -->About in WED) so that we know what features you have available so that we can provide the best suggestions/examples.

Regards,
Ayrus
Posted By: WHURL

Re: How attach a flash in gamestudio? - 05/28/05 05:24

I think he might be referring to .swf files and the GSFlash plugin.

There hasn't been a version updated for A6 (maybe that's the cause of pengbin's problem?) so I haven't tried it. Also there are licencing issues with regard to distributing Flash files that might make it prohibitive for commercial projects.
Posted By: pengbin

Re: How attach a flash in gamestudio? - 05/29/05 12:36

谢谢WHURL !Now you kown where i come from? my english very poor,but study 3dgamestuio not enough information in china,so i must show myself up there,
isn't that WHURL's meaning is .swf isn't use in A6? but can be use in A5?
GSFlash plugin is use in A5 but can't be use in A6?
Posted By: ulillillia

Re: How attach a flash in gamestudio? - 05/29/05 12:54

If you need to use a flash file (I've always wondered what the SWF extention was for), you can try to convert it into an AVI video and use the AVI instead. You might be better off that way. However, you could end up with very large file sizes (like 30 MB or so) so be cautious with AVIs.
Posted By: pengbin

Re: How attach a flash in gamestudio? - 05/30/05 01:50

my's swf isn't a simple cartoon ,this swf self has programme,so didn't simpled into an AVI.thank you !
Posted By: WHURL

Re: How attach a flash in gamestudio? - 05/30/05 05:33

@pengbin

Your English is better than my Chinese, pengbin.

Yes, the plugin works with A5.

I am not sure if it keeps the interactivity or not. I have never used it.


@ulillillia

Quote:

I've always wondered what the SWF extention was for




Do you mean what it stands for? Shockwave File.
Posted By: pengbin

Re: How attach a flash in gamestudio? - 05/30/05 09:04

thank you ! thank you for WHURL !
i use 3d gamestudio 6.31 pro , in this edition , can I issue A5's exe?
how to issue A5's exe in 3d gamestudio 6.31 pro ?
Posted By: WHURL

Re: How attach a flash in gamestudio? - 05/30/05 09:51

I think all you need to set is

var d3d_transform = off;

Please, someone jump in here and correct me if I'm wrong.
Posted By: pengbin

Re: How attach a flash in gamestudio? - 05/31/05 09:26

"Could not obtain OLE control window handle" ,what meaning is it?
when i load .swf in 3d gemestudio,
now i published my programe by A5 in 3d gamestudio 6.31 pro ,
and "var d3d_transform = off;" in programe.
but i didn't load the .swf yet.
MY GOD!help me !
help me load .swf in 3d gamestudio?
is in 3d gamestudio 6.31 pro is not way to load .swf?
can you give me a example for load .swf by *.wmp ??
what edition you use?
i use 6.31 pro.
my Email is o19990707@sina.com or flashbinbin2004@163.com
Posted By: christe

Re: How attach a flash in gamestudio? - 08/11/05 13:33

This is exactly my problem, too.
I have this ""Could not obtain OLE control window handle"-Error.
Does someone know how to solve this?
Posted By: Rush

Re: How attach a flash in gamestudio? - 02/11/06 07:41

I think this guy needs some help. Too bad I can't help out. I've been searching for an swf dll for the past days. I've searched all forums for this but I can seem to find anything usefull. That plugin by peacemaker doesn't work on A6.

Hmmm... if I won't find the right dll (the one that loads swf and allows fscommands and setvars to and from A6), then I'll have to resolve to writting one in c++. That'll take time though...

I think I'll try including that VB swf control in my C++ project. I think this is possible. Well, in case anyone would find out an easier way to do this... geezzz.... I need help too....
Posted By: A.Russell

Re: How attach a flash in gamestudio? - 02/14/06 16:32

See if you can get hold of Peacemaker or if he has published the source. If you can get the source code it probably won't be a great jump to get it into A6.
Posted By: Rush

Re: How attach a flash in gamestudio? - 05/10/06 11:31

Hmm.. I`ve been playing with that control lately and found out something:

1. That flash plug-in wasn`t nmade with cpp.
2. It can actually work in A6 (surprise surprise)... but there`a a catch to it:
IT CAN WORK IF YOUR A6 IS ver 6.22 or below... why, because the current version (6.31 if I am not mistaken) has an all new SDK, and thus an all new plugin interface. Check out the documentations for both SDK`s and you`ll see what I mean.

Apparently, that flash control `pipes` a function `on-the-fly` to the c-script because ver 6.22 isn`t actually compiled. Not like the current version wherein the code is compiled that is why piped calls from swf can cause it to crash, not like with with 6.22 or below, it can insert a call on the spot to script.

Fact is, you`ll find the CScript code with in your .cd folder if you are using 6.22 or below.

Now for the hard part, the only way I know to connect the SWF control (which happens to be a VB control) to C++ is through MFC.Unfortunately, the A5 SDK doesn`t seem to wanna shake hands with MFC.... sigh...
© 2024 lite-C Forums