Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 03-29-2006, 04:41 PM   #1
mx_kid
Registered User
 
Join Date: Mar 2006
Posts: 2
Default continuous auto scrolling text loop

im after achieving an effect similar to movie credits with text automatically scrolling upwards, im loading the text in via xml and have for example

item one
item two
item three

but need it to scroll so that user sees an endless loop

item one
item two
item three
item one
item two
item three

any ideas of the best way to do this please?
mx_kid is offline   Reply With Quote
Old 03-30-2006, 05:26 AM   #2
ptrcklgrs
Programmer
 
Join Date: Dec 2005
Posts: 123
Default Idea

Break up into 2 MC so that when one leaves the screen you can attach it to the bottom and keep it scrolling up.
For intance


SomeMovieClip.OnEnterFrame = function () {
_root.creditsA._y -= 5
_root.creditsB._y -= 5
if (creditsA._y > 100) {
_root.creditsA._y -= (creditsA._height + creditsB._height)
}
if (creditsB._y > 100) {
_root.creditsB._y -= (creditsA._height + creditsB._height)
}
ptrcklgrs is offline   Reply With Quote
Old 03-30-2006, 07:16 AM   #3
mx_kid
Registered User
 
Join Date: Mar 2006
Posts: 2
Default

cheers mate, it had to be dynamic so that their could be any amount of items in the list. ive sussed it now, each item is in its own mc - will post the code later if anyone needs it
mx_kid is offline   Reply With Quote
Old 04-28-2006, 05:40 PM   #4
d-woo
Member
 
Join Date: Feb 2004
Posts: 60
Send a message via Yahoo to d-woo
Default

MX_Kid,

I am very interested in the code.

Please post it.

Thanks!
d-woo is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Text scrolling actionscript breaks after I load a movie artman182 ActionScript 2.0 0 01-27-2006 04:28 PM
How Do I Do A Continuous Scrolling Newsreel with external XML data? roberttraum ActionScript 2.0 6 10-28-2005 02:47 AM
Scrolling Text MC Formatting maddogfloyd Other Flash General Questions 1 11-14-2003 04:57 PM
Text scrolling from over 200 containers bishup ActionScript 1.0 (and below) 1 10-25-2002 02:16 PM
Scrolling text prob...JESSE? Can you help again? Karas ActionScript 1.0 (and below) 0 02-08-2002 06:28 PM


All times are GMT. The time now is 04:29 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.