[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Help with FLASH

Posted on 2003-11-13
2
Medium Priority
?
197 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
[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 Comments
 
LVL 23

Accepted Solution

by:
Saqib Khan earned 400 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

Tech or Treat!

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

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…
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 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…
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.

656 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