Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6008823
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T01:52:45+00:00 2026-05-23T01:52:45+00:00

Has anyone ever run into this before? I have the crossdomain.xml set and I’ve

  • 0

Has anyone ever run into this before? I have the crossdomain.xml set and I’ve also tried setting the local playback to network only and still no luck.

What I’m trying to do is have the user upload an image, then I pass that value over through PHP and a directory is created. After that hits it returns with the path and I try to load the image as a thumbnail and thats when i get the security error.

//frOne is my fileReference variable.
function oneSelected(e:Event)
{
    trace("\nName: " + e.target.name);
    trace("\nSize: " + e.target.size);
    frOne.upload(uploadURL);
    getImage(frOne.name);
}
function getImage(imgName:String)
{
    phpVars.imagename = imgName;
    phpReq.data = phpVars;
    phpLoader.addEventListener(Event.COMPLETE, phpImage);
    phpLoader.dataFormat = URLLoaderDataFormat.TEXT;
    phpLoader.load(phpReq);
    phpReq2.method = URLRequestMethod.POST;
    trace('send the info');
}

function phpImage(e:Event)
{
    testString = phpLoader2.data;
    var decoded:String = decodeURI(testString);
    testString  = decoded;
    var imgLoader:Loader = new Loader();
    imgLoader.load(new URLRequest(testString.slice(0,testString.length) + frOne.name));
    addChild(imgLoader);
}

error that I’m getting

http://url/bwljagvsbgv6enjhdghlcnl5ymniz3p6y29t/images/Winter.jpg

*** Security Sandbox Violation ***
Connection to 

http://url/bwljagvsbgv6enjhdghlcnl5ymniz3p6y29t/images/Winter.jpg 
halted - not permitted from file:///Z|/mydirectory/myswf.swf

SecurityError: Error #2147: Forbidden protocol in URL 

http://url/bwljagvsbgv6enjhdghlcnl5ymniz3p6y29t/images/Winter.jpg.
    at flash.display::Loader/flash.display:Loader::_load()
    at flash.display::Loader/load()
    at BCBGen_fla::MainTimeline/loadImage()
    at BCBGen_fla::MainTimeline/fnImageTimer()
    at flash.utils::Timer/flash.utils:Timer::_timerDispatch()
    at flash.utils::Timer/flash.utils:Timer::tick()
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T01:52:56+00:00Added an answer on May 23, 2026 at 1:52 am

    problem solved. Needed to take out the http:// part of the string and the file loaded fine.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Has anyone ever seen this error while trying to run an android application in
Has anyone ever set up Cruise Control to build an OS X Cocoa/Objective-C project?
Has anyone ever tried, or had any success at getting Wascana (Eclipse CDT +
has anyone ever tried to get the list of all the movieclips (even the
Has anyone ever seen an exception like this (with version 1.6.0_11 of the JVM)?:
Has anyone ever run a problem where creating a new STS project in Visual
Has anyone seen this very strange behaviour before? I've got a solution whith 70
I've a MCV ASP.NET. It has authentication and authorization. When ever I run this
Has anyone ever tried to integrate AspDotNetStorefront and Sitecore? I've been trying for the
Wondering if anyone has a solution to this 2010 bug. I have a project

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.