# Error opening URL

**URL:** <https://forum.kirupa.com/t/error-opening-url/194957>\
**Category:** Uncategorized\
**Created:** [July 27, 2006, 1:50pm UTC](https://forum.kirupa.com/t/error-opening-url/194957 "2006-07-27T13:50:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![DesignerDude05](https://avatars.discourse-cdn.com/v4/letter/d/34f0e0/32.png) [@DesignerDude05](https://forum.kirupa.com/u/DesignerDude05)\
**Post date:** [July 27, 2006, 1:50pm UTC](https://forum.kirupa.com/t/error-opening-url/194957/1 "2006-07-27T13:50:13Z")

</div>

ok now i have a variable “URL”

http://+URL+/+folder+/+image (or something like that - it works anyway)

and a search box replaces the url and places it in the url as appropriate

Error opening URL “[http://www.mywebsite.co.uk/blah/stupidimage.jpg](http://www.mywebsite.co.uk/blah/stupidimage.jpg)”

now if someone types “hello” and submit, it looks for

“[http://www.mywebsite.co.uk/blah/hello.jpg](http://www.mywebsite.co.uk/blah/hello.jpg)”

but if the image isnt in the folder it will come up as

Error opening URL "[http://www.mywebsite.co.uk/blah/hello.jpg](http://www.mywebsite.co.uk/blah/hello.jpg) in the OUTPUT box

now is their any way at all to say in the actionscript (the image searched wasnt in our database please try again) i know its a default message flash comes up with but is their a quick way to use this default error to make an “error movieclip” visible?

cheers
