Free linux windows web hosting cochin kerala

Hello friends,

If any one of you need web hosting for free . please contact me at 9746010990. Only personal and noncommercial web sites will get this offer. commercial hosting available for a small fee.interested peoples can contact.Only verified people can get this offer.People from cochin or kerala only call.

how to access maintimeline functions and variables from a nested movieclip in as3

This is the biggest problem for actionscript coders those who migrate from actionscript 2.0 and actionscript 1.0 to actionscript 3.0. In as1,as2 we can access the main timeline functions and variables from a nested movieclips just using _root.varName or _root.functionName, But in as3 we cant access the maintimline variables and functions this way.following is a sample code to access the maintimeline variable and functions from a nested movieclip.


_global variable in actionscript 3.0

here is a simple class that help global vars in actionscript 3.0

package {
public class globals {
public static var vals:Object = new Object();

now you can access the globals.vals any where from your movie. = 0xFF0000;

cs4 example

this is a simple example of new feature in flash cs4 in this example i just create an html file using the rich text editor from and save it using to local file system . download rich text editor

Source File:
code sample


abc.addEventListener(MouseEvent.MOUSE_UP, tt.handleClick);
generate_btn.addEventListener( MouseEvent.CLICK, generateTEXT );

function generateTEXT( e:MouseEvent ) {

var texT:String=abc.htmlText;
var file:FileReference = new FileReference();,"myfile.html");


Create PDF using flash 10 save to local file

here is an example for saving PDF file from flash 10 player(cs4) usning alivepdf And FileReference.Save();

import org.alivepdf.pdf.PDF;
import org.alivepdf.layout.Orientation;
import org.alivepdf.layout.Size;
import org.alivepdf.layout.Unit;
import org.alivepdf.display.Display;
import org.alivepdf.saving.Method;
import org.alivepdf.fonts.FontFamily;
import org.alivepdf.fonts.Style;
import org.alivepdf.colors.RGBColor;

// we create the PDF
var myPDF:PDF = new PDF( Orientation.LANDSCAPE, Unit.MM, Size.A4 );

// we set the zoom to 100%
myPDF.setDisplayMode ( Display.REAL );

// we add a page

// set the line style color
myPDF.lineStyle ( new RGBColor ( 0x990000 ) );

// we draw a circle
//myPDF.drawCircle ( 20, 20, 20 );
// we add our second page

// we set font and size
myPDF.setFont ( FontFamily.HELVETICA, Style.NORMAL );
myPDF.setFontSize ( 16 );

// we add some text
myPDF.addMultiCell ( 80, 8, "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut posuere, felis volutpat hendrerit ullamcorper, purus sem vehicula augue, ac volutpat sapien dui non metus." );

// we generate the PDF when the button is clicked
generate_btn.addEventListener( MouseEvent.CLICK, generatePDF );

function generatePDF ( e:MouseEvent )


// to save the PDF your specificy the path to the create.php script
// alivepdf takes care of the rest, if you are using AIR and want to save the PDF locally just use Method.LOCAL
// and save the returned bytes on the disk through the FileStream class

var bytes:ByteArray =;
var file:FileReference = new FileReference();,"myfile.pdf");


flash cs4 3d flower

this is just a test i created in flash cs4 3d. I'm not sing that this flower is a beautiful one. you can download the source here.any way flash cs4 3d feature is a great one. on coming days i'm tring to do more thing in cs4 3d

Note: flash 10 player required to view this sample

flash cs4 3d example

see a simple flash 3d tutorial at

new flash chat demo support Red5 and flash media server all versions

This is my another flash chat application. I 'm just trying to bring all yahoo chat featurs in ths chat room this flash chat support all media servers like flashcom all versions, flash mediaserver and Wowza media server. This application in a test mode please visit and send your comments.

Now tested featurs

Room chat
video chat
personal chat
audio chat
emothicons support


screen shot

Websites to follow if you’re into Web Development


2. woork

3. Web Designer Wall

4. Smashing Magazine

5. Vitamin

6. Wake Up Later


8. Signal vs. Noise

9. adaptive path blog

10. Tutorial Blog

11. WebAppers

12. Web Resources Depot

13. Ajaxian


15. Design Float

16. IBM’s developerWorks

Best Sites For Good Free Stock Images

  • BurningWell - a repository for public domain (free for any use) images. Donations welcomed - anyone have any Melbourne images they could upload, Melbourne is not represented there at all!

how to applay Multiple classes to one html element

this is very simile but many of us don't know this. if you know it leave it :)

.red {color: red;}
.bold {font-weight: strong;}

This text will be red yet also bold!

how to Position an element center screen

here is a simple css code with this you can simply Position any html element to screen center

#popup { height:400px; width:500px; position: absolute; top: 50%; left: 50%;}
#popup{ margin-top: -200px; margin-left: -250px;}

How to remove the dotted border from image hyperlink

Many times, when you click on someone’s logo, you see that little dotted border around the image it very boring. here is a simple css solution for that.

a { outline: none; }

The future of Actionscript

Yesterday, a small bomb exploded among the Flash programming community - the proposed ECMAScript 4 standard will not become the next generation of Javascript. Instead, the working group have opted for a much less ambitious expansion of the existing ECMA3. To Flash developers, this means that Actionscript 3 is now based on a standard that's up in the air.

The working group named TC39 consists of major players in the web space (Mozilla, Microsoft, Apple, Opera, Google, Yahoo and others). These have worked in a committee to decide how the next version of ECMAScript shall be like. ECMAScript is the language that both Javascript and Actionscript is based on. The existing version was developed back in 1999 so an update is long overdue. Up until yesterday, the committee was split in two camps: one that wanted to do a big overhaul (ECMA4) and one that wanted to do just small changes to the existing language (ECMA3.1). The result is now that a unified committee will support the ECMA3.1 standard.

When Adobe created Actionscript 3, it was entirely based on the ECMA4 standard. At that time, this was a "draft standard", a suggestion not yet approved by a standards committee. This standard could bring to Javascript all the constructs that Flash developers now take for granted such as packages, namespaces, vectors as well as a host of other features. ECMA4 would have been a big leap forward for JavaScript, but it also required that the browser manufacturers rewrote the code executing the scripts.

Adobe wanted ECMA4 to become the new standard and to speed this process they donated the Tamarin virtual machine to Mozilla. This piece of technology is what runs at the heart of the Flash Player. With this in place, Mozilla had a lot of what was needed to support ECMA4. Other manufacturers such as Apple and Microsoft would have to write this themselves. Writing code cost money and nobody is making money from selling browsers. This and other "political" issues caused the committee to split in half.

John Resig works for Mozilla and he is kind of a demigod when it comes to Javascript. He sums up the struggles of the commitee and the results in a very sober way. His conclusion is that unity is more important than features and so thinks ActionScript 3 is not going away, and we are not removing anything from it based on the recent decisions. We will continue to track the ECMAScript specifications, but as we always have, we will innovate and push the web forward when possible (just as we have done in the past)."

Also don't forget - ECMA4 is not gone and forgotten. There is something beyond 3.1 as well as Brendan Eich points out in his mail titled ECMAScript Harmony. A committee that actually works will do a lot more work than one that's split in two. ECMA4 may get there, but it will take time. That's one of the many things you get from design by committee. In the mean time, Flash/Flex will have a cutting edge language that will continue to expand in terms of fans and features. It'll be like JavaScript could have been, if politics didn't get in the way.


JavaScript Stalled, AS3 Orphaned - Microsoft to Blame?

As you may have already read, the ECMAScript 4 standard, the standard on which AS3 is based, and the draft proposal for future versions of javascript has been rejected in favour of ECMAScript 3.1, which proposes small incremental changes to javascript for the foreseeable future.

This leaves Adobe in a somewhat awkward position. Firstly, it casts ActionScript back to being a proprietary language. Secondly, it means they have released an extremely valuable chunk of intellectual property (in the form of the Tamarin ES4 execution engine), without gaining the expected benefits for the Flash platform.

It's also very disappointing for the web at large. This decision means that Javascript will effectively stagnate, and is unlikely to become a robust language for supporting rich/complex client side applications any time soon. Had ES4 become a ubiquitous standard, I would certainly have looked at doing a portion of our work in the AJAX space. I'm sure other Flash developers and traditional programmers would have done the same. I suppose from that perspective, this could be good for the Flash platform, but I prefer competition, options, and thriving innovation.

So why did this happen? When I heard the news, I analysed it in light of who has the most to gain, and in context of previous discussions / information I've read. I guessed that the most likely reason that ES4 was dropped, was due to Microsoft. They would have to either write a new execution to support ES4 (which costs money), or swallow their "not built here" pride to use Tamarin. By crushing the standard they would avoid having to do either of these and take a stab at their rival Adobe by pulling the carpet out from under AS3's standard compliance. Being that they control 80% of the browser market, they are also one of the few groups that could unilaterally block adoption of the standard (having a standard that's only supported by 20% of browsers isn't very useful).

So to me, it looks like a power play by Microsoft. And it seems that I'm not the only one - Hank Williams over at has written an article mirroring my thoughts almost exactly.

These situations are frustrating for developers (well, for almost everyone, I imagine). Standards bodies are so hampered by politics and corporate interests, but of course they are the lesser of two evils (no one wants to return to the wild west of HTML coding). Almost makes you glad that the Flash player is a proprietary product, eh?

UPDATE: Adobe has just made their public response here. Quite candid, and definitely seems to follow the lines of my speculation with mentions of "a morass of bickering, infighting, and sometimes, out and out name calling".


PHP HTTP protocol client

Download PHP HTTP protocol client

Class that implements requests to Web resources using the HTTP protocol.

It features:

- May submit HTTP requests with any method, to any page, to any server, connecting to any port.
- Provides support to setup connection and request arguments from a given URL.
- May submit requests via a proxy server with support for authentication if necessary.
- May establish connections via a SOCKS server.
- Supports HTTP direct access or proxy based authentication mechanisms via SASL class library like HTTP Basic, HTTP Digest or NTLM (Windows or Samba).
- Support secure connections (https) via Curl library with SSL support, or at least PHP 4.3.0 with OpenSSL support, or via a non-SSL HTTP proxy server.
- Supports accessing secure pages using SSL certificates and private keys using Curl library
- Supports user defined request headers.
- Supports POST requests with a user defined array of form values.
- Supports POST requests with a user defined request bodies for instance for making requests to SOAP services.
- Supports streaming requests that require uploading large amounts of data of undefined length in small chunks to avoid exceeding PHP memory limits
- Supports requests to sites hosting virtual Web servers.
- Retrieves the HTTP response headers and body data separately.
- Support HTTP 1.1 chunked content encoding
- Supports session and persistent cookies.
- Provides optional handling of redirected pages.
- Supports defining connection and data transfer timeout values.
- Can output connection debug information in plain text or formatted as HTML.
- An add-on class is provided to login to Yahoo sites and perform actions on the behalf of the logged users like exporting the user address book or sending invitation to a group.

Download PHP HTTP protocol client

actionscript 3.0 (as3) Dynamic image loading with progress bar

this a simple example of dynamic image loading in actionscript 3.0
download source for Dynamic image loading with progress bar

flash player 10 3d sample

hi here i'm posting my new test in flash player 10's just a rotating image. e-mail me for source.
Download flash payer 10

flash 10 3d example

I'm posting my first flash player 10(Astro) native 3D example.Download flash player 10 from adobe labs to view can download the player from here( Download flash payer10).

Adobe Flash 10 (Astro) Adds 3D Support

Adobe's Flash Player 10 is nearing its official release date as a public beta is now available for download from Adobe Labs for Windows, OS X and Linux.

Download flash payer10

adobe flash player 10 demos

Key New Features

3D Effects - Easily transform and animate any display object through 3D space while retaining full interactivity. Fast, lightweight, and native 3D effects make motion that was previously reserved for expert users available to everyone. Complex effects are simple with APIs that extend what you already know.

Custom Filters and Effects - Create and share your own portable filters, blend modes, and fills using Adobe Pixel Bender™, the same technology used for many After Effects CS3 filters. Shaders in Flash Player are about 1KB and can be scripted and animated at runtime.

Advanced Text Layout - A new, highly flexible text layout engine, co-existing with TextField, enables innovation in creating new text controls by providing low-level access to text offering right-to-left and vertical text layout, plus support for typographic elements like ligatures.
Enhanced Drawing API - Runtime drawing is easier and more powerful with re-styleable properties, 3D APIs, and a new way of drawing sophisticated shapes without having to code them line by line.

Visual Performance Improvements – Applications and videos will run smoother and faster with expanded use of hardware acceleration. By moving several visual processing tasks to the video card, the CPU is free to do more.

Submit to Digg to Submit to YahooMyWeb to Technorati Add to Reddit Submit to Furl Submit to Simpy

Indian Wedding Query SQL Style funny

BrideGroom Male (25) ,
Bride Female(20) AS
SELECT Bride FROM india_ Brides
WHERE FatherInLaw = 'Millionaire' AND Count(Car) > 20 AND HouseStatus ='ThreeStoreyed'
AND BrideEduStatus IN (B.TECH ,BE ,Degree ,MCA ,MiBA) AND Having Brothers= Null AND Sisters =Null

SELECT Gold ,Cash,Car,BankBalance FROM FatherInLaw
UPDATE MyBankAccout SET MyBal = MyBal + FatherInLawBal
UPDATE MyLocker SET MyLockerContents = MyLockerContents + FatherInLawGold

Then the wife writes the below query:


Find the errors if possible...........

My new flash text to speech demo

This is a sample of my current project text to speech in flash.It use xml for lip sync.we are trying to develop a multi language text to speech engine in flash. you can try this demo just enter you text and just press OK,back end is developed using for windows and php for Linux.also releasing a flashlite verson for mobile devices.

programmer kerala india

this post is a test for seo.Let me check how goggle going to index this page.programmer kerala is not a high competition key word in any search engine

What is bubbles property in Actionscript 3.0 Event ?

When an event occurs, it moves through the three phases of the event flow: the capture phase, which flows from the top of the display list hierarchy to the node just before the target node; the target phase, which comprises the target node; and the bubbling phase, which flows from the node subsequent to the target node back up the display list hierarchy.

AS3 button click events vs As2 button click events example

this is a simple button tutorials for As3 beginners.

A simple As2 buttonClick








In as3

simple one



function buttonClick(evt:MouseEvent) {




so what is in "evt:MouseEvent"?. just try this one

function buttonClick(evt:MouseEvent) {




This event has the following properties:

Property Value
bubbles true
buttonDown true if the primary mouse button is pressed; false otherwise.
cancelable false; there is no default behavior to cancel.
ctrlKey true if the Control key is active; false if it is inactive.
currentTarget The object that is actively processing the Event object with an event listener.
localX The horizontal coordinate at which the event occurred relative to the containing sprite.
localY The vertical coordinate at which the event occurred relative to the containing sprite.
shiftKey true if the Shift key is active; false if it is inactive.
stageX The horizontal coordinate at which the event occurred in global stage coordinates.
stageY The vertical coordinate at which the event occurred in global stage coordinates.
target The InteractiveObject instance under the pointing device. The target is not always the object in the display list that registered the event listener. Use the currentTarget property to access the object in the display list that is currently processing the event.


Why yahoo says this?
yahoo is upgrading the account settings. if you are getting this error for your yahoo accounts please wait for one or two day it will work fine.

Event handling in ActionScript 3.0

Event properties

Here is the basic rundown of common Event properties:

  • type:String
  • eventPhase:uint
  • bubbles:Boolean
  • cancelable:Boolean
  • target:Object
  • currentTarget:Object

Additional properties will apply to subclasses. MouseEvent instances, for example, also have a relatedObject property which describes a display object related to the current event (such as the display object you rolled off of to get to the current roll over event), among others.

Some of the properties should look familiar. Here is a description of the properties listed above:

  • type: The type of event being handled. This is the same as the first parameter used to add the function as a listener in addEventListener. Ex: MouseEvent.CLICK.
  • eventPhase: The current phase of the event. This is provided as a number that relates to the constants EventPhase.CAPTURING_PHASE, EventPhase.AT_TARGET, and EventPhase.BUBBLING_PHASE, depending on which phase the listener is being called.
  • bubbles: Indicates whether or not the event is an event that bubbles (and captures). This does not mean that the event went through or is going through a capture or bubbles phase, but rather it is a kind of event that can. When clicking just the stage in the previous example, the event did not capture or bubble because stage was the only target. However, bubbles would still be true since the event was a mouse click.
  • cancelable: Indicates whether or not an event is cancelable. Cancelable events are events that, by default, can result in additional consequences that can be stopped within an event handler. An example would be typing text in a text field to add characters to that field. By default, a character is added to the field every time a key on the keyboard is pressed or some other action occurs which causes the player to change the contents of a text field. A listener listening for a text input (TextEvent.TEXT_INPUT) event can recognize when this happens and cancel this default behavior. In such a case, the cancelable property would have a value of true.
  • target: The object which Flash targeted for the event. This is the object that would receive the event in the at target phase.
  • currentTarget: Refers to the object that is currently called by the listener when the event occurs. This is the same object on which addEventListener was called from when the listener was added.

These properties can be useful in determining specific actions that need to be taken for various events.

Example 3: Mouse up outside, ActionScript 3.0 style

One of the shortcomings of ActionScript 3.0 events is the lack of an equivalent to the ActionScript 2.0 onReleaseOutside event. You have mouse down and mouse up events for ActionScript 3.0, but nothing dealing with the release of an event outside of a previously clicked object. Instead, you have to use a little bit of trickery using the unique behavior of the stage to determine when the mouse is clicked on an object and then released outside of it.

There are a couple of approaches to achieve this. Here's the easiest method:

  1. Detect a mouse down for the desired target.
  2. In a mouse down event handler, add a listener to the stage for a mouse up.
  3. In the stage mouse up listener, check to see if the target is the original object being clicked by checking the target property of the event object. If so, the mouse was released over the original target. If not, the mouse was released outside of that object.
  4. Remove the stage listener within the mouse up listener.

Because the stage captures all mouse events you can be fairly certain that any mouse up event will be received by the stage. By adding a mouse up listener to the stage within the mouse down listener of the target object, you will know that the next time the mouse released it will be either for a mouse up over the original object clicked or outside of the object (a mouse up outside event).

Using Flash 9 Professional ActionScript 3.0 Preview

  1. Open Example 2.
  2. Replace the timeline script in Frame 1 with the following:

    function boxDown(event:MouseEvent):void {
    trace("box down");
    stage.addEventListener(MouseEvent.MOUSE_UP, boxUpOutside);

    function boxUpOutside(event:MouseEvent):void {
    if ( != box) {
    trace("box up outside");
    stage.removeEventListener(MouseEvent.MOUSE_UP, boxUpOutside);

    box.addEventListener(MouseEvent.MOUSE_DOWN, boxDown);

Using Flex 2

  1. Create a new Flex MXML document (or edit Example 2).
  2. Use the following MXML:


    public function boxDown(event:MouseEvent):void {
    trace("box down");
    stage.addEventListener(MouseEvent.MOUSE_UP, boxUpOutside);

    public function boxUpOutside(event:MouseEvent):void {
    if ( != box) {
    trace("box up outside");
    stage.removeEventListener(MouseEvent.MOUSE_UP, boxUpOutside);

    public function initApp():void {
    box.addEventListener(MouseEvent.MOUSE_DOWN, boxDown);

Test the movie and click on the box. Try clicking and releasing the mouse while it remains over the box. Then try clicking and dragging the mouse, releasing the mouse button while the cursor is outside the box. You should see an output of just "box down" when clicking on the box and an output of both "box down" and "box up outside" when clicking on the box and releasing off of the box, even if you release the mouse outside of the Flash Player window (this is specific to mouse up events associated with the stage).

MovieClip vs Sprite

the following post i found on another blog I Think it's very use full for those who are new in as3.

Display Objects
One of the changes in ActionScript 3 is to be working with display objects.

  • MovieClip (flash.display.MovieClip)
  • Sprite (flash.display.Sprite) – like a MovieClip but with no frames. They are a new kind of light-weight MovieClip that doesn’t technically have any frames. Since MovieClip instances you create dynamically through ActionScript cannot have frames anyway, chances are you’d want to use a Sprite in place of a MovieClip for all dynamically created MovieClip instances.
  • Shape (flash.display.Shape) – like a Sprite but with no mouse or keyboard interactivity. They are like Sprites but they offer mouse or keyboard interactivity. In other words, these display objects cannot receive events like mouseDown or keyUp. Shape instances cannot contain any other kind of display objects nor have children of their own. You can only draw vector shapes within them using the vector drawing API‘s (beginFill, lineTo, endFill, etc). This comes as an advantage to Shapes since they use less memory and are more efficient than MovieClips and Sprites.
  • Bitmap (flash.display.Bitmap) – like a Sprite but used only for displaying bitmap images. They are much like Shapes except instead of being able to contain vector drawings; they contain bitmap images defined by a BitmapData instance. They, too, cannot contain any other display objects or children. They can interact with the mouse and keyboard.
  • Loader (flash.display.Loader) – like a Sprite but used specifically to display and contain loaded content (SWFs and images).Like Sprite, has no timeline, but is designed specifically to facilitate the loading of external display content such as external SWFs and bitmap images. When loaded, those assets displayed in the Loader instance and are accessible through the Loader’s content property.

Why, when and how should people extend the Sprite in a class vs. the MovieClip class?
It seems like they’re the same thing… but I know that a sprite is at a lower level… what benefits do you get from using sprites instead of movieclips? Or movieclips instead of sprites?

Movie clips are sprites with a timeline and methods/properties to manipulate it. Use Sprite unless you require a timeline. And if you don’t require the functionality of DisplayObjectContainer (child movie clips) and InteractiveObject (mouse events, enterFrame, etc) then you should use Shape, which is light weight and simple but Shapes do have enterFrame events ;) just not the interactive stuff - mouse or keyboard interaction :) The MovieClip class is dynamic, to make the transition to AS3 easier, whereas the Sprite class are static. You can use Sprite as a class for movieclip symbols in your timeline but you cannot navigate to any frame beyond frame 1 and you cannot have ActionScript placed on that timeline. For any of that, you would want to stick to MovieClip. And if not using any timeline features there’s no point in using MovieClip… unless you want an automatically dynamic sprite without making your own subclass ;)
Sprite is a little less memory because they don’t have to worry about frames. If u want to draw stuffs and don’t need mouse or keyboard events then its wise use shape… SSLC Examination Results 2008

get results here

SSLC Examination Results 2008

Announced on 13 May 2008

Mirror Site

KGT Examination (Commerce Group) - SEP 2007 Results Result in PDF Format

Announced on 10 Jan 2008

SSLC (Old Scheme) Exam (SEP 2007) Result in PDF Format

Announced on 3 Jan 2008

SSLC (Old Scheme) Exam - Deaf Candidates (SEP 2007) Result in PDF Format

Announced on 3 Jan 2008

SSLC (PCN) Exam (SEP 2007) Result in PDF Format

Announced on 3 Jan 2008

PHP developer Cochin |PHP developer Kerala | PHP developer India | Flash developer/programmer Cochin | Flash developer/programmer Kerala | Flash developer/programmer India | web programmer kerala |web programmer Cochin |web programmer India |web developer kerala |Web developer Cochin | Kerala PHP | PHP freelancer| flash actionscript freelancer