# A couple of problems

**URL:** https://forum.kirupa.com/t/a-couple-of-problems/178768
**Category:** Uncategorized
**Created:** [February 14, 2006, 2:53am UTC](https://forum.kirupa.com/t/a-couple-of-problems/178768 "2006-02-14T02:53:11Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Catalist](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/catalist/32/2148_2.png) [@Catalist](https://forum.kirupa.com/u/Catalist)
#### Post date: [February 14, 2006, 2:53am UTC](https://forum.kirupa.com/t/a-couple-of-problems/178768/1 "2006-02-14T02:53:11Z")

</div>

Ok, few problems. I’m working on this [http://http://ring.halogrid.com/graph1.swf](http://http://ring.halogrid.com/graph1.swf)

1st problem.  
I’m trying to animate the lines so that they rotate to their position. Instead of start there like you see.

```auto
onEnterFrame = function (){
        if (_root.line1._rotation<=angle1) {
                _root.line1._rotation +=2.5;
        }
}

```

The problem with that up there is, once it gets over 180 (angle1 = 220) it will just go around and around. It should only do that when it’s over 360, not 180.

2nd problem, I have a movie clip with a dynamic text box inside it, when the movie clip rotates the text in the text box no longer shows. Actually the text dosent show even if the movie clip doesn’t rotate.

```auto
_root.line1.title1 = name1

```

(name1 = HBO)

That’s it, thenx if you can help.
