var Ibool = true;
function showsidebaritem(eventobject) {
function SCALE_ACTION____e241c9bdb7514fbea4bcbd4a7b0e59a6_Callback() {}
if(Ibool === true){
kony.application.getCurrentForm().FlxMainMenu.animate(
kony.ui.createAnimation({
"100": {
"stepConfig": {
"timingFunction": kony.anim.EASE
},
"width": "40%",
"height": "100%"
}
}), {
"delay": 0,
"iterationCount": 1,
"fillMode": kony.anim.FILL_MODE_FORWARDS,
"duration": 0.25
}, {
"animationEnd": SCALE_ACTION____e241c9bdb7514fbea4bcbd4a7b0e59a6_Callback
});
Ibool = false;
return false;
}
if(Ibool ===false){
kony.application.getCurrentForm().FlxMainMenu.animate(
kony.ui.createAnimation({
"100": {
"stepConfig": {
"timingFunction": kony.anim.EASE
},
"width": "0%",
"height": "0%"
}
}), {
"delay": 0,
"iterationCount": 1,
"fillMode": kony.anim.FILL_MODE_FORWARDS,
"duration": 0.25
}, {
"animationEnd": SCALE_ACTION____e241c9bdb7514fbea4bcbd4a7b0e59a6_Callback
});
Ibool = true;
return false;
}
}
function showsidebaritem(eventobject) {
function SCALE_ACTION____e241c9bdb7514fbea4bcbd4a7b0e59a6_Callback() {}
if(Ibool === true){
kony.application.getCurrentForm().FlxMainMenu.animate(
kony.ui.createAnimation({
"100": {
"stepConfig": {
"timingFunction": kony.anim.EASE
},
"width": "40%",
"height": "100%"
}
}), {
"delay": 0,
"iterationCount": 1,
"fillMode": kony.anim.FILL_MODE_FORWARDS,
"duration": 0.25
}, {
"animationEnd": SCALE_ACTION____e241c9bdb7514fbea4bcbd4a7b0e59a6_Callback
});
Ibool = false;
return false;
}
if(Ibool ===false){
kony.application.getCurrentForm().FlxMainMenu.animate(
kony.ui.createAnimation({
"100": {
"stepConfig": {
"timingFunction": kony.anim.EASE
},
"width": "0%",
"height": "0%"
}
}), {
"delay": 0,
"iterationCount": 1,
"fillMode": kony.anim.FILL_MODE_FORWARDS,
"duration": 0.25
}, {
"animationEnd": SCALE_ACTION____e241c9bdb7514fbea4bcbd4a7b0e59a6_Callback
});
Ibool = true;
return false;
}
}
0 comments:
Post a Comment