Iâve been making a game, and Iâm wondering if it is possible (not saying built in features, but an API out there maybe) to make it an iOS game to go on the iPad or whatever in As2. All Iâd need is touch controls, so no fancy tilt detection or anything.
If there is no such thing built in or as an API, is it possible to somehow write my own script to detect something being tapped?
After looking a little more it looks like this isn't possible, so how about As3 loading the As2 .swf into itself and having the buttons on the As3 file, so that the As3 file communicates with the As2 file? Could we use SharedObjects to do this? Like if the button is pressed
MySharedObject.data.pressingRightButton = 1;
And on the As2 side it's:
If (MySharedObject.data.pressingRightButton == 1) { (accelerate player speed) }