Archive for the ‘ActionScript’ Category

Flash Key Control Codes Define Class

HP-Keyboard-icon Sometimes we need to know or use the Flash key codes in our applications. In AIR runtime, you can find the Keyboard class, which is used to build an interface that can be controlled by a user with a standard keyboard,  the keys which most commonly used to control games are constants represented. And they are only available in the AIR runtime. Following is a key control codes class in Flash, you can simply customize it to cater for your application.

(more…)

Read QR Code With QRCodeReader Open-Source AS3 Library

Barcode-icon QR(Quick Response) is a matrix code created by Japanese corporation Denso-Wave in 1994. QR code can store addresses and URLs be appeared in magazines, on signs, business cards and other that users might need information. Users with a camera phone equipped with the reader application can recognize QR code from image, and decode it to string quickly. For people who want to use QR Codes within the Flash environment, QRCodeReader should be a good solution, it is essentially an open source library in ActionScript 3 that recognizes and decodes any QR Code from any image source. with this library, you can easily integrate your own QR reader into your AS3 mobile application.

(more…)

Tips: How To Customize Right-click Menu In ActionScript 3

apple-menu-icon Somebody who read Replace the Flex’s Default Right Click Menu asked how to do the same with Flash AS3. In fact, AS3 provides the class named ContextMenu to controls the menu, and classes that handle the ContextMenuItem properties and ContextMenuEvent events.

(more…)

How To Get DataGrid Column And Row From Coordinate (x,y) In Flex

youre-kidding-right-icon We have introduced how to set background color for the headers of DataGrid in Flex, sometimes, we also need to get the row and column value in DataGrid, do you know how to do it? The following is a simple tip for this. Hope you can enjoy!

(more…)

7 Trim() Equivalent Function In Flash Might Help Someone Else

audium-icon In PHP we have a function called Trim() to remove characters from a string. However there are no the equivalent to PHP’s trim in Flash. But most time we need to trim a string with extra white space, so we can do only write this by ourselves. The following is 7 actionscript function which can do the same. They might help someone else. *If you know more please don’t hesitate to leave a comment.

(more…)

46+ Flash Horizontal Navigation Menus

Button-Play-icon Relative to button menus and vertical navigation menus, horizontal navigation menu is the mostly used in web pages. Nowadays most websites use some form of horizontal navigation to facilitate content browsing. There are many styles of horizontal navigation in modern Web design, in this article, we collected over 45 flash horizontal navigation menus. As a developers probably you can choose from them when working on the navigation design for your next project. :)

(more…)

How To Open Word Doc In Flex or ActionScript

MS-Word-2-icon Create a PDF template with Adobe Livecycle Designer with the relevant fields, send XML data to PDF remote object with the name of the XML nodes matching those of the fields in the PDF template, then your Flex applications can open PDF, or simply put the PDF file on your webserver and call it with the url, then the same thing can be done. But how to open word doc in a Flex application?

(more…)

20+ Useful Flash Menu Buttons(Full Source Code)

Bahrain-icon Create a button( ex. a button that points to an URL ) in Adobe Flash is simple but which type button should be used probably will be a problem. Or you can coding, but have no originality creativity. The following is 20 beautiful and different type flash buttons with source code. Enjoy! *You can download and use them, but copyright belongs their respective owners.

(more…)

Flash Builder 4 Compiler Bug ( FB 4.0 build 272416 ) And Solutions

ladybug-icon Many flex developers probably still be addicted to the news of the final version of Flex 4 SDK and Flash Builder available, or having a argument of What Do You Think “Flex Builder Standard costs $249” And “Coldfusion Builder+FB $299”? ( me? :) ). However the real proficient are working to find the bugs of compiler.

(more…)

anyChart Slimily 3D Effect Flash Charting Component With Full Source Code(AS3, pie Chart)

pie-chart-icon Although we are having a argument about Will HTML5 + CSS + JavaScript Really Be Flash And Silverlight Killer?, however, a simply undeniable fact is that flex applications are used widely.Especially dashboard, reporting, analytics, statistical, financial or any other data visualization.

(more…)