Vivek,
getURL is the correct method. Here's the syntax:
testButton.onRelease = function(){
getURL("try.html");
}
In the above, "testButton" is the instance name of the button. You'll want
to replace that with the instance name of your button.
If you are patient, and spend lots of time with the documentation (and
trial-and-error), you'll get there!
Good luck!
-Jim
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Vivek
Gaikwad
Sent: Friday, November 17, 2006 7:59 AM
To: [email protected]
Subject: [Flashcoders] Open a local .html file on click of a button
Hi all,
I have a folder in which there are 3 files.
1. one.fla
2. one.swf
3. try.html (this is just a simple html file on my local disk)
There is a button inside one.fla file, on click of which I want to open the
try.html page.
I tried using getURL method. But it didn't work for me.
How to go about it?
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com