Solved

Help with FLASH

Posted on 2003-11-13
2
193 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 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to convert pdf file to html file 8 412
High definition conversion videos in YouTube 12 296
How to add jQuery and JavaScript(s) into Dreamweaver? 1 350
flash in chrome 4 122
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 how to load their YouTube profile onto Flash Media Live Encoder.
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

749 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