wizcow
03-25-2006, 06:34 AM
I am trying to build a switchboard in flash.
I would like to have buttons on the page that can open another program.
example:
The flash page opens. The user clicks a button, then flash closes and an Access Database opens.
I can build the buttons but I don't know how to get the button to open a program.
Any flash users out there?
Thanks
Tom
spacepro
04-01-2006, 12:47 PM
Tom,
You should be able to add an action on the button by using actionscript.
You could use fscommand or geturl I suppose.
on (release){
geturl("filepath.mdb","about_blank")}
Or something similair to the above. Not tried it so i hope it helps.
Andy
wizcow
04-01-2006, 07:54 PM
Thanks for the reply Spacepro!
I get an error...
Scene 1, Binding between <unknown>.. and open.selected.c:/form-u-lator/back-it-up/back-it-up.mdb: The endpoint of the binding does not exist
I'm just getting started with flash and have really been lost.
Does this error point to something else?
Thanks
Tom
spacepro
04-02-2006, 10:50 AM
Tom,
I'm no expert with flash by any means. I'm not sure on the error message to be quite honest. I started in flash by usinf flash help(F1) and searching the help files.
You can actually add the code via menus in the action panel.
Undo anything you have done since I posted, then click on the selected button.
On the Actions Panel you will see a + sign and there are several ways and functions you can add to the actions panel.
Try ensuring there are quotes around the filepaths as well.
If in doubt try using flash help or try out a flash site for resources call www.flashkit.com
Image of Actions Panel
http://www.spaceprogram.co.uk/flash.jpg
Hope this helps
Andy