# Help loading a image into a movie clip

**URL:** <https://forum.kirupa.com/t/help-loading-a-image-into-a-movie-clip/254560>\
**Category:** flash\
**Created:** [March 13, 2008, 5:00am UTC](https://forum.kirupa.com/t/help-loading-a-image-into-a-movie-clip/254560 "2008-03-13T05:00:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ScoobyDooobyD00](https://avatars.discourse-cdn.com/v4/letter/s/b38774/32.png) [@ScoobyDooobyD00](https://forum.kirupa.com/u/ScoobyDooobyD00)\
**Post date:** [March 13, 2008, 5:00am UTC](https://forum.kirupa.com/t/help-loading-a-image-into-a-movie-clip/254560/1 "2008-03-13T05:00:21Z")

</div>

I’m new to flash and I’m probably way over my head but could you please help me?

I have only been doing flash for less than a week and I mostly do animations but I want to learn AS.

I have saved my pictures in a folder (i.e. /images/) and linked the file name to a mysql database (i.e. test.png) I can make a php file that makes the links to the images

```php

<?php
$sql = "SELECT * FROM images";
$res = mysql_query($sql) or die(mysql_error());

while($row = mysql_fetch_assoc($res)) {
echo "/images/" . $row['image'];
?>

```

So heres what I want to do,

1.) I am making a logo for my site and I want my pictures to show up in a movie clip (the newest picture first)

2.) If a user clicks on that picture/movie clip it takes them to a specific page

3.) this isn’t necessary but would greatly appreciate it. How would I set up controls so a user could switch through the latest six pictures.

If you know of a tutorial that might help please give me a link I’ve searched for about 30mins without luck.  
Thanks in advance!
