I found a solution! I went to the flash player security settings and added the folder I had the data and the problem was solved. So I think the legend problem appeared just because the website has not been published on the web yet. I hope it helps anybody with the same problem.
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.