Solved

How best to pass memberID to a photo gallery

Posted on 2004-04-22
3
259 Views
Last Modified: 2010-04-03
I have asked someone to design a flash photo gallery for me with very little luck! The gallery is for a membership web site which allows each member to show their art work via a photo gallery. I am using Active Server Pages to generate the variables required by flash. The variables and their values are generated in the file design-gallery.asp.

I also want the flexibility of being able to change the name of this file from design-gallery.asp to any other name I so choose.

When you go to a members page and click on a link it should open the members photo gallery when the member's ID which comes from a SQL Server database is passed to the file design-gallery.asp and automatically show that member's gallery.

Here is what I have in mind:

<table border=0 cellpadding=10 cellspacing=0 ID="Table1">
  <tr align=center>
                  <td>

                        <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
                        codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
                        WIDTH="550" HEIGHT="550" id="001" ALIGN="">
                              <PARAM NAME=movie VALUE="gallery.swf?galleryUrl=<%= Server.URLEncode("design-gallery.asp?StylistID="&request.querystring("stylistID") %>">
                              <PARAM NAME=quality VALUE=high>
                              <PARAM NAME=bgcolor VALUE=#FFFFFF>
                              <EMBED src="gallery.swf?galleryUrl=<%= Server.URLEncode("design-gallery.asp?StylistID="&request.querystring("stylistID") %>" quality=high bgcolor=#FFFFFF  WIDTH="550" HEIGHT="550" NAME="001" ALIGN=""
                              TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">
                              </EMBED>
                        </OBJECT>
                  </td>
            </tr>
</table>

Any suggestions? Please help me!
0
Comment
Question by:DeMyu
3 Comments
 
LVL 5

Accepted Solution

by:
abdulqabiz earned 500 total points
ID: 11036301
Hi,

It looks fine and should work. I have little worry when you are passing url with querystring. Since its URL-Encoded, it should not make Flash confuse.

Check it, all the best. If you still have any probs, please let me know. I would be more than happy to fix it for you.

Regards,
Abdul
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is intended to introduce all collision detection principles in flash, their strengths, weaknesses and workarounds. The main method for Collision Detection in flash is using hitTestObject. But unless you'll be pushing rectangular shapes without …
While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
The goal of the tutorial is to teach the user how to how to record live broadcast.
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question