A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: Simple variable question

  1. #1
    Senior Member
    Join Date
    Mar 2000
    Posts
    128

    Smile

    How do you pass the values of two variables to a single variable in the same timeline?
    I have two variables: First_name and Last_name.
    I need an onRelease action that will load the values of those two into a variable: Name

    Thanks a lot!

  2. #2
    Senior Member Leo Lima's Avatar
    Join Date
    Jul 2000
    Location
    São Paulo, Brazil
    Posts
    745
    Name = First_Name + " " + Last_Name.

    Regards,
    Leo Lima

  3. #3
    Senior Member
    Join Date
    Mar 2000
    Posts
    128
    Valeu!

  4. #4
    Senior Member Leo Lima's Avatar
    Join Date
    Jul 2000
    Location
    São Paulo, Brazil
    Posts
    745
    One more in portuguese? wow, it's growing

    De nada

    Regards, (Abraços,)
    Leo Lima

  5. #5
    Senior Member
    Join Date
    Mar 2000
    Posts
    128
    It seems that certain calculate functions in my movie are interfering with the concatenation of string variables. When those two variables have numbers as values, they get added up in the new variable (1+1=2). However, if those variables have letters, they concatenate to 0.
    Filadapultcha.

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