320 posts
  • Has been part of the Envato Community for over 7 years
  • Has collected 100+ items on Envato Market
  • Located in 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
  • Has been part of the Envato Community for over 6 years
  • Has referred 1+ members
  • Has sold $5,000+ on Envato Market
  • Located in Brazil
+3 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.

320 posts
  • Has been part of the Envato Community for over 7 years
  • Has collected 100+ items on Envato Market
  • Located in 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
  • Has been part of the Envato Community for over 6 years
  • Has referred 1+ members
  • Has sold $5,000+ on Envato Market
  • Located in Brazil
+3 more
tsafi says

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

320 posts
  • Has been part of the Envato Community for over 7 years
  • Has collected 100+ items on Envato Market
  • Located in 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!

320 posts
  • Has been part of the Envato Community for over 7 years
  • Has collected 100+ items on Envato Market
  • Located in 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
  • Has been part of the Envato Community for over 6 years
  • Has referred 1+ members
  • Has sold $5,000+ on Envato Market
  • Located in Brazil
+3 more
tsafi says

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

320 posts
  • Has been part of the Envato Community for over 7 years
  • Has collected 100+ items on Envato Market
  • Located in United States
timmylogue says

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

by
by
by
by
by
by