[FMX] Help with horizonal autoscroller w/XML

Can anyone help me with a as2 scroller script?

It’s a fairly simple script that loads images and info from a XML file, duplicates a movieclip and then scrolls the whole lot from left to right (with extra ‘left’ and ‘right’ buttons to change the direct of the scroll if needs be)

Each movieclip has a geturl() to link to a specific page on the site and everything seems to be working ok but …

On the first viewing of the parent page (with a clean browser cache), the scroller loads however on the first click on a movieclip to change the parent page with geturl() the connection is very slow.

I’m sure something is wrong with the scroller script but I can’t see what, for example the geturl() is overridden by the _x movement or something like that.

If someone could have a quick at this pastebin I’d be grateful: http://pastebin.com/d6ea08010

The lag is only noticeable on the first use of the scroller, once the parent page is changed, the same scroller is also loaded on the new page (with the same XML file etc) and the lag disappears when clicking.

Do I need to close the XML file? Kill the scroller movement? Write better code? :emb: