Solved

Call a javascript function onclick in flash

Posted on 2009-07-16
2
426 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
Comment Utility
[code]getURL("javascript:MMX.Facebook.connect()");[/code]
0
 

Author Closing Comment

by:whyvon13
Comment Utility
perfect!
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Introduction This article is primarily concerned with ActionScript 3 and generally specific to AVM2.  Most suggestions would apply to ActionScript 2 as well, and I've noted those tips that differ between AS2 and AS3. With the advent of ActionS…
The last time I worked with Flash and Socket connections was in AS1. A recent project required flash connecting to a Socket, and sending receiving information - we figured it would be easy enough - we all know about the socket policy documents and c…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
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.

743 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

14 Experts available now in Live!

Get 1:1 Help Now