# {Flash 8} targeting and iFrame from a link array?

**URL:** <https://forum.kirupa.com/t/flash-8-targeting-and-iframe-from-a-link-array/239770>\
**Category:** flash\
**Created:** [September 25, 2007, 8:11pm UTC](https://forum.kirupa.com/t/flash-8-targeting-and-iframe-from-a-link-array/239770 "2007-09-25T20:11:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ninewindows](https://avatars.discourse-cdn.com/v4/letter/n/d2c977/32.png) [@ninewindows](https://forum.kirupa.com/u/ninewindows)\
**Post date:** [September 25, 2007, 8:11pm UTC](https://forum.kirupa.com/t/flash-8-targeting-and-iframe-from-a-link-array/239770/1 "2007-09-25T20:11:44Z")

</div>

Hello, anyone that might shine some light in the right direction would be my hero. First, I’m not a traditional programmer by any means, so if my code and/or method is completely irrational, just smack my wrist.

Ok, I have dynamic links that I’m pulling from an already published RSS feed ([http://lacity.granicus.com/ViewPubli…php?view\_id=2](http://lacity.granicus.com/ViewPublisherRSS.php?view_id=2)) using the xml in said document.

Now, the ‘client’ wants the video links from this document to link to an iframe above the flash interface. No problems targeting the iframe when the links are hardcoded into the flash piece, but they want complete control (yes, I know they’re asking for a miracle). Here’s my piece so far: ([http://webdev.ita.ci.la.ca.us/Justin…id\_player.html](http://webdev.ita.ci.la.ca.us/Justin/PlanA/vid_player.html))

Here’s the function and variable that pulls the links and titles:\*\* Code:\*\*

```auto
function getPageTitle(ind):String{

var this_text = "<a href='" + _level0.link_array[ind] + "'>" + _level0.title_array[ind] + "</a>";

return this_text;

```

_[COLOR=DarkRed] [/COLOR]_

This is what I tried (along with just single quotes and double quotes), but to no avail:\*\* Code:\*\*

```auto
function getPageTitle(ind):String{

var this_text = "<a href='" + _level0.link_array[ind] + "'" + ", \"video_swap\">" + _level0.title_array[ind] + "</a>";

return this_text; 

```

Am I missing something really fundamental here, or what? Like I said, I know my method is completely out of the norm, but this is how I have it working at the moment. Is it even possible, or do I need to reformat what I’m doing?

I hope I made sense enough here. If I need to clarify, just let me know. Any help is much appreciated.  
Thanks.
