0 Replies Latest reply on Feb 3, 2008 3:03 AM by sensiblemind

    gallery problems

    sensiblemind Level 1
      hi all
      am trying to make photo gallery, and its all great till now , BUT when i mark image as favorites i import the same images into anther cast and i check here if the same image is already existed or not and i found the problem
      the code is

      repeat with xx=1 to the number of members of castLib 3
      -- if the number of members of castLib 3=0 then
      -- alert("no item are found")
      -- end if
      if member(xx,3).name = idpic then

      alert(member(xx,3).name)
      alert ("this item found before")
      nothing
      else
      importfileinto member(nextaddimg,3), getthepic
      end if
      end repeat

      the alert statment is runnin well but :S
      don't know
      can u help plz ?