Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID

Categories

We have migrated to a new platform! Please note that you will need to reset your password to log in (your credentials are still in-tact though). Please contact lee@programmersheaven.com if you have questions.
Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

How do you remember a name???

Eeehzzzz People,
i'm making an Flash game and i want People to enter a name at the beginning of the game...
And the later on in the gam they see that name,
HOW the heck do you do that in flash???
Allrighty thanxxxx

Comments

  • KnightKnight Posts: 34Member
    Its Simple.
    First create a text window and select Text options to input.
    Then you type in a variable name.
    Then you create a new text window anywhere in your flash game.
    and select the Text options to Dynamic Text.
    Then type in the variable name.

    A sample? (Open this in flash)
    http://www.undanbedes.nu/knight/flash/input.fla

    [code][size=1][b]Knight[/b][/size][/code]


  • ajoyajoy Posts: 17Member
    hey there,



    1.first declare a variable which will contain your name
    2. when a user enters a name it gets stored into the variable
    3. when you call the movie in which you wnat to display the name you pass the value of this variable into the movie

    hope this works
    tell me if you need a fla file with a simple example

    thanks
    ajoy


Sign In or Register to comment.