mirror of
https://github.com/MapMakersAndProgrammers/alternativa-editor-mod.git
synced 2025-10-27 02:09:06 -07:00
editor seems to almost working
This commit is contained in:
29
src/_spark_skins_spark_PanelSkinWatcherSetupUtil.as
Normal file
29
src/_spark_skins_spark_PanelSkinWatcherSetupUtil.as
Normal file
@@ -0,0 +1,29 @@
|
||||
package
|
||||
{
|
||||
import mx.binding.IWatcherSetupUtil2;
|
||||
import mx.binding.PropertyWatcher;
|
||||
import mx.core.IFlexModuleFactory;
|
||||
import spark.skins.spark.PanelSkin;
|
||||
|
||||
public class _spark_skins_spark_PanelSkinWatcherSetupUtil implements IWatcherSetupUtil2
|
||||
{
|
||||
public function _spark_skins_spark_PanelSkinWatcherSetupUtil()
|
||||
{
|
||||
super();
|
||||
}
|
||||
|
||||
public static function init(param1:IFlexModuleFactory) : void
|
||||
{
|
||||
PanelSkin.watcherSetupUtil = new _spark_skins_spark_PanelSkinWatcherSetupUtil();
|
||||
}
|
||||
|
||||
public function setup(param1:Object, param2:Function, param3:Function, param4:Array, param5:Array) : void
|
||||
{
|
||||
param5[0] = new PropertyWatcher("topGroupMask",{"propertyChange":true},[param4[0]],param2);
|
||||
param5[1] = new PropertyWatcher("bottomGroupMask",{"propertyChange":true},[param4[1]],param2);
|
||||
param5[0].updateParent(param1);
|
||||
param5[1].updateParent(param1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user