i couldn't find answers in forum thought ask.
i'm trying defaultpushtransition change in crossfadetransition (for whole project), won't work. code i've put in starting view:
<fx:declarations>
<s:crossfadeviewtransition duration="300"/>
</fx:declarations>
<fx:script>
import mx.events.flexevent;
protected function view_creationcompletehandler(event:flexevent):void
{
// todo auto-generated method stub
navigator.defaultpoptransition = new crossfadeviewtransition();
navigator.defaultpushtransition = new crossfadeviewtransition();
}
</fx:script>
i'm getting no red signs, , application works fine, transitions still slide.
any apreciated.
More discussions in Flex (Read Only)
adobe
Comments
Post a Comment