Math class
445
•
Include the superdomain in
connectionName
in the sending LocalConnection object—for
example,
myDomain.com:myConnectionName
. In the receiving object, use
LocalConnection.allowDomain
to specify that connections from the specified superdomain
will be accepted (in this case, myDomain.com), or that connections from any domain will
be accepted.
Note:
You cannot specify a superdomain in
connectionName
in the receiving LocalConnection object,
only in the sending LocalConnection object.
Example
For an example of communicating between LocalConnection objects located in the same domain,
see
LocalConnection.connect()
. For an example of communicating between LocalConnection
objects located in any domain, see
LocalConnection.allowDomain
. For an example of
communicating between LocalConnection objects located in specified domains, see
LocalConnection.allowDomain
and
LocalConnection.domain()
.
See also
LocalConnection.allowDomain
,
LocalConnection.connect()
,
LocalConnection.domain()
,
LocalConnection.onStatus
lt (less than — string specific)
Availability
Flash Player 4. This operator was deprecated in Flash 5 in favor of the new
< (less than)
operator.
Usage
expression1
lt
expression2
Parameters
expression1
,
expression2
Numbers, strings, or variables.
Description
Operator (comparison); compares
expression1
to
expression2
and returns
true
if
expression1
is less than
expression2
; otherwise, it returns
false
.
See also
< (less than)
Math class
Availability
Flash Player 5. In Flash Player 4, the methods and properties of the Math class are emulated using
approximations and may not be as accurate as the non-emulated math functions supported by
Flash Player 5.
Description
The Math class is a top-level class whose methods and properties you can use without using
a constructor.
Summary of Contents for FLASH MX 2004 - ACTIONSCRIPT
Page 1: ...ActionScript Reference Guide...
Page 8: ...8 Contents...
Page 12: ......
Page 24: ...24 Chapter 1 What s New in Flash MX 2004 ActionScript...
Page 54: ...54 Chapter 2 ActionScript Basics...
Page 80: ...80 Chapter 3 Writing and Debugging Scripts...
Page 82: ......
Page 110: ...110 Chapter 5 Creating Interaction with ActionScript...
Page 112: ......
Page 120: ...120 Chapter 6 Using the Built In Classes...
Page 176: ......
Page 192: ...192 Chapter 10 Working with External Data...
Page 202: ...202 Chapter 11 Working with External Media...
Page 204: ......
Page 782: ...782 Chapter 12 ActionScript Dictionary...
Page 793: ...Other keys 793 221 222 Key Key code...
Page 794: ...794 Appendix C Keyboard Keys and Key Code Values...
Page 798: ...798 Appendix D Writing Scripts for Earlier Versions of Flash Player...
Page 806: ...806 Appendix E Object Oriented Programming with ActionScript 1...
Page 816: ...816 Index...