Solved

Open a Word Document (.doc) from  SWF

Posted on 2004-08-07
5
167 Views
Last Modified: 2010-04-03
Hi there experts, I need your help, I need to open a word Document (.doc) from my SWF and it should open in MSWord. Very important is It has to open from a SWF file. Plz can any 1 tell me how to solve this problem. Also plz do tell me how to do it in projector as well, just for my knowledge, but the real task is to open a word document file in MS Word from SWF.

Plz be fast.......ASAP...thanking you in advance..
0
Comment
Question by:VBpassion
  • 2
5 Comments
 
LVL 9

Accepted Solution

by:
dutchfoxer earned 125 total points
ID: 11750894
You could try this:

filename = "test.doc";
fscommand ("exec", "start\t" + filename);
fscommand ("exec", "cmd\t/c\t" + filename);

(see also tutorial here: http://www.actionscript.org/tutorials/beginner/exec_docs/index.shtml  )


For the correct way you would use a 3rd-party plugin for flash. Projector-files will then be enhanced with extra features that are not supported by flash itself, like opening files / saving files / transparant windows, etc. An example here:
http://www.screenweaver.com/

With this tool you have the option to easily start external applications like word (only for projector files, not SWF).
0
 
LVL 9

Expert Comment

by:dutchfoxer
ID: 12235372
in this case there is only 1 expert, me  :)
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently, I was asked to recommend a tracking system to be implemented on a clients website. As the entire site was built on flash, my first thought was to suggest custom built tracking system. However, our company at that point of time didn't h…
In my long career of working as an actionscript developer, I had spent sleepless night often working hard to solve some small problems which actually took a lot of my development time; later found out the solutions to be a line or two. Here are s…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question