Solved

Help with FLASH

Posted on 2003-11-13
2
190 Views
Last Modified: 2010-04-03
Hi,
  I've written a flash page where by which a user can click a hyperlink to download a word document. I've tried using the getURL(<http://filename>).  What currently happens is when the user clicks on the hyperlink FLASH opens a new browser window, ideally what I would like to be able to do is once the user clicks on the hyperlink they are only presented with the option to OPEN or SAVE the file (without a new instance of a browser being opened unless they select "OPEN").

thanks in advance
0
Comment
Question by:sidpgo
2 Comments
 
LVL 23

Accepted Solution

by:
adilkhan earned 100 total points
ID: 9745040
Then you have to ZIP up your Word Document's. http://www.winZip.com.
0
 

Expert Comment

by:pheva
ID: 9769405

Try publishing your flash file where on the HTML options tab, set the template is set to 'flash with fscommand'. The published HTML file will contain javascript function such as '<movie>_DoFSCommand(command, args)' where <movie> is the name of the published movie.

To envoke the above javascript function, you use the fscommand to pass details to the javascript function. As the function is made up of a 'command' and 'args', use the fscommand such as:

  // Save file
  fscommand("save", "<filespec>");

  // Open file
  fscommand("open", "<filespec>");

You can then edit the javascript function in the published HTML file to save or open your filespec.

Hope this helps,
pheva
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

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…
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 shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.

920 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

12 Experts available now in Live!

Get 1:1 Help Now