Expand my Community achievements bar.

jeffvroom
jeffvroom
Offline
Type
  • All
  • Questions
  • Discussions
  • Ideas
  • Blogs
Filter by user contributions
  • Geez, not my day. Apparently the managed code gen does this: private var _115792uid:String; [Transient] [Bindable(event="propertyChange")] public function get uid():String { if (_115792uid == null) { _115792uid = mx.utils.UIDUtil.createUID(); } return _115792uid; }so it will get set to a UUID as soo...

    Type

    Questions

    Views

    690

    Likes

    0

    Replies

    0
  • Oh, I should have mentioned that method does not work for"newly created" items. You have to have an id assigned to look itup by id. For newly created items, in the debugger if you show allvariables (including those not accessible in the current context)you should see the variabled called "uid" in yo...

    Type

    Questions

    Views

    688

    Likes

    0

    Replies

    0
  • Here's the ASDOC: /** * Looks up the supplied item with the given identity. If theitem is already * managed on this client, the managed instance is returned.If not, null is * returned. Unlike the getItem call, this call does not makea request to the * server and does not add an additional reference ...

    Type

    Questions

    Views

    689

    Likes

    0

    Replies

    0
  • LCDS should only be listening for events for the managedinstances. There are a few ways you can check. there is a"getLocalItem" method which can retrieve the managed instance for aparticular id. Inside of the item itself, there is amx_internal::uid property which gets set for "the" managed object.Th...

    Type

    Questions

    Views

    690

    Likes

    0

    Replies

    0
Top badges earned by jeffvroom
Customize the badges you want to showcase on your profile