# fileReference.download()

**URL:** <https://forum.kirupa.com/t/filereference-download/304340>\
**Category:** flash\
**Created:** [February 5, 2010, 7:00pm UTC](https://forum.kirupa.com/t/filereference-download/304340 "2010-02-05T19:00:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![werehunt](https://avatars.discourse-cdn.com/v4/letter/w/b782af/32.png) [@werehunt](https://forum.kirupa.com/u/werehunt)\
**Post date:** [February 5, 2010, 7:00pm UTC](https://forum.kirupa.com/t/filereference-download/304340/1 "2010-02-05T19:00:06Z")

</div>

If i want to use fileReference.download() files from another domain do i need cross domain policy or not?  
or i need something else?  
thanks!

also, can I download files only from http/https protocol or can I use relative links like for example:  
“images/image01.jpg”  
Will this work?
