473,385 Members | 1,474 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

getURL actionscript question

35
hi,

I am getting this error message when using getURL

**Error** Symbol=contact, layer=text, frame=1:Line 1: Statement must appear within on handler
email_btn.onRelease = function(){

Total ActionScript Errors: 1 Reported Errors: 1

actionscript:

[code]email_btn.onRelease = function() {
getURL("mailto:info@paulineng.co.uk");
}[code]

I think it is correct or am I missing something

thanks
May 5 '07 #1
1 2416
kestrel
1,071 Expert 1GB
the correct syntax for using geturl is as follows
Expand|Select|Wrap|Line Numbers
  1. on (release) {
  2.  
  3. getURL("mailto:info@paulineng.co.uk","_blank");
  4.  
  5.  
try something similar to that
May 6 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Matt | last post by:
Hello, I am attempting to get a software prototype UI/demo built in Flash to talk with existing C++ (so I can exchange data and commands between the application-software already developed in the...
1
Atran
by: Atran | last post by:
Hello EveryBody, I am new to ActionScript. I make to my flash page a button, I want make the button open a web using getURL commnad. See this code: button1.onRelease = function(){ ...
1
by: Adam Chapman | last post by:
Hello, I am trying to make an application with a flash interface which does calcultaions in the more powerful c++. Basically I want to be able to draw a shape in flash and do some structural...
1
neliy
by: neliy | last post by:
hello there. Well I actually have 2 small problems with getURL. I need to connect a button with a web site an my code looks like this: on (release) { getURL("http://www.blahblahblah", "_blank");...
1
by: Rocky86 | last post by:
hi ppl bascially I am require to pass my php coding to actionscript and the actionscript will seperate the code of my php how do I do it? Must I create a function for php to be pass into actionscript...
6
by: schlobie1 | last post by:
Hi: I've read some of the answers to questions asked about ActionScript but I could not find one about the issue I am having. I am taking a class online and currently working with Flash. I am...
10
by: uninvolved | last post by:
First off hi all, This is probably simple to someone but I'm stuck. I created a button on a flash movie, .swf, insert it into a webpage created in Dreamweaver, the idea is when the button is...
0
by: gabrielk43 | last post by:
Hi I am new to Flex and I use Flex Builder 2 to make a web service client. So I have a web service in .NET(c#) with a simple web method that returns a string(no arguments). It works, I tested it...
4
nathj
by: nathj | last post by:
Hi, Well the title of the thread is the question. I have tried searching for this and after several days of getting nowhere with it I decided I would ask. So here's the deal. I am using Flash...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.