Skip to main content
Participant
December 19, 2014
Question

ANE has recently started throwing error #3500 in Flash CC

  • December 19, 2014
  • 2 replies
  • 553 views

I have been using the same ANE for about 18 months now for native alerts in AIR on Windows desktop. Just recently AIR has started throwing the following error when trying to call any of the functions in the extension (in this example confirm is the function being called in the NativeDialog ANE):

ArgumentError: Error #3500: The extension context does not have a method with the name confirm.

  at flash.external::ExtensionContext/_call()

  at flash.external::ExtensionContext/call()

  at com.nemenvisual::NativeDialog/confirm()

  at application.ui::NativeAlert$/confirm()

  at application.control::CommandCentre$/execute()

When the app is published and installed it seems to work fine - the error only occurs when debugging in Flash CC. Has a recent update to Flash introduced this or is there some way around it? I tried going back to AIR 14 and the issue still occurs so I don't think an AIR update has caused it.

This topic has been closed for replies.

2 replies

Participating Frequently
December 22, 2014

Can you please share the content so that we can investigate this further?

Thanks

Akshatha

Participant
January 6, 2015

This is the ANE:

https://dl.dropboxusercontent.com/u/3481579/NativeDialog.ane

Can be used as follows:

import com.nemenvisual.NativeDialog;

var nd:NativeDialog = new NativeDialog();

nd.alert("Alert title", "Alert message");

This ANE is for Windows desktop only.

chris.campbell
Community Manager
Community Manager
December 19, 2014

I've forwarded this to our Flash Pro team to see if they've seen this before.

Thanks,

Chris