Salut à tous, alors voilà j'ai 2 fla (menu+site) et je fais un localConnection entre eux.
Le trace fonctionne mais pas le gotoAndPlay(2);
1er fla: emission_lc = new LocalConnection ();//j'établi la conexion
this.astr.astros_connect.onPress = function ()//fonction sur le bt astros
{
emission_lc.send( "connexion" , "astros" );}
this.astr.astros.histoire_connect.onPress = function ()//fonction sur le bouton histoire
{ emission_lc.send( "connexion" , "astros" );}
this.astr.astros.valeurs_connect.onPress = function()
{ emission_lc.send( "connexion" , "astros" );}
2ieme fla: reception_lc = new LocalConnection ();
reception_lc.astros = function ()//MISE EN PLACE DE LA FUNCTION ASTROS
{
_root.gotoAnsStop(2);//le trace marche, pas le gotoAndStop
trace("astros");
}
reception_lc.connect( "connexion" );
Merci d'avance