# Flashvars in ASP

**URL:** <https://forum.kirupa.com/t/flashvars-in-asp/313464>\
**Category:** programming\
**Created:** [August 31, 2010, 12:53pm UTC](https://forum.kirupa.com/t/flashvars-in-asp/313464 "2010-08-31T12:53:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![itbkris](https://avatars.discourse-cdn.com/v4/letter/i/e19adc/32.png) [@itbkris](https://forum.kirupa.com/u/itbkris)\
**Post date:** [August 31, 2010, 12:53pm UTC](https://forum.kirupa.com/t/flashvars-in-asp/313464/1 "2010-08-31T12:53:30Z")

</div>

I have a flash video player that gets it’s video link from a page built in asp. When a product in the page is clicked it needs to change the video.

The flashside is working as i can write to it from a form in html. I’m not sure where to place my code in the asp though. Here is what I have:

```auto
<div id="programsContainer"><span style="padding-left:15px;" ><% Response.Write(product) %></span><br /><span class="info"><%Response.Write("<a href=""javascript:ajaxpage('getItemDesc.asp?sku="&sku&"', 'headerDiv');"">")%>Click here for more information </a> <% Response.Write(available) %></span></div>

```

i need to include this somewhere in there:

```auto
getElementById('flash').sendTextFromHtml(&sku&);

```

I tried to bundle it in the the current javascript function but to no avail. I’m at a loss once I get into the asp aspect. All help is greatly appreciated.
