# How 2 link from 1 swf file to another?

**URL:** <https://forum.kirupa.com/t/how-2-link-from-1-swf-file-to-another/103978>\
**Category:** Uncategorized\
**Created:** [March 11, 2004, 7:17am UTC](https://forum.kirupa.com/t/how-2-link-from-1-swf-file-to-another/103978 "2004-03-11T07:17:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![whitetulips](https://avatars.discourse-cdn.com/v4/letter/w/ba9def/32.png) [@whitetulips](https://forum.kirupa.com/u/whitetulips)\
**Post date:** [March 11, 2004, 7:17am UTC](https://forum.kirupa.com/t/how-2-link-from-1-swf-file-to-another/103978/1 "2004-03-11T07:17:05Z")

</div>

i have created 2 swf files… (eg; a.swf and b.swf)  
if i 1 2 link from a.swf to b.swf, i use this AS : ( this As works)

on (release) {  
tellTarget ("\_root") {  
gotoAndStop(1);  
loadMovieNum(“b.swf”, 1);  
}  
}

lets say if a.swf have 3 scenes in it, (scene1, scene2, scene3), and i 1 2 link b.swf back to the ‘scene3, frame1’ of a.swf, what will the AS be?

i tried using this:

on (release) {  
tellTarget ("\_root") {  
gotoAndStop(1);  
loadMovieNum(“a.swf”, “scene3”,1);  
}  
}

but it has and error…

can u tell me the correct AS to link it back?
