321 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.

321 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

321 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!

321 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

321 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.

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by