JesterXL,您好!
That seems to be what i really want! thanks very much.
======= 2005-07-03 22:55:18 您在来信中写道:=======
>These might help; they are specific to the ActiveX but I bet they are about
>the same:
>
>http://www.macromedia.com/support/flash/publishexport/scriptingwithflash/scriptingwithflash_03.html
>
>
>----- Original Message -----
>From: "awflasher.com" <[EMAIL PROTECTED]>
>To: "Open Source Flash Mailing List" <[email protected]>
>Sent: Saturday, July 02, 2005 8:25 PM
>Subject: Re: Re: [osflash] Hi all ,a question about Flash <-communication->
>VC++
>
>
>JesterXL,您好!
>
>Hi , thx for your explanation
>
>
> However, I found a good stuff - "CShockwaveFlash" Class in VC++ , and
>this class can be used to communication between Flash and VC++ . But I just
>don't know how to find the API-reference for it ... that is to say , i just
>see the function names , but i don't know how to use 'em .....
>
> Any one knows how to find such references .... thanks a lot :)
>
>======= 2005-07-01 10:38:42 您在来信中写道:=======
>
>>Currently, the only way to talk out of Flash is fscommand & getURL.
>>
>>var a:Array = ["one", "two", "three"];
>>var str:String = a.join(",");
>>trace(a); // one,two,three
>>fscommand("sendarray", str);
>>
>>Going to Flash if your not using JavaScript, one 2 ways:
>>- LoadVars
>>- watchers
>>
>>
>>VC++
>>-----
>>s = "foo=bar&a=1,2,3&maybe=34.999";
>>flashobject.setVariable("cmd", s);
>>
>>Flash
>>------
>>function init()
>>{
>> this.watch("cmd", onCMDChange);
>> lv = new LoadVars();
>>}
>>
>>function onCMDChange(prop, oldVal, newVal)
>>{
>> prop = newVal;
>> lv.decode(newVal);
>> showProps();
>> return prop;
>>}
>>
>>function showProps()
>>{
>> for(var p in lv)
>> {
>> trace(p + ": " + lv[p]);
>> }
>>}
>>
>>above will show:
>>
>>foo: bar
>>a: 1,2,3
>>maybe: 34.999
>>
>>If you don't want to use the LoadVars, you can just set a bunch of
>>variables
>>(that will be on _root's scope) that don't have watchers on them, and then
>>the last call in VC++ calls like "cmd", "done" which will trigger your
>>watcher to parse the other variables; whatever you feel comfortable with.
>>
>>Hopefully in the future, it'll be easier to talk to and from Flash.
>>
>>
>>----- Original Message -----
>>From: "awflasher.com" <[EMAIL PROTECTED]>
>>To: "Open Source Flash Mailing List" <[email protected]>
>>Sent: Thursday, June 30, 2005 9:34 PM
>>Subject: [osflash] Hi all , a question about Flash <-communication-> VC++
>>
>>
>>Any body know how to send data to VC++ or receive VC++ data?
>>
>>I found a class "CShockwaveFlash" , but it can only realize some easy
>>commuications with fscommand .This time I wanna send some data(an array of
>>numbers) to vc, then vc send this data to HARDWARE with _asm functions
>>.....
>>vc2hardware is done , but i don't know how to send the array of data to vc
>>... and how to receive data from vc.... i have no ideas
>>
>>i guest there SHOULD be some methods that can let the variables(at least
>>the
>>variables of _root) communication from the two stuff. but i don't know
>>exactly how....
>>
>>I am from China , sorry for my poo English, thanks!
>>
>>
>>
>>_______________________________________________
>>osflash mailing list
>>[email protected]
>>http://osflash.org/mailman/listinfo/osflash_osflash.org
>>
>>
>>
>>_______________________________________________
>>osflash mailing list
>>[email protected]
>>http://osflash.org/mailman/listinfo/osflash_osflash.org
>>
>
>= = = = = = = = = = = = = = = = = = = =
>
>
> 致
>礼!
>
>
> awflasher.com
>[EMAIL PROTECTED]
> 2005-07-03
>
>
>
>
>--------------------------------------------------------------------------------
>
>
>_______________________________________________
>osflash mailing list
>[email protected]
>http://osflash.org/mailman/listinfo/osflash_osflash.org
>
>
>
>_______________________________________________
>osflash mailing list
>[email protected]
>http://osflash.org/mailman/listinfo/osflash_osflash.org
= = = = = = = = = = = = = = = = = = = =
致
礼!
awflasher.com
[EMAIL PROTECTED]
2005-07-04
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org