1: Getting Started
2: Building Logic
5: Game Mechanics
6: Advanced Topics
7: Testing & Tuning
8: The Last 10%
M1: Mobile - Intro
M2: Mobile - Basics
M3: Mobile - Services
M4: Mobile - Publishing
B: How-To Guides
3.0 Drafts (In Progress)
Publishing a Flash Game
Publishing your game to Flash is a quick, one-click procedure.
So why is this article so long? We'll cover some topics related to publishing as well as some gotchas that you may run into if you're unlucky.
Publish to SWF
A SWF (Shockwave Flash) file is the container file for your game. This is the file that you upload to portals such as Kongregate.
1) To export a SWF, click on the Publish button in the toolbar.
2) Then select Flash.
After a brief waiting time, your SWF will export. That's it!
Publish to Stencyl Arcade
In addition to publishing a SWF, you can publish your game directly to our Arcade to share it with the community and receive useful feedback.
1) Click on the Publish button in the toolbar.
2) Select Stencyl Arcade
This will generate the SWF behind the scenes and automatically upload it to our site. If you've already published this game in the past, it will update the existing entry by default.
Note: On occasion, your game will refuse to update and will be forced to publish anew. If you'd like to get a solution to this, post on the forums and let us know about it.
Removing the Splash Screen
Every Flash game published with Stencyl has a choice between a badge on the preloader or a pre-game splash screen.
If you'd like to remove this branding, purchase a Stencyl Pro license, which includes other benefits besides splash screen removal.
If your game is popular, people will snatch it and upload it to other sites, causing you to give others ad revenue off your game without your permission.
This can be deterred through site locking, a feature that prevents the game from starting if it's hosted on a different domain from any on a "whitelist" that you create.
1) In the Settings dialog with your game open, click on Loader button on the left sidebar.
2) Fill in the sites that you want the game to work on. If you have multiple, put a comma between them (the space does not matter either way).
When publishing your game, consider the following sites to upload to.
On occasion, your game will fail to export. Sometimes, it will appear to "hang" at around the 25% mark without throwing an error in the application itself.
If this is happening, in over 90% of cases, it's due to an incompatible sound.
If you remove sounds from your game until it successfully exports, you can identify which sound is at fault. Once you do, a safe solution is simply to re-export it from a program such as Audacity while taking heed of the basic requirements of sounds that we talked about in the Sounds article.
If you have removed all sounds, and your game still fails to export (silently), let us know on the forums
No Write Permissions
A second, less common cause is that the game is able to export to a SWF (you get a file chooser dialog) but fails to write the SWF out to the location you picked. This can be caused by insufficient file permissions. Choose a directory to which you can save files out to.
Last Updated: 2012-07-24 by Ceric
11213 have read this article
Disclaimer: The Stencyl Team does not actively monitor comments on articles. If you're seeking help for your game, please ask a question on the forums. Thanks!