OK I finally am able to get a filereference uploader to send files to rails from Flash. I had to turn the auth_token off using:
skip_before_filter :verify_authenticity_token, :only => 'upload_photo' But, for security I want to turn it back on. But I'm unable to get Flash to send the vars correctly. I am able to grab the auth token with some Javascript and I then use: variables = new URLVariables(); variables.authenticity_token = paramList["authenticityToken"]; var request = new URLRequest(UPLOAD_URL); request.method = URLRequestMethod.POST; request.data = variables; Is that correct? The variable in an html rails form uses the same var "authenticity_token" so I would assume it's the same, but it's not working. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

