Ok there is a condition to this way but Illustrator has a simple way. the art that is made of more than one path has to be grouped or a symbol unlessyou want each path tobe a slice.
Select all your art
Go to Object>Slice>Make
I have already grouped every graphic object i need to export and then i have created the slices, but the file became very slow, impossible modify every thing. There is a limitation in the number of slices?
There is a limitation in the number of slices?
I don't think so, but it seems you are mis-using the feature for something it was never designed and since slices are dynamic entities, the program may simply waste a lot of time drawing all the little borders and recalculating the slice numbers. Does it improve if you hide the slices? You may also improve performance by using multiple artboards and only having one in view...
Yes if i hide slices performance improve. I have created all the slices using the slice tool.
I don't have create multiple artboard because i want to save for web every single image in one time.Is possible also with artboards?
You can export the artboards as separate files such as jpegs all in one shot.