Solved

Open a Word Document (.doc) from  SWF

Posted on 2004-08-07
5
170 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

This is a very simple example to help those of you who are still migrating from AS2 to AS3 understand the redesigned event model in AS3. In AS2.0, event functions (that is, the function to be performed when an event is fired) were stored as a pro…
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 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 live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…

685 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