?
Solved

Call a javascript function onclick in flash

Posted on 2009-07-16
2
Medium Priority
?
434 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
This article describes a solution to a problem of subloading one movie into another when they have different SWF versions. Sometime back, I was working on an ActionScript project while I came across an interesting fact which I would like to share…
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…
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.
Suggested Courses

718 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