Can we use sendObject() to send a clip ? (the instance of the clip to send is on the root; the clip could be for exemple a square, a cercle, a line...).
How can we do exactly ? Have you an exemple somewhere ?
I'd try different methods without sucess. (creating empty clip on the receiver and attach it with de clip received...)
Michel
sending movieclip
It would be great... but actually it is impossible!
There is no way to send movieclips, not with our technlogy nor with any others available. Vector data contained in a movieclip is not accessible from the Actionscript API... that's why you can't transmit a clip.
On the other hand you can send the size, position, rotation etc... to other clients and they will update their view accordinlgy.
For example in the avatar chat we don't send the actual movie clip to all clients, we just send the "type" of clip and the position. Those who will receive this data will show on screen the same type of clip in the same position... that's the trick!
hope it helps
There is no way to send movieclips, not with our technlogy nor with any others available. Vector data contained in a movieclip is not accessible from the Actionscript API... that's why you can't transmit a clip.
On the other hand you can send the size, position, rotation etc... to other clients and they will update their view accordinlgy.
For example in the avatar chat we don't send the actual movie clip to all clients, we just send the "type" of clip and the position. Those who will receive this data will show on screen the same type of clip in the same position... that's the trick!
hope it helps
Return to “SmartFoxServer 1.x Discussions and Help”
Who is online
Users browsing this forum: No registered users and 61 guests