views:

22

answers:

1

am creating an action script class MyCircle extends UIComponent.....some code

when i compile i get error as col: 28 Error: The definition of base class UIComponent was not found.

class MyCircle extends UIComponent

what i have to do ^

A: 

Add this at the beginning :

import mx.core.UIComponent;
Epharion