02.02.2013 Views

Flash MX 2004 Games : Art to ActionScript

Flash MX 2004 Games : Art to ActionScript

Flash MX 2004 Games : Art to ActionScript

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Flash</strong> <strong>MX</strong> <strong>2004</strong> <strong>Games</strong><br />

access. The SQL Server route is much more flexible and results in a smoother experience for the<br />

user. In the end the cost difference is more than outweighed by the benefits.<br />

Because most of this chapter involves the use of server-based techniques the examples do not run<br />

direct from the CD. They are on the CD so that you can examine the code, but <strong>to</strong> use them live<br />

you will need <strong>to</strong> be running the database on an SQL Server and the ASP code needs <strong>to</strong> be running<br />

on an IIS (Internet Information Server). If you are using a Windows platform it is easy <strong>to</strong> set up your<br />

own machine <strong>to</strong> operate as an IIS. Check out the documentation that comes with your version of<br />

Windows <strong>to</strong> learn how <strong>to</strong> do this. (Unfortunately the Home Edition of Windows XP does not allow<br />

you <strong>to</strong> set up your machine as an IIS.) If you are unable <strong>to</strong> set up your machine as an IIS either because<br />

your version of Windows is unsuitable or because you are developing on a MAC then you will need<br />

<strong>to</strong> upload the ASP stuff <strong>to</strong> an ISP and run the samples across the Internet.<br />

Having installed your version of SQL Server, run the option called ‘Enterprise Manager’. This<br />

is an application that allows you <strong>to</strong> create and manipulate databases.<br />

Figure 14.1 SQL Server Enterprise Manager<br />

First we will create a database. Connect <strong>to</strong> a database by clicking on one of the available servers.<br />

You can use SQL Server <strong>to</strong> connect <strong>to</strong> a remote database, assuming you have the access privileges.<br />

206

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!