0 Replies Latest reply on Apr 1, 2010 10:28 AM by napoleaobrasil

    Problem whith scroll field  and to load picture from folder in shockwave

    napoleaobrasil

       

      May someboy HELP with theses problems

       

       

       

      In a shockwave I have one folder with 6.000 pictures SWF and I am working

      with DIRECTOR MX

       

       

       

       

      first problem

       

      I have a

      scroll field with the name of each picture, I need to click

      on each name and the picture must appear in the stage. The scroll bar

      is finishing

      before of the end of the relation of words. Only

      show

      me until the word 4.500

       

       

       

       

       

      Second problem

       

       

       

      When  I click in a word in the scroll field, everything work perfect

      in my computer, but when I put in schockwave, the picture dont is

      showed in the stage, dont appear nothing

       

       

      .

       

       

      I am using this routine.

      ------------------------------

       

      property

       

       

      ML,campoAnimacao,lastline

       

      global gNome

       

       

      on

       

       

      mouseEnter me

      clearGlobals

      end

       

      on

       

       

      mouseDown

       

      CampoAnimacao =

       

      sprite(the clickOn).member

      if the

       

       

      mouseLine < 1 then exit

      lastLine =

       

      0

      repeat while the

       

       

      stillDown

      ML =

       

      the mouseLine

      if

       

       

      ML < 1 then next repeat

      if

       

       

      ML <> lastLine then

      CampoAnimacao.

      line[ML].hilite()

      lastLine = ML

       

      gNome =CampoAnimacao.

      line[ML]

       

      member

       

       

      (50).erase()

       

      importFileInto member

       

       

      50, "sinais1/"&gNome&".swf"

       

      sprite

       

       

      (5).member = member(50).member

       

      put

       

       

      "" into field "legenda"

      put

       

       

      gNome into field "legenda"

       

      end if

      ---------------------------------------

       

      for any help  thanks advanced

       

      PAM