How to play Flash (.swf) in 3DGS

Posted By: davidle

How to play Flash (.swf) in 3DGS - 10/17/07 07:15

Hi,

Would someone please teach me how to play Flash in the game? I'm panic
My project need it. I try to use the plugin provided by Peacekeeper , however, only the complied code run well. When I try to use it, it always crashes with error: "Could not obtain OLE control window handle", which I think is the plugin's error.

I need the solution very urgently. Please help if possible.
Thank a lot
Posted By: ello

Re: How to play Flash (.swf) in 3DGS - 10/17/07 08:04

cant you convert your flash into video? i dont know if the plugin handles actionscript, so this might be a fast solution
Posted By: davidle

Re: How to play Flash (.swf) in 3DGS - 10/17/07 08:24

Thank for your quick reply,

However, I want to have the interaction in Flash. The demo of Peacekeeper is able to put the mouse click event.
The sourcecode of him is written in Delphi, which I don't know, the plugin was written in 2003, so I think when the DLL was complied, it used old library, so now I cannot run it.

Anyone? pls... I appreciate your help
Posted By: Mondivirtuali

Re: How to play Flash (.swf) in 3DGS - 10/17/07 10:25

Me too..
Posted By: Joozey

Re: How to play Flash (.swf) in 3DGS - 10/17/07 15:27

There is no plugin for 3dgs to play flash anymore as far as I'm aware. Peacekeeper was for A6.2(?) max version or so. Anyway, it didn't work anymore with newer versions. You have to write a plugin yourself I guess... but with Lite-C it's not THAT hard anymore, although still not easy.

I could be wrong when I say there is no plugin but I doubt it .
Posted By: davidle

Re: How to play Flash (.swf) in 3DGS - 10/18/07 02:11

Hi Joozey, is is because playing Flash in 3d Games is an strange idea? It seems that no one in the forum is interested in this feature....
Posted By: Wicht

Re: How to play Flash (.swf) in 3DGS - 10/18/07 12:40

Voilá...


Posted By: Rush

Re: How to play Flash (.swf) in 3DGS - 10/29/07 08:30

Please oh please tell us how you did it... pretty please
Posted By: Mondivirtuali

Re: How to play Flash (.swf) in 3DGS - 10/29/07 16:53

I am interest , too!
Posted By: Wicht

Re: How to play Flash (.swf) in 3DGS - 10/30/07 11:32

Here is the source code. Download

If you want to edit the code you need the following:

- Borland Delphi 5 and above
( you can get Turbo Delphi Explorer for free at http://www.turboexplorer.com/delphi )

- Delphi SDK from LazyDog ( http://www.3dgs.lazydogsoftware.com )

Note: To pass functions from/to Flash/3dgs you have to modify the code.
There is a function called "a5dll_callname". Please contact LazyDog if you want to use a similar function.


Posted By: Rush

Re: How to play Flash (.swf) in 3DGS - 10/31/07 05:21

Thanks a lot Wicht! This is simply great! Thanks a lot
Posted By: D3D

Re: How to play Flash (.swf) in 3DGS - 11/01/07 05:12

Thanks for the update and also the included source code very nice
Posted By: Metal_Man

Re: How to play Flash (.swf) in 3DGS - 11/03/07 05:14

now if only there was a way to run Gamestudio applications in Flash. that would make it easy to make a web-game
© 2024 lite-C Forums