332 posts
  • 8 Years of Membership
  • Collector Level 4
  • United States
timmylogue
says

I’m trying to create an xml text rotator. I’m getting there and I got some help from a nice fella on a different forum.

I’m getting a trace of 0 every timer event. Can someone help me please. I’m trying to get the xml to continuously loop over and over again.

http://pastie.org/4449918

Thanks
Timothy

4140 posts
  • 7 Years of Membership
  • Affiliate Level 1
  • Author Level 4
  • Brazil
+5 more
tsafi
says

You going too far, first trace your XML list outside your for each loop, see if you can find your XML list with your … :P .

Usually ill help more but the fact you ask help regarding flash on a different forum in some places this consider as treason :P.

332 posts
  • 8 Years of Membership
  • Collector Level 4
  • United States
timmylogue
says
Usually ill help more but the fact you ask help regarding flash on a different forum in some places this consider as treason :P.

haha Lame!

Thanks man, I’ll try that. Appreciate it.

4140 posts
  • 7 Years of Membership
  • Affiliate Level 1
  • Author Level 4
  • Brazil
+5 more
tsafi
says

Just look/trace your index length inside the else/if statement to find the issue :P

332 posts
  • 8 Years of Membership
  • Collector Level 4
  • United States
timmylogue
says

I removed the index = 0; and added index++; and its working, but its now throwing an error at the end of last xml. FML .

TypeError: Error #2007: Parameter text must be non-null.


I will get this!

332 posts
  • 8 Years of Membership
  • Collector Level 4
  • United States
timmylogue
says

Got it! Well… I notice that the one fella that was helping me replied. Didn’t know.

I fixed it by adding just below the loop in the processXML method:
len = quotesArray.length;

Thanks tsafi for your time.

4140 posts
  • 7 Years of Membership
  • Affiliate Level 1
  • Author Level 4
  • Brazil
+5 more
tsafi
says

^Dammm ,i really wanted you to suffer on this :P

332 posts
  • 8 Years of Membership
  • Collector Level 4
  • United States
timmylogue
says

hahaha well if it helps… I was kinda pulling out my hair.

by
by
by
by
by
by