Hiro All American 4673 Posts user info edit post |
.
[Edited on July 29, 2011 at 11:13 PM. Reason : .] 7/29/2011 10:59:25 PM |
qntmfred retired 40810 Posts user info edit post |
you can leave the post up, you know?
other people like to talk about programming stuff 7/29/2011 11:24:25 PM |
evan All American 27701 Posts user info edit post |
awh, I wanted to help. 7/30/2011 8:41:08 AM |
A Tanzarian drip drip boom 10996 Posts user info edit post |
7/30/2011 8:49:14 AM |
spöokyjon ℵ 18617 Posts user info edit post |
printf(" "); 7/30/2011 2:33:58 PM |
Hiro All American 4673 Posts user info edit post |
lol... it was a silly syntax mistake, but was giving me seg. fault errors. I felt like a n00b that I posted it to begin with, so I figured I'd remove it to refrain from ridicule. Granted, TT is the much more mature sub-forum on TWW.
If anyone has questions with C programming, consider this a free thread.
I will likely be revisiting this thread in the future. 7/30/2011 7:35:58 PM |
GenghisJohn bonafide 10252 Posts user info edit post |
I support this thread. Someone, hurry up and need some more quick help! 7/31/2011 12:40:18 AM |
LoneSnark All American 12317 Posts user info edit post |
I'm having difficulty communicating between a C# application and a nested Flash application. Does anyone have any sample programs or reference material? 7/31/2011 8:42:43 AM |
lewisje All American 9196 Posts user info edit post |
int main(){for(int i=0,int *p=&i;p>0;*p=(int)p,p--);return 0;} one program to rule them all7/31/2011 8:47:33 PM |
evan All American 27701 Posts user info edit post |
C# != C, dawg. But I suppose I'll still help.
What are you trying to do with the Flash object? As long as it isn't too crazy, the Flash COM object should be pretty self-explanatory...
I'm assuming you already know about the ExternalInterface class. 8/1/2011 6:02:09 PM |
LoneSnark All American 12317 Posts user info edit post |
The problem I expect to be having is that I myself don't know Flash, but I need to get the communication working before handing the project off to the guy that knows Flash, because he doesn't know any C. 8/1/2011 6:07:38 PM |
evan All American 27701 Posts user info edit post |
You basically use CallFunction in AxShockwaveFlash to call methods from C# you define in AS. It takes an XML string as an argument where you specify the parameters.
For the other way around, create an event handler for the FlashCall event on your SWF object. It'll get an XML string as part of the event params that you have to parse and do whatever it is you want to do.
What's not working about it? 8/1/2011 6:37:42 PM |
lewisje All American 9196 Posts user info edit post |
^^^is it all ActionScript
I mean that's very much like Javascript, because both are dialects of ECMAScript
[Edited on August 1, 2011 at 8:19 PM. Reason : also FTR C# is much more like Java than like C, its distant ancestor 8/1/2011 8:18:42 PM |