Click to See Complete Forum and Search --> : [FP9] fscommand/send_var not working with version 9?
mingojr
08-11-2006, 11:44 AM
This code below stopped working for me when Flash Player got updated to version 9.
fscommand ("send_var", "1")
If I uninstall version 9 and reinstall version 8 it starts working automatically.
Any ideas or code alternatives?
Thanks
joa__
08-11-2006, 05:20 PM
As you can read on the Docs (http://livedocs.macromedia.com/flex/2/langref/flash/system/package.html) there is no send_var command featured in fscommand(). But maybe the ExternalInterface (http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/js/html/wwhelp.htm?href=00001973.html) is interesting for you. Maybe you tell us what you are trying to do. This would make helping easier.
mingojr
08-11-2006, 06:26 PM
As you can read on the Docs (http://livedocs.macromedia.com/flex/2/langref/flash/system/package.html) there is no send_var command featured in fscommand(). But maybe the ExternalInterface (http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/js/html/wwhelp.htm?href=00001973.html) is interesting for you. Maybe you tell us what you are trying to do. This would make helping easier.
thanks for the help. its being used to interact with a vb activex control. so "send_var" was in all the versions up version 9?
any other ideas?
i'll check out ExternalInterface. this is new to flash 9 right?? we don't even compile to flash 9 (have the newest version of flash). i need something that would work on all versions (7,8,9, etc).
donaldparkerii
08-11-2006, 08:29 PM
externalInterface came out in 8
joa__
08-12-2006, 08:28 AM
At least this is a strange problem to me. And the reason is: You compiled it as Flash8 and therefore the old AVM should execute your code (not the new AVM2 for AS3). So nothing should change.
mingojr
08-14-2006, 10:26 AM
At least this is a strange problem to me. And the reason is: You compiled it as Flash8 and therefore the old AVM should execute your code (not the new AVM2 for AS3). So nothing should change.
that's what i think would be the case. i can't figure out why it wouldn't work now. all that its doing is flash is sending a number when the user presses a button, and the VB app is taking the number and deciding what to do based on the number. this has always worked in every other version of the flash activex control until version 9.
anybody else have any ideas??
Do you think there is some Global Security setting?? Or something that would make this work?? Nothing else really makes sense.
mingojr
08-14-2006, 11:25 AM
if i put the flash file into a VB exe on a form it seems to work, but not in other applications, like Microsoft Office (which it always has before).
mingojr
08-14-2006, 12:49 PM
ok here was the solution i found. I put the directory into Flash 9 Players Global Security settings and it worked.
Is there a registry setting for that or anything that i could change on other peoples computers?? Or is the only way to physcially go to the global center and change it? Where is that information stored?
thanks
cancerinform
08-14-2006, 02:45 PM
Check the new PDF. It contains new security issues.
http://www.adobe.com/devnet/flashplayer/
mingojr
08-15-2006, 10:31 AM
C:\Documents and Settings\USER\Application Data\Macromedia\Flash Player\macromedia.com\support\flashplayer\sys
here is where i think the trusted locations are stored.
flashkit.com
Copyright WebMediaBrands Inc., All Rights Reserved.