Open GoogleCodeExporter opened 8 years ago
I'm not sure what slide means in your code.
but I could add canvases to the viewstack through actionscript
just set the styles for hideEffect and showEffect to the animation type that
you want. I used the scroll class for
this example.
CustomCanvas is just how it sounds, it's basically just a custom canvas that
has some visual elements in it.
Also make sure in your custom component that you want to add to make sure all
the components inside are
wrapped in a canvas tag
var scrollEffect:Scroll = new Scroll();
var canvas:CustomCanvas = new CustomCanvas();
canvas.setStyle("hideEffect",scrollEffect);
canvas.setStyle("showEffect",scrollEffect);
mainStack.addChild(canvas);
Hope this helps
Original comment by adammile...@gmail.com
on 9 Mar 2009 at 9:14
Original issue reported on code.google.com by
smlomba...@gmail.com
on 5 Mar 2009 at 5:59