Solved

Open a Word Document (.doc) from  SWF

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

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 last time I worked with Flash and Socket connections was in AS1. A recent project required flash connecting to a Socket, and sending receiving information - we figured it would be easy enough - we all know about the socket policy documents and c…
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…

759 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now