Solved

Call a javascript function onclick in flash

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

Author Closing Comment

by:whyvon13
ID: 31604277
perfect!
0

Featured Post

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

There are times in your Flash CS4 application when you want more than a simple pointer or a hand, and it's hard to find an ideal walk-through to tell you what to do.  I spent a few days recently learning my way around making custom cursors in Flash,…
I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
Suggested Courses

617 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