Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | FLASH: variable problems |
From: | Samir Ahmed |
Date: | Thu, 6 Jul 2000 06:28:19 +0100 |
Hi Guys,
I am looking for a code to add 2 variables together.
This needs o be happening in such a form:
variable "a" is the displayed variable
variable "b" is a random variable
I want the contents of "b" (a random between 1 & 0) to be added to the end
of variable "a"
i.e.
if "a"="101101"
and "b"="1"
then a=a+b
="1011011"
please help!
I tried using the following code:
Set Variable: "ran" = Random (2)
Set Variable: "num" = num+Substring ( ran, 1, 1 )
(where num is the displayes "a" variable)
but it doesnt work
Samir Ahmed
Web Development Team Leader
http://www.SheikhMohammed.co.ae
Tel: +9714-3322220
Fax: +9714-3322202
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
July 24-26, 2000, NEW YORK CITY, Hammerstein Ballroom
www.flashforward2000.com
Produced by United Digital Artists and lynda.com
Sponsored by Macromedia, Adobe Systems, Fusion, Inc, AtomFilms,
shockwave.com and Electric Rain.
1.877.4.FLASH.4 or (1.805.640.6679 outside the US and Canada)
Register before June 30 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpchinwag [dot] com
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]