How to export current page to gif using AS3

i was wondering if this is possible in AS3?

export current page … or let say the current area :slight_smile: to gif format?
… so i can use this feature to build my avatar creator ? or any other project?

can any body point me to some tutorial …
or can you give me some hints , so i start correctly