Binpress components 2013-01-22T17:10:56+00:00 Zend_Feed_Writer http://www.binpress.com Binpress contact@binpress.com http://www.binpress.com <![CDATA[UIWebView & VideoPlayer Native Extension for iOS AIR mobile - ActionScript | User Interface]]> 2013-01-22T17:10:56+00:00 2013-01-22T17:10:56+00:00 http://www.binpress.com/app/uiwebview-videoplayer-native-extension-for-ios-air-mobile/1272 Leng Sheng Hong noreply@binpress.com http://www.binpress.comdev/profile/16751 An iOS native extension for Adobe AIR that provides a native video player and customizable web view. No more hacking StageWebView with unsatisfying results.Adobe AIR comes with a simple StageWebView class in its framework, allowing you to embed HTML in your mobile app. However, it has limited support for manipulating HTML in the app with AS3. StageWebView limitations that UIWebView solves: StageWebView cannot capture a bitmap of the full page contents. StageWebView does not allow you to communicate with the embedded HTML using Javascript. Javascript in StageWebView cannot call any AS3 functions, meaning there&rsquo;s no communication between AS3 and JS in StageWebView You cannot manipulate the DOM in the HTML loaded in StageWebView You cannot auto play or control a video in HTML5 through StageWebView. StageWebView cannot be transparent. StageWebView can't be visually customized - hide scrollbars, shadow, background color, etc. A lot of hacking is required with StageWebView to get any kind of results, and it's still very limited in its capabilities overall - making your life very hard if you have any of the above listed requirements in your app. With UIWebView native extension, all you need to do is link the ANE file in Flash builder/Flash Pro CS6 and start developing. You can call JS function from as3 or vice-versa, modify the DOM elements once the HTML is loaded, and even catch the URI scheme in the page so you can do actions such as mailto, skype, FTP and more. You are also able to create multiple instances of UIWebView and add it on stage without any glitches. The package also includes a VideoPlayer class that you can embed and load videos that plays in the native iOS video player, allowing you to run the video full screen, auto play it, show/hide video UI controls, communicate with the player and get video events from the video player itself. This ANE currently supports iOS 5.0 to iOS 6.0x. Example projects on UIWebView and VideoPlayer classes are included to get you started. API documentation for the native extension is available at http://darkredz.com/ane/UIWebView/apidoc/ You will receive free updates on the ANE for a year. <![CDATA[Log - ActionScript]]> 2011-06-07T10:08:38+00:00 2011-06-07T10:08:38+00:00 http://www.binpress.com/app/log/464 Prezire noreply@binpress.com http://www.binpress.comdev/profile/1056 A framework that allows you to have a local or online logging system.An easy to use but effective logger class. Documentation with free samples are inside the zipped file that's under ASDocs/index.html. <![CDATA[FLV Parser - ActionScript | Performance]]> 2011-06-01T14:42:05+00:00 2011-06-01T14:42:05+00:00 http://www.binpress.com/app/flv-parser/445 Ivo Yankulovski noreply@binpress.com http://www.binpress.comdev/profile/221 Read, Write, Parse, Stream and manipulate meta tags in FLV Containers on the flyThe FLV Parser makes use of the NetStream.appendBytesAction and NetStream.appendBytes methods to pass the parsed FLV tags from the ByteStream. When a NetStream object enters "Data Generation Mode" you can write your own video / audio / meta tags to the stream. The FLV class makes it possible by providing several methods for manipulating meta tags: UpdateBuffer(buffer:IDataInput) WriteHeader(flags:int=0) WriteMetaTag(object:Object, event:String='onMetaData') WriteTag(type:int, body:ByteArray, timestamp:uint=0, timestampExt:uint=0, streamId:uint=0) Seek(time:Number) GetTagsOnTime(time:Number) : Array MergeFLV() : ByteArray In addition the FLV class takes care of all the usual NetStatus events, so you can use the constructed NetStream object as any other. <![CDATA[ActionScript 3 Tools - ActionScript | Performance]]> 2011-05-22T11:11:03+00:00 2011-05-22T11:11:03+00:00 http://www.binpress.com/app/actionscript-3-tools/415 No company registered noreply@binpress.com http://www.binpress.comdev/profile/845 Useful simple functions for everyday flashersUseful simple functions for everyday flashers that can save tons of time for actionscript developers. <![CDATA[Pool Game Engine - ActionScript | Games & Entertainment]]> 2011-05-22T06:44:03+00:00 2011-05-22T06:44:03+00:00 http://www.binpress.com/app/pool-game-engine/413 No company registered noreply@binpress.com http://www.binpress.comdev/profile/845 A pool engine to build pool games on. Modular, structured code that can be easily extended and modified.The pool engine is an external swf file that you can import into a host swf and with use of the events, you can create the additional pool game logic and even a multiplayer online pool game. <![CDATA[ImageZoom - ActionScript | Audio / Video / Images]]> 2011-05-20T10:58:49+00:00 2011-05-20T10:58:49+00:00 http://www.binpress.com/app/imagezoom/410 No company registered noreply@binpress.com http://www.binpress.comdev/profile/845 A component that lets you magnify external images.The component lets you load external images that can be magnified with a built in magnifier. <![CDATA[Asynchronous JSON Decoder - ActionScript | Performance]]> 2011-05-19T09:43:48+00:00 2011-05-19T09:43:48+00:00 http://www.binpress.com/app/asynchronous-json-decoder/407 Ivo Yankulovski noreply@binpress.com http://www.binpress.comdev/profile/221 Extremely lightweight JSON decoder with all the features you can possible want.A fully featured but lightweight JSON decoder component. Decodes a JSON string into an object using the following features: Extremely lightweight with blazing performance Async decoding with various settings like max processing time, max time for the whole decoding Auto reprocessing, time to delay before the next async call Takes advantage of the global scope property to evaluate the values of the json structure during decoding (In Development) Decodes strings and keys enclosed with " or ' (can decode keys without any quotes) Block and inline comments are available with export option during the decoding process Exports tags from the value field (supports custom tag names by calling mapped methods) Script Tag Evaluation Plugin is included in this package with the open source Hurlant Evaluation Library Examples are included <![CDATA[Password Generator - ActionScript]]> 2011-04-29T14:38:37+00:00 2011-04-29T14:38:37+00:00 http://www.binpress.com/app/password-generator/328 Zoofa-Design noreply@binpress.com http://www.binpress.comdev/profile/1067 Generate a random password with only two lines of code.To generate a password, add these two lines of code in your project: var generator:Generator = new Generator(10); addChild(generator); This code will generate a password from letters and digits, with a total length of 10. If you want a password with letters only, do it like this: var generator:Generator = new Generator(10, false); addChild(generator); I created a demo, so you can see what you can do with this package. <![CDATA[MathUtilities - ActionScript]]> 2011-04-28T17:53:20+00:00 2011-04-28T17:53:20+00:00 http://www.binpress.com/app/mathutilities/323 Zoofa-Design noreply@binpress.com http://www.binpress.comdev/profile/1067 A small math-class which can convert degrees to radials and vice versa. It also can calculate the distance between two objects.First link the "libs"-folder as swc-folder to your project and add the "math"-package. (In the libs-folder you'll find a file named greensock.swc, this file can be downloaded for free on http://www.greensock.com/tweenlite/) To convert degrees to radials, do it like this: trace("45degrees = " + MathUtilities.degreesToRadius(45) + "rad"); To convert radials to degrees, do it like this: trace("1rad = " + MathUtilities.radiusToDegrees(1) + "degrees"); Here's an example of how to create moving circles and calculate the distance between them with this package (view demo to see how it works): package{ import math.Circle; import math.MathUtilities; import com.greensock.TweenLite; import com.greensock.TweenMax; import flash.display.Sprite; public class Main extends Sprite{ private var circle1:Circle; private var circle2:Circle; public function Main(){ drawCircles(); } public function drawCircles():void{ circle1 = new Circle( 50, 0xff0000 ); circle2 = new Circle( 10, 0x00ffff ); circle1.x = 0; circle2.x = stage.stageWidth; circle1.y = circle2.y = 100; TweenLite.to( circle1, 5, {x:stage.stageWidth, onUpdate:checkDistance} ); TweenLite.to( circle2, 5, {x:0, onUpdate:checkDistance} ); addChild( circle1 ); addChild( circle2 ); } public function checkDistance():void{ var distance:Number = MathUtilities.checkDistance( circle1, circle2); var hitzone:Number = (circle1.width + circle2.width) /2; if( (distance - hitzone) <=0 ){ trace("HIT"); TweenMax.killAll(); } trace(distance - hitzone); } } } <![CDATA[TweetCatcher - ActionScript]]> 2011-04-28T16:10:51+00:00 2011-04-28T16:10:51+00:00 http://www.binpress.com/app/tweetcatcher/322 Zoofa-Design noreply@binpress.com http://www.binpress.comdev/profile/1067 Get tweets from Twitter by a specific tag.By adding this package and 2 lines of code to your project, you can display tag-specified tweets in your application. <![CDATA[Bassta - ActionScript3 Framework for multilingual websites - ActionScript | System & Frameworks]]> 2011-04-23T15:40:23+00:00 2011-04-23T15:40:23+00:00 http://www.binpress.com/app/bassta-actionscript3-framework-for-multilingual-websites/290 Chrysto Panayotov noreply@binpress.com http://www.binpress.comdev/profile/946 An ActionScript3 framework for building multi-lingual websites, uses an easy Symfony style SWFAddress integrationBassta is an AS3 framework based on the Framy framework. The purpose is to speed-up the creation of multi-lingual websites, and to easily integrate with SWFAddress. The framework works with SWFAddress and TweenLite and provides several useful features: The Routes - add Symfony style routing. Route looks like /page/:subpage/:param/ , you can get the 'subpage' and 'param' variables from the URI anywhere in your coce Multi-lingual support - instead of string, jast pass XMLList. example: <name lang="bg">Христо Димчев</name> <name lang="en">Chrysto Dimchev</name> Widget Structure -> hook widgets with URL, control their position, the in/out animation Bundled components - TextFields, Sprites, Labels 5 Automaticly resizes to browser Unique positioning system: x,y,width and height take not only number, but strings, percents and functions. For example: x = function():Number{return stage.stageWidth-50}, or y="center" centers the widget Debug Panel - browser logging, dynamic variables, change SWFAddress path in the Flash IDE And many more. I'm working on the documentation right now, the example website is built with the older version of the framework, but the current version has the same features.