埋め込まれた画像に単純なフェード効果が必要ですが、それを理解できないようです。「フェード」と「トゥイーン」はまったく機能しませんでした。animate は最新の Flex SDK で使用するエフェクトのようです。
私が今持っているもの:
[Embed(source="assets/Back.png")]
private static const fullScreen:Class;
private var fullScreenButton:Image;
fullScreenButton = new Image();
fullScreenButton.source = fullScreen;
fullScreenButton.verticalAlign = "top";
fullScreenButton.horizontalAlign = "left";
fullScreenButton.visible = false;
private var animate:Animate
animate = new Animate();
// function is activated when video is loaded.
animate.duration = 2000;
animate.startDelay = 1000;
fullScreenButton.visible = true;
animate.target = fullScreenButton;
animate.play();
このコードでは効果はありません。私は何を間違っていますか?(これは間違った方法である可能性が高いので、具体的に使用したい方法がアニメーションであると想定しないでください)。