Air Web browser with drag out remote files

Hi
I'm new in AIR so I have few questions.
I want to create my own simple web browser where users can drag out files on desktop using links on web pages instead of normal OS download system.
I've found function which works fine when I use static url and name but I don't know method how I can actually get real url and name.
Method:
             addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);
             public var fileDown:URLFilePromise;
             public function mouseDownHandler(event:MouseEvent):void
                fileDown = new URLFilePromise();
                fileDown.request = new URLRequest("http://www.example.com/file.txt");
                fileDown.relativePath = "file_name.txt";
                var promises:Array = new Array();
                promises.push(filePromise);
                var clipboard:Clipboard = new Clipboard();
                clipboard.setData(ClipboardFormats.FILE_PROMISE_LIST_FORMAT, promises);
                NativeDragManager.doDrag(this, clipboard);
Can anyone help with this ??

Until the introduction of file promises in AIR Athena, it  has never been possible to drag remote files out of an AIR application.
You could refer to the http://www.adobe.com/devnet/air/flex/articles/using_file_promises.html
Hope this is helpful. Please let me know if I could help more.

Similar Messages

  • Im having problems with my safari Web browser  to opening/viewing pdf files.

    Im having problems with my safari Web browser to opening/viewing pdf files. I installed the 8.1.2 version But then when I click to open any PDF it says that Adobe PDF Viewer cannot find a compatible Adobe Acrobat or Adobe Reader to view this PDF. Please select one.
    i can see the adobe reader but can not select it .

    did you find a solution to this? my safari history is full of
    explicit sites that i have not visited. i see a lot of info on how to remove it, but none on how to figure out how they got there.

  • Web Browser with website filter

    Hi all, I am new to here.
    I'm doing my final project, which I have to develop a web browser, with some website unaccessable, like porn site.
    I have totally no idea on how to do this on my browser (somemore my browser is not running properly). Got people told me that I can store those banned website's URL in a text file, then read from there and compare to the Address bar, if same then block that website.
    Is there anyone here expert in develop a web browser with some specified website banned like I mentioned? If yes please please please teach me how to do this, or if have any good example for similiar porblem, please let me know. It's very important to me, THANKS !!!

    Hi all, I am new to here.
    I'm doing my final project, which I have to develop a
    web browser, with some website unaccessable, like
    porn site.You need to develop a browser? Isn't that a bit too much work for 1 person?
    I have totally no idea on how to do this on my
    browser (somemore my browser is not running
    properly).Uh, you finished your browser already? Well then the hard part is done.
    Got people told me that I can store those
    banned website's URL in a text file, then read from
    there and compare to the Address bar, if same then
    block that website.That would be quite a bit of work. An easier approach would be to block addresses based on words appearing in them.

  • Web Browser with Bookmarks menu in xcode?

    Hello, I am new to programming and have followed several tutorials on programming a web browser using xcode. So far I have a history menu, a google search, and a url field, and a home button that brings you back to the default homepage. I would now like to implement a bookmarks menu in the menu bar. For the ability to store bookmarks. seeing as how i am new, I have no idea about how to go about doing this. Could someone please either post the code for this feature, or either lead me to a tutorial or give me instruction on how to do this. Than you, any help is greatly appreciated.

    Hi all, I am new to here.
    I'm doing my final project, which I have to develop a
    web browser, with some website unaccessable, like
    porn site.You need to develop a browser? Isn't that a bit too much work for 1 person?
    I have totally no idea on how to do this on my
    browser (somemore my browser is not running
    properly).Uh, you finished your browser already? Well then the hard part is done.
    Got people told me that I can store those
    banned website's URL in a text file, then read from
    there and compare to the Address bar, if same then
    block that website.That would be quite a bit of work. An easier approach would be to block addresses based on words appearing in them.

  • Web service with multiple out parameters

    Hi Developers,
    I have been playing around with som web services in the developer studio.
    I can create a webservice from a normal ejb.
    But i can only get one out parameter, which is the return parameter of the ejb.
    I tried to make an object to use as return parameter, but then i couldn't use the method for the web service.
    Can anyone tell me how to make a web service with multiple out parameters?
    Br Rasmus

    Hi Developers,
    I have the same question, is it possible to have multiple outgoing parameters?
    When not, does SAP Netweaver knows a IN-OUT parameter? Because I found on the internet that it is possible to have a IN-OUT parameter. But that was with the BEA Weblogic 8.x.
    When not, is then the only solution to return a object? With in this object all the parameters you want.
    Or otherwise is there a other workaround?
    Thanks in advance,
    Marinus Geuze

  • Aladdin eToken using the Web browsing with Firefox. Firefox often asked to enter a password eToken. How to turn off the continuous requests?

    Aladdin eToken using the Web browsing with Firefox. Firefox often asked to enter a password eToken. How to turn off the continuous requests

    I have found a solution.
    For all they wont use a etoken to surf.
    Go to extras, options then extendet and go to cryptographic module and unload the etoken. To unload the etoken you must selekt etoken not the name of the token.
    i have translate the menu names from german to english.

  • Web Browser needs to study Acrobat file. Allowed?

    I am a new manager in a company and I have a new req.
    I would be using the new Acrobat SDK 9 for this use.
    I need to create a web app that would enable a client-browser to read an adobe file on the server and produce statistics as to number of pages, bookmarks, images etc.
    My questions:-
    1) I beleive EULA 2.3 does not allow this, but what if we buy a license for each user/computer, will it be possible?
    2) Will the new product called Life cycle allow this? if not how can I accomplish this. I am not going to do anything that violates the license agreement.
    If impossible then we will have to try to produce reports in MS-Word/XML instead of adobe.
    Thanks
    Jay

    1) SDK - (your answer was no)
    ME: OK as per your suggestion, Im ruling out the SDK to do this server based web application to analyze the adobe file.
    2) YOU: "The LiveCycle Forms API would allow you to collect very basic statistics (number of pages, etc.), yes. You would not be able to do things like extract images remotely with the Forms API. "
    ME: But will this help me work remotely from the Webpage?
    YOU: You may want to consider the PDF Library SDK for your solution. It is specifically licensed for server use. You can license it from Adobe via Datalogics (http://www.datalogics.com).
    ME:-
    Thanks for the info but Im slightly confused on the conclusion... are you recommending the LifeCycleForms API or are you suggesting PDF Library SDK (is that diff from Acrobad SDK?).
    Ok to avoid confusion, here is more info on the req, and you can recommend what would be needed. Here is the info that our tool must provide form an input pdf file:-
    ***** Per-pdf-file information
    Document Properties:- Producer/Author, "PDF Version", "Page Size", "Number of Pages", "Tagged PDF", "Modified info",
    If it is encrypted or secured?
    if a password was supplied
    If "Content Copying or Extraction" Allowed?
    If "Content Extraction for Accessibility" Allowed?
    If "Printing" Allowed?
    If the PDF have bookmarks?
    Results of Adobe's "Accessibility Quick Check"?
    Adobe Reader / Document Properties / "Can be Opened by: "
    fonts used in the document and if they are embedded in the PDF
    ***** Per-page PDF information
    Can text be extracted?
    Is page completely blank?
    Is the page photo quality? (Need a way to decide if a page should be GIF or JPG when converted)
    Is the page portrait or landscape?
    Is the page doublewide or "unusually sized"?
    Can the page be "Read Out Loud"? (Accessibility feature)
    End: Application should produce an XML with all this information so we can parse it for viewing and also pull it into the next program in our process. Various results will be tagged as "error" or "warning" levels to help judge the PDF itself (encrypted but no pwd=error; everything ok but not "Tagged"=warning).
    BASED ON YOUR SUGGESTION, I WILL PROCEED.

  • Sync center issue in Windows 7: sync conflict zeroing out remote file

    Hi,
    I'm using Windows 7 RTM Prof Eng x64 on my laptop, and I'm making available offline a folder on a remote share with Offline files. The remote share is hosted on a Windows Server 2003 R2 Ent Eng x86 server. The server is a domain controller, but the laptop is not joined to the domain. The remote folder is like 320 MB, mainly images, doc, pdf and xls files.
    Synching is usually working, but sometimes I observe the following: I modify a file on my machine, and later Sync center reports a sync conflict, although nobody else modified the remote file. When I check the remote file, it is full with NULLS, e.g. if it is a doc file, it opens as a lot of empty pages.
    I used the same setup with Windows Vista without problems, it just started to occur when I switched to Win 7.
    I could not reproduce the issue, but the problem could be related to the network setting:
    - it is something like: laptop ---|public network|--- server ---|private network|
    - I usually access the server from the laptop on a public network with just its netbios name, i.e. \\server. But from this network it is also accessible from \\server.domain.com and \\server-public-ip The small sync icon appears near the folder name only when I view it as \\server, and not in the other two cases.
    - when I connect to with WLAN, then the laptop is connected to the private network. Here the server is accessible via \\server-private-ip or \\server.domain2.local. When I open \\server only the offline folder is visible (the server is also a firewall, which blocks SMB going out to the public network).
    - the clocks of the two machines are not synchronized, but the difference is below 10 seconds
    I could understand a sync conflict or not detecting that the local and remote file are the same, but the zeroing out the remote file part is quite mysterious. Have anyone seen something like that?
    Thanks for the help,
    Zoltan

    Hi,
    Did you find a solution to this issue? We are experiencing the same.
    We have had users reporting that they have created a word doc whilst on the network. Saved it, then logged off and taken their laptops home. Worked on the file for a few hours, with several saves, closes and reedits. Then finally saved the file, logged off.
    When returning to work and logging in whilst connected to the network the file then becomes 0KB. The file appears to be unrecoverable as backups are only of the server version. There is no previous versions recorded and the last edited is the data of the
    original blank file. It would appear that the server version (Older) is overwriting the Local cached version (Newer).
    This is obviously causing some serious issues for staff who have lost hours of work done at home. Has anyone else experienced this.
    Servers run Windows 2008 R2, Clients Windows 7 Professional. Offline Files setup by Group Policy.
    Regards,
    Fraser

  • Open 2 Web Browser and play a .swf File within each

    Hello,
    we are trying to implement a Screen Recording Functionality
    under Linux.
    The Recording will be done by vnc2swf. Then we have a .swf
    File with the Video.
    Now I want to play Back the recording within a Web Browser.
    That's shoudnt be the problem till now. But the difficult
    thing is that we have 2 Monitors connected to the Linux PC with
    their own display connection, therefore we get 2 .swf File each for
    each Screen.
    No I want to play back these two .swf Files each in one Web
    Browser on each Screen.
    Is this possible by programming this with Action Script 2/3 ?
    Thanks Richard

    When I go here, I can see the slide show fine.
    http://www.lvpaiutetribe.com/golf/home_slideshow.swf
    What's the url to the problem page?
    --Nancy O.
    Alt-Web Design & Publishing
    www.alt-web.com
    "GrayFox32" <[email protected]> wrote in
    message
    news:g1n9rc$t99$[email protected]..
    > I have a swf file that i want to apply to my website, i
    have done it
    before but
    > for some reason it doesnt want to work for this page.
    When i open the page
    > locally it plays the movie file but when i view my
    website online i cant
    see
    > the flash movie. The file is on my web host server and
    its mapped directly
    to
    > the file but it still doesnt work.
    >
    > Please Help, Thank You.
    >
    > <script type="text/javascript">
    > AC_FL_RunContent(
    >
    'codebase','
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.
    cab#
    >
    version=9,0,28,0','width','612','height','284','title','home_slideshow','src
    ','h
    >
    ttp://www.lvpaiutetribe.com/golf/home_slideshow','quality','high','pluginspa
    ge',
    >
    http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=Shockw
    aveF
    > lash','movie','
    http://www.lvpaiutetribe.com/golf/home_slideshow'
    ); //end
    AC
    > code
    > </script><noscript><object
    > classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    >
    codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.ca
    b#ve
    > rsion=9,0,28,0" width="612" height="284"
    title="home_slideshow">
    > <param name="movie"
    > value="
    http://www.lvpaiutetribe.com/golf/home_slideshow.swf">
    > <param name="quality" value="high">
    > <embed
    > src="
    http://www.lvpaiutetribe.com/golf/home_slideshow.swf"
    quality="high"
    >
    pluginspage="
    http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Ve
    rsio
    > n=ShockwaveFlash" type="application/x-shockwave-flash"
    width="612"
    > height="284"></embed>
    > </object></noscript>
    >

  • Opening OEM for two Oracle 11gR2 Databases in the same web browser automatically log out.

    Hi to everyone,
    I have an issue regarding Oracle Enterprise Manager in 11gR2. I have two database (SWPROD, PDPROD) in a single server. When I open the OEM URL for  SWPROD it is successfully logged on but when I open the OEM URL for PDPROD and successfully logged on the other tab for SWPROD will automatically logged out. And when I switch to the other tab for PDPROD it is also automatically logged out. Both OEM URL is open in a single web browser like Mozilla Firefox. What would be the reason why both OEM URL will be logged out when I open them at the same time?
    Thank you for your incoming response.

    Well it seems the only way to clear these out of EM was to shut BOTH RAC nodes down and power them up one at a time.  Now the updates aren't shown as required and my compliance score is where it should be.
    Is this a bug ?  Seems pretty stupid to have to shut down both RAC nodes to fix this.  Powering a single RAC node off and back on did not clear this.
    Unless i'm missing something??

  • Web browser with bookmarks

    Hello, I am new to programming and have followed several tutorials on programming a web browser using xcode. So far I have a history menu, a google search, and a url field, and a home button that brings you back to the default homepage. I would now like to implement a bookmarks menu in the menu bar. For the ability to store bookmarks. seeing as how i am new, I have no idea about how to go about doing this. Could someone please either post the code for this feature, or either lead me to a tutorial or give me instruction on how to do this. Than you, any help is greatly appreciated.

    The following quotation from iOS: How to transfer or sync content to your computer may have the explanation. (It isn't available on the Info tab on iTunes on my Mac computer running OS X 10.9 either.)
    You can sync bookmarks between your computer and your iOS device. When syncing is enabled, all bookmarks will sync. You can sync bookmarks with the following apps:
    Safari (OS X Mountain Lion v10.8 or earlier)
    Safari for Windows (Windows XP, Windows Vista, and Windows 7)
    Microsoft Internet Explorer
    It may be that the only currently supported method for some versions is via iCloud. https://www.apple.com/icloud/setup/

  • Loading jfx app into web browser with preloader (improving load time)

    hi,
    has anyone made any attempt to construct kind of application preloader, waiting for whole app to load can take long time and default spinning wheel with java cup is not really user friendly.
    I was thinking about breaking app in two parts
    1)login view
    2)rest of the app that will be loaded lazily
    but then how to load second jar, what about updates of that second jar. Is there any way to talk to javascript in browser to show something nicer then default applet's preloadder.????
    maybe there is a better idea on how to improve loading time of jfx app embedded in web browser, my experience is based on 1.1 version of jfx so now it can be better.
    apart from jfx component im planing to use spring ioc and jdbc driver. so it should show something as quick as possible (confirm certificate and show login view) and then (or in the meantime) load rest of the stuff.
    any thoughts appreciated
    thanks

    Have you read the last post of (the prolific ;-) ) Rakesh Menon ;-)
    http://blogs.sun.com/rakeshmenonp/entry/javafx_lazy_loading
    May be it could help you.
    Regards
    Richard

  • Hou to surpport the plug-ins in web browser with AIR mx.control.HTML

    My app used the google earth plug-in in browser, but when i use AIR mx.control.HTML in FB3, the plug-in can not take effect, the tooltip is "The Google Earth Plugin is not currently installed."
    It is always ok in IE, firefox

    The plugin works only on Windows (Firefox and IE).
         http://googlesystem.blogspot.com/2008/05/google-earth-browser-plugin.html
    HTH.

  • Webi Published with dinamic filename in file system

    Hello,
    We have a problem in BO 4.0 SP5. We have a webi with the following prompt:
    Year: ie. 2014
    Month: ie. 001
    Company: ie ES01
    The name webi is: Report_Sales
    When we shchedule the report we can't name the file like: "Report_Sales_<year>_<month>  (ie Report_Sales_2014_001). There is no an available option to put the prompts of the webi in the name.
    How could we do this? Is there anyway (standard or non standard) to achieve this? We have thought maybe through XML files on the BO server.
    Regards.

    I have all other queries in chinese and return correctly.
    Also, by comparing the query on filename
    where in Windows it show:
    %22filename%22:%22%EF%BF%BD%EF%BF%BD%EF%BF%BD%E2%B0%A1.png
    but in OSX
    %22filename%22:%22%E4%BA%BA%E9%A2%98%E5%95%8A.png
    so how so where the convert gone wrong.

  • In short, firefox was my web browser with a google window. Now, I open the mozilla window only to have google totally dominate the screen. Only for me, not my wife. What did I do, how do I correct???

    I was using both firefox/mozilla and google but now when I click
    on mozilla it trys to open but google dominates and I can't get into firefox to browse. Yet other users still have the normal screen and no problem. What did I do and how do I correct this problem?
    Thanx in advance. Also, is there a cost for this assistance??

    First make sure that no application is using or has open any files on the disk. Then:
    Click and drag the disk icon on the desktop to the trash. Wait for the system to recognize the action, and the icon should disappear from the desktop. It is then safe to remove the device.
    Alternatively, you can secondary click on the disk icon, and then primary click "Eject (name of disk)". Wait for the icon to disappear off the desktop, and then it is safe to remove the drive.
    Here is a detailed help document on the subject.
    http://docs.info.apple.com/article.html?path=Mac/10.7/en/mchlp1056.html

Maybe you are looking for