Download a document from  flash movie

This might seem like a bit of a silly question. I have a PDF
I want to upload and make available to download from my flash
website. I originally did this by uploading the file to '4share'
but my employer did not like it saying it was a bit confusing and
full of adverts. If I upload the PDF with the rest of my site to
the remote folder how do I connect a button in the website to
automatically start a download of the file? Should I have the file
in an html document, or is it a simple case of getURL on the
desired button? If so, what do I need to do to the PDF before the
link will work correctly.
Many Thanks
JG

jollygrizzly wrote:
> This might seem like a bit of a silly question. I have a
PDF I want to upload
> and make available to download from my flash website. I
originally did this by
> uploading the file to '4share' but my employer did not
like it saying it was a
> bit confusing and full of adverts. If I upload the PDF
with the rest of my
> site to the remote folder how do I connect a button in
the website to
> automatically start a download of the file? Should I
have the file in an html
> document, or is it a simple case of getURL on the
desired button? If so, what
> do I need to do to the PDF before the link will work
correctly.
>
getURL action and instead of URL, path to your file on sever.
Depends on user end, if the browser has DPF plugin, the file
will
automatically open so if you want to force download, zip that
file.
ZIP always prompt download dialog.
Best Regards
Urami
"Never play Leap-Frog with a Unicorn."
<urami>
If you want to mail me - DO NOT LAUGH AT MY ADDRESS
</urami>

