Urgent Flash Remoting Help

Can anybody tell me how can I call my .net dll in flash using
flash remoting.
http://livedocs.macromedia.com/flashremoting/mx/Using_Flash_Remoting_MX/usingFRNET6.htm
Here is example by macromedia liveDocs but whenever I used
this code and run my flash application It doesnot show me any
output.
I think we can not call function declare in class from flash.
can anybody help me.

You can go through this article:
http://aspalliance.com/942_Working_with_Flash_Remoting_Using_NET
This article will give you a detail idea about Flash remoting
with .NET, and also has some sample project.
Thanks
Sankalan
(www.mindfiresolutions.com)

Similar Messages

  • URGENT: Flash Remoting problem in onStatus event with Flash Player 8

    I'm having a problem that only occurs in Flash Player 8 and
    above.
    When I publish to Player 8, my Connection.onStatus fires
    to function correctly. The problem is that the status
    information is undefined!
    Any idea?
    Thanks in advance,
    Rui Pereira

    convert all mouse events to touchevents
    Adobe Flash Platform * Touch, multitouch and gesture input

  • Flashing Remoting Help

    Will someone please provide some links that show exactly how
    to access a coldfusion component using the most up to date methods.
    I am using Flash Professional 8. All the docs I find are for Flash
    2004 MX which don't jive completely with what I am using. Also
    examples using #include "NetServices.as" are not what I am looking
    for. An example I am looking for is how do populate a dropdown menu
    flash component with dynamic data from a simple query to a database
    form a .cfc file. I just need a proof of concept to my manager so I
    can proceed with flash development. I really have to be spoon fed
    to understand this.
    Thanks
    Dave

    Let me explain about the #include "NetServices.as"
    Every time I try using these examples I always get a error
    saying:
    **Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 1: Error
    opening include file NetServices.as: File not found.
    #include "NetServices.as"
    I have the flash 8 action script bible and it's chapter 36 on
    data integration uses imports but the example is with .php. I need
    a good example of the most up to date way to do what I need.
    Dave

  • Flash Remote Debugger Help

    Yesterday, my Flash CS3 AS2 remote debugging stopped working
    after I installed a number of Adobe updates and on Mac OS X (Intel)
    update. Before I installed the updates, I was able to debug any SWF
    loaded in my browser window with the CS3 debug interface and output
    window. After I rebooted, all of my browsers stopped sending my the
    prompt to connect to a local host or enter an IP. Also, "debug" is
    no longer an option in the drop down menu when I right click on the
    swf in the browser window. Flash remote debugging is marked
    properly in the FLA publish settings and a new SWD is being
    published every time I test. But the player doesn't attempt to
    connect at all! I don't know if the loss of this functionality is
    related to the updates but it does seem that way.
    Any help, please?!
    Thanks,
    Steven

    Problem solved. After the update, I needed to get the newest
    version of the Adobe Debug Player for Intel Macs.
    see what players you have here:
    http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_15507&sliceId=1
    get the player specific to your OS here:
    http://www.adobe.com/shockwave/download/alternates/#fp

  • HELP ON MOVING FLASH REMOTING

    i seriously need help, i used flash cs3 professional, and
    there is no FLASH REMOTING CLASSES!. i need a very good tutorial on
    how to move FLEX RPC library to FLASH CS3 library. i really need it
    in FLASH CS3. Please reply asap. i really appreciate it very much.
    email [email protected] if can. Thank you.

    Hello,
    Have you seen the tutorials at gotoandlearn.com for using
    AMFPHP for Flash Remoting. In AS3 the Remoting classes have been
    included in the new NetConnection classes.
    Go here to watch the first tutorial and then watch the second
    as it's more in-depth. He talks a little about the Flex RPC lib.
    http://www.gotoandlearn.com/player.php?id=78

  • Constant Problems with flash, Please help Urgent for University work

    Hello Im having problems, my 1st frame code is
    stop();
    import flash.events.MouseEvent;
    sync_btn.addEventListener(MouseEvent.CLICK, onClick);
    function onClick (e:MouseEvent):void{
    gotoAndStop(2);
    This seems to work fine, and get my to the 2nd frame, which is where i have problems, my aim is to make a button to continue, and a button to go back to the first frame i p much copied what you used.
    stop();
    SyncMusic_btn.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler1);
    function mouseDownHandler1(event:MouseEvent):void {
    gotoAndStop(3);
    BktoConfig_btn.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler2);
    function mouseDownHandler2(event:MouseEvent):void {
    gotoAndStop(1);
    The instance names were copied straight from where i named them so they are right, this is making me mad because ive been working on cs5.5 at uni, and on cs4 at home and my cs4 doesnt run my cs5.5 work i had made a start on (where all this was working)
    I keep getting the error :
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at Untitled_fla::MainTimeline/frame2()
    at flash.display::MovieClip/gotoAndStop()
    at Untitled_fla::MainTimeline/onClick()
    And the button going back doesnt work, Im in urgent need of help because this assignment is due next week, and ive been working on it for at least 2 weeks now and nothing i can do seems to be working.

    The 1009 error indicates that one of the objects being targeted by your code is out of scope.  This could mean that the object....
    - is not in the display list
    - doesn't have an instance name (or the instance name is mispelled)
    - does not exist in the frame where that code is trying to talk to it
    - is animated into place but is not assigned instance names in every keyframe for it
    - is one of two or more consecutive keyframes of the same objects with no name assigned in the preceding frame(s).
    If you go into your Publish Settings Flash section and select the option to Permit debugging, your error message should have a line number following the frame number which will help you isolate which object is involved.

  • Help w/speed of Flash application - Use load vars, flash remoting or other....

    I'm looking for a little help with a dynamic Flash
    application I am building with ColdFusion integrated. I need the
    Flash to load and interact with a SQL Server database as quickly as
    possible as the user interacts with the Flash application. I have
    done research and thought that Flash Remoting was the way to go
    especially when using ColdFusion with Flash, but I am experiencing
    a lot of lag time when a user tries to load more data.
    So I'm looking for some advice on what is the fastest/best
    way to pass data back and forth between Flash and ColdFusion.
    Currently I am using Flash Remoting via ColdFusion web services
    (first time using this), but again with the lag time I am receiving
    I am thinking maybe my old way of using LoadVars would be faster? I
    am also open to any other means to pass data from ColdFusion/SQL
    database to Flash that exist. I am just looking for the quickest
    way for my customers to interact with the Flash piece.
    Thanks for all your help!

    Also would like to note that internet explorer does not have this problem, I would prefer to figure out why this is happening and resolve it as I hate IE.

  • HELP: Problem using AS3 and CF-Flash Remoting CFC

    I am trying to use CF flash remoting from an AS3 Class using
    the NetConnection class. The approach I am using is directly from
    "ActionScript 3.0 Cookbook" by Joey Lott et. al.
    I am using a totally standard default install of CF, Flex and
    SQL server on Windows 2003 R2.
    When I do a CF Flash remoting call using,
    _netConnection = new NetConnection();
    _netConnection.connect('
    http://pordev2.wcrt.xeroxlabs.com:8500/flashservices/gateway/');
    _netResponder = new Responder(onGotData, onGotError);
    _netConnection.call("porTechDB.PorComponents.ProjValuationRemote.getProjValuationData",
    _netResponder, 1, strtest);
    all seems OK. The CFC returns the integer and string just
    fine.
    HOWEVER, when I also add an associative array, "aa", to the
    string of arguments, I get an error...
    _netConnection.call("porTechDB.PorComponents.ProjValuationRemote.getProjValuationData",
    _netResponder, 1, strtest, aa);
    returns the error: "Unknown object type tag (17)"
    The same error is also returned if "aa" is an XML variable
    instead of an associative array.
    So:
    a) Is this a bug?
    b) Is there an AS3 specific gateway I should have referenced?
    c) Is Flash Remoting not yet supported in AS3?
    Thanks you for your time,
    Ned
    =================================================================
    Here is my test code:
    <cfcomponent displayname="ProjValuationRemote"
    hint="Returns an array of Project Header, Valuation and supporting
    data recordsets">
    <cffunction access="remote" name="getProjValuationData"
    output="false" returntype="String">
    <cfargument name="test1" type="numeric" required="no"
    default=1>
    <cfargument name="test2" type="string" required="no"
    default = "a default string">
    <cfargument name="AA" type="Struct" required="no">
    <cfset testReturn = #test2# & ": TESTING -- This is
    the return integer: " & #test1#>
    <cfreturn testReturn>
    </cffunction>
    </cfcomponent>
    public function requestVRD():void {
    var strtest:String = "Simple test string";
    var aa:Object = new Object();
    aa.curDataSet = 86;
    aa.curYear = 2007;
    _netConnection = new NetConnection();
    _netConnection.connect('
    http://pordev2.wcrt.xeroxlabs.com:8500/flashservices/gateway/');
    _netResponder = new Responder(onGotData, onGotError);
    _netConnection.call("porTechDB.PorComponents.ProjValuationRemote.getProjValuationData",
    _netResponder, 1, strtest);
    private function onGotData(re:String):void {
    // arVRD = re;
    trace(re);
    returnString = re;
    trace("got remote data response");
    private function onGotError(error:Object):void {
    trace("Executing the gotProjectData_Fault: " +
    error.description);
    trace("Executing the gotProjectData_Fault -- no detail");
    // setErrorAlert();
    This works as expected producing the following trace:
    Simple test string: TESTING -- This is the return integer: 1
    Replacing the remote with the following, which adds an array
    to the parameter list...
    _netConnection.call("porTechDB.PorComponents.ProjValuationRemote.getProjValuationData",
    _netResponder, 1, strtest, aa);
    Produces the following error:
    Executing the gotProjectData_Fault: Unknown object type tag
    (17)

    I didn't think so,
    We are putting together ads with alot of images with that 40k limit
    so the images don't look great.
    I was trying to find the best way to work with the images, while keeping it as simple as possible.
    Oh.... your right I was hoping to slowly introduce my associates into AS3, I thought If this could be done
    It woud be a great tool to introduce them to, but no
    Thank you for your time and feedback

  • Flash Remoting not working in CF 10

    We've been using Flash Remoting for years and now, while testing CF 10 on a development server, find that it no longer works.
    In particular, I get a 404 error when trying to access https://{ip address}/flashservices/gateway.
    I've already confirmed that remoting is enabled in the Administrator and followed the steps given in the documentation (http://help.adobe.com/en_US/ColdFusion/10.0/Installing/WSc3ff6d0ea77859461172e0811cdec1896 9-7ffa.html).
    Any advice?

    If you don't want to change your as-files:
    JkMountFile
    "[Path to CF-Installation]/config/wsconfig/1/uriworkermap.properties"
    change
    /flashservices/gateway/* = cfusion
    to
    /flashservices/gateway = cfusion
    restart CF

  • Where is flash remoting in actionscript 3.0\flash cs5

    hello everybody,
    i have been looking throught all the available tutorials on this site including flash cs5 help, actionscript 3.0 developer's guide, learning actionscript 3.0 and i can't seem to find anything relating to flash remoting (i.e how to retrieve and send data to and  from a server like coldfusion). has it been removed?
    i have solutions that were built with flash and actionscript 2.0 that uses data retrieved from coldfusion server for it's operation, i was thinking of migrating them to actionscript 3.0, but it keeps saying that the classes, packages or interfaces like mx.remoting, mx.rpc can not be found. even when i create a new flash document specifying 2.0 as the docuent type, it is still not compiling,. does this mean i have to revert to flash 8\actionscript 2.0 because that is what i built the programs with. please  any information or guidiance will be highly appreciated.
    thanks to you all.

    To do it in AS2 you need just install the remoting classes again. You can either copy them fro your old install or get them:
    http://drupal.org/node/258605
    Scroll down a bit and you'll see a link to the as2 remoting classes: Remoting_FlashCS3.zip
    In AS3 there are a few ways. Some people have made classes for it, or you can use the built in methods of NetConnection. Here's a couple examples of that:
    http://www.oscartrelles.com/archives/as3_flash_remoting_example
    http://www.flash-db.com/Tutorials/helloAS3/

  • FLEX 2...  Or Flash Remoting

    Hi, could someone please help me make a decision with which
    architecture to use to build a flash application?
    I want a flash front end, i dont care about users who dont
    have a flash player; this is for a commercial enterprise for a
    specific user base. My application is for property, the management
    and maintenance of, so the property is the main object and all data
    relating to its financial budgets, leaseholders who live in the
    block, maintenance records, health and safety and cleaning records;
    etc. The users all need to be directed by and communicate through
    this central organisation and management tool.
    I can use Flash pretty well but have never used flash
    remoting or ever learned to connect flash to database query
    results.
    So do i build using the Flex 2, Adobe Air, or Flash Remoting
    MX
    I have been learning Coldfusion and have a back end being
    developed as we speak in fusebox methodology and microsoft sql
    database.

    Hi,
    If you must make application more flexible for you,
    you must get Flex. it's an ide.
    If you want to custom componant or animation you must take
    flash.
    Olivier
    Stu@Seashores a écrit :
    > Hi, could someone please help me make a decision with
    which architecture to use
    > to build a flash application?
    > I want a flash front end, i dont care about users who
    dont have a flash
    > player; this is for a commercial enterprise for a
    specific user base. My
    > application is for property, the management and
    maintenance of, so the property
    > is the main object and all data relating to its
    financial budgets, leaseholders
    > who live in the block, maintenance records, health and
    safety and cleaning
    > records; etc. The users all need to be directed by and
    communicate through this
    > central organisation and management tool.
    >
    > I can use Flash pretty well but have never used flash
    remoting or ever learned
    > to connect flash to database query results.
    >
    > So do i build using the Flex 2, Adobe Air, or Flash
    Remoting MX
    > I have been learning Coldfusion and have a back end
    being developed as we
    > speak in fusebox methodology and microsoft sql database.
    >
    >
    >
    >

  • Web Host can't get Flash Remoting to work

    Please help this non-technical client get my website up,
    please!
    I have had an application developed and my programmers have
    utilized FlashRemoting.
    I have seen the application working on one web host's testing
    server, but we had to move it because of tech support issues.
    This new host has told me that they've installed Flash
    Remoting, but my programmers say it is not installed properly.
    (The say it must be installed, not copied into wwwroot)
    One very confusing issue is this:
    1. A testing link using my domain name pointing to a
    flashremoting sample does NOT work
    http://www.investlogos.com/flashremoting/samples/asp/default.htm
    2. The very same link only using my IP Address instead of my
    domain name DOES work.
    http://69.90.47.4/flashremoting/samples/asp/default.htm
    The programmers have opened a trouble ticket asking for the
    .Net environment to be installed where the domain is hosted and to
    resolve the address, but no response as of yet from tech support.
    Both sides are saying it isn't thier fault and I am stuck in
    the middle with a website 2 months past deadline.
    Does anyone have any ideas about what is going on, or at
    least what 'side' I should harp on to get his fixed?
    (...or as a last resort, can anyone tell me a REALLY good
    host that supports Remoting? I'd hate to move again, but spinning
    my wheels is getting me nowhere!)
    Thanks to anyone who has any input.

    Hi,
    Since you have talked about .NET I assume that you are using
    .NET as
    application layer.
    If yes then yes you need get .NET framework installed before
    you
    attempt to install the Flash Remoting.
    If your sample work from IP then I can say Remoting is
    installed
    properly if your IP is the same where the site domain points
    to.
    So if the IP and the Domain are the same box then problem is
    not with
    the installation rather I should be with Remoting licensing
    issue you
    got to buy the Remoting license to use that and I guess the
    demo or
    Developer license is being installed there.
    You can mail me if you want to discuss this to find the
    solution at
    [email protected]
    Remove all the numeric from the email id to get the correct
    one.
    Good Luck
    Hemendra Singh

  • How to test flash remoting?

    I am using cf 7.0.2.I want to use coldfusion remoting.
    Please let me know if I need install other software and how
    to make it work.
    I also need to know how to test the function.Thanks
    Mark

    mark416 wrote:
    > I am using cf 7.0.2.I want to use coldfusion remoting.
    >
    > Please let me know if I need install other software and
    how to make it work.
    >
    > I also need to know how to test the function.Thanks
    >
    > Mark
    flash remoting is built-in in CF7, and unless you need to
    enable
    integration of webs services, you do not need to change
    anything
    to test if fr is enabled, just go to
    http://localhost/flashservices/gateway
    - if you see a blank page in
    response you are good to go
    you will obviously need MM/Adobe Flash to make flash movies
    that
    get/post data with remoting... keep in mind, though, that
    flash
    remoting components were included with Flash only up to ver 8
    (Flash CS3
    does not have them at all, since it uses a different approach
    altogether; though you can still make it work with components
    for
    previous flash versions, it is a bit of a PIA...)
    i am sure others will add a lot to this (i am just a casual
    flash
    remoting coder/user - it is not my sharpest knife...)
    a few websites that helped me get going were:
    http://www.asfusion.com/blog/entry/remoting-for-coldfusion-flash-forms
    (and a lot of other pages in that blog + read comments too!)
    http://articles.techrepublic.com.com/5100-22-1050210.html#
    http://blog.vixiom.com/2007/04/17/actionscript-20-flash-remoting-with-flash-cs3/
    http://www.builderau.com.au/program/web/soa/Consuming-Web-services-in-Flash-MX/0,339024632 ,320282917,00.htm
    hth
    Azadi Saryev
    Sabai-dee.com
    http://www.sabai-dee.com

  • Is This a CS4 Flash Remoting Bug?

    I think I have discovered a bug, but am looking for others to comment and maybe somebody knows of somebody else that has experience with this issue.
    I have a very large flash app I am working on for a multi-user RPG game, it relies heavily on flash remoting via AMFPHP so that flash clients logged into the game may communicate with each other and the main game server which handles database storage, the game heartbeat functions,etc.
    I have been developing the app on Flash CS4 for Windows and never have had any trouble, it works fine in the IDE environment when testing the movie and the published version works fine as well.
    Now I have a Mac version of CS4 and I am getting some crazy problems running the app in Test Movie mode in the IDE.
    After I start the app in Test Movie mode and run it for a few seconds all flash remoting stops working, the game continues to run and no error messages are generated but all of the NetConnection calls do no do anything, they do not connect, they generate no errors. Ok, thats strange enough but now, if I kill the Test Movie and rerun it via Test Movie no NetConnection calls are made and the initial .connect call does not go through, I have watched the server logs on the other end and no attempts to reach the gateway.php are made. This continues until I unload all of the .fla and .as files associated with the project and then reload them, and then it starts again, works the first time for 5 seconds or so and then all NetConnections stop completely.
    So to summarize what I think is a bug specifically for the Mac platform of Flash CS4 Professional:
    1. Projects works fine in Flash CS4 for Windows
    2. In Flash CS4 for Mac, the project runs for about 5 seconds in Test Movie Mode and then all NetConnection activity stops
    3. No errors are generated for the NetConnection
    4. Continues to fail even restarting the project until I close the files and re-open them in the IDE
    Sounds like a bug, does anybody know of others with this problem, or does anyone have anything I can try?
    Thanks,
    Andy

    The application doesn't hang but the TextBlock ends up on top the Button when you set its Text property. That's why you cannot click on the Button.
    If you set the Text property of the TextBlock in the XAML markup you won't be able to click the Button when you run the app because of the same reason:
    <TextBlock x:Name="OutputMsg" Text="sample text"
    Margin="0,200,0,0"
    HorizontalAlignment="Center"
    FontSize="18" />
    The solution is, like you have already discovered, to put the TextBlock in the StackPanel so it ends up
    below the Button and not on top of it in the same Grid.
    Please remember to mark helpful posts as answer to close your threads and then start a new thread if you have a new question.

  • Installing the Flash remoting gateway on a J2EE server

    I am trying to install the flash remoting gateway onto my
    J2EE server to make remoting accessible to all my War deployments.
    I assume I need to merely copy the gateway.jar file to the domain1
    docroot directory. Would someone confirm this for me or tell me
    what I need to do to establish this functionality for my J2EE
    server.
    Thank you,

    Hi
    To start/stop gateay find this
    http://help.sap.com/saphelp_nw04/helpdata/en/bb/9f13194b9b11d189750000e8322d00/content.htm
    You can install a seperate gateway as per the requirement. That can be find out in DVDs of SAP Presentation server installation.

Maybe you are looking for

  • Which type of installation?

    Hi, I have a couple of questions. I have just purchased the discounted Snow Leopard upgrade (as I purchased a qualifying mac in June and was able to upgrade for £7.95). Is a clean install available from this disc or does it have to be upgraded? Also,

  • Product costing on sales orders

    Hi all, does anybody know where i can search a cost estimate that is not in KEKO? I have a record in EBEW with a progressive number in field cost estimate, but this cost estimate doesn't exist in KEKO. Thanks, Regards

  • Order Text in Sales Order

    Hi Gurus, I am trying to create a sales order thru BAPI.I am able to see an order_text item in the line item level of the BAPI. Where exactly does it show in the line item of the sales order. I tried to enter values but i am unable to see it in the l

  • How to write the nodevalue back to xml file?

    Hi, Everybody: These are two packages I used. javax.xml.parsers.*,org.w3c.dom.* Now I use "setNodeValue("abc") to set the node value to "abc". But it is not really saved back into XML file. It only change the node value in memory. How to write the ch

  • Overflow field conversion type P

    The MM is a problem with the transaction MB1C. When she tells convert to KG / TN is the following message: An overflow field during the conversion. Possibly, the User defined parameters transfer very small. (This is probably the case of fields type P