473,405 Members | 2,171 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,405 software developers and data experts.

getURL Help

Atran
319 100+
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:
Expand|Select|Wrap|Line Numbers
  1. button1.onRelease = function(){
  2.      getURL("http://www.adobe.com/", "_blank");
  3. }
  4.  
When I export my project to a swf file, and run the swf from my directory, not from flash program. When the swf is running I click my button, flash show to me a messagebox that the url cannot be shown for save, why, but when I run it from flash program, the url shown.
Can anyone help me to build my web site.
May 13 '07 #1
1 1705
kestrel
1,071 Expert 1GB
first of all, your sntax is a bit off
Expand|Select|Wrap|Line Numbers
  1. myButton.onRelease = function()
  2. {
  3.     getURL("test.html", "_blank");
  4. };
are you uploading these files to your website? or are you trying to use them from your computer?
May 13 '07 #2

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

Similar topics

1
by: Nestor | last post by:
Hello all, I'm begining in the web services world and I've reading about how to invoke them using javascript from Mozilla browser (version 2.0 in my case). I found a very interesting example...
4
by: windandwaves | last post by:
Hi Folk Can you please have a look at http://www.friars.co.nz/map.php and let me know if the map is working on IE6 (just do a simple search). Unfortunately, I do not have IE6 anymore and so I...
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");...
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...
2
by: xmanin | last post by:
i have developed some functions in module using which i want to download CSV files from a Stock exchange server. everything is fine but i am unable to download CSV file, i get following msg "3011 The...
15
by: Leslie Cox | last post by:
Hi I wonder if anyone could shed some light on what I need to do with this code I have tried everything I know and come up blank. **Error** Scene=Scene 1, layer=Layer 6, frame=115:Line 1: ')' or...
2
by: streammalvern | last post by:
I'm working with a client's site where I have the header created in flash. The site is hosted by a third party and I have sent them the code for the flash header, which is hard coded to look for the...
5
by: cstansbu | last post by:
This is the item selection piece for a Sharepoint knowledge base. If you type a valid plan code you get info, but if you type garbage you get a 404 file not found. I want to check user input against...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.