Skip to main content
Participant
April 19, 2013
Question

Prevent errors when previewing app including Vibration ANE on desktop

  • April 19, 2013
  • 3 replies
  • 691 views

I am making use of Adobe's Vibration ANE. It works fine when I deploy on my device but throws an error when I test my movie in the Flash IDE.

The content cannot be loaded because there was a problem loading an extension: Error: Requested extension com.adobe.Vibration is not supported for MacOS-x86.

This is because desktop isn't supported by the ANE. I am looking for an efficient way of being able to test the rest of my app on desktop and have it include vibration functionality when deploying on my device. I don't want to have to manually remove the ANE each time I test the app on my desktop and add it each time I deploy to my device. Could I, for example, somehow add 'fake' desktop support to the ANE? To clarify, I don't need it to do anything on desktop, I just want to be able to test the rest of my app.

This topic has been closed for replies.

3 replies

natural_criticB837
Legend
April 24, 2013

You should be able to do the following:

- rename .ane to .zip

- extract content

- mess around with the extension.xml to reference your empty fake class on desktop

- repackage the ane using the compiler (I think rezipping alone does not work for checksum security reasons, though you could try)

Colin Holgate
Inspiring
April 24, 2013

Can you say how you would do that? For say just an iOS and on a Mac.

natural_criticB837
Legend
April 24, 2013

In the extension.xml you can set up one class for desktop (PC/Mac) that is used in addition to the already existing class that is used on iOS. I dont know all the settings by heart but its really self-explanatory.