|»Author||ADVANCE-MEDIA | Search by ADVANCE-MEDIA|
|»Description||This 'Smiley 4 U' smoothly rotates 360° as it adjusts to the movement of your Smartphone reading accelerometer values. Required of course is an iPhone iOS or an Android device. Adobe Air 2.5 is recommended and Flash CS5 11 up! This script could be useful for inclination measurement or as bubble level...games, round buttons. 2 separate fla source files are included in the zip! In the android edit you will learn about SystemIdleMode.KEEP_AWAKE permissions WAKE_LOOK and NativeApplication.nativeApplication.exit(); to 'force close' the app and how Move to SD card is enabled. In the Apple .ipa version cacheAsBitmapMatrix is used to render graphic fast via GPU. The swf movie displayed on this very online page is just for showcasing purpose, no accelerometer here! The Android .apk app file can be downloaded for free: https://market.android.com/details?id=air.SmileAndroid|
The flash's horizontal road drive was done in CS4 and was upgraded to CS6. The car responds to right/ left key and flash will auto-generate the movement of roads from left-right or right-left based on random number. Have fun driving in this virtual environment and avoid other cars... :) If you are creative, a road driving game can be created from it.