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

x
?
Solved

Button Code - Can HTML be Used?

Posted on 2008-10-25
5
Medium Priority
?
624 Views
Last Modified: 2012-06-27
Hello -

Iam getting so much spam I woule like to use the hrml that reCAPTCHA generated (Protected email addresses).  Is there a way to change the code on the button from this:

on (release ) {
      getURL("mailto:shaw@dummy.com");
}

 to this:

shaw<a href="http://mailhide.recaptcha.net/d?k=01zlhQV_HW2CMkLYcOjRutcQ==&c=fMpBetjQ876OILZJI3kIyDpHR8KNwJPtt6ncD3Ykmk4=" onclick="window.open('http://mailhide.recaptcha.net/d?k=01zlhQV_HW2CMkLYcOjRutcQ==&c=fMpBetjQ876OILZJI3kIyDpHR8KNwJPtt6ncD3Ykmk4=', '', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=500,height=300'); return false;" title="Reveal this e-mail address">...</a>@dummy.com

Many thanks,
Frieda
0
Comment
Question by:fmv503
  • 4
5 Comments
 
LVL 17

Accepted Solution

by:
Dushan De Silva earned 1000 total points
ID: 22811794
0
 

Author Comment

by:fmv503
ID: 22814739
Great link.  When publishing, per the video, I am getting this error:

**Error** Symbol=Contact MC, layer=Layer 1, frame=1:Line 1: Statement must appear within on handler
     launch_btn.onRelease = function() {

Total ActionScript Errors: 1        Reported Errors: 1

My code (as indicated on the video) on the button is:

launch_btn.onRelease = function() {
      getURL("javescript:launch('mailto:shawnee@shawnee-cookie-jars.com')");
}

Frieda  (Trying to increase points)
0
 

Author Comment

by:fmv503
ID: 22815662
OopsII hada typo.   Same error though.  :-)
0
 

Author Comment

by:fmv503
ID: 22815928
Error corrected - I was adding AS to button instead of frame.  I'll let you  know how it goes.

Frieda
0
 

Author Comment

by:fmv503
ID: 22918709
This helped though I found out that the code will not work within Flash.  Many thanks!

Frieda
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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 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 what frame rate is, how to control it and what effect it has on the video.
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.
Suggested Courses

916 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