Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Call a javascript function onclick in flash

Posted on 2009-07-16
2
Medium Priority
?
437 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 1000 total points
ID: 24877534
[code]getURL("javascript:MMX.Facebook.connect()");[/code]
0
 

Author Closing Comment

by:whyvon13
ID: 31604277
perfect!
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

Recently, I was asked to recommend a tracking system to be implemented on a clients website. As the entire site was built on flash, my first thought was to suggest custom built tracking system. However, our company at that point of time didn't h…
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.

885 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