Best Practices in Creating Flypaper Swf's
One of our customers asked a question about importing Swf's into Flypaper. To work correctly in Flypaper, the Swf's should follow these best practices:
1. Publish your swfs as Flash 9 using ActionScript 3. Otherwise they will not respond to play and stop commands.
2. Use a framerate of 24. 24 is the framerate of the editor and the runtime. All loaded swfs will assume the framerate of the editor and runtime.
3. Add a transparent shape the size of your stage as a bounding box for edit mode. When a swf is loaded, it no longer has it's own stage size. This will help eliminate sizing issues during edit mode.
4. Do not have content that exceeds the bounding box in the first frame of your fla. This includes content in child movie clips etc. The first frame of the fla should be actual size any frames after that content exceeding the stage is not an issue. This will help eliminate sizing issues during edit mode.
5. Only use audio on the main timeline and set it's "Synch" to "Stream". When a swf is told to stop or play, that only applies to the root timeline.
6. Do not use parent or root calls in code.
7. Do not set properties on the stage in code.
8. Do not load external assets. All content should be compiled into the swf.
1. Publish your swfs as Flash 9 using ActionScript 3. Otherwise they will not respond to play and stop commands.
2. Use a framerate of 24. 24 is the framerate of the editor and the runtime. All loaded swfs will assume the framerate of the editor and runtime.
3. Add a transparent shape the size of your stage as a bounding box for edit mode. When a swf is loaded, it no longer has it's own stage size. This will help eliminate sizing issues during edit mode.
4. Do not have content that exceeds the bounding box in the first frame of your fla. This includes content in child movie clips etc. The first frame of the fla should be actual size any frames after that content exceeding the stage is not an issue. This will help eliminate sizing issues during edit mode.
5. Only use audio on the main timeline and set it's "Synch" to "Stream". When a swf is told to stop or play, that only applies to the root timeline.
6. Do not use parent or root calls in code.
7. Do not set properties on the stage in code.
8. Do not load external assets. All content should be compiled into the swf.
2
people like this idea
I like this idea!
Tell me when this idea gets some attention.
The more people who like this idea, the more it gets noticed.
The more people who like this idea, the more it gets noticed.
Create a customer community for your own organization
Plans starting at $19/month
Loading Profile...


