Solved

Call a javascript function onclick in flash

Posted on 2009-07-16
2
427 Views
Last Modified: 2013-11-11
Hello, i have a flash banner where i need to call a javascript function onclick from a button
right now the actionscript is attached to a simple button-

 looks like this

 

on (release) {

getURL(http://www.thisismylink.com, "_blank");

}
 

so instead of the geturl i need to call this js function
 

MMX.Facebook.connect() 

Open in new window

0
Comment
Question by:whyvon13
2 Comments
 
LVL 6

Accepted Solution

by:
TheDauntless earned 250 total points
ID: 24877534
[code]getURL("javascript:MMX.Facebook.connect()");[/code]
0
 

Author Closing Comment

by:whyvon13
ID: 31604277
perfect!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to put actionscript code for a button? 6 118
Microsoft WSUS 4 90
Rotating Adobe pdf document 4 310
What process can I use to achieve this? 5 114
I come across a lot of question about how to access things in the document class from a movieclip, or accessing something from a movieclip in the document class. It took me a while to figure this out but once I did it makes life so much easier. …
Here are some practices and techniques that can be adopted into your Flash/Flex application development process. Note: Not all "performance tips" provide an immediately-recognizable benefit.   This article does not include timing validation data,…
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now