Solved

How best to pass memberID to a photo gallery

Posted on 2004-04-22
3
255 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
Recently, I was asked to recommend a tracking system to be implemented on a clients website. As the entire site was built on flash, my first thought was to suggest custom built tracking system. However, our company at that point of time didn't h…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
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.

943 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now