Hello, new to the forum and new to AS3. When developing in flash before I merely stuck to animation and stayed away from AS as much as I could. When I did use it I had always used AS2.
Now finding out you can develop for iOS (Iphone) I have found myself drawn to the idea. I have always liked programming but never really used Actionscript. I have just begun experimenting basics but ran into trouble.
I wanted to start simple with linking a button for a second frame. These are the only actions currently in place. I wanted to start with Touch Events. When I use "Mouse Events" with this code it works perfectly fine. When using "Touch Events" on the Iphone I'm unable to navigate to my frame called "schedule". It appears that the Touch is registering as I can see the "Button DOWN/HIT" frame being activated. When it's hit though, nothing is happening.Code:stop(); schedbtn.addEventListener(TouchEvent.TOUCH_TAP,touchHandler); function touchHandler(event:TouchEvent):void { gotoAndStop("schedule"); }
In short. I want to click a button located on Frame one. Once hit, it will load Frame 2. Any comments, help, etc are always appreciated. Thanks in advanced!


Reply With Quote


Bookmarks