Navigazione

    Privacy - Termini e condizioni
    © 2020 Search On Media Group S.r.l.
    • Registrati
    • Accedi
    • CATEGORIES
    • Discussioni
    • Non letti
    • Recenti
    • Hashtags
    • Popolare
    • Utenti
    • Stream
    • Interest
    • Categories
    1. Home
    2. mcleod01
    3. Post
    M

    mcleod01

    @mcleod01

    • Profilo
    • Chi segue 0
    • Da chi è seguito 0
    • Discussioni 1
    • Post 1
    • Migliore 0
    • Gruppi 0
    Iscrizione Ultimo Accesso
    0
    Reputazione
    1
    Post
    0
    Visite al profilo
    0
    Da chi è seguito
    0
    Chi segue
    User Newbie

    Post creati da mcleod01

    • problemi collegamento flash a file txt

      sto costruendo un sito in flash ed ho un problemino tecnico
      devo far in modo che il file swf sia collegato ad un file txt per rendere più veloce la modifica del testo.
      ho scritto il codice sotto e applicato al frame dove devo vederlo ma una volta che attivo il file swf è perfetto fino alla scena interessata poi si carica il file txt che rimane perenne in tutte le scene sia prima che dopo mentre io vorrei che si fermasse in quella scena
      gentilmente avreste la soluzione?

      function onText(success)
      {
      if (success)
      {
      title_txt.text = features_lv.loadTITLE;
      content_txt.text = features_lv.loadCONTENT;
      title_txt.setTextFormat(titleFormat);
      content_txt.setTextFormat(contentFormat);
      loadanime.gotoAndStop(1);
      }
      else
      {
      title_txt.setTextFormat(titleFormat);
      content_txt.setTextFormat(contentFormat);
      title_txt.text = "loading Title...";
      content_txt.text = "loading Content...";
      } // end else if
      } // End of the function
      this.createTextField("title_txt", this.getNextHighestDepth(), 80, 80, 700, 500);
      this.createTextField("content_txt", this.getNextHighestDepth(), 80, 80, 700, 500);
      title_txt.multiline = true;
      title_txt.wordWrap = true;
      content_txt.multiline = true;
      content_txt.wordWrap = true;
      titleFormat = new TextFormat();
      titleFormat.bold = true;
      titleFormat.font = "Arial";
      titleFormat.size = 20;
      titleFormat.color = 16777215;
      contentFormat = new TextFormat();
      contentFormat.font = "Arial";
      contentFormat.size = 15;
      contentFormat.color = 16777215;
      var features_lv = new LoadVars();
      features_lv.onLoad = onText;
      features_lv.load("Title_&_Content" + sectionNum + ".txt");
      stop ();

      postato in Help Center: consigli per il tuo progetto
      M
      mcleod01