A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: submit form in flash4 ?

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

    Question

    Does anyone know if there is a way to pass variables submitted by form from one scene to another? For example, if you type and submit your name in a form, then when the submit button is hit, the next scene gets called and and it prints your name? i'm trying not to avoid asp and cgi script.

    Thanks!!!

  2. #2
    Senior Member
    Join Date
    Feb 2000
    Posts
    195

    Lightbulb

    This seems to be a very common question...

    There is no need to "pass variables between scenes". Because...

    Variables are static across ALL scenes! Set once, read everywhere!



    <EMBED src="/cgi-bin/ubb/Members/sigs/00000205.swf" quality=high WIDTH=500 HEIGHT=50 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"> </EMBED>

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

    Question

    Does that mean that if I submit "name" in MovieClip1 in Scene 1, "name" will be the same in MovieClip1,2,3.... for that entire Master movie?

    ------------------
    Steve Bucci
    Ballantyne Consulting Group
    (704)540-0509

  4. #4
    Junior Member
    Join Date
    Mar 2000
    Location
    Seattle, WA
    Posts
    19

    Post

    If you are getting the variables in a movie clip, make sure you are setting global variables (_Level0/:MyVariable) and not variables local to the clip itself...then you can refer to them anywhere...
    <EMBED src="/cgi-bin/ubb/Members/sigs/00000549.swf" quality=high WIDTH=400 HEIGHT=80 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"> </EMBED>

  5. #5
    Senior Member
    Join Date
    Feb 2000
    Posts
    195

    Post

    right. Only variable set in the main timeline ("_level0" or "/") are static acrost scenes.

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