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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 20: Using <strong>Flash</strong> on a PocketPC<br />

must be placed on a pixel boundary. Click on the text and adjust the X: and Y: values in the<br />

Properties window so that the values are whole numbers with no decimal part. Another feature of<br />

pixel fonts is the need <strong>to</strong> be a multiple of 8 in size (8, 16, 24 etc.). More information is available<br />

on the web, a good source being http://www.bestflashanimationsite.com/tu<strong>to</strong>rials/2/.<br />

Figure 20.7 Showing the clues as an overlay<br />

screen<br />

Figure 20.8 Displaying the answers<br />

Reading the keyboard<br />

For full textual input the PPC uses a Soft Input Panel (SIP). If you use the stand-alone player or<br />

the embedding solution given in Chapter 24 you can turn this panel on and off in <strong>ActionScript</strong>.<br />

Unfortunately this feature is not available <strong>to</strong> swf files that are hosted in PIE. To turn the panel<br />

on use<br />

fscommand("_sip", true);<br />

and <strong>to</strong> turn it off use<br />

fscommand("_sip", false);<br />

Any text entered in<strong>to</strong> an input box works in much the same way as text returned from the keyboard.<br />

The transcribe option for the SIP, where handwriting is converted in<strong>to</strong> text input, is unreliable in<br />

the <strong>Flash</strong> Player.<br />

325

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

Saved successfully!

Ooh no, something went wrong!