# Link to specified frame on a different page?

**URL:** <https://forum.kirupa.com/t/link-to-specified-frame-on-a-different-page/63908>\
**Category:** Uncategorized\
**Created:** [September 11, 2004, 4:17am UTC](https://forum.kirupa.com/t/link-to-specified-frame-on-a-different-page/63908 "2004-09-11T04:17:55Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![SylvanLady](https://avatars.discourse-cdn.com/v4/letter/s/839c29/32.png) [@SylvanLady](https://forum.kirupa.com/u/SylvanLady)\
**Post date:** [September 11, 2004, 4:17am UTC](https://forum.kirupa.com/t/link-to-specified-frame-on-a-different-page/63908/1 "2004-09-11T04:17:55Z")

</div>

Hello,

I think this question is similiar to the recent post called “goto and play”, but I am wanting to accomplish two different things:

1. To open a specified frame in a single-scene .swf file

2. To link to this frame from a different web page.

Here is the project URL:  
\<[http://www.gatewaytola.org](http://www.gatewaytola.org)\>

The Flash header links at the top of the page – HOTELS, PARKING, etc. – need to take visitors to  
\<[http://www.gatewaytola.org/maphome.html](http://www.gatewaytola.org/maphome.html)\>

… But HOTELS should take them to the Hotels frame of the .swf file that is embedded on the maphome.html page, PARKING should take them to the Parking frame, etc.

I am not sure if this is a pure ActionScript thing, or if I need to employ some JavaScript, or something else.

Thanks for any suggestions you can give!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 12, 2004, 12:51am UTC](https://forum.kirupa.com/t/link-to-specified-frame-on-a-different-page/63908/2 "2004-09-12T00:51:08Z")

</div>

This just may be of some help to ya… Seems like LocalConnection(); is the only way to make something like this possible…

[http://www.flashkit.com/tutorials/Projector/Interact-Dragnovi-975/index.php](http://www.flashkit.com/tutorials/Projector/Interact-Dragnovi-975/index.php)

😏

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 12, 2004, 4:44pm UTC](https://forum.kirupa.com/t/link-to-specified-frame-on-a-different-page/63908/3 "2004-09-12T16:44:11Z")

</div>

Hm… Thanks for rooting out this link! Discerning actual code from place holders is often a challenge for me… :puzzle:

I will give it a try (and still open to other possible solutions!).

SylvanLady

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 12, 2004, 7:56pm UTC](https://forum.kirupa.com/t/link-to-specified-frame-on-a-different-page/63908/4 "2004-09-12T19:56:34Z")

</div>

have you tried naming your frames inside your swf and selecting  
**named anchor** form under the frame name field?  
It gives you acces to link to a specified frame in your swf something like  
\<[www.yoursite.com/yourpage\_with\_flash.html#a\_frame\_in\_the\_swf](http://www.yoursite.com/yourpage_with_flash.html#a_frame_in_the_swf)\>  
It’s easier this way… I guess. 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 15, 2004, 10:13am UTC](https://forum.kirupa.com/t/link-to-specified-frame-on-a-different-page/63908/5 "2004-09-15T10:13:11Z")

</div>

I am just checking back in…

Thanks for this suggestion! I am hoping it can really be this straightforward.

Does this mean I can treat it as a simple link, and treat the frame like an anchor if I name it?

I will try this out ASAP!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 15, 2004, 1:00pm UTC](https://forum.kirupa.com/t/link-to-specified-frame-on-a-different-page/63908/6 "2004-09-15T13:00:59Z")

</div>

> Does this mean I can treat it as a simple link, and treat the frame like an anchor if I name it?

Yes, that’s what it means 😉

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 15, 2004, 1:18pm UTC](https://forum.kirupa.com/t/link-to-specified-frame-on-a-different-page/63908/7 "2004-09-15T13:18:05Z")

</div>

Well… I’ve made my first and second attempt. Can’t get the named anchor technique to work. :crying:

I named the anchor in frame 2, “hotels” and then used a simple ActionScript to create a link \<maphome.html#hotels\>

I need to go out for awhile, but I looked through my Hands-on Flash MX book, and they consider using named anchors an fscommand thing. Showed how to Publish to html using named anchors. I tried that, and it behaved badly.

I will have to research more when I get home!
