Hi;
I have a component I need to perform the folloing on:
1. fade (animation)
2. show (no animation)
3. fade again (animation)
4. show again (no animation)
looking at the sencha source code it seemed like opacity is the style I should change for the 'no animation' part so I did the following:
Code:
Ext.Anim.run(Ext.getCmp('id').element, 'fade', {
        out: true,
        autoClear: false
});
Ext.getCmp('id').setStyle('opacity:1;');
Ext.Anim.run(Ext.getCmp('id').element, 'fade', {
        out: true,
        autoClear: false
});
Ext.getCmp('id').setStyle('opacity:1;');
I executed all 4 changes were done with 2 secs between them...
the first setStyle('opacity:1;'); worked like a charm but the last one simply does not work and the element stays with opacity 0...
am I doing something wrong here? I have tried multiple ways of achieving what I described but could not do it.
your help is appreciated
thanks.