Opening Applications Using A Button
I need to use a button to open Windows Explorer - but how do I do it??
FlashKit > Flash Help > Flash Newbies
Posted on: 12-20-2001, 07:22 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Opening Applications
Hi,
1.I would like to know how i can open an application. I dont want an associated file which will open the parent / mother program [ say a .pdf file] instead, how can i open "Acrobat Reader" of the user's system.
2. How do i open .swf movies, without opening them inside the browser?
3. Is there a possibility of opening / loading files like .wmf , .ai & others like dynamic jpeg?
Opening External Applications
i'm sure you guys have answered this question before but...
i'm creating a Flash app that will be autostarted on a CDRom of games (solitare, etc). i want to be able to click on a button and start the game, but i haven't been able to find an ActionScript that does that.
i'm really new to all this, so please bear with me.
can anyone help???
thanks in advance,
miasma d'cur
Opening Applications From Flash
Ok.
Here it goes. I would like to open applications from flash. Dont jump into conclusion, i want to open a external file, use fscommand and here it goess..my question is a bit different. I would like to open applications itself. say a click should open Acrobat reader. or yahoo messenger or wordweb.
Sometime back i got a roundabout of doing this by writing a ".bat" file with the tradtional dos way, but again that method only works for softwares or applications which has .dll files stored in the system. In case of utilities, or applications, which can be a drag-drop & run, that wont work.
Is there a way to open applications using fscommand from flash..or is there a 3rd party solution available.
Opening Applications From Flash Projector
I need to lauch MS worrd and Acrobat from a Flash Projector on CD-ROM.. I realse that I can target these using the getURL command but this opens the browser which is no good. I found a command from a previous thread using a FSComand:
fscommand ("exec", "cmd /c Name.pdf");
This works but a DOS window appears... any suggestions on how to solve this or alternative methods very welcome?!
Cheers
Oll
Opening Other Applications From A Flash Movie
I would like to be able to open other files from within my movie. For example: open a word document in word not internet explorer, or open a powerpoint file from within the movie. I am creating a presentation on cd and would like to be able to store all files on the cd and open them from there.
Can anybody help???
Thanx
Paul
Opening External Applications In Flash MX
OK. I have developed a cd rom which has a button that links to an external database .exe file.
The client wants it to work an OSX, Mac system 9 and Windows XP.
Everything works except system 9.
the script i am using is:
On(release){
FSCommand("exe", "search classic.exe");
It works fine on the OSX and XP systems but not on system 9.
Any hep would be greatly appreciated.
Cheers
Opening Files With Specific Applications.
Hello,
Ive got abit of a dilema. i have flash content that is fullscreen and needs to be shown at full screen, However i dont have the origonal fla any longer. I only have the swf file so i cant publish as a .exe projector,
I know you can open certain filetypes with there corresponding applications. However i was wondering if i could supply the flash player along with the presentation cd and when you click the link to open this swf in the main menu (also flash) it could specific to open the swf with the player thats located on say d:/player/flashplayer.exe
Is that possible?
Thanks
Copes
OPENING OTHER APPLICATIONS FROM A FLASH FILE
I was asked if it is possible to have a link(button) inside of a flash movie that when clicked can launch an exe. such as photoshop or notepad. I hope that made sense. If anyone could lend some knowledge on this I would appreciate it.
Thanks,
Opening Other Applications And Websites From Flash File,
Hi
Iam wanting to be able to launch an Install.exe file, a .pdf file and a URL from buttons inside my flash projector file. Currenly the projector file maximises to full screen so I need the files to launch in browsers ontop of the running flash movie.
Im guessing I need to use fscomands but not sure?????
please help as there is propably a straight forward answer and its driving me nuts!!!!!
Cheers
Jolly Chap
Opening Applications Using Flash Cs3... Need Fast Answer
in flash 8 you have to exec batch files to open programs, as far as i know...
im having tons of trouble doing this with flash 8, and concidering getting cs3 instead, but before i do this, i wanna know if cs3 can make flash exec applications like excel files or pdf files on local harddrive or on LAN...
and if this is doable, can i covert my flash 8 .fla file to a cs3, without any issues? at least not the design of the file...
can anyone please aid me with an answer?
Opening New Url With Button
I'm trying to link a button to a webpage with this actionscript...
on (release) {
btn1.getURL("page.htm");
}
Error: Mouse events are only permitted for button instances
But I've given the button an instance name.
How can I do this?
Opening A PDF, Using A Button
Hi everyone
I have a problem I was just wondering if anyone can help
I have designed a presentation in flash which all works great, but I need to open a report which is in PDF. I have created a button and I thought if I added the code below I would be able to open the PDF but I cannot.
on(release) {
loadMovie("C:/BLAR BLAR BLACK SHEEP /Report.pdf");
}
Also I need to add the presentation onto a cd and I am not to sure what to put instead of
C:/BLAR BLAR BLACK SHEEP /Report.pdf
Any help would be gratefully appreciated thanks Mike
Opening An Exe. File With Button
I am creating a CD presentation using Swish and would like to know if there is a way to have a button open an exe.file (a slideshow)?
Opening A Swf From A Button In A Movie
I have a movie, in this movie, I want the user to click on a button, which will open the swf (name = paper_doll.swf), in a popup window that is 780 x 450 with no scroll bars, no menu, no status bar.. etc...
just the swf at that size
can anyone help me ?
Opening A .pdf From A Button In A Movie
Hi, I'm building a portfolio site for myself. In my movie I want to have a button that when it's clicked it will download a pdf of my resume. Can anyone help me out with the code I need to attach to the button? Thanks.
Also, I used mohamed karmestaji's tutorial on making a popup window at:
http://www.flashkit.com/tutorials/Ac...-836/index.php
It worked great for one window, but when I add another one later in the movie, neither one of them work. I cannot figure out how to make flash identify which file to open on my separate buttons.
Any help, pleasing you me.
Opening A New Window With A Button
I would like to have a new window open if someone clicks on a link from my website. Is there a way to do that with ActionScript? The button that will be the link is inside of a movie.
Opening Mc From A Button On The Stage
hi everyone,
I have a nav bar that has been turned into a movie clip. From the help button in the nav bar, I want a new help window to appear. Does anyone know how this is done? The new help window is a movie clip. From the button in the original nav bar, I added this code
on (release) {
tellTarget ("help_window") {
}
}
I know this is probably way off target. I haven't added the help window into the main timeline, because it doesn't appear until the help button has been clicked. Is there a way of making the button link to the library? Or a way to insert the help mc into the main timeline, and make it invisable until the help button has been clicked?
If anyone could help, I would greatly appreciate it.
By the way, I am using flash 5, if that makes a difference.
Button Opening A New Window HELP
k so i got a flash project but when i click the button it makes this error
Here is the code i used...
on (rollOver) {
gotoAndPlay("s1");
}
on (release) {
getURL(www.domain.com/portal.php)
}
on (rollOut, releaseOutside) {
gotoAndPlay("s2");
}
When its upload to my site it goes to www.domain.com/NaN for some reason....if anyone could help me that would be great
Opening A Button On Intro?
Hey guys, hope I can explain this simlpy enough......
I have 7 animated buttons on a page of a site Im working on. each button glows on roll over and un-glows on roll out. on mouse down the buttons animate open and animate closed on clicking on another button.
My question is this. when I open this page I have animated the lay out of the page. I would like first button to automatically open as if it has been selected so that the contents of that button can be seen. Can somebody tell me how to do this please?
Hope that made sense?
Cheers.
MC And Button Within, Opening A New Window?
hi, i got a movie clip, with buttons inside. the buttons are actually small pictures, which when clicked, load the full version of that picture in a new window.
here lies the problem, the window opens up....but i dont want any bars in it.
for each picture i have made a swf file. when a button is pressed, i want to load the full pic (which is in swf format, so an extranal movie really) onto layer 1.
i have tried the new window component without much luck, i set the content to the swf file, which works fine, but it still opens up in a proper window with all the bars, and the close button doesnt seem to work.....hope this makes sence. i would post the file, but it is too big, even when zipped.
thanks for reading this, any help appreciated.
Opening And Closing A Button
ive seen sites where you can click on the button than something opens up and when u clickon that somethign that opens up it goes away? where can i find the tutorial for this?? and whats the name of the effect? Any takers here??
MC And Button Within, Opening A New Window?
hi, i got a movie clip, with buttons inside. the buttons are actually small pictures, which when clicked, load the full version of that picture in a new window.
here lies the problem, the window opens up....but i dont want any bars in it.
for each picture i have made a swf file. when a button is pressed, i want to load the full pic (which is in swf format, so an extranal movie really) onto layer 1.
i have tried the new window component without much luck, i set the content to the swf file, which works fine, but it still opens up in a proper window with all the bars, and the close button doesnt seem to work.....hope this makes sence. i would post the file, but it is too big, even when zipped.
thanks for reading this, any help appreciated.
Opening A New Browser Window With Button
I am having trouble opening a new browser window of controled size containing a separate flash movie using a button in flash.
i've downloaded examples that give me everything but what I put for the url (using the get URL action). I don't know if i just put my site URL or if i need some other reference...I can't get it to work .
Where do I put the movie that i want to appear in the new browser and do i have to put it in a separate dreamweaver document? Or can I just call on an SWF file? I am so confused.
Jameson
[Edited by itsmymachine on 11-18-2001 at 04:45 PM]
Opening Another File Using A Button With Actionscript?
Hi, I have a flash intro on a CD that ends with buttons. These button need to start and run different files that are also on the CD. Can I do this with action Script right in the button? The files that need to be opened are .exe files and .htm files.
thanks in advance
Brian
Opening A Javascript Window Without A Button?
I've seen this done before but when I try to assign the window to open on load there's a syntax error that says invalid button control (or something really close) How would you go about opening a window when the main movie loads?
this is what i tried
onClipEvent (load) {
getURL ("javascript:NewWindow=window.open('http://www.clearapath.hatesit.com,'WindowName','width=900 ,height=600,left=0,top=0,toolbar=Yes,location=Yes, scrollbars=Yes,status=N
o,resizable=No,fullscreen=No'); NewWindow.focus(); void(0);");
}
all on the same line though except for the onclipevent
Opening A New Projector File From A Button
I am trying to open a NEW projector file from
a button within an original projector file. I am
feeling very confused about how to do this. I
understand that if I was making the project for
the web I would be able to use the get URL
function. Does anyone know how to GET to
a NEW file (e.g. new projector file) NOT a
URL and open another project. I do NOT
want to put the new windows into the
original projectors as they are "REELS", and
the original project is getting TOO big as
it is. Am I missing something here? Thanks.
Opening 2 Movies Wtih Same Button...or
I placed a command on a button is suppose to go to the next frame and play a empty movie clip and open a movie. I was trying to get it to open a second movie in a different place on the same keyframe. The frist movie it opens plays throught out the 20 frames of the main time line but the second movie is just part of a second movie. Can you open 2 different movies with the same button. Or is there a way I could open the first swf movie when the main swf is executed? Any help would be appreciated. Thanks
Opening A New Broswer From Button. Not In Same Window
this i find simple in html, but its something i havnt tried in flash and im not sure how to go about it. how do i open a new browser in flash by clicking a button. but not in the same window as my flash movie.
so i need to click a button and hav a new browser window open.
help? xx
Button Not Opening Browser Window.
Hey I hope you guys can help me out here. Basically im designing a website in flash and have some buttons on it that I want to, when clicked, open up a custom browser window with certain dementions. But when I try to add a geturl action to the "down" state, it doesnt work. Any ideas on what I could do?
Opening A Local Folder With A Button
I'm trying to create a little application to put on my desktop to make accessing important links easier. When I've done something similar in the past with HTML I could just put the folder URL (e.g. "C:/system/") in an <a> tag and it would display the folder and its contents in Windows Explorer. In Flash when I do the same thing with both Goto Webpage Behavior and getURL in ActionScript, clicking on the button does not display anything.
Help would be much appreciated.
Thanks
Opening A Pdf File By Clicking On Button
Hi, I was wondering if anyone could help me out with this. I created a button in flash that would open an external pdf file, however I'm having trouble with getting it to work. I just want the button to be able to open the pdf file and not to load it in a text field in flash. This is the code I have for it:
var externalRes:URLRequest = new URLRequest("description.pdf");
downloadres_btn.addEventListener(MouseEvent.CLICK, onClick);
function onClick(event:MouseEvent):void
{
navigateToURL(externalReq);
}
I would appreciate the help!
Button Not Opening Files Anymore
I have some SWFs that have dropdowns and when you select what you are looking for clicking the button opens the PDF file from a network drive. Since the flashplayer updated to the latest version this no longer works. Can anyone offer any assistance.
Opening An External Swf From A Small Button.
This is really a combined html, css-p, Flash AS puzzle. The challenge is to open a Flash file over html content with a small flash button situated on the right. But I don't know how to avoid the white background of the stage from showing. I put the button on the right (25px x 400px) on a higher css layer (z-index=1). The button has uses loadMovieNum to load a larger Flash file, but the file didn't open. When I tested the swf without html, the larger file only covers the button.
So now I know that the new file can't be wider than the button. Great! If the button were wide enought, even if it sat on the side, the stage would cover my html content. I can't use the css invisible attribute or I would lose my button. I don't know how to use the button to load to a different HTML layer.
Can anyone help me with this knot? I wonder if the loadMovieNum can change the size of the stage?
Frustrated Tomas
Opening PDF Files Through Button Release
Hello. I have a number of buttons that open PDF documents. I have the following code entered for these buttons:
on (release) {
//Goto Webpage Behavior
getURL("folder/filename.pdf","_blank");
//End Behavior
}
When I load the web page(s) the PDF's don't open on my machine. I get a browser error:
Action canceled
Internet Explorer was unable to link to the Web page you requested. The page might be temporarily unavailable.
however when I open the page on other pc's it works right away. Is there something I need to add to the code? What could be causing this to work on some pc's and not others?
Cheers
DTK3
Opening A Jpg File In A IE6 Window From A Button
Hi, can someone help me with this urgently. I am doing a CV in Flash and I need the reader to view some line drawings, illustrations. When I import them into Flash as a Graphic,then publish the quality is awful even though they were 800dpi. Anyway, the jpg file I need to view, looks OK in IE6 when I just open it from the desktop. Question is, can a button on release, open such a file in a blank window.
I did get URL, but it didn't work....
How To: Button Opening *.htm File In A Frame
Hi, I have a problem with a menu I'm currently doing:
I have a button, and it is used in a frameset called "index.htm"
It (=the button) is on the frame "head.htm" and it should open the file "news.htm" in the frame "content.htm"
How can I do that? What do I need to write into the button's actionscript?
Opening Another URL In HTML Frame Set Which A Button In Flash?
Hello,
>>I have a frame set: FramesSet.HTML
>>which has the frames: Right.HTML and Left.HTML
>> I have a Flash Movie located in the Right.HTML page.
>>In the flash movie I have a button which I want to use geturl and open a diff. url in Left.HTML.
How do I do this???? I know it can be done I am stuck!!!
Thanks
Opening An HTML Window With A Click Of A Button
Hello, all. This is my first attempt in Flash website making.
Since the fools in #flash are too quiet, I thought I'd come back here, where everybody answers your question.
Ok, here's my dilemma. I want, with a click of a button, a TOOLBAR-less self made HTML window to open with it in the center of the screen, to match the size of any picture or flash movie in it.
My pictures are all at the minimum 1000 pixel width size.
(To let people be aware of the extreme detail)
My Flash are less that 640 pixels width thank you.
Very Simple Question About Opening A Window W/ Button
Hi there,
i'm wondering if it is posible...no... i'm sure it is posible but i don't know how to open a window without toolbars with a flash button... ya know...
I'm trying to use FSCommand and actually it works with the HTML code working together....
The point is...how to do it without having to change anything on HTML. thx...
Movie Clip Not Opening 100% Inside Button.
on rollOver of a button i have a movie clip of a masked window to play. i put the movieclip on the Over stage of the button.
but when i test the movie or do a preview, the movie only opens about 15%. what could be causing this.
(there is no actionscript on the moiveClip in the area that it stops.)
[F8] Opening An External Link With Flash Button
I've made a flash button that is to open another website. It works when I test the swf file from Flash, but I have inserted it into Dreamweaver8 and it does not work when I test it there. Any suggestions? Thanks!
Flash Header Button Not Opening Page
Hi there, I have looked over the forum and viewed a lot of the inquiries…
I have also reviewed the steps to make a flash button open up a page in an html page. Unfortunately, my actions up to this point have not proven successful. I am trying to make a button link on a flash header which is on an html page open up another html page when it is clicked. This is what I have done so far:
1) I opened the file in Macromedia Flash MX and also opened the symbols table.
2) I double clicked on the appropriate button number in the symbols table to open up the action script area.
3) I added the following code to the action script box
on(release){
getURL(“http://www.myurl.com”);
}
4) I have many of these button links to do but for the sake of doing it right, I am doing only one button until I get all the steps right and it loads the html page properly after being clicked on.
5) Now here comes the problem … I exported only this file and uploaded it onto a web site. I put the complete address into the browser and loaded it. The flash header works fine but does not open up the desired html link when the button is clicked on.
I have already tried working on it numerous times and still have not managed to get it right. I was hoping that the button would be testable in Macromedia Flash MX, so I loaded the flash header there ok, but the button did not work as desired there.
Any ideas as to how I can get these buttons to work? Do I need to upload any other files to the server to get this button on this flash header to work properly? Is there a foolproof step by step method of doing this that I can follow?
Opening A New Specific Size Window From A Flash Button.
I read the tutorial on how to open a new window with javascript, but I didn't get it....... at all.
I'm using Flash 4, and I need help figuring out how to open a new browser window by clicking on a button in the flash movie.
I didn't understand what the code was that I was putting in the html, or where to place it.
I understand the basic "geturl" command for opening a new window, but I need to open a specific size window without scrollbars.
Thank you very very very much,
Kenco
|