How to share remoteclass with netGroup?

Hi!
I try to share instance of a class between two applications but the message receive is just an object and not the instance of the class and when I try to convert it into a class, I get a "null" value.
Here some infos about what I done:
a exemple class:
[Bindable]
[RemoteClass(alias="com.brand.Message")]
public class Message
     // Some properties
I send it with netGroup:
_netGroup.sendToNearest(message, neighbor.address);
So on the other application I receive the Message instance as an Object so I try to convert it to Message:
var message:Message = event.info.message as Message;
But message is "null" when it's done...
So, is it possible to receive automaticly the good object type (here "Message") and, if not, how to convert it?
Thx!!

Ok, I found the solution, it's really simple in fact.
I just need to register my class with registerClassAlias()...
So now the type of my "event.info.message" is "Message". \o/

Similar Messages

  • How to share things with aplication express?

    The most important thing for using a database is sharing things, but why I grant even all of one of my table to one user, but she even cannot use it, just say: error; userxxx don't have the right to access the content?
    Very strange, and the Synonm is also no good, I create one for another user's table, like create synonm XXX for username.tablename.
    but when I want to : Select x,x.x, from xxx, it doesn't work!!!
    how to share things with Database?

    Better to give you some photos that can let you see
    the problem , but that can not happen here.Actually, you can use pictures. Do a screen capture where you're having the problem, upload it to http://tinypic.com and then put the link to the picture here in your posting.
    Please be noticed all , me and the users don't know
    much about SQL, I know some. So everything has to be
    done in the GUI interface.Well, the GUI isn't always enough. If you want to do grants you really need to use the SQL command window - and learn the proper syntax for the grant operation.
    I(A) grant select , update, insert on A.xx to user
    B,
    but they see onthing in ther Application Express, how
    can they do insert and all works just like I do ? What is the parsing schema for your application? Is it set to the schema where your data lives?
    Earl

  • How to share Pages with other user accounts

    How to share "Pages"with other user accounts

    When you install it, do it for "Everyone" or in the Admin account.
    Peter

  • How to share files with windows xp

    how to share files with windows xp

    stephenfromdagenaham wrote:
    how to share files with windows xp
    If you mean just moving files between a Mac and a PC with XP on it, get a USB flash drive, format it FAT32 (they usually come that way) and copy the files to that drive.

  • HT202213 How to share iTunes with my iphone

    How to share iTunes with my iphone

    iTunes: Syncing media content to iOS devices and iPod - http://support.apple.com/kb/HT1351 - detailed example: https://discussions.apple.com/message/18860187
    iOS: Syncing with iTunes - http://support.apple.com/kb/ht1386 -  You can sync everything or selected playlists.  "WIth iTunes 10, when automatically syncing, you can also manually drag items to the iDevice. These will show up in Manually Added Songs at the bottom of the Music tab after Playlists, Artists Genre, Albums." - https://discussions.apple.com/message/18919754

  • How to share files with sony smart tv

    How do I share files on mac with my sont smart tv?

    stephenfromdagenaham wrote:
    how to share files with windows xp
    If you mean just moving files between a Mac and a PC with XP on it, get a USB flash drive, format it FAT32 (they usually come that way) and copy the files to that drive.

  • How to share account with multiple devices?

    3 kids with 3 devices - an iPod Touch and two iPads Mini - family shares one account with Apple/iTunes and one library on our family PC.  They use FACETIME and MESSAGES with their friends, and they all see each others messages and conversations.  How do I fix this?  Is there a setting or a way to create sub-accounts off the family account so they can still share the main library for music and video OR do I have to create separate Apple/iTunes accounts for each kid?  Is there a setting on their devices that can help?  Any help is greatly appreciated.  I'm not even sure the right question to ask...

    How to use multiple iPods, iPads, or iPhones with one computer
    http://support.apple.com/kb/HT1495
    How to Share a Family iPad
    http://www.macworld.com/article/1163347/how_to_share_a_family_ipad.html
    Using iPhone, iPad, or iPod with multiple computers
    http://support.apple.com/kb/ht1202
    iOS & iCloud Tips: Sharing an Apple ID With Your Family
    http://www.macstories.net/stories/ios-5-icloud-tips-sharing-an-apple-id-with-you r-family/
    How To Best Use and Share Apple IDs across iPhones, iPads and iPods
    http://www.nerdsonsite.com/blog/2012/06/07/help-im-appleid-confused/
     Cheers, Tom

  • Adobe Creative Cloud - How To Share Files With Clients and Colleagues | Creative Suite Podcast: Designers | Adobe TV

    In this episode of the Adobe Creative Suite Podcast, Terry White shows how to share Photoshop, Illustrator and InDesign Files with clients and colleagues and all they'll need is a browser to comment and see your Photoshop Layers.
    http://adobe.ly/10ZjpE4

    Terry,
    I guess I miss something. How can I share a folder of photos? When I return from a shoot, I select 20 of the pictures and need to share them with my client to pick up the favorites. Am I supposed to copy and past an URL for each image separately?
    Sometimes I also work with a colleague, I need to share my favorites with him. Same issue.
    We have tried Adobe Cloud, and then went for Dropbox. There we can share a folder and he can put even his pictures in it as well. That's what I call collaboration. And it is free (unlike Adobe Cloud). If you have some word in Adobe, please tell them to either drop it and make a deal with services like Dropbox, or make it properly.
    Thanks.
    Vaclav

  • How to share folder with only one person one same Mac

    Could someone please remind me how I share a folder with one person I share my Mac with but not the others (we all have different profiles on the same machine...)
    Thanks,
    Michael

    EddyS45 wrote:
    My wife & I use the same iMac with different user accounts.  How do we share one iTunes account on that computer.  I tried moving the iTunes folder in music on my user account to shared user
    Then hold Option and launch iTunes.
    Select Choose library... and select the iTunes folder in /Users/Shared/ folder.

  • How to share documents with iCloud and Pages?

    I keep getting reminded to remove everything from iWork, but I don't really understand how to share anything (documents) on iCloud. Am I missing something? (Well, I know I am, but it isn't exactly straightforward to me.)
    Could someone point me to some information about that?
    Thanks.

    You can store iWorks docs on iCloud, but you cannot share them with others.  The old iWorks beta web site let you host files for other remote users to have access to them, and iCloud (at least not now) does not allow that.

  • How to share Music with PC machine

    Hi all,
    I have got a PC at work that ran iTunes and played songs that were shared on my old PC Laptop. I would like to do the same thing with my MBP but I haven't got a clue how to share folders or how to view shared mac folders on an XP machine. Can someone please advise?
    Many Thanks!

    It is not possible.. the TC is not a media player.
    You must have a computer acting as itunes server.. although there is no such thing. Apple call it home share.
    http://support.apple.com/kb/HT3819
    It is possible to store the itunes library on the TC but that makes no difference .. you still need a computer of some sort turned on to play it.

  • How to share 3G with other Apple devices

    Hi, I just updated my iPad to iOS 4.3 and I can't find how to share my Internet connection with other devices.
    Could you help me?
    Thanks,

    You can't with the iPad, you need an iPhone 4 to use the HotSpot feature.

  • Still not sure how to share files with my friend's Windows PC?

    I went through all the help pages concerning this, but it doesn't seem to help any. On our house internet connection, both our computers use the same IP address. I tried connecting directly to his computer using ethernet cable, but his computer never showed up. Our workgroup name should be the same, his is WORKGROUP but I'm not sure how to officially make mine that. I went to Network in System Preferences and clicked on Advanced... then went to the WINS tab and it has workgroup in the workgroup box, does this mean my computer is using that workgroup name? I'm at a loss and would like to share files with my friend's computer.

    Desidarius wrote:
    I went through all the help pages concerning this, but it doesn't seem to help any. On our house internet connection, both our computers use the same IP address.
    Do you have a router?
    If not then sharing files will not be easy.
    I tried connecting directly to his computer using ethernet cable, but his computer never showed up. Our workgroup name should be the same, his is WORKGROUP but I'm not sure how to officially make mine that. I went to Network in System Preferences and clicked on Advanced... then went to the WINS tab and it has workgroup in the workgroup box, does this mean my computer is using that workgroup name? I'm at a loss and would like to share files with my friend's computer.
    The add the Mac to the WORKGROUP
    Applications > Utilities > Directory Access
    Select SMB/CIFS
    Click Configure
    Change Workgroup to match the Windows Workgroup.

  • I made a slide show for friend of our photos with music and saved it to iTunes - how to share it with her?

    Made a slide show on macbook pro of the two of us, saved it, then exported it to my iTunes. So how do I now share this with her. None of this stuff is purchased, just photos I have taken over thirty years....????Any ideas, greatly appreciated.
    thanks,
    Belinda
    Message was edited by: belindafromsaint helena

    All the music plays. Literally took it off of my old hard drive I used to sync from and put it on my new computer. It all works. I don't know why it wouldn't work or why it would sync all f'ed up.

  • How to share icloud with family without sharing apple id

    I want to share iCloud with my family so that we can share music but I don't want them to also be able to download my emails etc.  What can I do?

    Your iTunes login doesn't have to be the same as your iCloud login. Use one Apple ID for iTunes and share it with your family, and create another for iCloud and keep it to yourself.

Maybe you are looking for

  • HT1338 HDMI to tv

    I want to stream home videos and photos from my macbook to my tv. Nothing shows up just the Apple default screen from when I first purchased my computer

  • GRR error

    Hi Friends, Need your help. While creating GRR(MIGO),the user is getting error "G/L Account requires an assignment to a CO. object ". How to solve this? Thanks n regards.

  • How to restore an Air?

    The hard drive in our MacBook Air has died.   I intend to buy a new hard drive.  Right now I am looking at the stock at iFixit.  I anticipate that the new SSD will be blank.  It will not have an OS on it.   I have the old hard drive backed up to an e

  • Time duration of events

    Hello, I am accessing an Oracle 10.2.0.1.0 Database I have the following tables CREATE TABLE BT_MAPPING ( "TAG_ID" NUMBER(6,0) NOT NULL ENABLE, "TAG_NAME" VARCHAR2(30 BYTE) NOT NULL ENABLE, "TAG_DESCRIP" VARCHAR2(100 BYTE), "TAG_SRC1" VARCHAR2(30 BYT

  • HP C5580 printer

    Cannot get to print from Quicken program in Windows XP -it used to?