Skip to main content
Participant
August 4, 2009
Question

Ticker Type: Action Script

  • August 4, 2009
  • 2 replies
  • 893 views

I'm trying to create an action script for a simple ticker type in Flash. I will have 30 – 40

names of companies to place.

I did google it and found an example that did not work. I've also attempted to create a

simple animation, but it didn't look smooth once playing as an the swf.

Any suggestions?

Thank you,

HA_FTF

This topic has been closed for replies.

2 replies

Participating Frequently
August 5, 2009

Check out this Array Tutorial.

I think this is what you are talking about.

if not let me know

HA_FTFAuthor
Participant
August 5, 2009

Thank you.

This is similar to what I'm trying to do, but something more similar to

the scrolling headlines on the bottom of CNN. I may use the movie clip

form as suggested above, but I thought it might be great if there is an

action script that creates automatic pauses.

Pause .5 or 1 sec, scroll, pause, scroll, etc.

I think the number of words I need to list is too long for the movie

clip but maybe the space around the frame will expand? hmmm...

Thanks.

HA_FTF

Check out this

http://www.developphp.com/Flash_tutorials/show_tutorial.php?tid=303.

 

I think this is what you are talking about.

if not let me know

>

kglad
Community Expert
Community Expert
August 4, 2009

if you can create a movieclip that's wide enough to contain all your names AND is wider than that stage, you can tween the x property (for a horizontal ticker effect) of two instances (positioned with the left edge of one abutting the right edge of the other) of the ticker movieclip so it appears to be an infinite loop.

HA_FTFAuthor
Participant
August 5, 2009

thank you.

this is how i tried it the first time, but i must have made an error

somewhere. it's nice to know it's a method others use.

HA_FTF

if you can create a movieclip that's wide enough to contain all your names

AND is wider than that stage, you can tween the x property (for a

horizontal ticker effect) of two instances (positioned with the left edge

of one abutting the right edge of the other) of the ticker movieclip so it

appears to be an infinite loop.

>

kglad
Community Expert
Community Expert
August 5, 2009

you're welcome.

this is a quick easy to code way to handle a ticker (give the assumptions above).

p.s.  there number of words can't be too long from this approach.