I want to get/set the flex panel components preference in illustrator preference file using ActionScript 3.0.
I tried to achieve this like --
var pref : Prefereneces = new Preferences();
//To set value I used this...
//To get value I used this..
id1.text = pref.getStringPreference("url");
i think there is prb in creating Preference variable but I am unable to resolve.
I am having trouble with setStringPreference. It seems to be setting the value to 0 in the Prefs file. When I first wrote the code, it was working, but something is keeping it from saving the right value now. Did you get yours working? Any ideas?