Flash actionscript 3.0

Simple Chat application using SMARTFOX2X

2

Posted by Sankar.G | Posted in | Posted on 3:05 PM


The new SmartFoxServer 2X platform builds on top of this huge experience, providing one of the most versatile, extensible and feature-rich platform for massive multiplayer development.

SmartFoxServer 2X (aka SFS2X) takes the core SmartFoxServer philosophy established by the Basic and Pro editions and expands it in new directions, introducing hundreds of improvements and focusing on a few precise goals: simplicity of use, versatility and performance.

I create a simple chat application in Actionscript 3.0 using SmartfoxServer 2x Client API below link used to you to get the chat application source

SFS2X Chat.rar

Play sound files by using Local File Browser

0

Posted by Sankar.G | Posted in | Posted on 4:20 PM


One of the readers requested for to play audio file by using local file browser,thought i will post it so that it may help others who might have siame requirement.

We cannot select and play a audio file by using fileReference because fileReference object doesn’t return the file path of the audio file [this will not be an issue if you are developing a AIR application, as you can use'File' object which will return file path]. So our only choice here is to load the audio file as binary data using fileReference objects ‘load’ method.

And we need to Convert the wave audio data into raw data and use Sound objects Sample data Api to play back.

An API which can convert Wave into raw audio for to play in sound Channel and a small example is below.

Sound_Play.zip

Peer to peer in AS3.0

0

Posted by Sankar.G | Posted in | Posted on 6:17 PM

Adobe Cirrus the previous name of the technology called Adobe stratus using the technology we can connect 2 flash player without any server just we need to exchange the 128 bit code.

Already i done a post about this in my previous blog

Previous_Entry

Usage of Cirrus
You can able to chat,video stream etc but there is no server direct peer to peer connection between 2 flash Player, I develop a small chat application by using Adobe Cirrus below you have the link

Adobe_Cirrus.zip

Steps to use the above Example

1) Download the file from above link.

2) Extract the file and open test.swf twice.

3) you get 128 bit text in the first box in both the swf.

4) Just copy that code from first swf and paste it in second swf and click connect.

5) And copy the code from second swf and paste it in the first swf and click connect.

Now both the swf are connected each other using Adobe Cirrus (Peer to peer)
And start your chat using below text box with send button...

Facebook Graph api example in AS3.0

1

Posted by Sankar.G | Posted in | Posted on 2:14 PM


In the below URL you can get Facebook wall post, fetching friends List from Facebook , fetching news from Facebook and publish stream , read stream and getting email address permission coding in Action script 3.0


And you can get the profile picture of log in user by using below file


I done this application using Adobe Air so i use Facebook Desktop API but there is no much different between Facebook Desktop API & Facebook web API, you can get the file in the below link ...


Facebook Graph api in as3.zip

Adobe Air Example with DB

0

Posted by Sankar.G | Posted in | Posted on 4:35 PM

Using Adobe Air we can create a application for the Desktops and mobile phones,Adobe air have in built database that is SQLLite
So we don't need external Database to store and retrieve the Data
so using the adobe air with SQLLite, i create a sample application to store the friends birthday date below link is use to you to get the code to create and select the sqllite Database with
adobe air 2.0

Birthday Reminder.zip