473,788 Members | 2,754 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

getURL Help

Atran
319 Contributor
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 1732
kestrel
1,071 Recognized Expert Top Contributor
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
2011
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 here: http://www.mozilla.org/projects/webservices/examples/babelfish-wsdl/index.html The problem I have is this: When I try to adapt the invokation on the
4
1433
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 can not test it. I think there maybe some trouble with retrieving the AJAX xml. Below is the code for this: var i = new Array();
1
6774
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"); } also I'm trying to make some pop ups work like this: on (release) { getURL("pops\1.htm", "_blank");
6
6343
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 trying to Publish a movie that when finished rolling should display my welcome page. However, I can't figure out how to do this. This is the info. my teacher gave: getURL("welcome_screen.htm","_self"); I've checked to make sure that both the Flash...
10
2813
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 clicked, a new browser window opens to a size of 600 x 600, no scroll bars to toolbar, just a way to close it. The browser will just contain a simple .jpg image of a map. Now I've looked at heaps of sites and tried the following actionscript. on...
2
2596
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 Microsoft Jet database engine could not find the object 'http://www.nseindia.com/content/historical/EQUITIES/2007/SEP/'. Make sure the object exists and that you spell its name and the path name correctly." however when i check the values in debug...
15
1433
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 ',' expected getURL(http://www.somestore.com/index.php" "_self"); Total ActionScript Errors: 1 Reported Errors: 1
2
2683
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 swf on my company's server. In the flash header I have an invisible box over the logo with a simple getURL, linking it back to the home page. This DID work when I tested it out in both IE and FF but now as of late the page doesn't go anywhere...
5
2977
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 an array of allowable values (eg. A33, B33, A80, B22, etc...) . true = go to the topic you put in; false = go to a form similar to the original but alerting you to invalid entry. Script: <SCRIPT type=text/javascript> /* Navigate to...
0
9498
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10366
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10175
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10112
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9969
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6750
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5536
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4070
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2894
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.