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.
Содержание FLASH MX 2004 - ACTIONSCRIPT
Страница 1: ...ActionScript Reference Guide...
Страница 8: ...8 Contents...
Страница 12: ......
Страница 24: ...24 Chapter 1 What s New in Flash MX 2004 ActionScript...
Страница 54: ...54 Chapter 2 ActionScript Basics...
Страница 80: ...80 Chapter 3 Writing and Debugging Scripts...
Страница 82: ......
Страница 110: ...110 Chapter 5 Creating Interaction with ActionScript...
Страница 112: ......
Страница 120: ...120 Chapter 6 Using the Built In Classes...
Страница 176: ......
Страница 192: ...192 Chapter 10 Working with External Data...
Страница 202: ...202 Chapter 11 Working with External Media...
Страница 204: ......
Страница 782: ...782 Chapter 12 ActionScript Dictionary...
Страница 793: ...Other keys 793 221 222 Key Key code...
Страница 794: ...794 Appendix C Keyboard Keys and Key Code Values...
Страница 798: ...798 Appendix D Writing Scripts for Earlier Versions of Flash Player...
Страница 806: ...806 Appendix E Object Oriented Programming with ActionScript 1...
Страница 816: ...816 Index...