Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/xml/15.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
as3中运动xml上的tintColor不起作用_Xml_Actionscript 3_Flash - Fatal编程技术网

as3中运动xml上的tintColor不起作用

as3中运动xml上的tintColor不起作用,xml,actionscript-3,flash,Xml,Actionscript 3,Flash,我在as3代码中编写了这个运动xml: public function moveMe(e:Event) { var myXml = <Motion duration="10"> <source> <Source> </Source> <

我在as3代码中编写了这个运动xml:

public function moveMe(e:Event)
        {
            var myXml = 
            <Motion duration="10">
                <source>
                    <Source>
                    </Source>
                </source>
                <Keyframe index="0">
                    <tweens>
                        <SimpleEase />
                    </tweens>
                </Keyframe>
                    <color>
                        <Color tintColor="0x950F1B" tintMultiplier="1"/>
                    </color>
                <Keyframe index="30" x="50" y="30" scaleX="1.1" scaleY="0.9" rotatin="21"/>
            </Motion>;

            myAnimator = new Animator(myXml, mySubject);
            myAnimator.play();
        }
运动和比例的变化效果很好,但是颜色没有变化,我不知道为什么。
谢谢

可能是tr以这种格式传递:950F1BHi Cherniv,tnx用于编辑和答案。不幸的是,它仍然不起作用。不客气!现在可以用了吗?不,我不明白为什么。。。