December 2024 M T W T F S S 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
Category Archives: flash
RegEx – search and replace
The problem is to search bit of text and replace any occurance of the searched string with something new, with RegEx class and built-in replace function of String class it is very easy.
Posted in actionscript, flash
Tagged actionscript3, RegExp, snippets, String#replace
Comments Off on RegEx – search and replace
Multi-touch handling in AIR for Android/iOS
To handle multitouch in AIR you need to listen to TouchEvent events like TouchEvent.TOUCH_BEGIN. Which event you will listen depends on the Multitouch.inputMode defined, possile values are enumerated in MultitouchInputMode class. We will use MultitouchInputMode.TOUCH_POINT which specifies that events are … Continue reading
Posted in air for android
Tagged air for android, Multi-touch, TouchEvent
Comments Off on Multi-touch handling in AIR for Android/iOS
Link: Gesture, accelerator and geolocation simulator
Little gem:) Gesture, accelerator and geolocation simulator
Posted in air for android, flash
Tagged adl, AIR 3.2, AS3, Flash Develop IDE, Flash Professional CS6, Flex, gesture works, SimController, touch simulator, TUIO, XSimulator
Comments Off on Link: Gesture, accelerator and geolocation simulator
constructor as helper in clone method implementation
Hi, if you wanted to implement the clone method to create duplicates of your class you certainly face the problem in extending class where you had to duplicate the code just because the new instance should be type of the … Continue reading