Skip to main content

Posts

App: Flash to HTML live communication without using Javascript

This is a demo in which by using flash we can create a dynamic text web-page. You're going to see it's application in my future blogs. We can create flash applications in which the swf will take care of calculations, etc. and the webpage text would get updated from inside. Demo: This text will get re-written over here by using  id="fl2htmltop"  and clicking on the provided button. Similarly, this text will also get re-written by using  id="fl2htmlbottom". Note: <param name="allowscriptaccess" value="always" /> <div id="fl2htmltop">Sample text to re-written over here.</div> <div id="fl2htmlbottom">Sample text to re-written over here.</div>

App: Number Base Converter

This program is a number base converter. It's working is described below: Number (in base a )  à  Change base from base a to b   à   Number (in base b ) or N a   à  Change base  à   N b where, N a = Number (in base a ) N b = Number (in base b ) Enter the input Number & it's Base and enter the ouput Number & it's Base. Then press convert button.

App: Net Connection Checker

I have developed this net connection checker utility tool to check the net connection at real-time. It is of great help while developing or testing FMS or Red5 based application. The user is only required to put the URL of that media server. Note :  FMS stands for Adobe's Flash Media Server RED5 is a name of an open source media server

Android: How to install Adobe AIR on Android emulator?

To install Adobe AIR run-time on Android emulator, follow this format for creating the batch file: Format: $ [drive-name]: $ cd "[path-to-android-sdk]\android-sdk-windows\platform-tools" $ adb -e install -r "[path-to-AIR-runtime-apk-file]" Sample for Adobe Flash CS5.5 : $ d: $ cd "D:\Programs\android-sdk_r15-windows\android-sdk-windows\platform-tools" $ adb -e install -r "C:\Program Files (x86)\Adobe\Adobe Flash CS5.5\AIR2.6\runtimes\air\android\emulator\Runtime.apk" Sample for Adobe Flash Builder 4.5 : $ d: $ cd "D:\Programs\android-sdk_r15-windows\android-sdk-windows\platform-tools" $ adb -e install -r "C:\Program Files (x86)\Adobe\Adobe Flash Builder 4.5\sdks\4.5.0\runtimes\air\android\emulator\Runtime.apk" Note : The system should have Adobe Flash CS5.5 installed prior to running this batch file.

Android: How to install application on Emulator via command-line?

To install an Android application file (*.apk) on Emulator, follow these steps: Step-1 : Create a blank batch file. Step-2 : Open the file in editor. Step-3 : Copy the format: $ [drive-name]: $ cd "[actual-path-to-android-sdk-folder]\android-sdk-windows\platform-tools" $ adb -e install -r "[actual-path-to-apk-file]" Step-4 : Paste it in the file. Step-5 : Replace the instruction-text inside square-bracket with the actual paths. Step-6 : Verify it, if it looks similar to the sample given below: $ d: $ cd "D:\Programs\android-sdk_r15-windows\android-sdk-windows\platform-tools" $ adb -e install -r "D:\Workshop\Flash\ANDROID\test1\test1.apk" Step-7 : Save the file. Now double-click the batch file to install the app in android emulator. Note : This method can be used while development when the developer need to install the *.apk file again and again.

Android: How to start Emulator from command-line?

To create the batch file to open the emulator via command-line, follow the steps given below: Step-1 : Create a blank batch file. Step-2 : Copy this format: $ [drive-name]: $ cd [path-to-android-sdk]\android-sdk-windows\tools $ emulator -avd [android-emulator-name] Step-3 : Paste it in the batch file. Step-4 : Edit the instruction-text inside square-bracket accordingly. Step-5 : Verify the modified text, if it looks similar to the one given below: $ d: $ cd D:\Programs\android-sdk_r15-windows\android-sdk-windows\tools $ emulator -avd AndroidSimulator Step-6 : Save the file. Now the batch file is ready to be used. Just double-click on the batch-file to run the emulator.

AS3: Custom Tab-bar Controller

Flash movieclip architecture: <movieclip name="tab_mc"> <frameset> <frame name="normal"> <textfield name="caption" framespan="4"></textfield> <graphics color="#333333"></graphics> </frame> <frame name="over"> <graphics color="#666666"></graphics> </frame> <frame name="down"> <graphics color="#999999"></graphics> </frame> <frame name="disabled"> <graphics color="#333333" alpha="0.7"></graphics> </frame> </frameset> </movieclip> <movieclip name="tabbar_mc"> <frameset> <frame> <movieclip name="tab1" instanceof="{tab_mc}"></movieclip> <movieclip name="tab2" instanceof="{tab_mc}"></movieclip> <m...