Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


How do I add to a value in flash

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Dillonz
Grandmaster Cheater
Reputation: 4

Joined: 20 Jan 2008
Posts: 758
Location: Under your bed

PostPosted: Tue Sep 02, 2008 7:24 pm    Post subject: How do I add to a value in flash Reply with quote

Hi, I'm working with Adobe Flash CS3 and I'm trying to figure out how to add to a value just like the title says.
Edit: Same thing for subtracting from a value.
Back to top
View user's profile Send private message MSN Messenger
Frostbyt3
Master Cheater
Reputation: 0

Joined: 07 Jan 2008
Posts: 323
Location: Australia

PostPosted: Tue Sep 02, 2008 11:07 pm    Post subject: Reply with quote

I' m pretty sure that you just do:

Code:
VarName = 1;


No need for data type, they are typeless (Like python, etc.)

As for subtracting.

Code:

n = 1;
m = 3;
b = n - m;


Last edited by Frostbyt3 on Wed Sep 03, 2008 12:14 am; edited 3 times in total
Back to top
View user's profile Send private message MSN Messenger
nog_lorp
Grandmaster Cheater
Reputation: 0

Joined: 26 Feb 2006
Posts: 743

PostPosted: Tue Sep 02, 2008 11:26 pm    Post subject: Reply with quote

Lol frost, you said as for subtracting then gave an example of addition Very Happy.
_________________
Mutilated lips give a kiss on the wrist of the worm-like tips of tentacles expanding in my mind
I'm fine accepting only fresh brine you can get another drop of this yeah you wish
Back to top
View user's profile Send private message
Frostbyt3
Master Cheater
Reputation: 0

Joined: 07 Jan 2008
Posts: 323
Location: Australia

PostPosted: Tue Sep 02, 2008 11:45 pm    Post subject: Reply with quote

Lols. Fixed.
Back to top
View user's profile Send private message MSN Messenger
NothingToShow
Grandmaster Cheater Supreme
Reputation: 0

Joined: 11 Jul 2007
Posts: 1579

PostPosted: Wed Sep 03, 2008 6:40 am    Post subject: Reply with quote

Adobe wrote:
Example
The following examples use the var action to declare and assign variables:

var x;
var y = 1;
var z = 3, w = 4;
var s, t, u = z;


Link.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites