Solved

scrolling help

Posted on 2003-12-08
3
182 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

623 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