A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: posting variables on different levels

  1. #1
    Junior Member
    Join Date
    Mar 2000
    Posts
    24

    Talking

    I'm having problems getting a submit form to work, i followed the "CGI script in Flash" tutorial, and it worked fine.
    The problem is my form is located on level 2 of the website, i presumed that if i changed the location level (ie to level 2) the variables would be posted there, but it doesn't seem to be working.
    The form still works fine if loaded into a browser by itself, but not when loaded into another level.

    any help greatly appreciated,

    dave

  2. #2
    Junior Member
    Join Date
    May 2000
    Posts
    4

    Post

    Don't know if this will help or not, but I believe to have run across simular problems.
    But this allways seems to work for me.

    Scence1 -> Actions -> keyframe0

    Load Variables ("http://test.xxxxxxx.com/xxxxxx/list_clients.php3", 0, vars=POST)


    5 or so frames later handle all the return values

    Scence1 -> Actions -> keyframe5

    Set Variable: "Index" = 1
    If (clientcount eq "")
    Set Variable: "clientcount" = 1
    Set Variable: "client1" = "Error #125"
    End If
    Loop While (Index <= clientcount)
    Set Variable: "MyCombobox:NewItem" = Eval("client" & Index)
    Call ("MyCombobox:AddItem")
    Set Variable: "Index" = Index + 1
    End Loop
    Stop


    This Will Not work for me if I call() or GoTo() keyframe5 from keyframe0

    [This message has been edited by tnaw (edited 11 May 2000).]

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