hey every body... im working with a picture viewer... and like what i want to happen when you click one of the pictures is for it to load the same picture number from a different source...
so what i have now is when you press one of the pics, it traces which pic it is.... for example
orCode:_level0.images.pic15.pic
now i just need the part where it says pic# so i thought i would try to rid it from every thing else but that part...Code:_level0.images.pic2.pic
here is my feeble attempt
but its not working for some reason... do i have to make this.pic a string before this is done or something?Code:trace(this.pic.substring(16, myLOC.length-4))
thank you for any responses...


Reply With Quote