Bonjour ,
J'ai un gros problème , surement un petit pour vous mais bon...
Mon problème est que je n'arrive pas à faire un lien dans mon fichier xml , utiliser par un .swf , j'ai essaye plein de choses mais rien ne fonctionne , pourriez vous m'aider car je suis coincé.
il y'a deux fichier de config , un .as et un XML , quelqu'un pourrait m'aider svvvvppppp je vous copies en dessous les deux fichier de config...
fixhier xml :
<?xml version='1.0' encoding='UTF-8' ?>
<smileys>
<picture url='http://trucbidule.com' tx='item 1' smiley='pic0.swf' w='25' h='25'/>
<picture url='ce que tu veux' tx='item 2' smiley='pic0.swf' w='25' h='25'/>
<picture url='liste 3' tx='item 3' smiley='pic0.swf' w='25' h='25'/>
<picture url='liste 4' tx='item 4' smiley='pic0.swf' w='25' h='25'/>
<picture url='liste 5' tx='item 5' smiley='pic0.swf' w='25' h='25'/>
<picture url='liste 6' tx='item 6' smiley='pic0.swf' w='25' h='25'/>
<picture url='liste 7' tx='item 7' smiley='pic0.swf' w='25' h='25'/>
<picture url='liste 8' tx='item 8' smiley='pic0.swf' w='25' h='25'/>
<picture url='liste 9' tx='item 9' smiley='pic0.swf' w='25' h='25'/>
<picture url='liste 10' tx='item 10' smiley='pic0.swf' w='25' h='25'/>
<picture url='liste infinie' tx='ect...' smiley='pic0.swf' w='25' h='25'/>
</smileys>
fichier .as :
Color.prototype.c1 = function() {
var trans = new Object();
trans.ra = trans.ga=trans.ba=-100;
trans.rb = trans.gb=trans.bb=255;
this.setTransform(trans);};
//Couleur 2
Color.prototype.c2 = function() {
var trans = new Object();
trans.ra = trans.ga=trans.ba=100;
trans.rb = trans.gb=trans.bb=0;
this.setTransform(trans);};
//Couleur 3
Color.prototype.c3 = function() {
var trans = new Object();
trans.ra =trans.ga=trans.ba=0;
trans.rb =242; trans.gb=123;trans.bb=8;
this.setTransform(trans);};
//Couleur 4
Color.prototype.c4 = function() {
var trans = new Object();
trans.ra =trans.ga=trans.ba=0;
trans.rb =13; trans.gb=132;trans.bb=247;
this.setTransform(trans);};
function invert(object) {
myColor = new Color(object);
orig = myColor.getTransform();
myColor.c1();}
function invert2(object) {
myColor = new Color(object);
orig = myColor.getTransform();
myColor.c2();}
function invert3(object) {
myColor = new Color(object);
orig = myColor.getTransform();
myColor.c3();}
function invert4(object) {
myColor = new Color(object);
orig = myColor.getTransform();
myColor.c4();}
Merci de votre aide!!!!!!!!!!! je suis vraiment bloquer...