A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: [Resolved] [Resolved] [Resolved] [Resolved] [Resolved] Flash MX and SOAP...?

  1. #1
    Junior Member
    Join Date
    Jan 2001
    Posts
    14
    Interested to see what the best way to integrate ASP.NET and FLash MX using SOAP would be...any ideas?

  2. #2
    Senior Moderator
    Join Date
    Apr 2000
    Location
    Sheffield, UK
    Posts
    3,881
    For now, it would be no different to how you would do it in flash 5, assuming you already know?!? wait a few months

  3. #3
    Junior Member
    Join Date
    Jan 2001
    Posts
    14

    hmmmm

    Are you referring to certain "Mexican Chip Dip"???

    Cause if you are, we should talk privately, that's what I am referring to.

    JOE
    joe@breckcomm.com

  4. #4
    Senior Moderator
    Join Date
    Apr 2000
    Location
    Sheffield, UK
    Posts
    3,881
    The best way to communicate with server-sides using flash is either using the xml object which has now being dramatically speeded up, parsing etc.... or using loadVariablesNum and movieclip.loadVariables.

    Flash MX now has a LoadVars Object:

    Code:
    myvars=new LoadVars()
    myvars.load("http://www.flashguru.co.uk/asp/tester.asp?id=dgjfsghdf")
    myvars.onData=function(){
        trace(this.getBytesLoaded()/this.getBytesTotal()*100)
    }
    myvars.onLoad=function(){
        trace("variables loaded")
    }
    You can also use:

    Code:
    myvars.id="dgjfsghdf"
    myvars.sendAndLoad("http://www.flashguru.co.uk/asp/tester.asp")
    myvars.onData=function(){
        trace(this.getBytesLoaded()/this.getBytesTotal()*100)
    }
    myvars.onLoad=function(){
        trace("variables loaded")
    }
    and:

    Code:
    myvars.id="dgjfsghdf"
    myvars.send("http://www.flashguru.co.uk/asp/tester.asp")
    myvars.onData=function(){
        trace(this.getBytesLoaded()/this.getBytesTotal()*100)
    }
    myvars.onLoad=function(){
        trace("variables loaded")
    }
    So you have a few new methods, events and properties to play with and to ease the process a little.


  5. #5
    Beyond the Sea
    Join Date
    Mar 2000
    Posts
    997
    holy cow, the news just keep getting better and better. FlashGuru, can you keep explaining more of the new objects/methods of AS? Maybe you can start a new thread with just cool new junk!? My mind is already spinning with what you've revealed so far, the mask methods, the text field methods, the loadVars object.

    I want more!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center