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 />

‘Device sound:’ box enter the path <strong>to</strong> a MIDI or MFi file by clicking on the folder icon. If the<br />

file is of the right format it should be heard when using either ‘Control > Test Movie’ or the<br />

‘Standalone <strong>Flash</strong> Lite Player’.<br />

When using ‘Test Movie’ the compiler sends compilation information <strong>to</strong> the ‘Output’ window.<br />

If a sound is successfully embedded then you should see an SWFS045 message as shown in<br />

Figure 19.4.<br />

Figure 19.4 <strong>Flash</strong> Lite compilation messages<br />

It should be noted that the 505i phones only support the Mfi sound format, which are saved<br />

as files with the ‘mld’ extension. http://smaf-yamaha.com/what/other.html provides a <strong>to</strong>ol that<br />

allows you <strong>to</strong> create mld files from an mp3 or wav file. As is the nature of the Internet this page is<br />

likely <strong>to</strong> have moved so if this is the case do a search for ‘mld authoring <strong>to</strong>ols’ <strong>to</strong> find the current<br />

best ones.<br />

Testing content using the i-mode HTML Simula<strong>to</strong>r<br />

One of the quickest ways <strong>to</strong> test your games that target mobile devices is <strong>to</strong> use the i-mode HTML<br />

Simula<strong>to</strong>r. This can be downloaded from https://www.nttdocomo.co.jp/imode_sim/dl.html.<br />

Unfortunately this page was only available in Japanese at the time of writing; however, if it is<br />

available when you are downloading then Figure 19.5 shows what <strong>to</strong> enter and which but<strong>to</strong>n <strong>to</strong><br />

press. The details shown are found at the bot<strong>to</strong>m of the page.<br />

Figure 19.5 Downloading the i-mode HTML Simula<strong>to</strong>r from the Japanese website<br />

312

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

Saved successfully!

Ooh no, something went wrong!