# Loading an image slider into a blank movie clip on main stage

**URL:** https://forum.kirupa.com/t/loading-an-image-slider-into-a-blank-movie-clip-on-main-stage/282123
**Category:** flash
**Created:** [February 17, 2009, 9:45pm UTC](https://forum.kirupa.com/t/loading-an-image-slider-into-a-blank-movie-clip-on-main-stage/282123 "2009-02-17T21:45:05Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Poul](https://avatars.discourse-cdn.com/v4/letter/p/dbc845/32.png) [@Poul](https://forum.kirupa.com/u/Poul)
#### Post date: [February 17, 2009, 9:45pm UTC](https://forum.kirupa.com/t/loading-an-image-slider-into-a-blank-movie-clip-on-main-stage/282123/1 "2009-02-17T21:45:05Z")

</div>

[SIZE=1]Im trying to load an external swf[/SIZE][SIZE=1] into a blank movie clip which is on the main stage of my movie. The swf I want to load uses a dynamic image slider to view images. The code I have applied to the first frame of the image slider swf is as follows:[/SIZE]

[SIZE=1]stop();[/SIZE]  
[SIZE=1]\_root.imagewidth = 495;[/SIZE]  
[SIZE=1]\_root.speed = 3;[/SIZE]  
[SIZE=1]\_root.trig.xposnew = -(\_root.imagewidth);[/SIZE]  
[SIZE=1]but1.onRelease = function() {[/SIZE]  
[SIZE=1]\_root.trig.xposnew = -(\_root.imagewidth);[/SIZE]  
[SIZE=1]};[/SIZE]  
[SIZE=1]but2.onRelease = function() {[/SIZE]  
[SIZE=1]\_root.trig.xposnew = -((\_root.imagewidth)\*2);[/SIZE]  
[SIZE=1]};[/SIZE]  
[SIZE=1]but3.onRelease = function() {[/SIZE]  
[SIZE=1]\_root.trig.xposnew = -((\_root.imagewidth)\*3);[/SIZE]  
[SIZE=1]};[/SIZE]  
[SIZE=1]};[/SIZE]

[SIZE=1]The slider movie works fine when previewed from the fla file, but when[/SIZE][SIZE=1] the image slider movie clip is loaded as an external swf file it does not work. The buttons do not activate the slider movie.[/SIZE]

[SIZE=1]Hope that makes sense.[/SIZE]

[SIZE=1]Can anyone help?[/SIZE]

[SIZE=1]Many thanks.[/SIZE]
