Rakhitha Nimesh
Rakhitha Nimesh

Reputation: 1451

Flash Builder 4.6's default SDK is missing certain desktop classes

I have flex3 application which uses the following code.

import flash.desktop.TransferableFormats;
import flash.desktop.TransferableData;

When i use it in flash builder 4.6 it does not work and says "Definition flash.desktop.TransferableData could not be found"

What are the equivalent classes for above code in flash 4.6

Upvotes: 0

Views: 301

Answers (2)

Tahir Alvi
Tahir Alvi

Reputation: 994

Another way to to fix this problem,

  1. right click on project and open properties.
  2. go to Flex Library Path
  3. Select/Check the Include Air Libraries option.

Upvotes: 0

user797257
user797257

Reputation:

Use Clipboard and ClipboardFormats, the classes you found are from some AIR beta, many a moon ago...

Upvotes: 1

Related Questions