Results 1 to 2 of 2

Thread: SecurityError with applicationContext.xml file

Hybrid View

  1. #1
    Join Date
    Nov 2007
    Posts
    12

    Default SecurityError with applicationContext.xml file

    Hi all,
    I'm new to Spring Actionscript (but not to Spring).
    I'm trying to use a applicationContext.xml file in a Flex application but I get a SecurityError exception because of the access to the applicationContext.xml file from the flex code is forbidden.

    How do you embed the applicationContext.xml file inside the generated swf file ?
    I can manage to do that. I'm using the Flex Builder plugin in Eclipse

    Thanks
    Regards
    Gilles

  2. #2
    Join Date
    Dec 2008
    Location
    Brussels
    Posts
    407

    Default run your flex on a local URL

    Hey there,

    sounds like you're running your flex application from the filesystem instead of through your local webserver. Try configuring your flex project so it runs from http://localhost or some other local URL. By default a Flex application can't load files from the local filesystem, if you run it in a webserver context you avoid the problem.

    cheers,

    Roland

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •