Stay Connected

Get Your Site Submitted for Free in the World's Largest B2B Directory!

Email Address:
* URL:
*
*Indicates Mandatory Field

Terms & Conditions

Navigation

Home

About

Tutorials

Featured Sites

Newsletter

FLADownloads

Forum

Jayde

iEntry

Advertise

Contact Us







Call Action

By Eddie Carroll
Expert Author
Article Date: 2001-04-20

Call Action

Usage:
Call (["Frame Label"])
Parameters
Frame Label - identifies the frame that contains the actionscript being called.

Example uses:
Reuse actionscripting from other parts of your movie

Description:
You can reuse any actionscript on any timeline in your movie provided it's been labelled with a unique label. This helps you maintain clean code and minimised the editing time. Variables to be used in the frame being called, must be established using the Set Variable action.

In the advanced example below the variable 'consider' is created by assigning it the information from a text field, 'userinput'. Next the frame 'makedecision' is called and the variable 'consider' is used in the caculations in 'makedecision' which outputs a variable called 'decision'. Finally the movie jumps to the frame 'decision' to give the user feedback. (It not as hard as it seems!)

You must also ensure that the frame being called has been loaded otherwise the Call action will be ignored.

Basic Example:

Call ("Start") 
Advanced Example:
On (Release)  Set Variable: "consider" = userinput  Call ("makedecision")  Go to and Play (decision) End On

About the Author:



 
 
Newsletter Archive | Article Archive | Submit Article | Advertising Information | About Us | Contact | Site Map

FlashNewz is an iEntry.com publication
© 1998-2008 iEntry Inc. All Rights Reserved Privacy Policy Legal