MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT Reference Manual page 648

Actionscript reference guide
Hide thumbs Also See for FLASH MX 2004 - ACTIONSCRIPT:
Table of Contents

Advertisement

Example
This code stops the drag action on the instance
on(press) {
startDrag("my_mc");
}
on(release) {
stopdrag();
}
See also
MovieClip._droptarget
" " (string delimiter)
Availability
Flash Player 4.
Usage
"text"
Parameters
A character.
text
Returns
Nothing.
Description
String delimiter; when used before and after characters, quotation marks indicate that the
characters have a literal value and are considered a string—not a variable, numerical value, or
other ActionScript element.
Example
This example uses quotation marks to indicate that the value of the variable
literal string "Prince Edward Island" and not the name of a variable. The value of
variable, not a literal; to determine the value of
be located.
yourGuess = "Prince Edward Island";
on(release){
province = yourGuess;
trace(province);
}
// displays Prince Edward Island in the Output panel
See also
String
class,
String()
648
Chapter 12: ActionScript Dictionary
my_mc
,
MovieClip.stopDrag()
province
when the user releases the mouse button:
,
startDrag()
, the value of
yourGuess
is the
yourGuess
is a
province
must

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004 - ACTIONSCRIPT and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents