Can't set nativeWindow owner

I am trying to use the new nativeWindow.owner functionality in Air 2.6 but I am getting the following error:
ReferenceError: Error #1056: Cannot create property owner on flash.display.NativeWindowInitOptions.
Here is the code:
                        windowOptions = new NativeWindowInitOptions();
                        windowOptions.type = NativeWindowType.UTILITY;
                        windowOptions.owner = WindowedApplication(FlexGlobals.topLevelApplication).nativeWindow;
The error is on that 3rd line.
It's compiling without errors but when I run the code I get the above error...I feel like something is wrong when I updated to AIR 2.6 but I don't know what. I am running Flash Builder 4 on OSX.
Thanks

Hi OsmanU:
.owner property is available only to SWF 11. Please go to your project properties in Flash Builder and in Flex Compiler add the following argument
-target-player=11.0
And owner property should work fine.
Thanks,
Saumitra Bhave
AIR iOS

Similar Messages

  • I bought a used ipad on ebay and the icloud acct is still linked to the old owner who doesn't remember the acct information. How can I set up my apple id on the iPad.

    I bought a used ipad on ebay and the icloud acct is still linked to the old owner who doesn't remember the acct information. How can I set up my apple id on the iPad?

    You will need the previous owner's Apple ID and Password to:
    1. Turn off Find My iPhone
    2. Erase device
    3. Reactivate device

  • HT5622 how can i set up my secondhand iphone 4s without owner apple id?

    how can i set up my secondhand iphone 4s without owner apple id

    Fai un reset di fabbrica all'iPhone di tuo figlio gli inserisci il tuo id Apple e gli configuri all'avvio trova il mio iPhone.
    Così ogni volta che vorrai rintracciare tuo figlio basta che vai su iCloud da qualsiasi dispositivo e vai su trova il mio iPhone e riesci a rintracciarlo sempre se il dispositivo è acceso.

  • Can new PWA views be created whereby a filter can be set and associate to the view by default? (Project Server 2013 ONLINE)

    My main question is: Can new PWA views be created whereby a filter for that view can be set, and associate to the view by default? (Project Server 2013 ONLINE)? and can I have a filter set to filter on person logged on to...
    In previous versions of Project Server, when CREATING a PWA view, we were able to apply/ define a filter for that view.  Does not seem like it is the case in Project Server 2013 Online.  And if I remember, we could also use the URL Guid_view_id. 
    Please confirm; and / or tell me how-to.
    What I was hoping to do is the following... Given that our standard that we have adopted for reporting time is 'My Timesheets' (fyi, Single Mode Entry=ON), we have some resources who have others who do it on their behalf via 'My Tasks' (ie., accomplished
    by using the 'Assignment Owner' field, accordingly).  Therefore, when entering time on someone else's behalf within 'My Tasks', we like to present the user that is logged in only the tasks that they are are assigned to update on others' behlaf.
    I know that there is another more elegant approach to doing this which may be to use the Delegation feature. But since we are trying to stick to Sharepoint Security mode for now, this is not an option for the time being.
    Any help appreciated would be greatly appreciated.
    \Spiro Theopoulos PMP, MCITP. Montreal, QC (Canada)

    Hi Spiro,
    1- You still can define in Project Online a filter in the view settings, it is located just above the category setting. Here is a screenshot of the summary project center view:
    2- The view GUID is not anymore in the URL, since the URL triggers an action only on the webpart and not on the whole page. I agree this is annoying since it was great to send a URL with a specific view.
    3- Concerning the access to my timesheet versus my task, I'm not sure to get a full understanding but on a general way, it is much more easy to deal with those situation using categories which you cannot do with the SP permission mode.
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

  • How can I set a new passcode?

    How can I set a new passcode.  I cannot remember my old passcode and now I can't get in.  I can get phone calls and see text when it's sent to me but am unable to use. Help me please!!!!!

    The only answer for that is RESTORE your iPhone using any functioning computer with iTunes. Yes, you are going to loose all the data,
    Actually, wrong!!  If you try to restore using a computer the phone hasn't synced with, you'll have to enter the passcode into iTunes during the restore.
    In my experience, the most effective method for people who simultaneously "forget" the passcode that they had to use many times a day, and mysteriously lose access to the computer the phone synced with, is to ask the rightful owner for the passcode or return the phone to him.
    There is another method involving recovery mode, but the OP is on his own for that.
    Question:  Is is better to let your data "loose", or lose your data?

  • Why do we need to set site owner of a site collection?

    Hi All,
     why
    do we need to set site owner of a site collection?
    Thanks,
    Mohakk

    Hi Mohakk,
    Thanks for posting your issue, Kindly find the required details below
    The System Owner is responsible for the availability, and support and maintenance of a system and for the security of data residing on that system. The system owner is responsible for the availability, and support and maintenance, of a system and for the
    security of the data residing on that system. The system owner is responsible for ensuring that the computerized system is supported and maintained in accordance with applicable SOPs. The system owner also may be the process owner.
    The System Owner acts on behalf of the users. A System Owner may:
    Approval of key documentation as defined by plans and SOPs
    Ensuring that Standard Operating Procedures (SOPs) required for maintenance of the system exist and are followed
    Ensuring adequate training for maintenance and support staff
    Ensuring changes are managed
    Ensuring the availability of information for the system inventory and configuration management
    Providing adequate resources (personnel including SMEs, and financial resources) to support the system
    Reviewing audit reports, responding to findings, and taking appropriate actions to ensure compliance
    Coordinating input from other groups (e.g., finance, information security, safety, legal)
    Also, you can attend online learning course on below mentioned URL
    https://www.microsoft.com/learning/en-us/course.aspx?id=55035a
    I hope this is helpful to you, mark it as Helpful.
    If this works, Please mark it as Answered.
    Regards,
    Dharmendra Singh (MCPD-EA | MCTS)
    Blog : http://sharepoint-community.net/profile/DharmendraSingh

  • Found an locked iphone5c, how can i get the owners info, email or anything if he/she only says "pls. bring back my phone.. godbless" on the activation menu??

    found an locked iphone5c, how can i get the owners info, email or anything if he/she only says "pls. bring back my phone.. godbless" on the activation menu??

    Try using Siri and ask "Who's phone is this?" It should give you the name, number, and email address of the owner. Also, you can try swiping to unlock, select Emergency, then see if they have a Medical ID set up. If they do, they may have the name of a contact with a phone number listed.

  • In Oracle Service - Version: 11.5.9 How can I Update the owner of a SR to N

    Hi,
    I´m using cs_servicerequest_pub.update_servicerequest and it works ok, but when I set the owner_id to NULL I get an API error.
    Anyone knows how to set the owner of a SR to NULL thru this API?
    Thanks

    Hi,
    Yes in 11.5.9 is mandatory too, but from Oracle Support Application it´s possible to set the OWNER_ID of a incident to NULL so we got incidents with this field set to NULL.
    The problem is that we can´t update this incidents without setting the owner_id to a 'valid' owner. (In this case it works)
    I have searched about this in metalink but I got no solution to this isssue...
    It´s another method to achieve this than using this procedure?
    Regards

  • Can we set password to our abap code

    can we set password to our abap code. so that no one can edit it.

    Hi,
    REPORT YEDULOCK.
    * This program switches the editor lock flag of a given ABAP program.
    * It can be useful when the owner of the ABAP is on holiday ...
    TABLES: TRDIR.
    PARAMETERS: PRG_NAME LIKE TRDIR-NAME.
    SELECT SINGLE * FROM TRDIR WHERE NAME = PRG_NAME.
    IF SY-SUBRC = 0.
      IF TRDIR-EDTX = ' '.
        TRDIR-EDTX = 'X'.
      ELSE.
        TRDIR-EDTX = ' '.
      ENDIF.
      MODIFY TRDIR.
      IF SY-SUBRC = 0.
        WRITE: / 'Successful switch.'.
        COMMIT WORK.
      ELSE.
        WRITE: / 'Failed switch.'.
      ENDIF.
    ELSE.
      WRITE: / PRG_NAME, ' does not exist.'.
    ENDIF.
    Regards
    Sudheer

  • Set group owner using REST API

    I'm trying to use the REST API to set the owner of a SharePoint group. I can successfully create the group using REST, but I can't change the owner. I've tried the following.
    1 - Specifying a group owner while creating the group
    Endpoint: .../_api/web/sitegroups
    Method: POST
    Headers:
    Content-Type: application/json; odata=verbose
    Body:
    { '__metadata': { 'type': 'SP.Group' }, 'Title': '<title>', 'Description': '<description>', 'Owner': { '__metadata': { 'type': 'SP.Principal' }, 'Title': '<owner_title>'}}
    This returns a 500 error: "The specified name is already in use. Please try again with a new name". In other words, the owner title I specified already exists, which is correct - I'm trying to make an existing principal the owner of the new group.
    2 - Merging a new group owner into an existing group
    Endpoint: .../_api/web/sitegroups(<group_id>)
    Method: POST
    Headers:
    Content-Type: application/json; odata=verbose
    X-HTTP-Method: MERGE
    Body:
    { '__metadata': { 'type': 'SP.Group' }, 'Owner': { '__metadata': { 'type': 'SP.Principal' }, 'Title': '<owner_title>'}}
    This returns a 500 error with a Microsoft.SharePoint.SPException: "Exception from HRESULT: 0x80131904". The trace logs don't shed any light on it.
    3 - Using the owner endpoint directly
    Endpoint: .../_api/web/sitegroups(<group_id>)/owner
    Method: POST
    Headers:
    Content-Type: application/json; odata=verbose
    X-HTTP-Method: PUT
    Body:
    { '__metadata': { 'type': 'SP.Principal' }, 'Title': '<owner_title>'}
    This throws various 400 errors. If the current owner of the group is a user, I get the error "The required property 'Email' does not exist in the message" - i.e. it wants SP.User properties. If the current owner of the group is another group, I get
    the error "The required property 'AllowMembersEditMembership' does not exist in the message." - i.e. it wants SP.Group properties.
    I've tried various adaptations of the three approaches above, such as specifying additional SP.Principal properties or passing SP.User or SP.Group objects instead, but with no success. Any ideas?

    As we chatted on email.  There doesn't seem to be any combo that will set the owner.  Only way to do it is to use the CSOM XML method and post to client.svc\ProcessQuery:
    POST
    http://weburl/_vti_bin/client.svc/ProcessQuery HTTP/1.1
    X-RequestDigest: 0xAE382F0A8F11688BA9BE66739F84443892CE5E5452BA3E2622F6013D9D97EA8A8D9476463EDC503F700EB24F45024150D0DEEB2F40B160CD88BA7C7B4769BECD,15 Jan 2014 00:11:02 -0000Content-Type: text/xml
    Host:
    www.sanspug.org
    Cookie: FedAuth=blah
    Content-Length: 612
    Expect: 100-continue
    Accept-Encoding: gzip, deflate
    XML body is:
    <Request AddExpandoFieldTypeSuffix="true" SchemaVersion="15.0.0.0" LibraryVersion="15.0.0.0" ApplicationName=".NET Library" xmlns="http://schemas.microsoft.com/sharepoint/clientquery/2009">
    <Actions>
    <SetProperty Id="45" ObjectPathId="32" Name="Owner">
    <Parameter ObjectPathId="33" />
    </SetProperty>
    <Method Name="Update" Id="46" ObjectPathId="32" />
    </Actions>
    <ObjectPaths>
    <Identity Id="32" Name="740c6a0b-85e2-48a0-a494-e0f1759d4aa7:site:a1452dcc-8fc4-4631-8ada-97cb204810f1:g:9" />
    <Identity Id="33" Name="740c6a0b-85e2-48a0-a494-e0f1759d4aa7:site:a1452dcc-8fc4-4631-8ada-97cb204810f1:g:7" />
    </ObjectPaths></Request>
    The ids are randomly generated and can be anything you want, as long as they correlate (setproperty and method objectpathid is the object you are updating).  The most important part is the
    “Name” parts. The first part is the typeid of the object (in this case is means SPGroup), the second part as you can see if the site guid id.  The response does in fact return json if you tell it too:
    Chris Givens CEO, Architecting Connected Systems
    Blog Twitter

  • Can we maintain multiple owner for a particular member of dimension?

    Hi All,
    Can we set more one user as owner for a particular member of a dimension?
    Regards,
    Swetha

    Hello Swetha-
    I have not actually tried this, but in theory you could add additional members to the OWNER property by entering multiple BPC users in the u201COWNERu201D property in the member sheet (comma delimited).   These would need to be fully qualified names including the active directory, for example:  AD100\USER2000  for Active Directory "AD100", and user "User2000".
    Regards,
    Sheldon

  • How can I change the OWNER of a table?

    How can I change the OWNER of a table entr2009mm ?
    Resp. the OWNER of all TABLES whose tablename match the pattern *2009* ?
    Peter

    Hello,
    There're different posiibilities, Export/Import can do it.
    But, if it's not a too large Table, you can use CTAS (from a user with DBA privilege for instance).
    Create Table <schema_target>.<table_name> as select * from <shema_source>.<table_name>;Then, you have to recreate the dependent objects (Index, ...) and drop the Source Table.
    If you have a set of Tables, it's better to use Export/Import.
    Hope this help.
    Best regards,
    Jean-Valentin
    Edited by: Lubiez Jean-Valentin on Feb 9, 2010 8:20 PM

  • Can I set up the phone so it can only dial certain numbers?

    Can I set up the phone so it can only dial certain numbers?
    I want to get an iPhone for a disabled user and want to reduce the potential for making mistakes.

    You cannot prohibit an iPhone owner from dialing numbers, but you can certainly make it much more convenient to dial certain numbers.
    Place the convenient numbers in either Phone favorites, or make those numbers the only contacts the person has.

  • CSOM 2013 set project owner

    Hi.
    I'm writing a script to create projects in a Project Server 2013 Web App.
    But I didn't find how to set the owner of y projects. I would tlike to have a default user. Instead at the creation the owner is always my current account.
    My code :
    /// <summary>
    /// Create a project
    /// </summary>
    private PublishedProject CreateProject(ProjectsLoopEventArgs args)
    // ProjectsLoopEventArgs contain data I need to create my project
    PublishedProject project = null;
    // Define required informations
    ProjectCreationInformation projInfo = new ProjectCreationInformation();
    projInfo.Id = Guid.NewGuid();
    projInfo.Name = args.Title;
    projInfo.Description = args.Description;
    projInfo.Start = args.ProjectStartDate.Date;
    projInfo.EnterpriseProjectTypeId = this.ProjectType;
    // Create the project
    project = this.Context.Projects.Add(projInfo);
    return project;
    /// <summary>
    /// Add a project to the project collection
    /// </summary>
    private void AddProject(ProjectsLoopEventArgs args)
    try
    if (!ExistsProject(args))
    // create project
    PublishedProject project = CreateProject(args);
    // update project owner
    project.Owner = this.DefaultResource.User; //doesnt work
    // update custom fields
    UpdateProjectCustomFields(project, args); //set my custom fields values, it works
    // add it to the project collection
    QueueJob qJob = this.Context.Projects.Update();
    JobState jobState = this.Context.WaitForQueue(qJob, this.Config.Timeout);
    // if job succeed
    if (jobState == JobState.Success)
    // raise event
    OnProjectAddedEvent(new ProjectAddedEventArgs(args));
    else
    // raise event
    OnQueueErrorEvent(new QueueErrorEventArgs(args, jobState, this.Config.Timeout));
    else
    // raise event
    OnProjectExistsEvent(new ProjectExistsEventArgs(args));
    catch (Exception e)
    OnScriptErrorEvent(new ScriptErrorEventArgs(args, e));
    Have I miss something ?

    Hi.
    Anyone can help to update the project owner ?

  • HT5622 how can I set a computer into my apple ID from someone else's Apple ID?

    Hi there,
        My father passed away a few months ago and I have inherited his iMac. How can I set his iMac now to my Apple ID instead of his? I am currently still under his Apple ID yet he no longer has e-mail, etc... and I would like to see my things instead.

    The first thing you should do after acquiring a used computer is to erase the internal drive and install a clean copy of OS X. How you do that depends on the model. Look it up on this page to see what version was originally installed.
    If the machine shipped with OS X 10.4 or 10.5, you need a boxed and shrink-wrapped retail Snow Leopard installation disc, which you can get from the Apple Store or a reputable reseller — not from eBay or anything of the kind.
    If the machine shipped with OS X 10.6, you need the gray installation discs that came with it. If you don't have the discs, order replacements from Apple. A retail disc, or the gray discs from another model, will not work.
    To boot from an optical disc, insert it, then reboot and hold down the C key at the startup chime. Release the key when you see the gray Apple logo on the screen.
    If the machine shipped with OS X 10.7 or later, it should boot into Internet Recovery mode when you hold down the key combination option-command-R at the startup chime. Release the keys when you see a spinning globe.
    Once booted from the disc or in Internet Recovery, launch Disk Utility and select the icon of the internal drive — not any of the volume icons nested beneath it. In the Partition tab, select the default options: a GUID partition table with one data volume in Mac OS Extended (Journaled) format. This operation will permanently remove all existing data on the drive, which is what you should do.
    After partitioning, quit Disk Utility and run the OS X Installer. When the installation is done, the system will automatically reboot into the Setup Assistant, which will prompt you to transfer the data from another Mac, its backups, or from a Windows computer. If you have any data to transfer, this is usually the best time to do it.
    You should then run Software Update and install all available system updates from Apple. If you want to upgrade to a major version of OS X newer than 10.6, buy it from the Mac App Store. Note that you can't keep an upgraded version that was installed by the previous owner. He or she can't legally transfer it to you, and without the Apple ID you won't be able to update it in Software Update or reinstall, if that becomes necessary. The same goes for any App Store products that the previous owner installed — you have to repurchase them.

Maybe you are looking for

  • Activity Monitor won't turn off

    I am running Activity Monitor, and it is saying to "please wait while sample is taken". It has been doing this for hours now, and I cant turn it off. I tried shutting my computer down, but it wont allow me until I quit the Activity Monitor. Any help

  • Product number: C5E40UA#ABA

    Have Windows 8 64 Bi.  CD/DVD door will not open. Control panel for CD/DVD device is working properly regards Capt

  • How to calculate Maximum value in a single row in OBIEE?

    Hi, I have a requirement having 4 measures A,B,C,D ranked by period, P1,P2 for each branch. The measures are ranked for these meaures by each period and now the output is as Branch Name---> A for Period1-----> A for Period2------->Rank(A in Period1)

  • Is it possible to call c# dll using JNI

    Using JNI we can invoke native code written in c or c++. Steps: 1) All we have to do is write a class and have a method of type native. 2) Invoke javah with -jni option to create a .h file. 3) Include this header file and implement the method in c or

  • Oracle 9i won't start

    Hello. A windows 2000 server (SP4) went down after a power-cut. Now none of the oracle services will start (auto or manual). Can't even run sqlplus - get "The application failed to initialize properly (0cx0000006)" error. Seems that things go wrong s