Categories
var bitmap:Bitmap; for (var i:int = 0; i < this.numChildren; i++) { bitmap = this.getChildAt(i) as Bitmap; if (bitmap) break; } Go to Source
A quick and simple way to search a MySQL database. Example: mysql_search(‘items’, ‘title tags’, isset($_GET['q'])?$_GET['q']:”, Array(‘columns’=>’*’, ‘method’=>’OR’, ‘extra_sql’=>’AND active = “true” ORDER BY id DESC’));
HTML5 supports speech-based input via your microphone. Append the following line to your input tags. x-webkit-speech speech <input id=”search” name=”search” type=”text” x-webkit-speech speech> On a side note, it is currently only supported by Google Chrome.