Similar Messages

  • Unloading FlashPaper Document from Flash Movie

    I'm using the following script to play a FlashPaper movie clip:
    // function: loadFlashPaper
    // Parameters:
    //   path_s: path of SWF to load
    //  dest_mc: Movie clip to hold the imported SWF
    //  width_i: New size of the dest movie clip
    // height_i: New size of the dest movie clip
    // loaded_o: (optional) Object to be notified that loading is complete
    function loadFlashPaper(path_s, dest_mc, width_i, height_i, loaded_o) {
    var intervalID = 0;
    var loadFunc = function(){          
    dest_mc._visible = false;          
    var fp = dest_mc.getIFlashPaper();
    if (!fp) {
    return;
    } else if (fp.setSize(width_i, height_i) == false)     {
    return;
    } else {
    clearInterval(intervalID);          
    dest_mc._visible = true; // Now show the document
    loaded_o.onLoaded(fp);
    intervalID = setInterval(loadFunc, 100);
    dest_mc.loadMovie(path_s);
    // Function called once the FlashPaper SWF is embedded:
    function onLoaded(fp) {
    // We can now call the FlashPaper API functions.
    // Remove the standard user interface features:
    fp.showUIElement("PrevNext", true);
    fp.showUIElement("Print", true);
    fp.showUIElement("Find", true);
    fp.showUIElement("Tool", true);
    fp.showUIElement("Pop", true);
    fp.showUIElement("Zoom", true);
    fp.showUIElement("Page", true);
    fp.showUIElement("Overflow", true);
    fp.enableScrolling(true);
    // Some additional API features (here commented out):
    // Go to page:
    // fp.setCurrentPage(8);
    // Change the magnification to 50%:
    // fp.setCurrentZoom(50);
    // Now we're ready to start
    // Create the destination movie clip to hold the SWF:
    var theDocMC_mc = this.createEmptyMovieClip("theDocMC",100);
    // Position it on the stage:
    theDocMC_mc._x = -220;
    theDocMC_mc._y = -150;
    // Load the FlashPaper SWF into the clip,
    //   size it, and trigger the onLoaded() function:
    loadFlashPaper("MarketingDoc.swf", theDocMC_mc, 500, 350, this);
    Everything works fine on all pages including the page with the FlashPaper movie. The problem is after I visit the page with the FlashPaper movie my file starts to play through all the pages and wont stop.
    I'm new to flash and this has been driving me mad. Any tips would be greatly apprciated.
    files attached for example of my problem:
    Thanks.

    jollygrizzly wrote:
    > This might seem like a bit of a silly question. I have a
    PDF I want to upload
    > and make available to download from my flash website. I
    originally did this by
    > uploading the file to '4share' but my employer did not
    like it saying it was a
    > bit confusing and full of adverts. If I upload the PDF
    with the rest of my
    > site to the remote folder how do I connect a button in
    the website to
    > automatically start a download of the file? Should I
    have the file in an html
    > document, or is it a simple case of getURL on the
    desired button? If so, what
    > do I need to do to the PDF before the link will work
    correctly.
    >
    getURL action and instead of URL, path to your file on sever.
    Depends on user end, if the browser has DPF plugin, the file
    will
    automatically open so if you want to force download, zip that
    file.
    ZIP always prompt download dialog.
    Best Regards
    Urami
    "Never play Leap-Frog with a Unicorn."
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • Visual Studio download a document from a document libary and upload it to a jaxrs webservice in java

    I have created a custom ribbon action and a application page in visual studio. The user
    presses my ribbon in sharepoint and it calls the application page that in turn downloads that file. here is the code:
    namespace Save_to_PLM.Layouts.Save_to_PLM
    public partial class ApplicationPage : LayoutsPageBase
    protected void Page_Load(object sender, EventArgs e)
    if (Request.QueryString["file"] != null)
    DownloadDocument(Request.QueryString["file"].ToString());
    private void DownloadDocument(string fileName)
    SPSecurity.RunWithElevatedPrivileges(delegate()
    using (SPSite oSiteCollection = new SPSite(SPContext.Current.Site.Url))
    using (SPWeb mi_web = oSiteCollection.OpenWeb())
    string path = System.Web.HttpContext.Current.Server.MapPath(fileName);
    string name = System.IO.Path.GetFileName(path);
    Console.WriteLine(name);
    Microsoft.SharePoint.SPFile spFile = mi_web.GetFile(fileName);
    Response.ClearHeaders();
    Response.ClearContent();
    Response.ContentType = "application/force-download";
    Response.AppendHeader("content-disposition", "attachment; filename=" + name);
    Response.BinaryWrite(spFile.OpenBinary());
    Response.End();
    But i want to http post that file to my jaxrs webservice in java. How do  i do that
    programmatically? I am very new .net i usually code in java.

    Hi,
    Here is a blog about how to call a Java EE Web Service from a .Net Client for your reference:
    http://blogs.msdn.com/b/bursteg/archive/2008/07/19/how-to-call-a-java-ee-web-service-from-a-net-client.aspx
    If you want to download a document from a Sharepoint library, we can use the REST API provided by SharePoint and use Apache HttpComponents in Java.
    http://www.rgagnon.com/javadetails/java-get-document-sharepoint-library.html
    About how to upload file using jaxrs webservice in C# code, I suggest you post it to C# or ASP.Net Forum, you will get more help and confirmed answers from there.
    https://social.msdn.microsoft.com/Forums/en-US/home?forum=csharpgeneral
    Best Regards
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Download iWork documents from iCloud to Mac in Pages 5.0 and Numbers 3.0

    Does anyone know how to download iWork documents from iCloud to Mac, most specifically from Pages 5.0 and Numbers 3.0. It seems that Apple have taken away the ability to do so, as in the past I believe there was a download button... All I am trying to do is download the document to attach and send via Gmail.
    Extremely frustrating as I can't find any discussion surrounding this problem.

    Have you tried right-clicking the document to get an option to download it.

  • Restrict download of documents from a Document library

    Hi,
    I am working on a trial version of SharePoint online E3. I enabled IRM on it with a hope that it will restrict "DOWNLOAD" of documents from a document library itself. However to my bad, it seems it allows downloading... with imposed restrictions. 
    Can anybody help me in this? I need only some of the users to be able to download/print/copy documents from library and NOT all of them. Rest can only view the document. Is it possible in SP Online? 
    Is it possible in SharePoint 2010 or is it the same in here as well?

    Hi 
    yes,sharepoint online we can Use IRM. please refer yes, 
    http://office.microsoft.com/en-in/office365-sharepoint-online-enterprise-help/set-up-information-rights-management-irm-in-sharepoint-admin-center-HA102895193.aspx
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • Hi, i am not able to download PDF document from email in the ibook in both iphone 4s and ipad 1 mini. The received PDF document appears as image. This matter is experienced only from week. Appreciate your help

    Greeting
    I am not being able since last week to download PDF document from email to ibooks. Once the PDF document in the email open it is shown as image document and cannot be downloaded to ibooks. This recent problem is also experienced in my ipad mini. Currently, i have to download the PDF document to my ibooks via the itunes only
    Appreciate your help  

    Greeting
    I am not being able since last week to download PDF document from email to ibooks. Once the PDF document in the email open it is shown as image document and cannot be downloaded to ibooks. This recent problem is also experienced in my ipad mini. Currently, i have to download the PDF document to my ibooks via the itunes only
    Appreciate your help  

  • Obtaining the full file path specification from Flash Movie and QuickTime icons?

    How do you obtain the full file path specification from Flash
    Movie and QuickTime icons? I want the path and the file name that
    is contained in these icons. I am using a "dive" to run through the
    icons of a file, and when I come upon these two types of icons, I
    want to obtain the above information that is contained in them. I
    certainly can look in the property dialog box to get this info, but
    there are many icons in these files, and I want to generate a list
    of info based upon the various types of icons that I am processing.
    Thanks

    > How do you obtain the full file path specification from
    Flash Movie and
    > QuickTime icons? I want the path and the file name that
    is contained in
    > these
    > icons. I am using a "dive" to run through the icons of a
    file, and when I
    > come
    > upon these two types of icons, I want to obtain the
    above information that
    > is
    > contained in them. I certainly can look in the property
    dialog box to get
    > this
    > info, but there are many icons in these files, and I
    want to generate a
    > list of
    > info based upon the various types of icons that I am
    processing. Thanks
    >
    For Flash
    Trace(GetIconProperty(iconID, #pathName))
    for QuickTime
    Trace(GetIconProperty(IconID, #filename))
    For full scripting reference for each of these sprites, open
    up the
    Properties panel for each sprite and press the Help button
    that appears on
    the properties page ... or else navigate to these folders for
    the Flash and
    QT help
    C:\Program Files\Macromedia\Authorware
    7.0\xtras\FlashAsset\Help
    C:\Program Files\Macromedia\Authorware
    7.0\xtras\QuicktimeAsset\Help
    You don't want to know how many times I asked Macromedia to
    stop hiding that
    Help!
    Steve
    http://twitter.com/Stevehoward999
    Adobe Community Expert: eLearning, Mobile and Devices
    European eLearning Summit - EeLS
    Adobe-sponsored eLearning conference.
    http://www.elearningsummit.eu

  • Launching FW from Flash Movie

    Is there a way to launch FW from Flash Movie when user
    presses a buttons?
    Bascially, when user clicks a button in Flash Movie, FW
    launches and execute some scripts.
    Thanks,

    Not a Flash expert, but I don't think so. Why do you want to
    do this?
    alex
    babo_ya wrote:
    > Is there a way to launch FW from Flash Movie when user
    presses a buttons?
    >
    > Bascially, when user clicks a button in Flash Movie, FW
    launches and execute some scripts.
    >
    > Thanks,

  • 10.5.8 can't download iwork documents from icloud anymore

    I am not sure what changed.
    I can no longer download iwork documents from icloud because "Download Document" is greyed out.
    I was able to download documents from icloud just until recently
    I am having this problem with my Powerbook G4 running 10.5.8.
    As I said it worked until recently...
    Help

    Sorry, I'm a bit confused - you said you're using a Powerbook G4 with 10.5.8? According to these system requirements:
    http://support.apple.com/kb/HT4759
    You are not able to take advantage of iCloud with a Powerbook.
    So which model are you actually using if it worked previously?

  • How to download a document from an email to edit

    Hey guys
    How do I download a document from an email to edit?

    This is explained in the Help file which is in the Adobe Reader app. Read that, and if you still have questions, please ask.

  • Avatars from flash movies

    Hi!
    I want to create an application that creates small avatars from flash movies. How to solve this task better? It seems that I should receive each change of flash movie...

    This forum is about C++ programming in general, and using the Solaris Studio C++ compiler for Solaris and Linux in particular.
    I think you are more likely to find an answer in a forum about using Flash. Try adobe.com.

  • Problem downloading files from flash movie?

    For some reason, on my Mac Book Pro (running OSX 10.5.4) I am unable to download a file from a flash movie (.swf). All other macs in the office are capable, and I can download files from other sources, just not from a flash movie. It allows me to choose where to save the file, but when the download starts, the progress bar remains at 0%.
    Does anyone know what causes this?

    There's no such thing as Final Cut HD 5.0.4. If what you really have is Final Cut Pro 5.0.4, then you should be able to capture and edit HDV. But, you haven't told us what camcordr you have, so it's difficult to help.
    The usual procdure for resolving this situation looks something like this:
    1) With the camcorder powered on and connected, open System Profiler, and see if it sees the camcorder. (SP is in the /Applications/Utilities folder.)
    2) If SP sees it, then with FCP not running, power down the camcorder, then start Final Cut again. When the window opens saying FCP can't find your HDV device, power on the camcorder and click continue. Try it again.
    3) If Log & Capture doesn't see it, then Quit FCP, shut down the Mac, power down the camcorder. Wait 20 seconds. Power up the camcorder, boot up again, open FCP & try it.
    4) If L&C still doesn't see it, then trash your FCP preferences, and try it again.
    5) Report back here.
    EDIT: You are using the HDV Easy Setup, aren't you?

  • Opening Office Documents from Flash

    Hi, we're working with a product called ProForm to create online courses that are Flash-based.  It's a pretty cool product, created by Rapid Intake and using ActionScript 2 as the basis.
    In a recent course I've been running into a problem.  I've created a custom Flash movie as one of the "pages" in the course.  In that movie I have links that use the getURL function to connect to some local files, and target a new window with the "_blank" option.  I've used this method many times with no issues, and when working with PDFs (thanks, Adobe! ) it works just fine across all browsers tested.
    The problem we're seeing is that when we try to use this method to connect directly to Office documents, the links fail to open the documents in Internet Explorer.  When using Firefox, they work fine, and soon after clicking the link the user receives a dialog asking if they wish to save or open the document.  This is the behavior which we expected in IE, and which one can achieve by holding the CTRL button and clicking the link (and don't ask me how that was figured out, 'cuz I don't know).  But when just clicking the link in IE, a browser window briefly pops up, then the thing disappears and nothing else happens - no file opens, no dialog appears, nothing.  Very frustrating.
    So if anyone has any experience with this issue and can offer any advice, I'd really appreciate hearing about it.  While we can work around this (e.g. - converting Office docs to PDFs) it's not our first choice, and since none of our development team understands exactly what is happening and why, it would be useful for future development efforts for us to be educated.  Thanks in advance for any help.

    Just to try to help the comprehensibility of the issue, I've posted demo page to illustrate the situation: http://www.zoomiechaser.com/demo/button_test.html
    If you use IE and click on the link, the page will download as expected.  If you click the Click Me button in the Flash movie, you'll see either a pop-up warning bar, or, if you allow pop-ups, you'll see a window flash quickly on the screen then disappear.  I hope this helps, and that you kind souls can help me in return! 

  • How to remove document from Flash drive after printing from a PC

    Hi All,
    Here's my problem: Today I needed to print an MS Word file at a printshop, so I saved the document onto my Flash drive and took it to the shop. There, the staff printed the document from a PC and handed the drive back to me.
    Now, back at home, I want to delete this document from the Flash Drive. I plug in the drive, select the document and drag it to the trash. But then I get this message: " The operation cannot be completed because you do not have sufficient privileges for document X".
    This is a document I created from scratch, so I should have read/write privileges, yet the document on the drive is Read Only.
    I went back to the shop, and they get the same message.
    If I try to use disk utility to erase the disk, it appears as an MS-DOS FIle System (FAT 16) disk, and the erase buttons are "greyed out".
    How can I erase this document? Or how I can I reformat the drive?
    Any help much appreciated!~
    12 iBook G4,1.2 GHz, 768 RAM   Mac OS X (10.4.7)  

    I think I just solved my own problem. Just tried pressing the option and command keys at the same time while dragging the document into the trash and now it's gone. For good, I hope....Phew!
    12 iBook G4,1.2 GHz, 768 RAM   Mac OS X (10.4.7)  

  • Mass download of documents from SM to PC

    Hi,
    I am using Solution Manger 4.0
    Up to now, i am only able to download one document (already stored in SM) from SM to my PC.
    I would like to select N documents to download them at once on my PC.
    How to proceed ?
    Kind regards,
    Yann

    Hello Yann,
    Unfortunately, the functionality of downloading several documents at the
    same time in transaction SOLAR01 or 02 is currently not provided in
    Solution Manager. The only possibility to download documents, is to do
    it one by one.
    You can download a defined set of documents by creating a blueprint document which downloads all blueprint relevant documents based on the selection made.
    But, for other document types, there is no possibility to download several at same time, and no such plan to development it further.
    Sorry for the inconveniences,
    Dolores

Maybe you are looking for