# URL to pull from txt file

**URL:** <https://forum.kirupa.com/t/url-to-pull-from-txt-file/168756>\
**Category:** Uncategorized\
**Created:** [November 9, 2005, 6:58pm UTC](https://forum.kirupa.com/t/url-to-pull-from-txt-file/168756 "2005-11-09T18:58:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Soap\_Hustler](https://avatars.discourse-cdn.com/v4/letter/s/c68b51/32.png) [@Soap\_Hustler](https://forum.kirupa.com/u/Soap_Hustler)\
**Post date:** [November 9, 2005, 6:58pm UTC](https://forum.kirupa.com/t/url-to-pull-from-txt-file/168756/1 "2005-11-09T18:58:59Z")

</div>

i’m trying to get these thumbnails to each have thier own URL. how could i do this?

if (minitialize != true)  
{  
s\_position = getProperty(“thumbnail0”, \_x);  
m\_thumbcount = 16;  
m\_thumbcount–;  
loadMovie(“[http://www.bluetonemedia.com/images/btm/art/art1.jpg](http://www.bluetonemedia.com/images/btm/art/art1.jpg)”, “thumbnail0”);  
for (ctr = 1; ctr \<= m\_thumbcount; ctr++)  
{  
duplicateMovieClip(“thumbnail0”, “thumbnail” + ctr, ctr);  
s\_position = s\_position + 139;  
setProperty(“thumbnail” + ctr, \_x, s\_position);  
mctr = ctr + 1;  
loadMovie(“[http://www.bluetonemedia.com/images/btm/art/art](http://www.bluetonemedia.com/images/btm/art/art)” + mctr + “.jpg”, “thumbnail” + ctr);  
} // end of for  
minitialize = true;  
\_root.mtrapcoords = true;  
\_root.mscrollincrement = 0;  
mremainingitems = m\_thumbcount - 1;  
rctr = m\_thumbcount;  
lctr = 0;  
} // end if  
if (mscrollleft == true)  
{  
setProperty(“thumbnail” + lctr, \_x, getProperty(“thumbnail” + lctr, \_x) - \_root.mscrollincrement);  
if (lctr \>= m\_thumbcount)  
{  
ncurrentitem = 0;  
ngetprevitem = m\_thumbcount;  
}  
else  
{  
ncurrentitem = lctr + 1;  
ngetprevitem = lctr;  
} // end if  
for (mscrollitems = 0; mscrollitems \<= mremainingitems; mscrollitems++)  
{  
setProperty(“thumbnail” + ncurrentitem, \_x, getProperty(“thumbnail” + ngetprevitem, \_x) + 139);  
ncurrentitem = ncurrentitem + 1;  
ngetprevitem = ngetprevitem + 1;  
if (ncurrentitem \> m\_thumbcount)  
{  
ncurrentitem = 0;  
} // end if  
if (ngetprevitem \> m\_thumbcount)  
{  
ngetprevitem = 0;  
} // end if  
} // end of for  
if (getProperty(“thumbnail” + lctr, \_x) \< -395)  
{  
if (lctr == 0)  
{  
setProperty(“thumbnail” + lctr, \_x, getProperty(“thumbnail” + m\_thumbcount, \_x) + 139);  
}  
else  
{  
ngetlastmov = lctr - 1;  
setProperty(“thumbnail” + lctr, \_x, getProperty(“thumbnail” + ngetlastmov, \_x) + 139);  
} // end if  
lctr = lctr + 1;  
rctr = rctr + 1;  
if (rctr \> m\_thumbcount)  
{  
rctr = 0;  
} // end if  
if (lctr \> m\_thumbcount)  
{  
lctr = 0;  
} // end if  
} // end if  
} // end if  
if (mscrollright == true)  
{  
setProperty(“thumbnail” + rctr, \_x, getProperty(“thumbnail” + rctr, \_x) + \_root.mscrollincrement);  
if (rctr != 0)  
{  
mcurrentitem = rctr - 1;  
mgetprevitem = rctr;  
}  
else  
{  
mcurrentitem = m\_thumbcount;  
mgetprevitem = 0;  
} // end if  
for (mscrollitems = 0; mscrollitems \<= mremainingitems; mscrollitems++)  
{  
setProperty(“thumbnail” + mcurrentitem, \_x, getProperty(“thumbnail” + mgetprevitem, \_x) - 139);  
mcurrentitem = mcurrentitem - 1;  
mgetprevitem = mgetprevitem - 1;  
if (mcurrentitem \< 0)  
{  
mcurrentitem = m\_thumbcount;  
} // end if  
if (mgetprevitem \< 0)  
{  
mgetprevitem = m\_thumbcount;  
} // end if  
} // end of for  
if (getProperty(“thumbnail” + rctr, \_x) \> 280)  
{  
if (rctr == m\_thumbcount)  
{  
setProperty(“thumbnail” + rctr, \_x, getProperty(“thumbnail0”, \_x) - 139);  
}  
else  
{  
getlastmov = rctr + 1;  
setProperty(“thumbnail” + rctr, \_x, getProperty(“thumbnail” + getlastmov, \_x) - 139);  
} // end if  
rctr = rctr - 1;  
if (lctr == 0)  
{  
lctr = m\_thumbcount;  
}  
else  
{  
lctr = lctr - 1;  
} // end if  
if (rctr \< 0)  
{  
rctr = m\_thumbcount;  
} // end if  
} // end if  
} // end if  
if (\_root.mtrapcoords == true)  
{  
if (\_xmouse \> 0)  
{  
mscrollright = false;  
mscrollleft = true;  
}  
else  
{  
mscrollright = true;  
mscrollleft = false;  
} // end if  
if (\_root.nowincrem == true)  
{  
\_root.mscrollincrement = Math.abs(\_xmouse / 100) \* 6;  
}  
else  
{  
if (\_root.mninitialize != true)  
{  
mscrollright = false;  
mscrollleft = true;  
} // end if  
\_root.mscrollincrement = 2;  
} // end if  
} // end if
