Flash Card Guidelines: Difference between revisions

From Studio Knowledge Base
Jump to navigationJump to search
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
__TOC__
To make sure that the ecards submitted at the 123Greetings Studio are at par with our system we suggest you to follow these pointers.
== Publishing your ecard ==
== Publishing your ecard ==
Publish your ecards in flash version 8 or lower versions.
It is recommended that you publish your ecards in flash version 8 or lower [[Version]].


== ActionScript Usage ==
== ActionScript Usage ==
Line 31: Line 35:
''If you don't provide a Play and Replay button accompanied by a '''stop();''' ActionScript, your card will keep on playing in a loop.''
''If you don't provide a Play and Replay button accompanied by a '''stop();''' ActionScript, your card will keep on playing in a loop.''


== Music ==
== [[Music]] ==


Assuming that Play button is on the first frame, start the music from the second frame.
Assuming that Play button is on the first frame, start the music from the second frame.

Latest revision as of 23:08, 14 March 2010

To make sure that the ecards submitted at the 123Greetings Studio are at par with our system we suggest you to follow these pointers.

Publishing your ecard[edit]

It is recommended that you publish your ecards in flash version 8 or lower Version.

ActionScript Usage[edit]

We recommend you to use Action Script 2.0 in your cards. Our system currently does not support ActionScript 3.0 and hence usage of ActionScript 3.0 is not recommended.

Play and Replay button[edit]

Use a Play button at the beginning and a Replay button at the end of your card.

Play button[edit]

Use stop(); ActionScript on first frame.

Make a Play button in the first frame and use the following ActionScript on the Play button

 on(release){
   play();
 }

Replay Button[edit]

Use stop(); ActionScript on last frame.

Make a Replay button at the end of your card and use the following ActionScript on the Replay button

 on(release){
   gotoAndPlay(2); // where 2 is the frame number succeeding the first frame having the Play button
 }

If you don't provide a Play and Replay button accompanied by a stop(); ActionScript, your card will keep on playing in a loop.

Music[edit]

Assuming that Play button is on the first frame, start the music from the second frame.

Frame Rate[edit]

Make sure that you are using frame rate of 12 for cards having music embedded on the time line.

Sound Variable[edit]

If your card has sound variable with target

Use:

 var mySound:Sound = new Sound(this)

Don't Use:

 var mySound:Sound = new Sound()

_parent and _root[edit]

In case you are using parent - child relationship use _parent and _root instead of _level0

Embedding a hyperlink[edit]

You can embed a hyperlink in your card. But the link should always open in a new page. In order to do this click on option Target inside flash and select _blank from the drop down.