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

  • SEARCH
  • Home
  • 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 7921829
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T16:43:55+00:00 2026-06-03T16:43:55+00:00

anybody knows if it is possible to do calls from flash to asp.net mvc

  • 0

anybody knows if it is possible to do calls from flash to asp.net mvc actions using amf remoting ?

if yes, how? which technologies should be used and how to combine them

on the flash side it would be something like this:

    //Connect the NetConnection object
    var netConnection: NetConnection = new NetConnection();
    netConnection.connect("http://localhost:59147/Home/Index");

   //Invoke a call
   log("invoke call TestMethod");
   var responder : Responder = new Responder( handleRemoteCallResult, handleRemoteCallFault);
   netConnection.call('TestMethod', responder, "Test");

I tried this and it hits the action but I can’t find the ‘TestMethod’ and “Test” anyware in the Request

Thank You

  • 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-06-03T16:43:57+00:00Added an answer on June 3, 2026 at 4:43 pm

    I don’t have a complete answer, but this could help you in the start.

    You could use FluorineFx, that is a good start as it implements all the AMF stuff and it has AMFWriter/Reader, AMFDeserializer and so, play with them.

    using System.Web.Mvc;
    using FluorineFx.IO;
    
    public class AMFFilterAttribute : ActionFilterAttribute
    {
        public override void OnActionExecuting(ActionExecutingContext filterContext)
        {
            if (filterContext.HttpContext.Request.ContentType == "application/x-amf")
            {
                var stream = filterContext.HttpContext.Request.InputStream;
    
                var deserializer = new AMFDeserializer(stream);
                var message = deserializer.ReadAMFMessage();
    
                foreach (var body in message.Bodies) // not foreach, just the first one
                {
                    filterContext.ActionParameters["method"] = body.Target;
                    filterContext.ActionParameters["args"] = body.Content;
                }
    
                base.OnActionExecuting(filterContext);
            }
        }
    }
    
    [AMFFilter]
    [HttpPost]
    public ActionResult Index(string method, object[] args)
    {
        return View();
    }
    

    This is just the first part. Returning binary data and stuff could be handled by some kind of custom ActionResult, but that one you know how to do from here AMF ActionResult for asp.net mvc ?

    Good luck.

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

Sidebar

Related Questions

Is it possible to call my ejbs from Flash actionscript? If yes, can anybody
Anybody knows if it is possible to get a javascript for/in loop from coffeescript?
Does anybody know if its possible to save the windows event logs from a
Anybody know if it's possible? I'm trying to get the data by using the
Anybody knows where the :// or the // comes from in most URIs syntaxes?
anybody knows what can be the reason for when i start a service from
does anybody know if it is possible to cancel already queued selector events from
I'm interested in using Steve Sanderson’s MvcIntegrationTestFramework or a very similar alternative with ASP.NET
Anybody knows if it's possible to modify the date picker three little grey buttons
Does anybody knows if it's possible (is there a library) to know if a

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.