PDA

View Full Version : changing movie clip color..why doesnt this code work????


allinone
01-27-2003, 05:35 AM
Hi
I'm getting the movie clip name from access database through ASP which is a string. I have one frame in

my movie. The command txtTest.text= this.path is dispalying the retriebed value from teh database. So

data coming into the flash movie is not a prolem. So why is the movie clip color not changing?
Can anyone help me regarding this?
Thanks in advance.

------------------
Action Script
-----------------
stop();
this.onEnterFrame=function() {
sendDir=new LoadVars();
getDir=new LoadVars();

getDir.onLoad=function(){
myColor = new Color(this.path);
myColor.setRGB(0x006666);
txtTest.text= this.path;
};

sendDir.sendAndLoad("http://test/testNew.asp",getDir);

}

jimburton
01-27-2003, 08:28 AM
don't x-post allinone, people will get fed up of you:(