something odd happens any time I export an .swf.....
The animation plays fine, then when it hits the last frame and loops back to the beginning, the last frame sticks on the screen, on top of the animation which continues to loop.
Has anyone else had this problem?
swf export weirdness
Moderators: Víctor Paredes, Belgarath, slowtiger
- Lost Marble
- Site Admin
- Posts: 2354
- Joined: Tue Aug 03, 2004 6:02 pm
- Location: Scotts Valley, California, USA
- Contact:
This can happen with more complex animations being exported to Flash. Often, the cause is using variable-width lines and exporting them to Flash. A workaround is to go to the File->Project Settings dialog and turn on the "Extra SWF frame" checkbox. This tells Moho to export an extra blank frame at the end of the animation - for some reason this makes the Flash player feel better and stops leaving the last frame sticking around when it loops.
- Lost Marble
- Site Admin
- Posts: 2354
- Joined: Tue Aug 03, 2004 6:02 pm
- Location: Scotts Valley, California, USA
- Contact:
It may not seem complicated, but variable-width lines can add a lot of extra data to an SWF file. In some cases, a very short animation with variable-width lines can export a file that is just too complex for Flash to handle. How does it work if you leave the variable-width option turned off when exporting?
- Lost Marble
- Site Admin
- Posts: 2354
- Joined: Tue Aug 03, 2004 6:02 pm
- Location: Scotts Valley, California, USA
- Contact:
Macromedia talks about some of the limits of Flash here:
http://www.macromedia.com/cfusion/knowl ... d=tn_14437
Unfortunately, the limits seem to be dependent of one another, and are not exactly set in stone. Variable-width lines really can easily push the limits of what Flash can handle.
The best way to use variable-width lines if your target format is Flash is to only use them in optimized layers (layers with the red dot next to them in the Layers window). This means no point animation or bone wapring, though. Take a look at the Moho manual, Reference section, "Flash Tips" for more information.
If you want to post a link to your Moho file, I could take a look to see how hard Flash is being pushed.
http://www.macromedia.com/cfusion/knowl ... d=tn_14437
Unfortunately, the limits seem to be dependent of one another, and are not exactly set in stone. Variable-width lines really can easily push the limits of what Flash can handle.
The best way to use variable-width lines if your target format is Flash is to only use them in optimized layers (layers with the red dot next to them in the Layers window). This means no point animation or bone wapring, though. Take a look at the Moho manual, Reference section, "Flash Tips" for more information.
If you want to post a link to your Moho file, I could take a look to see how hard Flash is being pushed.