Dynasoft, your solution works, but only if the string is the only thing I send in the stack. I need to send it along with some char and short values.
EDIT:
Nvm, I've already figured it out! Thanks!![]()
Dynasoft, your solution works, but only if the string is the only thing I send in the stack. I need to send it along with some char and short values.
EDIT:
Nvm, I've already figured it out! Thanks!![]()
Jamie,
Could you post an example of how to send a file using lacewing. I tried doing it, and I get the file, but the file that is sent returns 0 kb with no data.
I am confused about position and size.
Position is the position in the stack, which normally is 0 if you are only sending file data, and the size you can get via an expression to get the size of the stack. The easiest thing to do is to create the file with the File Object, then use Lacewing's Append Stack to File action. You can send large files in small chunks, too, which should be some simple math![]()
Working as fast as I can on Fusion 3
LB, thanks man.
I will try it out and see if it works. But now it makes sense to me.
-Mike
Hello,
I have a very strange bug.
I try to send (X,Y) to the channel via Stacks, but when the other client received the stack, X is set correctly but Y takes a strange value.
![]()
You are reading the short from 1, when really it is at 2. A short has two bytes worth of data. Just change the second parameter to two, where you are changing the Y position, and it should work fine.
Thank you it works fine.
Can you explain me why "A short has two bytes worth of data" ?
Edit : I understoodThanks !!!
Jamie, thanks for this! Since Flash isn't capable of UDP, stacks will help quite a bit (I hope!).
That really helped.
It would be nice if the tutorial could be updated. The whole "push" thing confused mein the start.