Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package
- {
- public class Rect extends MovieClip
- {
- public function Rect(myRect:MovieClip)
- {
- if(myRect == undefined)
- {
- throw new Error("Rect was Undefined.");
- trace(e.message);
- } else {
- trace("X: " + myRect.x);
- trace("Y: " + myRect.y);
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement