Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: Getting worse RE: FLASH: Action Script problem using telltarget
From: Helen Triolo
Date: Thu, 19 Oct 2000 13:18:45 +0100

Put a trace statement (or several) in to see which of your variables is
not what you expect.

Regards,
Helen
---------------------------------------------------
Flash 5 Journal: http://i-technica.com/flash5
Flash Q&A archive: http://i-technica.com/flashlist

Samir Ahmed wrote:
>
> Hi Guys,
>
> Still waiting in peril for an answer!
>
> 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 helpatchinwag [dot] com
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 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 helpatchinwag [dot] com

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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 helpatchinwag [dot] com


Replies
  Getting worse RE: FLASH: Action Script p, Samir Ahmed

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]