?
Solved

How best to pass memberID to a photo gallery

Posted on 2004-04-22
3
Medium Priority
?
262 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 5

Accepted Solution

by:
abdulqabiz earned 2000 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

I come across a lot of question about how to access things in the document class from a movieclip, or accessing something from a movieclip in the document class. It took me a while to figure this out but once I did it makes life so much easier. …
There are times in your Flash CS4 application when you want more than a simple pointer or a hand, and it's hard to find an ideal walk-through to tell you what to do.  I spent a few days recently learning my way around making custom cursors in Flash,…
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): …
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.
Suggested Courses

770 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