I was find the way to do what I went, but I think that is work arround ... AND I DON'T LIKE IT.
I prefer pass so far of session, or other way to persiste data on the server to create view .....
My sugestion is to improve the API, and this isn't difficult, because the integration between Flash and HTML exists and the transformation of image in string exists too.
Regards