# Html & external swf links

**URL:** <https://forum.kirupa.com/t/html-external-swf-links/265710>\
**Category:** Uncategorized\
**Created:** [July 11, 2008, 3:30pm UTC](https://forum.kirupa.com/t/html-external-swf-links/265710 "2008-07-11T15:30:06Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zenor](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/zenor/32/3634_2.png) [@Zenor](https://forum.kirupa.com/u/Zenor)\
**Post date:** [July 11, 2008, 3:30pm UTC](https://forum.kirupa.com/t/html-external-swf-links/265710/1 "2008-07-11T15:30:06Z")

</div>

Hello everyone.

I have a main file,which loads some external swf files.These external swf files load some html text in dynamic textfields.These html texts also contain links.Is it possible, to link in one of the external swfs,using html?

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![glosrfc](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/glosrfc/32/8334_2.png) [@glosrfc](https://forum.kirupa.com/u/glosrfc)\
**Post date:** [July 11, 2008, 4:10pm UTC](https://forum.kirupa.com/t/html-external-swf-links/265710/2 "2008-07-11T16:10:22Z")

</div>

Providing that the dynamic textfields:  
a) have their html property set to true, e.g. texfield.html = true; and  
b) the text is set to HTML, e.g. textfield.htmlText = "your text here"  
then any anchor tags in your text should work, e.g. “\<a href=‘[http://www.adobe.com](http://www.adobe.com)’ target=’\_blank’\>Go to Adobe\</a\>”;

---

<div class="post-metadata">

**Author:** ![Zenor](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/zenor/32/3634_2.png) [@Zenor](https://forum.kirupa.com/u/Zenor)\
**Post date:** [July 11, 2008, 4:26pm UTC](https://forum.kirupa.com/t/html-external-swf-links/265710/3 "2008-07-11T16:26:32Z")

</div>

Hey there,thanks for the answer.  
Well the html texts come from external txt files.Links work fine.  
The thing is that my file is a full flash template,which has a navigation that loads the external swf files.  
What I want is,when I click in one of the links(which are placed in the external txt files) to load the external swf files in the main file,like the flash navigation I have created works.

---

<div class="post-metadata">

**Author:** ![glosrfc](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/glosrfc/32/8334_2.png) [@glosrfc](https://forum.kirupa.com/u/glosrfc)\
**Post date:** [July 11, 2008, 4:39pm UTC](https://forum.kirupa.com/t/html-external-swf-links/265710/4 "2008-07-11T16:39:21Z")

</div>

I’m afraid that that is an entirely different question. Take a look at the following thread…you will need to create a function to load your external SWFs (using the MovieClipLoaderClass or movieclip.LoadMovie or loadMovie) which you can then call using the asfunction contained in your link:

> **["back to top"](https://www.kirupa.com/forum/showthread.php?t=303186)**
>
> Got a web design/development question or just want to hang out with the most awesome people on the planet? Drop on in!

I’d suggest that you change the parameter (in the example it’s the scroll number to move to) and replace it with the name of the external SWF you want to load.

---

<div class="post-metadata">

**Author:** ![Zenor](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/zenor/32/3634_2.png) [@Zenor](https://forum.kirupa.com/u/Zenor)\
**Post date:** [July 11, 2008, 5:18pm UTC](https://forum.kirupa.com/t/html-external-swf-links/265710/5 "2008-07-11T17:18:46Z")

</div>

You probably misunderstood my question.Loading the external swf files and the external txt is not a problem.  
I just want to point to an external swf to be loaded in the main file,when one of the links( **which are placed in the external txt file** )is clicked.This is pretty easy , if you do it in flash,using the method you said.But the links are in the external txt file.
