k well i am very new to flash, well not animating, but actionscripting and i’m currently trying to make a “create you’re own guy” type thing, i dont have any clothes right now i just have skin colour and eyes, but it works on frames, like if you have frame 1 of eyes you’ll have asian looking eyes. etc.
my problem is that, it only loads the first variable from my php doccument, ive tested everything, and all, switching up my 2 variables, and when EYES comes first in the doccument only eyes load, and when SKIN comes first in the php doc only skin loads…
but anyways heres my code.
Var = new LoadVars();
Var.load("http://THISISMYSITE.com/site/phptest.php");
eyes.onEnterFrame = function() {
eyes.gotoAndStop(Var.habeyes);
};
iskin.onEnterFrame = function() {
iskin.gotoAndStop(Var.habskin);
};
heres my php file, i haven’t added any mysql coding, but i will eventually.
<?php
$phpeyes = "3" ;
$phpskin = "5" ;
$vars = "" ;
$vars .= "habskin=" . $phpskin . "&" ;
$vars .= "habeyes=" . $phpeyes ;
echo $vars ;
?>
[COLOR=#ff0000]IT WORKED FINE WHEN I WAS USING A TEXT DOCCUMENT WITH:[/COLOR]
habeyes=3&habskin=5