A Flash Developer Resource Site

Results 1 to 10 of 10

Thread: combine Flash and ASP

  1. #1
    Junior Member
    Join Date
    Nov 2001
    Posts
    10

    combine Flash and ASP

    Hello,

    Does anyone known a book or online tutorial to combine Flash with ASP.
    I'm a good Flash designer and a good ASP developer, but I don't know how to use this together.

    tnx in advange
    Gerjan Schoemaker
    Netherlands, Dalfsen

  2. #2
    Senior Member GMF ™'s Avatar
    Join Date
    Feb 2000
    Location
    Oslo, Norway
    Posts
    5,697

    Moved to Sitecheck

    Try to do a search here http://www.flashkit.com/tutorials/?

  3. #3
    Member
    Join Date
    Aug 2000
    Posts
    37

    Flash Books

    There is a decent book called Flash .Net, the first part of the book covers Flash and ASP , the second part covers Flash Remoting.

  4. #4
    FK's Offical Avatar Hijaker Dr.Funk's Avatar
    Join Date
    Dec 2000
    Location
    Somwhere in Africa
    Posts
    145
    Im not sure you need a whole book on this topic? i wouldnt expect it to be more than 15 pages long. If you have a solid VB/VBScript/ASP/Flash background you should have no problem sending data to and from flash.(not sure the previous poster understands the major differences between asp.net and asp but im assuming you are not familiar with .net since you said asp) Everyone develops there own unique ways but here is a starter kit:

    file: "data.asp"
    ASP output:
    Code:
    <%
    someData = "This"
    someData2 = "is"
    someData3 = "easy"
    
    response.write "&someData="& someData &"&someData2="& someData2 &"&someData3="& someData3 &"&count=3&"
    %>
    Flash recognizes "&" as terminators so make sure your output has a terminator at the begining and the end of your response. to load these

    Flash Input:
    Line1 Layer1:
    Code:
    count = "";
    loadVariables(data.asp', this);
    line2 layer1:
    Code:
    if(count == "") gotoAndStop(1);
    line3 layer1:
    Place a dynamic text field with var: _root.someData etc...

    There is also a way to pass data using the Embed and Object tags flash generates. Simply add your querystring to the filename like src="flashfile.swf?someData=this&someData1=is&some Data=Easy"

    That should help you get started.... There is also some good threads in here dealing with this if you look hard

    whirld peas
    Last edited by Dr.Funk; 06-18-2003 at 03:04 PM.

  5. #5
    Registered User
    Join Date
    Feb 2001
    Posts
    13,039
    Hi.

    a bit of warning - on the actionscript part: if your loop goes back to the frame with the loadvariables call, you will be firing requests at the webserver with your frame rate. The sequence should be
    1st frame: load variables
    2nd frame blank
    3rd frame: go back to 2nd if data not ready

    Musicman

  6. #6
    FK's Offical Avatar Hijaker Dr.Funk's Avatar
    Join Date
    Dec 2000
    Location
    Somwhere in Africa
    Posts
    145
    thanx for that correction...

  7. #7
    Junior Member
    Join Date
    Nov 2001
    Posts
    10
    Tnx Guys, sorry for the late replay, but I had some days off

    It realy helped me out but I devently have to learn actionscripting for fully control on my flashsites.

    Again, tnx
    Gerjan Schoemaker
    Netherlands, Dalfsen

  8. #8
    collab.nl
    Join Date
    May 2002
    Location
    Netherlands
    Posts
    20

    Re: Flash Books

    Originally posted by foci
    There is a decent book called Flash .Net, the first part of the book covers Flash and ASP , the second part covers Flash Remoting.
    i wouldnt recommend this book to beginning actionscripters..

    thape

  9. #9
    Junior Member
    Join Date
    Nov 2001
    Posts
    10
    Because it's to difficult for a rookie?
    Gerjan Schoemaker
    Netherlands, Dalfsen

  10. #10
    collab.nl
    Join Date
    May 2002
    Location
    Netherlands
    Posts
    20
    Originally posted by gerjan
    Because it's to difficult for a rookie?
    yep

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