Solved

Button Code - Can HTML be Used?

Posted on 2008-10-25
5
613 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==&amp;c=fMpBetjQ876OILZJI3kIyDpHR8KNwJPtt6ncD3Ykmk4=" onclick="window.open('http://mailhide.recaptcha.net/d?k=01zlhQV_HW2CMkLYcOjRutcQ==&amp;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:
Dushan911 earned 250 total points
Comment Utility
0
 

Author Comment

by:fmv503
Comment Utility
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
Comment Utility
OopsII hada typo.   Same error though.  :-)
0
 

Author Comment

by:fmv503
Comment Utility
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
Comment Utility
This helped though I found out that the code will not work within Flash.  Many thanks!

Frieda
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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…
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,…
The goal of the tutorial is to teach the user how to how to record live broadcast.
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.

762 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

11 Experts available now in Live!

Get 1:1 Help Now