# How about a tutorial?

**URL:** <https://forum.kirupa.com/t/how-about-a-tutorial/5555>\
**Category:** Uncategorized\
**Created:** [September 15, 2002, 3:32pm UTC](https://forum.kirupa.com/t/how-about-a-tutorial/5555 "2002-09-15T15:32:13Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![hojo](https://avatars.discourse-cdn.com/v4/letter/h/7cd45c/32.png) [@hojo](https://forum.kirupa.com/u/hojo)\
**Post date:** [September 15, 2002, 3:32pm UTC](https://forum.kirupa.com/t/how-about-a-tutorial/5555/1 "2002-09-15T15:32:13Z")

</div>

could someone make a tutorial on basic numerical and text variable and functions? im doing something really wrong when i try em out and im sure theres other viewers who could benefit also

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 15, 2002, 5:34pm UTC](https://forum.kirupa.com/t/how-about-a-tutorial/5555/2 "2002-09-15T17:34:21Z")

</div>

A tutorial about what exactly? I don’t understand. Can you give an example?

pom :asian:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 15, 2002, 10:55pm UTC](https://forum.kirupa.com/t/how-about-a-tutorial/5555/3 "2002-09-15T22:55:58Z")

</div>

mainly about the assigning of numerical variables and the use of them. like how to set variable a and to be able to subtract and do not only numerical functions to it, such as subtracting, etc, but making text also.

if im not explaining what im asking well enough, please ask which part if confusing.

thanks

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 16, 2002, 7:15am UTC](https://forum.kirupa.com/t/how-about-a-tutorial/5555/4 "2002-09-16T07:15:51Z")

</div>

Variable tutorial:

declaration:  
a=4;

utilization:  
a+2;

And what about text exactly? You want to learn the string manipulation methods, right?

pom 😛

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 16, 2002, 3:02pm UTC](https://forum.kirupa.com/t/how-about-a-tutorial/5555/5 "2002-09-16T15:02:24Z")

</div>

yep.

with the numbers, more like when this happens to variable a, add 4 or whatever to it. then if a = x, then x = a

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 16, 2002, 10:04pm UTC](https://forum.kirupa.com/t/how-about-a-tutorial/5555/6 "2002-09-16T22:04:21Z")

</div>

I’m sorry, I don’t understand. Can you specify? [SIZE=1]if this word exists?[/SIZE]

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 16, 2002, 10:19pm UTC](https://forum.kirupa.com/t/how-about-a-tutorial/5555/7 "2002-09-16T22:19:53Z")

</div>

Yeah, I don’t understand either…

If a = x then it is common sense that x = a since they are equal variables.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 17, 2002, 1:08am UTC](https://forum.kirupa.com/t/how-about-a-tutorial/5555/8 "2002-09-17T01:08:24Z")

</div>

heh, i really dont have a clue what i was goin for there.

i guess what i want is a beginners tutorial for all types of variables that are commonly used in movies, numerical and text based, if thats easy enough to make into one.

any help’d be appreciated, thanks fellas

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 17, 2002, 8:21pm UTC](https://forum.kirupa.com/t/how-about-a-tutorial/5555/9 "2002-09-17T20:21:39Z")

</div>

Now I’m a little past this level just cause I have some prior programming experience but now I’m on a level where I can read and understand what a code is supposed to do. But don’t ask me to sit down a pull code out the air.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 17, 2002, 9:09pm UTC](https://forum.kirupa.com/t/how-about-a-tutorial/5555/10 "2002-09-17T21:09:52Z")

</div>

i can look at some code and tell what it does, but i dont know how to pull it out of thin air myself, i’d like to learn how to program without having to look at a file every few minutes.

so with this tutorial i guess i want how to do numerical things, the basics. i haven’t done them before myself. maybe have the tutorial on a calculator in flash or something.

that should show what im asking for, how to add and do basic numeric functions with a variable.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 18, 2002, 9:36pm UTC](https://forum.kirupa.com/t/how-about-a-tutorial/5555/11 "2002-09-18T21:36:24Z")

</div>

You want a tutorial about adding numbers??? Or functions? I don’t get it…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 18, 2002, 9:50pm UTC](https://forum.kirupa.com/t/how-about-a-tutorial/5555/12 "2002-09-18T21:50:13Z")

</div>

Do you mean doing math between 2 variables? Something like…

height = this.\_height  
inertia = 5

\_y += (\_ymouse/height)/inertia

Ok, so that code probably does jack diddly, but I think that is what you are going for. Am I right?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 19, 2002, 7:16pm UTC](https://forum.kirupa.com/t/how-about-a-tutorial/5555/13 "2002-09-19T19:16:41Z")

</div>

yes! you are correct sir

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 19, 2002, 7:38pm UTC](https://forum.kirupa.com/t/how-about-a-tutorial/5555/14 "2002-09-19T19:38:10Z")

</div>

Let me get this straight: you’re having trouble with the math or with the movie clip properties \_x, \_xscale, \_width and so on?

pom :asian:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 19, 2002, 9:13pm UTC](https://forum.kirupa.com/t/how-about-a-tutorial/5555/15 "2002-09-19T21:13:07Z")

</div>

i am a \*\*\*\* near a newbie to all mathematic relations with flash.
