# \[Help\] Putting thumbnail gallery in a movieclip

**URL:** <https://forum.kirupa.com/t/help-putting-thumbnail-gallery-in-a-movieclip/276137>\
**Category:** flash\
**Created:** [November 23, 2008, 3:26pm UTC](https://forum.kirupa.com/t/help-putting-thumbnail-gallery-in-a-movieclip/276137 "2008-11-23T15:26:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hzrdous](https://avatars.discourse-cdn.com/v4/letter/h/7ab992/32.png) [@hzrdous](https://forum.kirupa.com/u/hzrdous)\
**Post date:** [November 23, 2008, 3:26pm UTC](https://forum.kirupa.com/t/help-putting-thumbnail-gallery-in-a-movieclip/276137/1 "2008-11-23T15:26:20Z")

</div>

Hey guys!

First i gotta say i LOVE the site! Its been a great inspiration and help when ive been trying to learn flash. Ive been reading it ■■■■ near daily for the last 2-3 years so dont count me out cause its my first post 😉

Anywho im trying to add thumnails to a gallery of mine. Everything works fine untill i put all the symbols in a movieclip. When i do that the scroller stops working but everything else works fine!

The tutorial im working from is: [http://www.kirupa.com/developer/mx2004/thumbnails.htm](http://www.kirupa.com/developer/mx2004/thumbnails.htm)

And the part of code that is relevant is:

[COLOR=#006610]function[/COLOR] [COLOR=#000050]thumbNailScroller[/COLOR]COLOR=#0000ff[/COLOR] [COLOR=#0000ff]{[/COLOR]  
[COLOR=#0000d0]this[/COLOR].[COLOR=#0000d0]createEmptyMovieClip[/COLOR][COLOR=#0000ff]([/COLOR][COLOR=#666666]“tscroller”[/COLOR], [COLOR=#991010]1000[/COLOR][COLOR=#0000ff])[/COLOR];  
[COLOR=#000050]scroll\_speed[/COLOR] [COLOR=#0000ff]=[/COLOR] [COLOR=#991010]10[/COLOR];  
[COLOR=#000050]tscroller[/COLOR].[COLOR=#0000d0]onEnterFrame[/COLOR] [COLOR=#0000ff]=[/COLOR] [COLOR=#006610]function[/COLOR]COLOR=#0000ff[/COLOR] [COLOR=#0000ff]{[/COLOR]  
[COLOR=#006610]if[/COLOR] [COLOR=#0000ff](([/COLOR][COLOR=#0000d0]\_root[/COLOR].[COLOR=#0000d0]\_ymouse[/COLOR][COLOR=#0000ff]\>=[/COLOR][COLOR=#000050]thumbnail\_mc[/COLOR].[COLOR=#0000d0]\_y[/COLOR][COLOR=#0000ff])[/COLOR] [COLOR=#0000ff]&&[/COLOR] COLOR=#0000ff)[/COLOR] [COLOR=#0000ff]{[/COLOR]  
[COLOR=#006610]if[/COLOR] [COLOR=#0000ff](([/COLOR][COLOR=#0000d0]\_root[/COLOR].[COLOR=#0000d0]\_xmouse[/COLOR][COLOR=#0000ff]\>=([/COLOR][COLOR=#000050]hit\_right[/COLOR].[COLOR=#0000d0]\_x[/COLOR][COLOR=#0000ff]-[/COLOR][COLOR=#991010]40[/COLOR][COLOR=#0000ff]))[/COLOR] [COLOR=#0000ff]&&[/COLOR] COLOR=#0000ff)[/COLOR] [COLOR=#0000ff]{[/COLOR]  
[COLOR=#000050]thumbnail\_mc[/COLOR].[COLOR=#0000d0]\_x[/COLOR] [COLOR=#0000ff]-=[/COLOR] [COLOR=#000050]scroll\_speed[/COLOR];  
[COLOR=#0000ff]}[/COLOR] [COLOR=#006610]else[/COLOR] [COLOR=#006610]if[/COLOR] [COLOR=#0000ff](([/COLOR][COLOR=#0000d0]\_root[/COLOR].[COLOR=#0000d0]\_xmouse[/COLOR][COLOR=#0000ff]\<=[/COLOR][COLOR=#991010]40[/COLOR][COLOR=#0000ff])[/COLOR] [COLOR=#0000ff]&&[/COLOR] COLOR=#0000ff)[/COLOR] [COLOR=#0000ff]{[/COLOR]  
[COLOR=#000050]thumbnail\_mc[/COLOR].[COLOR=#0000d0]\_x[/COLOR] [COLOR=#0000ff]+=[/COLOR] [COLOR=#000050]scroll\_speed[/COLOR];  
[COLOR=#0000ff]}[/COLOR]  
[COLOR=#0000ff]}[/COLOR] [COLOR=#006610]else[/COLOR] [COLOR=#0000ff]{[/COLOR]  
[COLOR=#006610]delete[/COLOR] [COLOR=#000050]tscroller[/COLOR].[COLOR=#0000d0]onEnterFrame[/COLOR];  
[COLOR=#0000ff]}[/COLOR]  
[COLOR=#0000ff]}[/COLOR];  
[COLOR=#0000ff]}[/COLOR]  
[COLOR=#0000ff][/COLOR]  
[COLOR=#0000ff]I would REALLY appreciate any kind of help! Ive been trying for hours but i cant get it to work :/[/COLOR]  
[COLOR=#0000ff][/COLOR]  
[COLOR=#0000ff]Thanks in advance![/COLOR]  
[COLOR=#0000ff][/COLOR]  
[COLOR=#0000ff]/Hzrdous[/COLOR]
