Graphics Reference
In-Depth Information
Figure 7.10
With the Edge Commons parallax
extension, you create your animation
as usual without having to worry about
parallax logic
Edge Commons handles the mapping between the vertical scroll position
and the playhead on the Timeline. The following script in your composition's
compositionReady event is all you will need:
yepnope({
load: "http://simonwidjaja.github.com/EdgeCommons/live/
EC.1.0.0/EdgeCommons.min.js",
complete: function() {
EC.centerStage(sym);
EC.Parallax.setup(sym);
}
});
7.4.6 Composition Loader
In complex Edge Animate projects, it can help to divide the project into several
smaller compositions. This has the advantage of letting several people work on
the same project, and it offers better control in deciding which content is load-
ed and when. If a user does not call up a large part of the composition during
their visit, it might be useful to keep this data outsourced to avoid unnecessary
preloading.
The following example shows two compositions. The composition “Outer.
html” represents the parent composition, while “Inner.html” contains the com-
position to be loaded with a text field and an animation.
 
Search WWH ::




Custom Search