Bonjour tout le monde,
Alors voici mon problème :
J'ai créé une petit annim flash avec trois calque + 1 Pour les AS
Celle-ci charge des variables depuis php.
Avec ces variables j'aimerais créer un graphique.
Rien ne marche 
Voici mon code
// Declaration des variable
var valPlot:Array = new Array();
var titrePlot:Array = new Array();
_root.createEmptyMovieClip("PlotViewer", _root.getNextHighestDepth);
PlotViewer._height = 200;
PlotViewer._width = 200;
PlotViewer._x = 35;
PlotViewer._y = 35;
// Objet de reception des variables php --> flash
R_php = new LoadVars();
// Defini l'évenement onLoad comme fonction
R_php.onLoad = function(Psucces) {
// Attribution des variables php
_root.TitreGraph = this.Titre;
valMin = this.valeurMin;
valMax = this.valeurMax;
valCoef = valMax - valMin;
lPlot = (200-(10*this.NbrPlot))/this.NbrPlot;
xPlot = 40;
yPlot = 235;
// Boucle affichant les plots
for (var i = 0; i < this.NbrPlot-1; i++) {
hPlot = yPlot - ((this.PlotVal(i) / valCoef) * 200);
DrawPlot(PlotViewer,(xPlot+(i*(lPlot+10))) ,yPlot,xPlot+lPlot,150,{rgb:0x000099, alpha:75});
}
}
function DrawPlot(_cible:MovieClip, x1:Number, y1:Number, x2:Number, y2:Number, fillcolor:Object) {
_cible.moveTo(x1, y1);
_cible.beginFill(fillcolor.rgb, fillcolor.alpha);
_cible.lineTo(x2, y1);
_cible.lineTo(x2, y2);
_cible.lineTo(x1, y2);
_cible.lineTo(x1, y1);
_cible.endFill();
}
R_php.load("Test.php");
Voila si quelqu'un pouvais m'aider ca serai cooooooooool 
Spider987 on the web