SWF Files
Golden rules for creating and uploading SWF files to Wix:
Important Note: Wix only offers support directly related to our product. By adding SWF files you are adding products that we have not created or tested.
Therefore our Support team won't be able to offer support for these externally created SWF files.
You can upload an .swf file by clicking My Files > SWF.
1. The Wix Editor runs at 36 FPS (Frames Per Second). If the SWF FPS won’t match it'll result in a poor quality animation or an animation that runs too fast or too slow.
2. Don’t "touch" anything outside of the component that you upload (this means that in the code of the file there should be no reference to anything not inside the file like stage, root, etc).
3. Don’t load external graphics/data, for example don’t have the SWF load a file from some URL.
4. Avoid embedded fonts! They might conflict with our loaded fonts.
5. Compress your SWF and uncheck "permit debug" in the export dialog of Flash.
6. If you get the error message “Old SWF”, then you should create and compile your SWF files using Action Script 3. You got the message because your file was compiled using Action Script 2.
7. Create a movie clip that encompasses the entire animation, there should not be anything outside of that "background" movie clip at any frame.
Now for some tips from the Wix designers:
- Try to not complicate the code, simple is elegant and does not take up much memory to run.
- When possible, always put (x=0, y=0) location, if not possible then it is most important that the most inner movie clip is at (0, 0) (the last inherent).
- Try to avoid "graphic" symbols type and only use movie clip symbol type if possible.
- When you place the SWF file on your website, make sure that it is the same size as originally created, or at least in the same proportions so that there are no deformities.
Once placed in the editor, click on the SWF picture then in the editor click on arrange > transform and you can check the exact size.
Additional Notes:
Users who upload complex SWFs containing code should upload them to a separate testing Wix document first. This way the test document can be used as a testing ground for media items and deleted if it becomes corrupted.
Need more help?
If you need more help you can:
- Find more info in this Support Forum thread
- Post a question to our Support Forum
- Ask a question and get instant answers in the search box below