5 Replies Latest reply: Feb 12, 2013 1:08 PM by kglad RSS

    document.selection problem

    p0d04Va

      Hello,

      I have a small problem with jsfl. I'm trying to convert make jsfl to convert all shapes to movie clips in *.fla file.

      Here is some files to test, simple scene and jsfl script, which converts all shapes in file to movie clips.

       

      Symbol 1 -> Layer 2 -> frame 50

       

      At line 87 of file "ConvertToMovieClips.jsfl":

      'convertToSymbol' requires a selection.

       

      but it finds Shape and creates Array for selection, but document.selection.length still 0.

      I tried to move this keyframe and sometimes it's working fine, sometimes throws this error.

       

      Any solution or workaround for this?

       

      https://dl.dropbox.com/u/7525970/jsfl/ConvertToMovieClips.jsfl

      https://dl.dropbox.com/u/7525970/jsfl/convertToSymbol.fla