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

    523

    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

    521

    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

    522

    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

    523

    Likes

    0

    Replies

    0
  • Calls executed in the same "flash frame" (i.e. in the sameexecution path) are guaranteed to be processed in the same order onthe server no matter what channel you are using. RTMP provides anorder guarantee in general since everything gets queued up in theorder in which they are executed and put into...

    Type

    Discussions

    Views

    275

    Likes

    0

    Replies

    0
  • I think that this is a bug... I think that today theresponder's token is receiving the raw array of objects receivedfrom the server. It should be given the same object - i.e. the"myModel" object -- in the result event. I'll make sure a fix getsinto the next release. In the meantime, a workaround wou...

    Type

    Discussions

    Views

    396

    Likes

    0

    Replies

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