Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | FLASH: Action Script problem using telltarget |
From: | Samir Ahmed |
Date: | Thu, 19 Oct 2000 08:13:23 +0100 |
Hi Guys,
I am working with flash 5 and I am facing a scripting problem. I want a
movie clip to go to a certain frame which is calculated by a simple
mathematic formula. The script is as follows:
startDrag ("move", true);
x = 225-move._x;
frame = getProperty (gallery, _currentframe);
tframe = getProperty (gallery, _totalframes);
xmain = mover._x;
xchange = int (-((x^2)/10));
xnew = xmain-xchange;
framechange = frame-xchange;
setProperty ("mover", _x, xnew);
tellTarget ("gallery") {
gotoAndStop (framechange);
}
The movie clip in question is the <gallery> clip which i am <telltarget>ing
to the new frame. Nothing happens!
Please help!
Samir Ahmed
Web Development Team Leader
http://www.SheikhMohammed.co.ae
Tel: +9714-3322220
Fax: +9714-3322202
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NudeGuru.com is proud to sponsor the Flasher list
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
IT'S THE ART OF MONEY, HONEY!
Tips and Advice from some of the most popular Flash
artists + industry power-brokers on how to hold onto
your rights, negotiate contracts and get full value
for your work.http://www.nudeguru.com from Franke James
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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]