# Error - Undefined Term Has No Properties

**URL:** <https://forum.kirupa.com/t/error-undefined-term-has-no-properties/274201>\
**Category:** flash\
**Created:** [October 27, 2008, 1:56am UTC](https://forum.kirupa.com/t/error-undefined-term-has-no-properties/274201 "2008-10-27T01:56:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Katie\_Lee](https://avatars.discourse-cdn.com/v4/letter/k/35a633/32.png) [@Katie\_Lee](https://forum.kirupa.com/u/Katie_Lee)\
**Post date:** [October 27, 2008, 1:56am UTC](https://forum.kirupa.com/t/error-undefined-term-has-no-properties/274201/1 "2008-10-27T01:56:05Z")

</div>

I’m trying to program a couple of sliders; this error is coming up and I can’t fix it because I don’t know what it means … Can you help me get rid of this error?

This is the slider code I’m using -

[FONT=“Courier New”]//sliders  
var dragging:Boolean = false;  
var rectangle:Rectangle = new Rectangle (0,0,100,0);  
var rotate\_mc;  
var zoom\_mc;  
rotate\_mc.rotateKnob\_mc.addEventListener(MouseEvent.MOUSE\_DOWN, dragIt);  
zoom\_mc.zoomKnob\_mc.addEventListener(MouseEvent.MOUSE\_DOWN,dragIt);  
stage.addEventListener(MouseEvent.MOUSE\_UP, dropIt);

```
function dragIt(event:MouseEvent):void{
    event.target.startDrag (true);
}

function dropIt(event:MouseEvent):void{
if(dragging){
    rotate_mc.rotateKnob_mc.stopDrag();
    zoom_mc.zoomKnob_mc.stopDrag();
    dragging = false;
    }

```

rotate\_mc.rotateKnob\_mc.startDrag(false,rectangle);  
zoom\_mc.zoomKnob\_mc.startDrag(false,rectangle);  
dragging = true;[/FONT]

This is the output error I get (no compiler errors); ind302\_Katie\_project\_v5 is the file’s name -

[FONT=“Courier New”]TypeError: Error #1010: A term is undefined and has no properties.  
at ind302\_Katie\_project\_v5\_fla::MainTimeline/ind302\_Katie\_project\_v5\_fla::frame1()[/FONT]

Thanks,  
Katie.
