Announcement Announcement Module
Collapse
No announcement yet.
SecurityError with applicationContext.xml file Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    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

    Comment

    Working...
    X