Some Flash Questions

  • TsX
  • Graduate
  • Graduate
  • User avatar
  • Posts: 167

Post 3+ Months Ago

New to actionscript (mx), and what tutorials I went over so far aren't answering some of my questions. My google results turned up crap, though I may be shy of some good keywords.

A variable made from an input text, I want to be part of a string.
(example for php: echo 'Hello '.$name.'!; )

I have more questions, but I'm gunna keep at work and see if I can understand more before I ask 'em.
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • TsX
  • Graduate
  • Graduate
  • User avatar
  • Posts: 167

Post 3+ Months Ago

lol, seems like not to many people are into flash. took me awhile but I believe this works:
Code: [ Select ]
var = "hello";
string = var+" bob, my name is sally:)";
  1. var = "hello";
  2. string = var+" bob, my name is sally:)";
  • Tdotwire
  • Proficient
  • Proficient
  • User avatar
  • Posts: 486
  • Loc: Toronto

Post 3+ Months Ago

if you already dont know programming shortcuts

var = "hello";
var += ",my name is...";

having the += will simply add onto the var the new piece of string...

try using the actionscript and flash forum for any flash related queries

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 17 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.