Solved

Button Code - Can HTML be Used?

Posted on 2008-10-25
5
617 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This is intended to introduce all collision detection principles in flash, their strengths, weaknesses and workarounds. The main method for Collision Detection in flash is using hitTestObject. But unless you'll be pushing rectangular shapes without …
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.
Suggested Courses

751 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