Jump to content


Variables (Not Sure If Is The Right Title For My Question)


6 replies to this topic

#1 caslor

    Member

  • Members
  • PipPip
  • 13 posts

Posted 11 December 2011 - 07:29 PM

Hi to all friends here
i would like your help as i am not so experience user of swish max

i want to make a tablet with some empty spaces that can add someone some numbers

in this empty areas i want when i enter a range of numbers with one button/enter in an other space of the tamplet will appear a onether number or word

example :

0 - 100 = 1980
100 - 199 = 875


so if someone write the number 45 in my text area then with button/enter will appear the 1980 in the other area

and if he writes the number 154 will get the result 875


hope make you understand what i want to do in generaly

thanks in advance

#2 crslz

    Advanced Member

  • Members
  • PipPipPip
  • 1857 posts
  • Gender:Male
  • Location:Europe, Belgium, West-vl (dutch language)
  • Interests:swishmax, linux, windows, vb.net, photoshop, etc..

Posted 11 December 2011 - 07:52 PM

hi,

I don't see the connection between 45 = 1980 and 154 = 875

what is the formula behind it ?

#3 caslor

    Member

  • Members
  • PipPip
  • 13 posts

Posted 11 December 2011 - 11:56 PM

mmm i wish i knew it :)

i want when someone place a number from 1 to 100 the result be ''A''
and from 101 until 200 will take the result ''B''


to make it more understandable lets say that we have a product and with the serial number someone can take some information.. so products with serial from 1-100 can take the result ''A''

so if i have the product with a serial number 56 when i place it in the form i will take result ''A''

ps: i am not from uk/usa so sorry for my bad english

#4 crslz

    Advanced Member

  • Members
  • PipPipPip
  • 1857 posts
  • Gender:Male
  • Location:Europe, Belgium, West-vl (dutch language)
  • Interests:swishmax, linux, windows, vb.net, photoshop, etc..

Posted 12 December 2011 - 01:14 AM

like this ?

Attached File  example.swf   13.7K   11 downloads

Attached File  example.swi   10.07K   16 downloads

#5 caslor

    Member

  • Members
  • PipPip
  • 13 posts

Posted 12 December 2011 - 09:32 AM

yes i think is that i want... i can run for now swish max file as i am from my ubuntu system... but swf file i check is what i want to do

so cool !!!

thanks my friend

#6 caslor

    Member

  • Members
  • PipPip
  • 13 posts

Posted 15 December 2011 - 10:28 AM

can i ask one more help about script??

what is the script rule in order to transfare what we writte to the other one as a result ?

if we write 1924 in the first box will get as result 1924
and when we place 342 will get 342 in the result box etc

ps: these will be different boxes than the first ones

#7 caslor

    Member

  • Members
  • PipPip
  • 13 posts

Posted 15 December 2011 - 10:41 AM

ok i find the solution... just remove the ''if''

;)





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users