Hi…
I want to change the transition type and easing dynamically…
I’m trying this:
[COLOR=Blue]_root[/COLOR].fvType = [COLOR=SeaGreen]“Wipe”[/COLOR];
and then:
“…TransitionManager.[COLOR=Blue]start[/COLOR]([COLOR=Blue]_root[/COLOR].mcImage, {type: [COLOR=Blue]mx[/COLOR].transitions[[COLOR=Blue]_root[/COLOR].fvType], [COLOR=Blue]direction[/COLOR]:[COLOR=Blue]mx[/COLOR].transitions.Tran…”
it’s not working…
but this works:
“…TransitionManager.[COLOR=Blue]start[/COLOR]([COLOR=Blue]_root[/COLOR].mcImage, {type: [COLOR=Blue]mx[/COLOR].transitions[[COLOR=SeaGreen]“Wipe”[/COLOR]], [COLOR=Blue]direction[/COLOR]:[COLOR=Blue]mx[/COLOR].transitions.Tran…”
on the “direction” param, it works:
[COLOR=Blue]_root[/COLOR].fvInOut = [COLOR=SeaGreen]“OUT”[/COLOR];
“… [COLOR=Blue]direction[/COLOR]:[COLOR=Blue]mx[/COLOR].transitions.Transition[[COLOR=Blue]_root[/COLOR].fvInOut], duration:1, …”
I hope it’s possible to do… and I hope you can help me…
tks!