# News Bulletin

**URL:** <https://forum.kirupa.com/t/news-bulletin/18702>\
**Category:** Uncategorized\
**Created:** [April 19, 2003, 10:52pm UTC](https://forum.kirupa.com/t/news-bulletin/18702 "2003-04-19T22:52:03Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![OpTimus](https://avatars.discourse-cdn.com/v4/letter/o/59ef9b/32.png) [@OpTimus](https://forum.kirupa.com/u/OpTimus)\
**Post date:** [April 19, 2003, 10:52pm UTC](https://forum.kirupa.com/t/news-bulletin/18702/1 "2003-04-19T22:52:03Z")

</div>

Hi guys,

I’m inserting a “News Bulletin” On my website. The steps I took was

\*creating a text box  
\*converting to symbol {movie clip}  
Now I want to add effect, meanning I like for it to scroll up so I inserted this:in “Action”

onClipEvent (enterframe) {  
\_y -= 10;  
}

But I like for it to loop… !! Repeat itself,

I was curious on how I do that? I’m at this point now:

onClipEvent (enterframe) {  
\_y -= 10;  
}  
onClipEvent (enterframe) {  
if ()  
\_root.

I’m lost from here and I dont know if im on the right track so can someone help? thank you

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 19, 2003, 10:59pm UTC](https://forum.kirupa.com/t/news-bulletin/18702/2 "2003-04-19T22:59:43Z")

</div>

try someting like this:

```auto
onClipEvent (enterFrame) {
this._y<endY ? this._y=startY : this._y -= 10;
}

```

**endY** is the coordinate when the MovieClip should return to the starting coordinate and **startY** (kinda obvious) is the starting coordinate of the MovieClip. =)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 19, 2003, 11:10pm UTC](https://forum.kirupa.com/t/news-bulletin/18702/3 "2003-04-19T23:10:36Z")

</div>

when I inserted that, it does the same thing as before… !! you see it scroll up only once… !! It does not repeat…uuhhmm any ideas?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 19, 2003, 11:15pm UTC](https://forum.kirupa.com/t/news-bulletin/18702/4 "2003-04-19T23:15:20Z")

</div>

did you replace endY and startY with the actual coordinates?

```auto
onClipEvent (enterFrame) {
this._y<20 ? this._y=100 : this._y -= 10;
}

```

or did you define endY and startY as variables?

```auto
onClipEvent (load) {
var endY = 20, startY = 100;
}

```

:-\

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 19, 2003, 11:20pm UTC](https://forum.kirupa.com/t/news-bulletin/18702/5 "2003-04-19T23:20:58Z")

</div>

see the example. 😉

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 19, 2003, 11:24pm UTC](https://forum.kirupa.com/t/news-bulletin/18702/6 "2003-04-19T23:24:56Z")

</div>

see im totally new with action script, im just learnning so bare with me…when you say endy is where the movieclip return to the starting coordinate…Im lost with what is a “coordinate” ☹ im new so help me plz…I know that prob cracked a smile…lol so can u clarify more on coordinate ? thx alot

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 19, 2003, 11:31pm UTC](https://forum.kirupa.com/t/news-bulletin/18702/7 "2003-04-19T23:31:35Z")

</div>

thx alot mate… !! works GREAT… !! two thumbs up and now I understand the action now

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 19, 2003, 11:33pm UTC](https://forum.kirupa.com/t/news-bulletin/18702/8 "2003-04-19T23:33:14Z")

</div>

oh! ok. no problem. =)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 20, 2003, 12:15am UTC](https://forum.kirupa.com/t/news-bulletin/18702/9 "2003-04-20T00:15:22Z")

</div>

yeh i sent u a pm b/c i like to show you what im striving for. i need to know how to create a news box with current news but i dont know how to keep the text inside the rectangle box so if you could help me out with the attach file.thx alot

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 20, 2003, 12:22am UTC](https://forum.kirupa.com/t/news-bulletin/18702/10 "2003-04-20T00:22:46Z")

</div>

to attach your file click here \<a href=“newreply.php?s=&action=newreply&threadid=20993”\>\<img src=“images/post\_reply.gif” border=“0” width=“90” height=“25”\>\</a\> 😉

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 20, 2003, 12:30am UTC](https://forum.kirupa.com/t/news-bulletin/18702/11 "2003-04-20T00:30:54Z")

</div>

here you go…lol i guess i didnt see that…🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 20, 2003, 12:36am UTC](https://forum.kirupa.com/t/news-bulletin/18702/12 "2003-04-20T00:36:39Z")

</div>

im sorry i gave you the wrong one here you go

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 20, 2003, 12:37am UTC](https://forum.kirupa.com/t/news-bulletin/18702/13 "2003-04-20T00:37:56Z")

</div>

😛

ok. i’ll check it out. 😉

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 20, 2003, 1:01am UTC](https://forum.kirupa.com/t/news-bulletin/18702/14 "2003-04-20T01:01:04Z")

</div>

thx alot… !! hope you can fix that mess…🙂 or tell me how

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 20, 2003, 1:05am UTC](https://forum.kirupa.com/t/news-bulletin/18702/15 "2003-04-20T01:05:10Z")

</div>

first off… don’t animate in the main timeline, make your animations within MovieClips instead (those cubes for instance) it will make your life easier. 😉

and you don’t need to use the coordinates i posted, it was just an example. :-\

anyway, i think the problem is (if there’s a problem, everything seems fine to me) the keyframe at the end, it resets the MovieClip position.  
and if you don’t want the text to be visible when it’s not over the black box, use mask. since you’re using dynamic text, in order to mask it, you must embed the font outline. run a search in the forum if you don’t know how to embed the font. 😉

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 20, 2003, 1:17am UTC](https://forum.kirupa.com/t/news-bulletin/18702/16 "2003-04-20T01:17:41Z")

</div>

thx alot for the help… !! 😉 time to do some reading… !! see the cubes were made from 3d swift and I just inport them and thats why its like that but again thznk you

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 20, 2003, 1:20am UTC](https://forum.kirupa.com/t/news-bulletin/18702/17 "2003-04-20T01:20:59Z")

</div>

no problem man. =)

and honestly i’m sorry if i didn’t see the problem you meant. :-\

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 20, 2003, 1:30am UTC](https://forum.kirupa.com/t/news-bulletin/18702/18 "2003-04-20T01:30:22Z")

</div>

nah thats kool, you helped out alot…now i just need to read up on embeding text. so u say when I create animation its good to just convert to movieclip and do it that way instead of creating new layer in main timeline and doing there?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 20, 2003, 1:45am UTC](https://forum.kirupa.com/t/news-bulletin/18702/19 "2003-04-20T01:45:59Z")

</div>

yeah, if you ever need to move/extract/edit the animation, it will be easier for you. 😉

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 20, 2003, 2:04am UTC](https://forum.kirupa.com/t/news-bulletin/18702/20 "2003-04-20T02:04:50Z")

</div>

k, thx…darn I cant find that tute on masking and embedding…☹

[Next page](https://forum.kirupa.com/t/news-bulletin/18702.md?page=2)
