Accessibility
Home / DevNet / Pet Market Application Center
DevNet
DevNet Article
Installing the Macromedia Flash front-end on the .NET Pet Shop

This article covers the necessary steps for installing the Macromedia Pet Market blueprint application on Microsoft Windows platforms. Macromedia recommends you install the Pet Market using the default directory locations listed in this article. A successful installation of the Pet Market requires you to perform the following:

  • Install Macromedia Flash Player 6
  • Install the .NET Pet Store demo
  • Install Macromedia Flash Remoting for .NET
  • Uncompress the distribution
  • Install the distribution

Install Macromedia Flash Player 6

You can install the Flash Player 6 from http://www.macromedia.com/software/flashplayer/.

Install the .NET Pet Store demo

The first step in using the Pet Market application on .NET requires you to install the code for the Microsoft Pet Shop. You can download the code from http://www.gotdotnet.com/team/compare/petshop.aspx.

Note: You will need to install version 1.5.2 of the .NET Pet Shop. If you are having difficulties downloading the Microsoft Pet Shop, contact Microsoft.

Install Macromedia Flash Remoting for .NET

Next, download and install Flash Remoting. You can download Flash Remoting from http://www.macromedia.com/go/flashremoting_net.

Download and unzip the Macromedia Pet Market for .NET

Download the Macromedia Flash front-end for the Microsoft .NET Pet Shop Demo, and unzip it into a directory of your choice.

Note: Do not unzip this archive into the same folder where you installed the .NET Pet Shop. Doing so could cause the Pet Shop to malfunction.

Run the installation script

Run the installation script (setup.cmd) to complete the installation. The installation script is located in the directory where you installed the .NET Pet Store.

Update the Flash front-end's Web.config to accomodate your SQL Server database configuration

The Web.config file which resides in the webroot of the Flash front-end contains the following line:

<add key="ConnectionString" value="server=(local); uid=sa;pwd=; database=petshop" />

The value of this key defines the connection string that will be used to access the database for the .NET Pet Shop. It may be necessary to modify this line to accommodate your SQL server configuration. It may be helpful to look at the Web.config file in the webroot of the .NET Pet Shop web application, which uses the same key name to parameterize its own database connection configuration.

Accessing the Macromedia Pet Market application

To access the Pet Market application on the server, enter a URL using your server name and port.

Note: You may need to change the HTTP address to fit your configuration. Make sure you type your server name and port number into the Pet Market address. For example: http://localhost:80/petmarket/store.html.