Solved

How best to pass memberID to a photo gallery

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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,…
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
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.

707 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

20 Experts available now in Live!

Get 1:1 Help Now