# Necesity of policy file?

**URL:** <https://forum.kirupa.com/t/necesity-of-policy-file/251049>\
**Category:** flash\
**Created:** [February 4, 2008, 10:39pm UTC](https://forum.kirupa.com/t/necesity-of-policy-file/251049 "2008-02-04T22:39:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Felixz](https://avatars.discourse-cdn.com/v4/letter/f/ecb155/32.png) [@Felixz](https://forum.kirupa.com/u/Felixz)\
**Post date:** [February 4, 2008, 10:39pm UTC](https://forum.kirupa.com/t/necesity-of-policy-file/251049/1 "2008-02-04T22:39:34Z")

</div>

Do i always need a policy file to load external images?  
In Flash IDE all is fine, but after checking in browser images won’t resize… (ooops I haven’t tried SecurityErrorEvent listener… oh, I did! try…catch has thrown Security Error).

```auto
private function _thumbComplete(event:Event):void {
  try {
   event.target.removeEventListener(Event.COMPLETE,_thumbComplete);
   event.target.removeEventListener(IOErrorEvent.IO_ERROR,_thumbIOErrorHandler);
   event.target.content.smoothing=event.target.loader.tabEnabled=true;
   event.target.content.width=event.target.content.height=100;
   ...
}

```

My question is: Do I need a policy file to access smoothing, width or height of image? This is riddiculus, help tells only about BitmapData.draw().  
I tried to comment that smoothing and still same problem.  
This would be horrible to put there a policy file… since i need a forgotten password…  
Is there a possibility to ommit using that policy file?
