Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private function loadPoints():void
- {
- pointsArray = [];
- for ( var i = 0; i < points.children().length(); i++ )
- {
- var pointID:String = points[i]..children().attribute('id');
- var pointX:Number = Number( points[i].children().attribute('x') );
- var pointY:Number = Number( points[i].children().attribute('y') );
- var point = new Point( pointID, pointX, pointY );
- pointsArray.push( point );
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement