Problème menu flash-xml [Résolu]

Messages postés
4
Date d'inscription
mercredi 28 janvier 2009
Statut
Membre
Dernière intervention
28 janvier 2009
- - Dernière réponse : alexdred
Messages postés
4
Date d'inscription
mercredi 28 janvier 2009
Statut
Membre
Dernière intervention
28 janvier 2009
- 28 janv. 2009 à 13:39
Bonjour,

je ne sui pas dev et je n'en ai pas à disposition.... Mon boss me demande de lui réparer le menu flash-xml de son site caritatif
http://www.greffedevie.fr

Les liens sont inactifs (selon s.e et navigateur)

Si quelqu'un a une idée je suis preneur... car je connais rien au flash

Merci d'avance

Alex
Afficher la suite 

4 réponses

Meilleure réponse
Messages postés
1131
Date d'inscription
mercredi 28 août 2002
Statut
Membre
Dernière intervention
23 avril 2019
1
3
Merci
Slt,

Pourque l'on puisse t'aider... on aurait besoin du code et du xml afin de voir où se situe le problème.

Bàt,
Burnside.

..:: Enjoy living in hell ::..
http://www.art-line.be

Dire « Merci » 3

Quelques mots de remerciements seront grandement appréciés. Ajouter un commentaire

Codes Sources 191 internautes nous ont dit merci ce mois-ci

