Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 12-11-2001, 04:55 PM   #1
jkd77
Registered User
 
Join Date: Nov 2001
Posts: 43
Question simple variable question

I'm trying to assign a value to a variable in the following way:

I already have a variable entitled "artistName," which as you guessed contains a string such as "leonardo."

But lets say I want a new variable, "fileName", to to store the value of "artistName" (or leonardo in this example), with another string such as "File".

In doing so, I want the value of fileName = leonardoFile

How would I accomplish this?

Any help would be lovely.
jkd77 is offline   Reply With Quote
Old 12-11-2001, 05:01 PM   #2
IFZen
Even graphists R objects
 
IFZen's Avatar
 
Join Date: Jun 2001
Location: Paris
Posts: 273
Default

amejust do :

fileName = artistName + "File";

or

fileName = artistName add "File";
__________________
Oh Lord, shut me down !
IFZen is offline   Reply With Quote
Old 12-11-2001, 06:22 PM   #3
jkd77
Registered User
 
Join Date: Nov 2001
Posts: 43
Default thanx

thanx, that worked beautifully
jkd77 is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Simple Variable Scope Question Jerble ActionScript 2.0 1 01-10-2005 10:12 PM
simple preloader question wizzackr Other Flash General Questions 3 12-16-2004 01:36 PM
simple question karatechop ActionScript 1.0 (and below) 4 09-27-2004 08:41 PM
simple!!! functions variable - you can help!! lou77 ActionScript 1.0 (and below) 1 10-21-2003 06:46 PM
simple transition question Pixel ActionScript 1.0 (and below) 5 03-27-2002 05:29 PM


All times are GMT. The time now is 07:22 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.