I 've wasted one day time on why we shoshould manage the Flash Player settings online, the fucking advanced seetings on Adobe website, and how to set it offline.
For the first question, I don't quite clear, as the security for that way is useless for hackers. But I got two ways to implement the second thought.
Before I put the ways out, You shoshould know where the Flash Player's global settings store. As a result of detecting, I found it placed in
% USERPROFILE % \ Application Data \ Macromedia \ Flash Player \ macromedia.com \ support \ flashplayer \ sys \ Settings. Sol
Now, one solution can be easily got...
1. Right, directly edit the file settings. Sol using a sol editor and there it is
Http://files.cnblogs.com/bluekylin/SolEdit.zip
(Recommended)
The content of seetings. SOL:
For example:
I want to use my HTML-based FLV player on local and I shocould Add a trusted paths for that guy. just right click the trustedpaths, add a Boolean item, edit the new item's name with path on the right corner, and select the value as true (not necessary ). don't forget to save the modified file to take effect.
2. If you're familiar with ActionScript, you can manage the settings in Macromedia Flash 8. (complex, not recommended)
Copy the settings. Sol referred above
% USERPROFILE % \ Application Data \ Macromedia \ Flash Player \ # export dobjects \ XXXXXXXX \ localhost \
(The XXXXXXXX of mine is 9axg2k32. It must be different from yours .)
The root of the specified object while debugging on local.
Now, create a new flash document, and open the actions Panel (F9). I'll show you the steps to edit the settings. Sol file with the follow example: VaR My_so = Export dobject. getlocal ( " Settings " , " / " );
// "Settings" is the file name
VaR I = 0 ;
List_prop (my_so.data );
Function List_prop (Object: Object ){
For ( VaR Prop In Object ){
If ( Typeof (Object [prop]) = " Object " ){
Trace (mark_level (I) + Prop );
I = I + 1 ;
List_prop (object [prop]);
I = I - 1 ;
} Else {
Trace (mark_level (I) + Prop + " : " + Object [prop]);
}
}
Function Mark_level (I ){
For (J = " _ " , K = 0 ; K < I; k ++ ){
J = J + J;
}
Return J;
}
}
// A function I created to list the properties of an object
/* You will get the follow Info at output window after Ctrl + enter
_ Domains
_ Trustedpaths
_ F: \: True
_ E: \: True
_ Allowthirdpartylsoaccess: True
_ Crossdomainalways: True
_ Crossdomainallow: false
_ Autoupdatelastcheck: 1177681914609
_ Autoupdateinterval: 30
_ Autoupdatedisabled: false
_ Windowlessdisable: false
_ Defaultalways: false
_ Defaultklimit: 100
_ Defacamcamera: 3l Pc camera
_ Defamicromicrophone:
_ Echosuppression: True
_ Gain: 100
It is similar to the sol editor listed above
*/
My_so.data.trustedpaths [ " D :\\ " ] = True ;
// Example to add trustedpath
Delete My_so.data.trustedpaths [ " F :\\ " ];
// Example to delete trustedpath
My_so.flush ()
// Immediately write my_so to the settings. Sol.
// Not necessary, the change will be automatically saved after the debugging session over.
Copy the settings. Sol in
% USERPROFILE % \ Application Data \ Macromedia \ Flash Player \ # export dobjects \ XXXXXXXX \ localhost \
Back
% USERPROFILE % \ Application Data \ Macromedia \ Flash Player \ macromedia.com \ support \ flashplayer \ sys \ Settings. Sol
After all of the jobs done!