-
Scrolling text
Hey guys, i know this one has been asked loads of times but never for an AS3 Script.
I basicly need to create a horizontal ticker script, the script should read in values from an XML document and then for each item it should scroll it across the page (btw it is shown on top of a playing flash file that loops)
I can do the XML Parsing easily but cant figure out how to do the scrolling text anyone have any ideas or references for me to look at.
Cheera
-
You can use the Timer class or the ENTER_FRAME event.
-
Totally lost, i would normally do a MC and make it scroll but cant do it in AS3
-
If you have a Movieclip mc with text then just do:
mc.addEventListener(Event.ENTER_FRAME, myTicker);
function myTicker(e:Event):void
{
e.currentTarget.x +=1;
}
You need to incorporate the XML values.
-
AS3 is totaly different from AS1 and 2 :( is there any reference materials you can suggest or books so I can learn it again
I forgot to add how would I reference the text file from within the MC would I still do mc.textfile.htmltext ?