Uploading codec file

  • 1
  • Question
  • Updated 9 years ago
  • Answered
Hello again,
I just created a game that uses a flash player. But you need to download a .bat file (batch) in order for the game to open. The batch file is a codec file that the flash player need in order to produce the visual graphics and sound. Any help on uploading the batch file?
Thanks-Dan
Photo of lambofgod

lambofgod

  • 875 Posts
  • 35 Reply Likes

Posted 9 years ago

  • 1
Photo of Emmy

Emmy

  • 5892 Posts
  • 299 Reply Likes
Hello,
I'm sorry but .bat files cannot be used in Synthasite; reason being, these files can be used maliciously. It is possible to put an swf file on Synthasite though, have you seen these instructions?

Here's how to add a flash file to your page:

1) Upload your .swf file. You can do this by clicking on the File Manager button.
2) Drag and drop a HTML widget onto your site, where you would like to see your flash presentation, and paste the following HTML inside it:
<!--
`<object width="200" height="400">`
`<param name="movie"value="resources/myswffile.swf">`
`<embed src="resources/myswffile.swf"width="200"height="400"/>`
`</object>` -->

3) Then substitute "myswffile.swf" in the code above - in both places, with the name of the file you uploaded, and you should see the flash movie appear when you close the HTML editor. You'll need to play around with the width and height values in the text above, to suit your movie's needs.
4) Remember to include any folder names in the file path if your file is stored in a folder in the File Manager. For example: "resources/Flash folder/myswffile.swf"

Regards,
Emmy
Photo of lambofgod

lambofgod

  • 875 Posts
  • 35 Reply Likes
Thanks for your response Emmy, but I don't think you quite get how the game is played. The game is downloaded and played on the users desktop. Not through my website. So is there a way to turn the batch file into something else and will be able to still work?
Thanks-Dan
Photo of Emmy

Emmy

  • 5892 Posts
  • 299 Reply Likes
Hello,
I am not sure; can you ask the place you made it if you can covert it to any other file formats. Then let us know which file formats are possible and we can tell you if they can be used in the Synthasite environment.

Regards,
Emmy
Photo of lambofgod

lambofgod

  • 875 Posts
  • 35 Reply Likes
It was actually a .exe file, then I used a free flash converter to put it into a flash file. But, there is a codec associated with it that requires it to be batch file. So am I S.O.L
Photo of Emmy

Emmy

  • 5892 Posts
  • 299 Reply Likes
If a .bat file is required to run it than that is not possible. Sorry I don't have better news.

Emmy
Photo of lambofgod

lambofgod

  • 875 Posts
  • 35 Reply Likes
Ok, thanks Emmy.