# Need iframe help

**URL:** https://forum.kirupa.com/t/need-iframe-help/297210
**Category:** Uncategorized
**Created:** [September 28, 2009, 2:28am UTC](https://forum.kirupa.com/t/need-iframe-help/297210 "2009-09-28T02:28:57Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![omboy](https://avatars.discourse-cdn.com/v4/letter/o/e36b37/32.png) [@omboy](https://forum.kirupa.com/u/omboy)
#### Post date: [September 28, 2009, 2:28am UTC](https://forum.kirupa.com/t/need-iframe-help/297210/1 "2009-09-28T02:28:57Z")

</div>

I’m working on my friend’s website that was design by someone else and the way it was design that top header is flash including the menu and rest is html. i want to use iframe so the top flash stays when the link changes but when i opened the flash i found the action script like below on link.

[COLOR=red]**onClipEvent (load) {**[/COLOR]  
**[COLOR=red]num = 3;[/COLOR]**  
**[COLOR=red]txt\_var = “index-2.html”;[/COLOR]**  
**[COLOR=red]}[/COLOR]**

and i don’t know where or how to add action script for iframe. i already have html part of script on my html page.

[COLOR=red] **\<iframe src=“index-2.html” name=“frame” width=“951” marginwidth=“0” height=“480” marginheight=“0” scrolling=“No” frameborder=“0” class=“style1” id=“frame” style=“border:none;” border=“0”\> \</iframe\>** [/COLOR]

so overall i need help where to or how to modify flash script to make the link work with iframe.
