dcsimg
A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: using air application from web browser

  1. #1
    Junior Member
    Join Date
    Oct 2008
    Posts
    20

    using air application from web browser

    Hi,
    I made air application which contain drag and drop functionality. The application works fine when I run it from flash. I'm trying to use this application on web site but unfortunately when I'm trying to run the application I get error:

    VerifyError: Error #1014: Class flash.events::NativeDragEvent could not be found.

    It looks like Flash Player don't know this class.

    Is there some way to use AIR application from web browser ???

  2. #2
    Junior Member
    Join Date
    Mar 2009
    Posts
    4
    Couple of things...

    When you set up your Flex project, did you select the Application Type as Web Application or Desktop Application? AIR applications are specifically for the desktop. I assume you are attempting to drag/drop from your desktop to upload to a server?

    Drag/Drop from desktop to Browser (Web Application) shouldn't work... but Drag/Drop from desktop to Air should.

    Additionally, you may need to import your class at the beginning of the mxml file as such:
    import flash.events.*;

  3. #3
    Junior Member
    Join Date
    Oct 2008
    Posts
    20
    Hi,
    Thank You for Your reply. This is my first application that's why I didn't know that some classes of AIR can't be used in web applications but only in desktop applications. One of them is drag and drop but this problem I already solved.
    I have another problem with my application but I described that in another post :
    http://board.flashkit.com/board/showthread.php?t=795419

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center