Solved

Button Code - Can HTML be Used?

Posted on 2008-10-25
5
619 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
[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
  • 4
5 Comments
 
LVL 17

Accepted Solution

by:
Dushan De Silva earned 250 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Sometimes you know that one object has a specific child in it, but you can't find the child. This happened to me when I was trying to code some actionScript to make a toolbar work with its embedded buttons.  My partner had created the toolbar usi…
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): …
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.

630 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