Made to Order Software Corporation Logo

Cast Object

SWF Action
Action Category: 
Objects
Action Details: 
0
Action Identifier: 
43
Action Structure: 
<n.a.>
Action Length: 
0 byte(s)
Action Stack: 
pop 1 (o), pop 1 (s), push 1 (o)
Action Operation: 
o1 := pop();
s2 := pop();
r := (s2) o1;
push(r);
Action Flash Version: 
7
See Also: 

The Cast Object action makes sure that the object o1 is an instance of class s2. If it is the case, then o1 is pushed back onto the stack. Otherwise Null is pushed onto the stack.

The comparison is identical to the one applied by the Instance Of action.

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Syndicate content