Skip navigation
Currently Being Moderated

.load method won't execute in published .swf

Jan 6, 2013 3:59 AM

Hello

 

This line of code won't execute in a published .swf. Test movie (ctrl + enter) works fine.

 

j_session = new URLVariables();
j_send = new URLRequest("https://web.e-fon.ch/portal/j_acegi_security_check");


j_loader.load(j_send);

 

I'm assuming it's some type of network permission. Ideas?

 
Replies
  • kglad
    72,322 posts
    Jul 21, 2002
    Currently Being Moderated
    Jan 6, 2013 6:26 AM   in reply to TOverturf

    upload to a server and test or add the file that contains that code to your trusted files.

     

    also, you may need a cross-domain permissions file if that is a cross-domain request (if it's not, use a relative path) and you expect something returned to your flash.

     

    also, you're not defining or sending any variables which may or may not be an issue.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points