Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Open a Word Document (.doc) from  SWF

Posted on 2004-08-07
5
Medium Priority
?
174 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 
LVL 9

Accepted Solution

by:
dutchfoxer earned 500 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Sometimes you know that one object has a specific child in it, but you can't find the child. This happened to me when I was trying to code some actionScript to make a toolbar work with its embedded buttons.  My partner had created the toolbar usi…
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.

670 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