Solved

scrolling help

Posted on 2003-12-08
3
181 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article describes a solution to a problem of subloading one movie into another when they have different SWF versions. Sometime back, I was working on an ActionScript project while I came across an interesting fact which I would like to share…
While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
The goal of the tutorial is to teach the user how to how to record live broadcast.
Suggested Courses

738 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