10 Replies Latest reply on Jun 2, 2014 5:58 AM by kglad

    using loadmovie but the file cannot shown

    voiders22

      I need your help

       

      I'll try to load some pictures from file. But it can't shown

       

      The code for the page is :

      If(_global.i==29)_global.i=1;

      If(_global.i==0)_global.i=28;

      loadMovie("file/"_global.i+".png",showpic);

       

      ^ that code means i want to open the pictures based on the number of name's file it stored indeed.

       

      Then for the button is

      Stop();

      Bnav.bnext.onRelease=function() {

      _global.i++;

      gotoAndPlay(1);

      }

      Bnav.bprev.onRelease=function() {

      _global.i--;

      gotoAndPlay(1);

      }

       

      the button destination to frame 1. When i put some framename it didn't work.

       

      The problem is there no syntax error but no pictures can be shown. Need help for solve it.

      Thanks