# Dynamic Image Scroller

**URL:** <https://forum.kirupa.com/t/dynamic-image-scroller/247289>\
**Category:** Uncategorized\
**Created:** [December 20, 2007, 7:25pm UTC](https://forum.kirupa.com/t/dynamic-image-scroller/247289 "2007-12-20T19:25:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![geminione](https://avatars.discourse-cdn.com/v4/letter/g/e5b9ba/32.png) [@geminione](https://forum.kirupa.com/u/geminione)\
**Post date:** [December 20, 2007, 7:25pm UTC](https://forum.kirupa.com/t/dynamic-image-scroller/247289/1 "2007-12-20T19:25:24Z")

</div>

I’m trying to set up a looping set of images (which works alone), that load from a PHP file (which also works alone), but when I try to set this up I get the following error:

Error: A ‘with’ action failed because the specified object did not exist.

Here’s what I’m using:

```auto
myLoadVars = new LoadVars();
myLoadVars.onLoad = function() {
	var imgA:Array = [this.images];// ["one.jpg", "two.jpg", "three.jpg"] works
	var slideShow = new classes.fx.tween(this, imgA, 3, "horizontal", 400, 250);// the issue is this line I think
	_global.delayImg = 1;
	slideShow.move(10, 10);
	trace(imgA); // this also = "one.jpg", "two.jpg", "three.jpg"
};
myLoadVars.load("dynamic_content.txt"); // eventually PHP

```

Thanks for any help.
