3 Replies Latest reply on Oct 25, 2007 8:49 AM by kglad

    how do i do with this code

    Alex_br Level 1
      i´ve got this to link a time line to a url.... is that correct?

      to be clear i just need to open a "menu2.swf" related in what page i´m ex. if i´m at ww.xxxxxxxxxx.com/clientes.html, i needed flash to start a "menu2.swf" from frame 30 and playing

      // AS3
      var url:TextField = new TextField();
      url.text = root.loaderInfo.parameters.clientes;
      gotoAndPlay(30);

      // AS3
      var url:TextField = new TextField();
      url.text = root.loaderInfo.parameters.sevicios;
      gotoAndPlay(20);

      i got this code for the html:

      <script type="text/javascript">
      var so = new SWFObject("flash/menu2.swf", "menu", "100", "475", "9", "#FFFFFF");
      so.addVariable("flashvars", value="url=clientes");
      so.write("flashcontent");
      </script>