Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Here's a workaround, use Flash to c

Status
Not open for further replies.

wangbar

Programmer
Jul 23, 2001
1,906
GB
Here's a workaround, use Flash to call a custom javaScript function:

Javascript:

Code:
<script>
function doConfirm(message){
	if(confirm(message)){
		alert('OK!');
		}
		else {
		alert('Cancelled!')
	}
}
</script>

Flash:

Code:
btn.onRelease = function() {
	getURL(&quot;javascript:doConfirm('Confirm this?')&quot;);
};

The javascript is currently only throwing up alerts in response to the user's choice but you could add some Javascript/Flash Methods in there directing the movie to a particular frame depending on the choice made etc...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top