ANE function parameters display as arg0, arg1, etc. how do I fix this?

I am creating an ANE and all my functions that take parameters show them as arg0, arg1, arg2, etc..
for example:
ShowAlert(arg0:String, arg1:String, arg2:String = "Ok", arg3:Array = null)
when it should be
ShowAlert(title:String, message:String, defaultButtonText:String = "Ok", additionalButtons:Array = null)
I did some searching and the only thing I was able to find was this:
By default, these are defined as arg0 and arg1, but you can give them more descriptive names. Change the call() function definition to look like this:
public FREObject call(FREContext context, FREObject[] passedArgs)
from http://www.adobe.com/devnet/air/articles/developing-native-extensions-air.html
hrm..
I assume it's using flex (as pretty much everyone else is these days - I should get around to learning that) but I am using Flash Pro.
Anyway, I don't really understand what he meant, so I started reading the rest of the document and I saw this line:
Set the superclass to com.adobe.fre.FREContext.
Hrm...
Does this mean I am supposed my ANE is supposed to extend that? Right now, it's extending EventDispatcher.
Regardless, can someone clarrify what he means, or what I am supposed to do to get my parameters appearing correctly?

It does look like you want to extend FREContext.

Similar Messages

  • I recently installed Photoshop Elements 13.  I can't launch help & tutorials etc. how can I fix this?

    I recently installed Photoshop Elements 13.  I was able to launch help, tutorials etc. but as of today I get "Forbidden You don't have permission to access /chcservices/services/redirect on this server".  How can I fix this?

    Had to go with Method 2, but couldn't locate the Preference file, (yes hidden files are visible).
    Following the path you suggest, in C: I have Users>user name>AppData>Roaming>Adobe>Elements_Organiser>12.0>Organiser>Log.txt
    And I couldn't find it in S: either.
    I uninstalled using the DVD program, and this time was sure I ticked the 'Remove Preferences' box. I CC cleaned registry and files before and after removal and again after a restart.
    I did a fresh install feeling very hopeful, but I'm afraid the result is still the same.
    I suppose I could try installing on C: in case that is an issue, but it's not a very satisfactory long term solution as I'm restricted on space.

  • Pdfs and word docs started not displaying correctly in browser. How do I fix this?

    Until about a week ago, when I would open a pdf or word document in Firefox, it would open in a new Window and I could view it without download. Now, when I open a pdf, it shows some lines, but no text. I can only view the document if I then download the document, which will display correctly. Today, I tried to open a Word document from Firefox. A new window opened and it told me how many pages there was, but all of the pages are blank.
    Is there a way to fix this? I like not having to download the documents unless I want to save them.
    I'm using Firefox 37.0.1 on a computer running Windows 7 Enterprise, Service pack 1.
    Thanks,
    Jessica

    Ok. My computer ran updates last night and today it works. So, I'm good for now. If this happens to anyone else, I'm not sure how it was fixed besides the fact that my computer ran updates and restarted.
    Thanks,
    Jessica

  • Iphone 4s screen is blank but still vibrates etc how do i fix this?

    I've had my iphone 4s for a while now but it seems to have broken down on me, the screen is blank but i can switch the sound/vibrate switch and it vibrates and goes off. can anyone explain how to fix this? I've tried everything including restore restart etc
    If i went to an apple retail store in the UK will they replace it or repair it?

    Out-of-Warranty Service
    If you own an iPhone that is ineligible for warranty service but is eligible for Out-of-Warranty (OOW) Service, Apple will service your iPhone for the Out-of-Warranty Service Fee listed below.
    Please note Out-of-Warranty Repair Service fees from your carrier may be different than those listed below.
    iPhone Model
    Out-of-Warranty Service
    iPhone 5
    £ 186.44
    iPhone 4S
    £ 146.44
    iPhone 4, iPhone 3GS,
                     iPhone 3G, Original iPhone
    £ 126.44
    You can only purchase AppleCare if you are still in the first year of warranty, which is not applicable.

  • My iphone does not automatically switch off the display light when locked. How do I fix this?

    I have an iPhone 5 with iOS 8.2 software.
    My iPhone does not automatically switch off the display light when it is locked. Therefore, if I get an e-mail/text message/pop-up from other application, the light just stays on, which obviously drains my battery.
    The problem just started yesterday, and it has been a couple of days since I updated the software, so I wouldn't think the software update is the problem.
    I have tried restarting the phone (using home and lock button), but that did not work.
    Something else that seems weird is that once in a while, a blue beam rolls over the screen from one side to the other. I don't know why it does this, and have no idea whether this is related to the display light issue.
    I hope someone is able to help by telling me what to do in order to get my phone to act normal again.
    Thank you x

    Restart your device by holding the home and power button until the Apple logo appears. You will not lose any data.

  • IPhone 5 display has stopped working. How do I fix this?

    My iPhone 5 display has stopped working. The Lock button has not been working for quite some time now, so I can't try a reset. When I plug the phone up to the computer, it makes the sound which indicates that it has been hooked up, bu nothing is displayed. It is just a black screen.

        I'm sorry to hear about your phone, frodolad_ell. It sounds like you have a defective device. Is the phone still under the one year warranty? Does the device have physical or moisture damage? Please provide me with a few details.
    ChaunceyM_VZW
    Follow us on twitter @VZWSupport

  • When i am using the restart function, lion will surely fail start. How can I fix this problem?

    RT. I am using a brand new mac mini.

    Do you mean the Restart function under the Apple menu?  What happens when you try?
    Launch the Console utility before you try to invoke a restart and look for messages that might explain the problem.

  • My husband and I use the same itunes account .we do not want our I pads or iphone to have same apps ,music , etc. how do i fix this?

    My problem is my husband and I use the same itunes account so everything we download on our i pad or i phone goes to both . Can we change this without losing our personal choices.

    Settings App > iTunes & App Store > Automatic Downloads [turn off the catagories you do not wish to be auto-downloaded].
    You will want to do this on both devices

  • My iphone no longer provides a functional personal hotspot via usb or bluetooth, how do I fix this?

    I am currently running a 3gs (never jailbroken or unlocked) with ios 5.1.1. The computer I am connecting it to is a Macbook Pro Early 2011 15". I am in Canada with Rogers as a telecommunication provider. I do have plenty of data and have used this feature in previous months (although very very rarely).
    I have heard there might be a bug with 5.1.1 however I haven't heard of anything substancial to verify these claims.
    I have tried the usual steps. Turning off wifi on both, plugging in the iphone (or turning on bluetooth), I have a connection or at least the iphone shows a connection and flashes blue on top. But my computer has no traffic at all. It says it has a connection and IP but nothing else. No other features are open nor am I savvy enough to manually enter other settings other than the automatic ones.
    Can anyone else provide some help? I have searched the forums but nothing on other threads have worked or is overly recent/applicable (ie. iPad problems). Can anyone out there in the community provide some assistance or tips to try and solve this problem?
    If I have to wait until io6 I will but I am heading back to school soon and would love to have wifi for the commute.
    No jailbreak or paid applications please.

    A quick update with my situation. I went to the Apple Store Genius Bar and the girl I talked with had worked with Rogers and knew that it was probably a problem with my service provider rather than the iphone itself.
    I checked with Rogers and it was (Ya Genius Bar, Boo Rogers) Anyways, I had to change my plan to accomadate data sharing (which I actualluy saved money on - due to a very old phone "Staff" plan.
    So now I can get my bluetooth networking just fine, but I still have problems with usb. It now is not even noticing it is connected in network options while still being plugged in and detected with iTunes.
    Still looking for help with my USB tethering. But glad I got my tethering working somehow in order to pair with my upcoming purchase of an iPad (YAY)

  • My iPod Touch will not play through external speakers when it is docked.  It only plays through it's internal speaker.  All the other functions on the iPod can be controlled by the external speakers (volume,track, etc).  How do I fix this?

    My iPod Touch will not play through external speakers when it is docked.  It only plays through it's internal speaker.  All the other functions on the iPod can be controlled by the external speakers (volume,track, etc).  How do I fix this?

    I would try in oreder:
    - Resetting the iPod:
    Press and hold the On/Off Sleep/Wake button and the Home
    button at the same time for at least ten seconds, until the Apple logo appears.
    - Restoring the iPod via iTunes.  First from backup and if problem persists, restore to factory defaults/new iPod.

  • TS4097 we have multiple users in our family and multiple devices all sharing one itunes account.  i think we are all synced to one icloud account and it is a nightmare....contacts lost, text messags showing up on multiple devises etc.  how do we fix this?

    We have our family sharing one itunes account.  we have 3 iphones, 2 macbook airs, 2 ipads and 1 mac.  I am not sure how we even got started on the icloud but somehow we did and everything is a mess.  The ipads are showing the text messages, the contacts are all combined, the apps that my duaghter downloads are appearing on all devices.  how do we fix this so contacts are not shared, messages are not shared and apps are not automatically synced to all devises?

    You have two different issues going on.  You are getting each other's messages because you are sharing the Same Apple ID for iMessage.  This can be corrected by going to Settings>Messages>Send & Receive on add the devices and doing one of the following:
    Either uncheck the email address shown under "You can be reached by iMessage at" on all of your devices; or
    If you want to continue to receive iMessages at this email address on one of your devices, on all of the other ones tap the Apple ID at the top, sign out, then sign back in using a different Apple ID (so all devices will be using a different Apple ID for iMessage).  Note: you can continue to share an Apple ID for purchasing from the iTunes and App stores.  It does not need to be the same as the ID you are using for iMessage, FaceTime and other services.
    The second issue is that you are sharing the same iCloud account on your devices.  When you do this any data you sync with the shared iCloud account such as contacts is merged and will appear on all devices connected to the account.  To fix this you both need to have separate iCloud accounts (you can continue to share the same Apple ID for purchasing from the iTunes and app stores). 
    First decide which device(s) will be keeping the current iCloud account.  On the one(s) that will be changing accounts, if you have any photos in photo stream that in your camera roll or backed up somewhere else that you want to keep on the device(s), save these to the camera roll by opening the photo stream album in the thumbnail view, tapping Edit, then tap all the photos you want to save, tap Share and tap Save to Camera Roll. 
    Once this is done, go to Settings>iCloud, scroll to the bottom and tap Delete Account.  (This will only delete the account from this device, not from iCloud.  The device(s) that will be keeping the account will not be effected by this.)  When prompted about what to do with the iCloud data, be sure to select Keep On [iDevice].  Next, set up a new iCloud account using a separate Apple ID (if you don't have one, tap Get a Free Apple ID at the bottom).  Then turn iCloud data syncing for contacts, etc. back to On, and when prompted about merging with iCloud, choose Merge.  This will upload the data to the new account.  Repeat this process for all the devices that you need to migrate to new accounts.
    When finished, to un-merge the data in your accounts you will have to go to icloud.com on your computer and sign into each iCloud account separately and manually delete the data you don't want (such as deleting the other person's contacts from your account, and vice versa).

  • My weather app doesn't show the feels like temp or wind, etc.  How can I fix this?  I am running iOS 8.1.2

    My weather app doesn't show the feels like temp or wind, etc.  How can I fix this?  I am running iOS 8.1.2.

    is that really what it is?  this is the native iphone weather app.  the funny part is that when i use the actual weather channel app, it does provide it.
    is this an api issue with the weather channel and the iphone then?  i guess there's no fix?
    thanks for your help by the way.

  • I just brought a brand new Macbook pro retina display, when i connect it to my apple tv through airplay its too slow and when it try to play a movie apply tv is always a minute or 2 behind. How can i fix this?

    I just brought a brand new Macbook pro retina display, when i connect it to my apple tv through airplay its too slow and when it try to play a movie apply tv is always a minute or 2 behind. How can i fix this?

    Hello HanaAmer1,
    We've an article which provides troubleshooting steps that can help get AirPlay workign correctly.
    iTunes: Troubleshooting AirPlay and AirPlay Mirroring
    http://support.apple.com/kb/TS5209
    Cheers,
    Allen

  • Iv bought a touchpad app for my iPhone 5 to use on my Mac mini, all the functions work accept the zoom one, how can I fix this problem

    Iv bought a touchpad app for my iPhone 5 to use on my Mac mini, all the functions work apart from the zoom one. How can I fix this please

    Iv bought a touchpad app for my iPhone 5 to use on my Mac mini,''
    Considering the app for the iPhone is for iOS, you may have problems using it on the Mac (Mac OS X)
    Two different operating sysems.
    From iTunes for the touchpad app:
    Requirements: Compatible with iPhone, iPod touch, and iPad. Requires iOS 5.1 or later. This app is optimized for iPhone 5.
    From here >  https://itunes.apple.com/us/app/touchpad/id297623931?mt=8

  • All of my purchased apps (games) and apps such as Weight Watchers, Facebook, WeatherBug, Sports and Pinterest, Notes, Nook, etc.  are all locked up.  They simply flash, then nothing!  How can I fix this to make them work again.

    First Issue:   All of my purchased apps (games) and apps such as Weight Watchers, Facebook, WeatherBug, Sports and Pinterest, Notes, Nook, etc.  are all locked up.  They simply flash, then nothing!  How can I fix this to make them work again?  If I have to delete the purchased apps, will they still be in iTunes, or will I have to re-purchase them? 
    Second Issue:   When I synced to my desktop (Windows XP)  All my photos loaded onto my iPad2.  I don't really want all 3000 + pics on my ipad!!  How do I get them off?  Next time I synced, they loaded again!  Now I have so many duplicates!  How do I get rid of the photos and prevent this from happening again?

    If none of your third-party apps are working, but the Apple built-in ones are ok, then try downloading any free app from the store (as that appears to reset something) and then re-try them - the free app can then be deleted. In terms of re-downloading apps then you can do so as long as they are still available in the store, and you use the same iTunes account as you originally used to buy them, then you should be able to re-download them for free : http://support.apple.com/kb/HT2519
    For synced photos, then with the iPad connected to and selected on the left-hand side of your computer's iTunes, then on the Photos tab on the right-hand side you can control which photos are synced to the iPad : http://support.apple.com/kb/HT4236 . If you don't want any photos to be synced then try selecting just an empty folder.

Maybe you are looking for

  • How can I create an automatically updating date in my template?

    I've created a template using Pages 5 for Mac, but I want to include a date in the header which shows the date the document was created. I've noticed that this is possible with the default Apple-designed templates included with Pages. I know that I c

  • Computer no longer Sleeping

    I have an iMac G5(2nd Gen) with Leopard (10.5.3) and my computer will not sleep no matter what I do. I tried ejecting all external drives (Firewire and USB), turning off all USB devices, disconnecting from my wireless network, quitting all running ap

  • Error Hard Disk 1

    I Got failure id : PLJL0X-68J737-MFPX1F-60D503  On product ID : B6X40EA#ABV              Hard Disk 1 Any one know what's the solution Plz ? This question was solved. View Solution.

  • Mail issue - PS3 conflict?

    Hi Whenever I use my PS3 it results in my macmail failing. I cannot send or receive mail. To resolve the issue I have to remove the ps3 ip from the dmz setting in my router, reboot the powerbook and mail works again. I can then add the ps3 back into

  • How do I delete a color swatch library in photoshop?

    Hi I created a color swatch library which I want to delete since I don't use it. Anyone who knows how to do this? I tried Preset Manager but that doesn't give me any options.