eDition Documentation

  • Increase font size
  • Default font size
  • Decrease font size
Home How to prepare a SWF Page preparation

Recommend Print

Page preparation

SWF animation is run at the end of listing, and turns off when moving to a new page. Flash file (SWF) needs to be optimized, so everything runs smoothly and quickly. Please avoid to unnecessary controls, which could harm the central administration. We have prepared Application Programming Interface (API), where is precisely described how to work with central application.

edition_sw_prepare

Proper export settings for SWF file.

Time line settings

Animation can be carried out from first to last frame. This may do in any layer or by using Actionscript (version 2 only). The eDition Viewer arrange that all frame labels are played correctly. For showing it’s label: edition_start, for hiding it’s label: edition_stop. The time line should have at least 3 frames. It is important that the last frame is stopped with command stop ();

time_line_settings

FRAME 0
Label: edition_stop
Action: stop();
This frame is shown in every hidden pages, so it should not include any animation at all. If there are any shape or movie clip, it is visible on all pages. Try and insert same shape on this frame and see the result.

FRAME 1
Label: edition_start
Action: play();
From this to last frame you could insert animation. It is shown only when page flipping is finished. Remember to killany events in frame 0 if you are using ActionScript animation instead.

LAST FRAME
Action: stop();
Last frame must be stopped.


Home How to prepare a SWF Page preparation