Solved

Open a Word Document (.doc) from  SWF

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction This article is primarily concerned with ActionScript 3 and generally specific to AVM2.  Most suggestions would apply to ActionScript 2 as well, and I've noted those tips that differ between AS2 and AS3. With the advent of ActionS…
There are times in your Flash CS4 application when you want more than a simple pointer or a hand, and it's hard to find an ideal walk-through to tell you what to do.  I spent a few days recently learning my way around making custom cursors in Flash,…
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 what frame rate is, how to control it and what effect it has on the video.

911 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

22 Experts available now in Live!

Get 1:1 Help Now