# Help! Moving an Image around from File Input

**URL:** <https://forum.kirupa.com/t/help-moving-an-image-around-from-file-input/275348>\
**Category:** Uncategorized\
**Created:** [November 12, 2008, 8:06pm UTC](https://forum.kirupa.com/t/help-moving-an-image-around-from-file-input/275348 "2008-11-12T20:06:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hikariu](https://avatars.discourse-cdn.com/v4/letter/h/7ba0ec/32.png) [@Hikariu](https://forum.kirupa.com/u/Hikariu)\
**Post date:** [November 12, 2008, 8:06pm UTC](https://forum.kirupa.com/t/help-moving-an-image-around-from-file-input/275348/1 "2008-11-12T20:06:26Z")

</div>

Can someone help me understand how to do this. I’m new to flash but not programming.

What I would like to do is keep the x and y axis of an image inside of a text file.

With flash I’d like to read that file and move the image along the path that is created in the file.

How do I setup an element to do that?

Think of it like this. You want to move a soccer ball around a field based on the x and y points saved in an external text file. How would you set the app to read the file and step through it.

Text file might look like this:

&step=1&image=ball.gif&xaxis=250&yaxis=100  
&step=2&image=ball.gif&xaxis=251&yaxis=100  
&step=3&image=ball.gif&xaxis=252&yaxis=100

etc.
