# Flash and Dynamic Pics in html Question?

**URL:** <https://forum.kirupa.com/t/flash-and-dynamic-pics-in-html-question/34484>\
**Category:** web dev\
**Created:** [November 3, 2003, 2:39am UTC](https://forum.kirupa.com/t/flash-and-dynamic-pics-in-html-question/34484 "2003-11-03T02:39:07Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![rizzil](https://avatars.discourse-cdn.com/v4/letter/r/839c29/32.png) [@rizzil](https://forum.kirupa.com/u/rizzil)\
**Post date:** [November 3, 2003, 2:39am UTC](https://forum.kirupa.com/t/flash-and-dynamic-pics-in-html-question/34484/1 "2003-11-03T02:39:07Z")

</div>

Hi,

From a flash movie I have thumbnails which when clicked on I want a new window to appear with a large version of the pic with a formated border and a logo.

I dont want to have to create an html page for each seperate pic.

Now is it possible to have one dynamic html file that can load any single pic with the a comon border and logo.

To pass variables (pic file name) can i use a javascript method within a HTML file or do i need to use ASP?

Please help.

Thanks.

Eric

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 3, 2003, 3:26am UTC](https://forum.kirupa.com/t/flash-and-dynamic-pics-in-html-question/34484/2 "2003-11-03T03:26:39Z")

</div>

You can do it with javascript. Within the page that contains your flash movie you’ll need a javascript function defined that opens a window containing your dynamic display page. The script passes the image name as a parameter.

Within your flash movie you call the script and pass the image name as a parameter.

I’m not a “flasher” and I hate coding in Javascript, so I won’t post any code examples, but I have see it done, and it isn’t all that difficult.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 3, 2003, 4:37am UTC](https://forum.kirupa.com/t/flash-and-dynamic-pics-in-html-question/34484/3 "2003-11-03T04:37:19Z")

</div>

OK thanks here is to be more specific:

on (release) {  
getURL(“pic.asp”, “\_blank”, “GET”);  
}

for (first pic) I have var pic=pic1.jpg

now pic.asp

i have

```php

<% @Language="VBScript" %>
<% Option Explicit %>
<html>
<head>
</head>
<body>
<div align="center"><center>
<table border="1">
  <tr>
    <td bgcolor="#ffffff">
      <img src='<%=Request.Form("pic")%>'>
    </td>
  </tr>
</table>
</center></div>
</body>
</html>

```

Please let me know if you notice anything wrong

Thanks

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 3, 2003, 4:45am UTC](https://forum.kirupa.com/t/flash-and-dynamic-pics-in-html-question/34484/4 "2003-11-03T04:45:18Z")

</div>

ok my ASP code is not posting

to call the variable named pic in the asp file i use the following right?

//\< % = Request.Form (“pic”) % \>’//

i think this may be my problem

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 7, 2003, 7:34pm UTC](https://forum.kirupa.com/t/flash-and-dynamic-pics-in-html-question/34484/5 "2003-11-07T19:34:06Z")

</div>

rizzil - put your asp in

```php
 tags, it should show up then
```

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 8, 2003, 6:26pm UTC](https://forum.kirupa.com/t/flash-and-dynamic-pics-in-html-question/34484/6 "2003-11-08T18:26:46Z")

</div>

done…but i never used asp, so no help from me here 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 8, 2003, 6:36pm UTC](https://forum.kirupa.com/t/flash-and-dynamic-pics-in-html-question/34484/7 "2003-11-08T18:36:44Z")

</div>

Since you are using a GET rather than a POST you’ll need to use **Request.QueryString** instead of **Request.Form**
