Flash and Dynamic Pics in html Question?


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.



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.

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

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

Please let me know if you notice anything wrong


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

rizzil - put your asp in

 tags, it should show up then

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

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