# Flash and ajaxtabs (rel link)

**URL:** <https://forum.kirupa.com/t/flash-and-ajaxtabs-rel-link/257940>\
**Category:** Uncategorized\
**Created:** [April 18, 2008, 5:55pm UTC](https://forum.kirupa.com/t/flash-and-ajaxtabs-rel-link/257940 "2008-04-18T17:55:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Goth\_Santa](https://avatars.discourse-cdn.com/v4/letter/g/46a35a/32.png) [@Goth\_Santa](https://forum.kirupa.com/u/Goth_Santa)\
**Post date:** [April 18, 2008, 5:55pm UTC](https://forum.kirupa.com/t/flash-and-ajaxtabs-rel-link/257940/1 "2008-04-18T17:55:47Z")

</div>

So I’m using a javascript applet to load a portion of a page from an external HTML file when you click a link. I’m using the script found [here](http://www.dynamicdrive.com/dynamicindex17/ajaxtabscontent/).

The code works like this:

```auto

[embed external .js file in head]

<a href="page to be loaded" rel="ajaxcontentarea">text of link</a>

...

<div id="ajaxcontentarea"> page loads here </div>

```

So, this is all well and good, until I try to invoke it with Flash. How do I tell the external script to do its thing? I’ve seen a couple different ideas; one involving ExternalInterface in actionscript, the other invoking a javascript function which in tern invokes the one I need. I can’t figure out how to get either method to work. Any ideas?
