Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 11-29-2007, 06:47 AM   #1
Ankur Srivastava
Registered User
Join Date: Nov 2007
Posts: 1
Default Are there any events like OnClick in Flash?

I would like to listen to onclick events in my java script code for a flash application.
My intent is to automate Flash components and if i can hook on to events like onclick or onkeypressed it would be very helpfull.
Ankur Srivastava is offline   Reply With Quote
Old 12-06-2007, 05:11 PM   #2
Senior Member
Join Date: Oct 2005
Posts: 385

I'm surprised no one has addressed your question earlier. ActionScript is a scripting language based on ECMAScript (Javascript). For more info on actionscript check out the wiki:


As far as communication between flash and javascript, this has been greatly improved since flash 8 with the introduction of the ExternalInterface class which allows for easy communication between flash events to javascript functions and the other way around. This site is also a great resource for particular questions you might have on your project. Check out either the actionscript 2 or actionscript 3 sections for specific questions depending on the technology you decide to use.

Happy coding.

fou99004 is offline   Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Developing a flash site, Part1: Some thoughts Bloom22 Other Flash General Questions 6 09-29-2006 02:10 AM
Load php include from Flash onClick canucee Server-Side Scripting 1 08-24-2006 06:25 PM
triggering events in flash from HTML matt poole ActionScript 1.0 (and below) 1 10-12-2002 12:58 AM
Php, Javascript, and Flash 5 browser detect and more! Redline01 Server-Side Scripting 2 08-11-2001 01:09 AM

All times are GMT. The time now is 12:09 PM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.