Solved

scrolling help

Posted on 2003-12-08
3
177 Views
Last Modified: 2010-04-03
in FLash mx i have this code
[code]
on (release) {
if (Number(getProperty("Scroll/Text",_y)) > (-551)) {

setProperty("Scroll/Text", _y, getProperty("Scroll/Text", _y)-100);

}else{
setProperty("Scroll/Text", _y, getProperty("Scroll/Text", _y)-0);
}
}
[/code]
all it does is relocated the y axis of the masked movie clip..
to see it.. http://members.optusnet.com.au/chizzy/newport2.html then go to portfolio.
i want to make it smoother. i thought by adding a for loop
eg
[code]
curr=(Number(getProperty("Scroll/Text",_y))
for(x=curr;x<curr-100;x--){
setProperty("Scroll/Text", _y, getProperty("Scroll/Text", _y)-x);
}

[/code]
but this doesnt work.. is there any other way
any help would be greatly appreciated
0
Comment
Question by:chizzy60
3 Comments
 
LVL 27

Accepted Solution

by:
negatyve earned 400 total points
ID: 9909107
this one should give you something to start from...

sample: http://www.negatyve.com/EE/slideMenu/slideMenu.html
source: http://www.negatyve.com/EE/slideMenu/slideMenu.zip
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are times in your Flash CS4 application when you want more than a simple pointer or a hand, and it's hard to find an ideal walk-through to tell you what to do.  I spent a few days recently learning my way around making custom cursors in Flash,…
Recently, I was asked to recommend a tracking system to be implemented on a clients website. As the entire site was built on flash, my first thought was to suggest custom built tracking system. However, our company at that point of time didn't h…
The goal of the tutorial is to teach the user how to how to record live broadcast.
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question