# Working on external scroll, within main timeline AS 3.0

**URL:** <https://forum.kirupa.com/t/working-on-external-scroll-within-main-timeline-as-3-0/296985>\
**Category:** Uncategorized\
**Created:** [September 23, 2009, 7:15pm UTC](https://forum.kirupa.com/t/working-on-external-scroll-within-main-timeline-as-3-0/296985 "2009-09-23T19:15:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![morokof](https://avatars.discourse-cdn.com/v4/letter/m/e36b37/32.png) [@morokof](https://forum.kirupa.com/u/morokof)\
**Post date:** [September 23, 2009, 7:15pm UTC](https://forum.kirupa.com/t/working-on-external-scroll-within-main-timeline-as-3-0/296985/1 "2009-09-23T19:15:18Z")

</div>

hello everyone, I am getting constant flash-mate for the last few days. I ‘ve tried to applied button function to external swf,that is thumbnail panel with images, however, if I try url link (code is inside external panelc scroll):

panelc.img1\_btn.addEventListener(MouseEvent.MOUSE\_DOWN, thumbDownHandler);  
function thumbDownHandler(event:MouseEvent):void {  
navigateToURL(new URLRequest(”[http://www.google.com](http://www.google.com)”));  
}

panelc.img2\_btn.addEventListener(MouseEvent.MOUSE\_DOWN, thumbDownHandler2);  
function thumbDownHandler2(event:MouseEvent):void {  
navigateToURL(new URLRequest(”[http://www.yahoo.com](http://www.yahoo.com)”));

}

everything works, once scroll downloaded , I click image 1 goes to google, image 2 goes to yahoo, however, if I try to apply function to goto certain frame within the main timeline, using :

panelc.img3\_btn.addEventListener(MouseEvent.MOUSE\_DOWN, mouseDownHandler3);  
function mouseDownHandler3(event:MouseEvent):void {  
gotoAndStop(80);  
}

panelc.img4\_btn.addEventListener(MouseEvent.MOUSE\_DOWN, mouseDownHandler4);  
function mouseDownHandler4(event:MouseEvent):void {  
gotoAndStop(81);  
}  
panelc.img5\_btn.addEventListener(MouseEvent.MOUSE\_DOWN, mouseDownHandler5);  
function mouseDownHandler5(event:MouseEvent):void {  
gotoAndStop(82);  
}  
etc…

-buttons dont react, I dont get any errors either, not sure what to do, first time flash user, want to go out take photos instead, pls can anyone give me any suggestions/hints, I ‘ve read every possible article, can’t make it working, thanks