Commenter la réponse de cs_Burnside
Messages postés
4
Date d'inscription
mercredi 28 janvier 2009
Statut
Membre
Dernière intervention
28 janvier 2009
0
Merci
<style><![CDATA[ODY{font:x-small 'Verdana';margin-right:1.5em}
.c{cursor:hand}
.b{color:red;font-family:'Courier New';font-weight:bold;text-decoration:none}
.e{margin-left:1em;text-indent:-1em;margin-right:1em}
.k{margin-left:1em;text-indent:-1em;margin-right:1em}
.t{color:#990000}
.xt{color:#990099}
.ns{color:red}
.dt{color:green}
.m{color:blue}
.tx{font-weight:bold}
.db{text-indent:0px;margin-left:1em;margin-top:0px;margin-bottom:0px;padding-left:.3em;border-left:1px solid #CCCCCC;font:small Courier}
.di{font:small Courier}
.d{color:blue}
.pi{color:blue}
.cb{text-indent:0px;margin-left:1em;margin-top:0px;margin-bottom:0px;padding-left:.3em;font:small Courier;color:#888888}
.ci{font:small Courier;color:#888888}
PRE{margin:0px;display:inline}]]></style>


 
</
menu
>




 
</
menus
>







Merci

Alex
Commenter la réponse de alexdred
Messages postés
4
Date d'inscription
mercredi 28 janvier 2009
Statut
Membre
Dernière intervention
28 janvier 2009
0
Merci
Code du Fla



import mx.xpath.XPathAPI;
if(xmlPath undefined)xmlPath "";

menuXML = new XML();
menuXML.ignoreWhite = true;
menuXML.onLoad = triXML;
menuXML.load(xmlPath + "xml/menugdv.xml");

function triXML(){
    _root.agir_avec_nous = mx.xpath.XPathAPI.selectNodeList(menuXML.firstChild,"/menus/agir_avec_nous")[0].firstChild;
    menuTAB = new Array();
    liste = mx.xpath.XPathAPI.selectNodeList(menuXML.firstChild,"/menus/menu");
    for(i=0;i<liste.length;i++){
        listeM =  mx.xpath.XPathAPI.selectNodeList(liste[i],"menu/ssmenu");
        tempTAB = new Array();
        for(j=0;j<listeM.length;j++){
            tempTAB.push([String(mx.xpath.XPathAPI.selectNodeList(listeM[j],"ssmenu/nom")[0].firstChild),String(mx.xpath.XPathAPI.selectNodeList(listeM[j],"ssmenu/url")[0].firstChild)]);
        }
        menuTAB.push(tempTAB);
    }
    menuB.InitMenu();
    /*
    resultat = "";
    resultat += "xmlPath : " + xmlPath + newline;
    resultat += "CHEMIN : " + CHEMIN + newline;
    resultat += liste + newline;
    */
}

et le xml

<style><![CDATA[ODY{font:x-small 'Verdana';margin-right:1.5em}
.c{cursor:hand}
.b{color:red;font-family:'Courier New';font-weight:bold;text-decoration:none}
.e{margin-left:1em;text-indent:-1em;margin-right:1em}
.k{margin-left:1em;text-indent:-1em;margin-right:1em}
.t{color:#990000}
.xt{color:#990099}
.ns{color:red}
.dt{color:green}
.m{color:blue}
.tx{font-weight:bold}
.db{text-indent:0px;margin-left:1em;margin-top:0px;margin-bottom:0px;padding-left:.3em;border-left:1px solid #CCCCCC;font:small Courier}
.di{font:small Courier}
.d{color:blue}
.pi{color:blue}
.cb{text-indent:0px;margin-left:1em;margin-top:0px;margin-bottom:0px;padding-left:.3em;font:small Courier;color:#888888}
.ci{font:small Courier;color:#888888}
PRE{margin:0px;display:inline}]]></style>
 </menu>

 </menus>

Merci!

Alex
Commenter la réponse de alexdred
Messages postés
4
Date d'inscription
mercredi 28 janvier 2009
Statut
Membre
Dernière intervention
28 janvier 2009
0
Merci
Le xml 3eme essai....

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta name="ProgId" content="Word.Document" /><meta name="Generator" content="Microsoft Word 11" /><meta name="Originator" content="Microsoft Word 11" /><link rel="File-List" href="file:///C:%5CDOCUME%7E1%5CADMINI%7E1.ALE%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml" /><link rel="Edit-Time-Data" href="file:///C:%5CDOCUME%7E1%5CADMINI%7E1.ALE%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_editdata.mso" /><!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><!--[if gte mso 9]><xml>
<w:WordDocument>
<w:View>Normal</w:View>
<w:Zoom>0</w:Zoom>
<w:HyphenationZone>21</w:HyphenationZone>
<w:PunctuationKerning/>
<w:ValidateAgainstSchemas/>
<w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
<w:IgnoreMixedContent>false</w:IgnoreMixedContent>
<w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
<w:Compatibility>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
<w:DontGrowAutofit/>
</w:Compatibility>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
</w:WordDocument>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:LatentStyles DefLockedState="false" LatentStyleCount="156">
</w:LatentStyles>
</xml><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:Courier;
panose-1:2 7 4 9 2 2 5 2 4 4;
mso-font-alt:"Courier New";
mso-font-charset:0;
mso-generic-font-family:modern;
mso-font-format:other;
mso-font-pitch:fixed;
mso-font-signature:3 0 0 0 1 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-parent:"";
margin:0cm;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;
text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
{color:blue;
text-decoration:underline;
text-underline:single;}
pre
{margin:0cm;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Courier New";
mso-fareast-font-family:"Times New Roman";}
p.b, li.b, div.b
{mso-style-name:b;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Courier New";
mso-fareast-font-family:"Times New Roman";
color:red;
font-weight:bold;}
p.e, li.e, div.e
{mso-style-name:e;
mso-margin-top-alt:auto;
margin-right:12.0pt;
mso-margin-bottom-alt:auto;
margin-left:12.0pt;
text-indent:-12.0pt;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";}
p.k, li.k, div.k
{mso-style-name:k;
mso-margin-top-alt:auto;
margin-right:12.0pt;
mso-margin-bottom-alt:auto;
margin-left:12.0pt;
text-indent:-12.0pt;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";}
p.t, li.t, div.t
{mso-style-name:t;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";
color:#990000;}
p.xt, li.xt, div.xt
{mso-style-name:xt;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";
color:#990099;}
p.ns, li.ns, div.ns
{mso-style-name:ns;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";
color:red;}
p.dt, li.dt, div.dt
{mso-style-name:dt;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";
color:green;}
p.m, li.m, div.m
{mso-style-name:m;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";
color:blue;}
p.tx, li.tx, div.tx
{mso-style-name:tx;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";
font-weight:bold;}
p.db, li.db, div.db
{mso-style-name:db;
margin-top:0cm;
margin-right:0cm;
margin-bottom:0cm;
margin-left:12.0pt;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
border:none;
mso-border-left-alt:solid #CCCCCC .5pt;
padding:0cm;
mso-padding-alt:0cm 0cm 0cm 4.0pt;
font-size:12.0pt;
font-family:Courier;
mso-fareast-font-family:"Times New Roman";
mso-bidi-font-family:"Times New Roman";}
p.di, li.di, div.di
{mso-style-name:di;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:Courier;
mso-fareast-font-family:"Times New Roman";
mso-bidi-font-family:"Times New Roman";}
p.d, li.d, div.d
{mso-style-name:d;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";
color:blue;}
p.pi, li.pi, div.pi
{mso-style-name:pi;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";
color:blue;}
p.cb, li.cb, div.cb
{mso-style-name:cb;
margin-top:0cm;
margin-right:0cm;
margin-bottom:0cm;
margin-left:12.0pt;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:Courier;
mso-fareast-font-family:"Times New Roman";
mso-bidi-font-family:"Times New Roman";
color:#888888;}
p.ci, li.ci, div.ci
{mso-style-name:ci;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:Courier;
mso-fareast-font-family:"Times New Roman";
mso-bidi-font-family:"Times New Roman";
color:#888888;}
span.b1
{mso-style-name:b1;
font-family:"Courier New";
mso-ascii-font-family:"Courier New";
mso-hansi-font-family:"Courier New";
mso-bidi-font-family:"Courier New";
color:red;
mso-text-animation:none;
font-weight:bold;
text-decoration:none;
text-underline:none;
text-decoration:none;
text-line-through:none;}
span.m1
{mso-style-name:m1;
color:blue;}
span.pi1
{mso-style-name:pi1;
color:blue;}
span.t1
{mso-style-name:t1;
color:#990000;}
span.tx1
{mso-style-name:tx1;
font-weight:bold;}
span.di1
{mso-style-name:di1;
mso-ansi-font-size:12.0pt;
mso-bidi-font-size:12.0pt;
font-family:Courier;
mso-ascii-font-family:Courier;
mso-hansi-font-family:Courier;}
span.ci1
{mso-style-name:ci1;
mso-ansi-font-size:12.0pt;
mso-bidi-font-size:12.0pt;
font-family:Courier;
mso-ascii-font-family:Courier;
mso-hansi-font-family:Courier;
color:#888888;}
@page Section1
{size:595.3pt 841.9pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;
mso-header-margin:35.4pt;
mso-footer-margin:35.4pt;
mso-paper-source:0;}
div.Section1
{page:Section1;}
--></style><!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Tableau Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-parent:"";
mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
mso-para-margin:0cm;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Times New Roman";
mso-ansi-language:#0400;
mso-fareast-language:#0400;
mso-bidi-language:#0400;}
</style>
<![endif]-->

 </menu>

 </menus>

 

Alex
Commenter la réponse de alexdred