IDE :: Make Infinite Moving List?

Mar 11, 2009

I have an MC that is a giant text box that contains 20 different items laid out vertically, like this for example:

A
B
C
D
E
etc

I want to make the list infinitely moveable/draggable on its y position, meaning the user can drag this list up and down but the list never ends.....In other words when the user drags to the last item in the list, the list, the list starts over again. And the same works in the reverse; if the user is dragging up and gets to the first item, the last item pops up after and then goes in reverse. In other words no ending. Think The Price Is Right Wheel or the alram clock on the iPhone or iPod touch.

View 1 Replies


Similar Posts:


ActionScript 3.0 :: Infinite Moveable/Draggable List?

Mar 12, 2009

I have an MC that is a giant text box that contains 20different items laid out vertically, like this for example:ABCDEetcI want to make the list infinitely moveable/draggabl on itsy position, meaning the user can drag this list up and down but thelist never ends.....In other words when the user drags to the lastitem in the list, the list, the list starts over again. And thesame works in the reverse; if the user is dragging up and gets tothe first item, the last item pops up after and then goes inreverse. In other words no ending. Think The Price Is Right Wheelor the alram clock on the iPhone or iPod touch.

View 1 Replies

Flash :: Implement A Infinite List In Flex (hero)?

Apr 12, 2011

I'm new to Flex/ActionScript (.NET/Java has been my main playground so far).I'm trying to build a Flex app that has a list that is meant to look and behave like an infinite list (of items - which can be any object). The idea is that the user should be able to scroll up or down and never reach the end of the list in either direction.

An example would be a list of numbers. Scrolling up will show negative numbers; scrolling down will show positive ones. Now, my list is a simple Flex Spark list (using Flex Hero).It is bound to a data provider that is an ArrayList.My initial idea was to listen to the scroll event and add/remove items as needed. However, in the current build of Flex Hero, there is a bug that doesn't raise scroll events for vertical scrollbars sometimes (http:url].....).So, I'm using the workaround suggested in the link above (i.e listening to the propertyChanged event of the list's scroller's viewport. The event though only gives me the current verticalScrollPosition. And it looks like the default spark list supports smooth scrolling and raises the event many times before the list scrolling comes to a standstill (it is a nice visual effect).Now, I need to :

Figure out whether it is scrolling up or down (how do I do that?)

Figure out which items are visible. I can get this from:

list.dataGroup.getItemIndicesInView()

Add/remove items as needed, so that the user can scroll up and down forever, never reaching the end of the list in either direction.

I've tried the following code but it doesn't work. (comments in code).

import mx.collections.ArrayList;
import mx.core.INavigatorContent;
import mx.events.FlexEvent;[code].....

View 2 Replies

ActionScript 2.0 :: List Component - How To Include Infinite Menu

Apr 17, 2007

I am using the List component as a menu. The user uses the arrow keys to go up and down the items in the component and uses another key to select them. This is all working but now I would like to include infinite menus. I have made a quick animation to show you what I mean: [URL]

I am currently using this code:
Code:
focusManager.setFocus(_root.menu);
lastItem = menu.length - 1;
menu.selectedIndex = 0;
var keyListener:Object = new Object();
keyListener.onKeyDown = function() {
if((menu.selectedIndex == lastItem)&&(Key.getCode() == 40)){
menu.selectedIndex = 0;
} if((menu.selectedIndex == 0)&&(Key.getCode() == 38)){
menu.selectedIndex = lastItem;
}

However this results in an "off by one error" and the top item and bottom item cant be selected. e.g. [URL].

View 1 Replies

ActionScript 2.0 :: Sliding/Infinite Menu - It Cuts Off A Bit When Going Infinite?

Nov 12, 2002

onClipEvent (load)
{
xcenter=377;
speed=1/10;[code].....

i did the tutorial but something is wrong cuz when i created my own little sliding thingy and i put my mouse so it slides left or right on the right side it cuts off a bit when going infinite.I think its something to do with the positioning of my menu because its not on x=0 its on x=120.8 and i was trying to work out how to fix it but i'm stuck...and when i move the menu to x=0 it works nicely.

View 15 Replies

ActionScript 3.0 :: Make Dynamic Infinite Menu

Feb 10, 2009

Looking for a dynamic Infinite menu. I had create a infinite menu. from ([URL]) However, I would like to make it dynamic.

View 5 Replies

Professional :: Make An Infinite Loop With The Same Space On All Images?

Dec 22, 2010

I made a movie clip with infinite  loop in which there are images that move from right to left something simple like a marquee, and each image has a blank space between  them, but between last and first image there is a more space, how I can do to  make all images have an equal space between each one and that the motion never stops.

View 5 Replies

ActionScript 2.0 :: Make Movie Clip Movement To Infinite Loop To X Axis?

Jan 21, 2008

I guys i am trying to make Movie clip movement to infinite loop to x axis.It should move like left to right on loop, without any jurk.i used this code. this is working fine to move left, but i am not getting how should i make it move on looop.

Code:
this.onEnterFrame = function() {
if (this.masked._x>-100) {
this.masked._x += -10;[code].............

View 6 Replies

Flex :: Make List Content Dependant On Selection In Another List?

Jul 6, 2011

When a user selects a category from the first drop down box then i want the 2nd drop down to be updated based on the selection of the first drop down. I have created multiple ArrayCollections whose names are set to the "data" values of the first drop down, for instance:

[Bindable]
public var countries:ArrayCollection = new ArrayCollection([
{label:"USA",data:"USA"},

[code].....

View 2 Replies

ActionScript 3.0 :: Reordering / Resorting A List Of Items And Moving Them Around?

Jul 23, 2010

Basically Reordering / Resorting a list of items and moving them around.[URL]

View 1 Replies

Flex :: Mobile - Move To The Next Data In List.selectedItem When Moving To Next Page?

Sep 14, 2011

When I move page01 to page02, I pass the same data along with it using the following code:navigator.pushView(Page02, data);How do I move to page02 with passing the next row of data (instead of the same data)? In other word, how to increment to the next row of data with pushView?

View 1 Replies

ActionScript 2.0 :: Make The Background Image Move Opposite The Cursor To Make It Seem Like The Camera Is Moving?

Mar 5, 2006

I need to make the background image move opposite the cursor to make it seem like the camera is moving.[URL]

View 1 Replies

ActionScript 3.0 :: Scroll The List Of Pics According To The Position Of The Mouse With Out Actually Moving The Scroll Bar?

Apr 20, 2009

I wrote a short AS program to create a tileList and it functions fine, but I need to be able to scroll the list of pics according to the position of the mouse with out actually moving the scroll bar.... example of what I mean: the farther to the right mouseX is on stage, the faster my tileList scrolls to the right, if mouseX moves to the left of the stage, so does the scroll bar...Here`s my code so far:

import flash.display.Sprite;import fl.controls.TileList;import fl.controls.ScrollBarDirection;import flash.text.TextFormat;
var tlc:TileList;[code]........

View 1 Replies

ActionScript 2.0 :: Make A Moving Menu?

May 1, 2004

How do i make a moving menu First its like this

--/--------------
Home-Forum-Flash
--/--------------

Then when u click Forum it looks like this

--------/--------
Home-Forum-Flash
--------/--------

and when u click Flash it looks like this

--------------/--
Home-Forum-Flash
--------------/--

So it moves realy cool when u click it it also goes 2 the page.

View 1 Replies

ActionScript 2.0 :: Make A MC Keep Moving A Certain Amount?

Jun 23, 2003

Does anybody know how I could make a MC keep moving a certain amount when I let go after dragging it. I want the distance it goes to be based upon how quick I moved the mouse before I let it go.

View 5 Replies

Make Button Follow Moving Graphic?

Aug 7, 2010

I have made a simple Drag and Drop map, where its the map being dragged by the mouse. The thing is, i need to have a grid of buttons on this map, which you can click. But since im dragging the actual map, my buttons wont follow. They stay where they are.An example would be the united states world map, then each state is a button i can click. A problem would be that if the entire map is covered in buttons, then my mouse cant drag the background map as im selecting a button when i drag. perhaps i can make the buttons drag the map instead?This is the code for dragging the map:

Code:
Map.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
Map.buttonMode = true;[code]..........

View 1 Replies

ActionScript 3.0 :: Make A Moving Road In Flash?

Feb 5, 2011

I want to make a road in flash. You got a road with white stripes on it but it aint moving. I want the stripes to come at you to make it like you are driving the road.... Its not a straigt road but diagonal and dissapearing at the eind of the horizon.

View 1 Replies

ActionScript 1/2 :: Make Airplane With Moving Banner Behind It?

Apr 15, 2010

How I make a airplane with with a moving banner behind it?

View 3 Replies

ActionScript 3.0 :: Make Characters Animate When Moving?

Apr 8, 2011

I'm just starting out with actionscript and need some assistance. I have created 2 characters and a background.I want the characters to move when using the keys on the keyboard and only when they're moving to animate their legs.

View 4 Replies

ActionScript 2.0 :: Can't Make Object Stop Moving?

Jun 27, 2010

Currently I'm trying to make a basic game (using AS 2) but I'm having trouble getting the basic physics to behave. I have a ball which is supposed to fall until it touches the ground. It can also be dragged around the screen by the cursor.I want the ball to fall only if it isn't being held, but for some reason the condition isn't working properly. No matter how I structure the condition, the ball still falls even when it's being held (in fact I can move it from side to side, it is still being held even though it's falling downward).I've tried putting this on the ball to make it fall conditionally:

Code:
onClipEvent(enterFrame){
if(hitTest(_root.ground1) == false){

[code].......

View 2 Replies

ActionScript 2.0 :: Make Mc Moving Across The Page In A Loop?

Apr 16, 2011

I am trying to make a simulation of a blood moving in an artery and I want blood cells to continuously be moving across the stage ( so that there are no gaps in between one loop and the other) when i click the start button.I thought about doing a setinterval loop but it just overwrites the previous set of generated mcs? This is the code on my button

on (release) {
var years:Number = 80;
function generatePlatelet (){

[code]......

View 2 Replies

ActionScript 2.0 :: Drag Inertia - Make A MC Keep Moving A Certain Amount ?

Jun 23, 2003

Does anybody know how I could make a MC keep moving a certain amount when I let go after dragging it. I want the distance it goes to be based upon how quick I moved the mouse before I let it go.

View 3 Replies

Make Simple Cartoon / Flipbook Like Moving Image

Feb 20, 2012

You know those paper flipbooks you would have as a kid where you would flip the pages and it would like like a moving image? How cartoons are made? I need to make that on the computer. I have a series of jpeg that I want to cycle one after another every second or so.

View 3 Replies

ActionScript 3.0 :: Make Player Stop When Moving To Different Pages?

Aug 22, 2009

I new to Flash  and Action Script 3.0.  I've just designed my first Flash website (for a band), and one of the pages has an MP3 player on the audio page.  It plays fine, as long as you're on that page. But the problem is, when you go to a different page in the website, it keeps playing, and then when you return to the audio page, a new instance of the song that's playing starts playing on top of the song that's already playing. It's a jumble of sound that can't be stopped unless you close out of the website.[code]...

View 35 Replies

Flash :: Make Moving Images Buttons (getting Error 1009)

Apr 24, 2011

I'm trying to create a portfolio website, and I want my picture strip to move in and then become buttons. I have made them buttons, but once the strip stops moving I keep getting this message.

[Code]...

View 1 Replies

ActionScript 2.0 :: Make Draggable Object Disappear When Moving To A Different Frame?

Jan 16, 2012

I have script like this to drag an object a1 to a different location for a matching exercise.

ActionScript Code:
a1.onPress = function():Void  {
temp1 = a1._x;

[code].....

View 2 Replies

ActionScript 2.0 :: Make Random Moving Object Disappear After A Certain Time?

Feb 26, 2006

I've just finished using this bit of simple code to get an object to move around randomly. What I want to do is try and get it to disapear or move off the stage after say a minute (with a countdown clock in the corner starting from a minute and counting down).

View 1 Replies

ActionScript 2.0 :: Cannot Make The Moving Buttons Move And Load A Swf. Page?

Dec 16, 2003

I visited this kool site-I cannot make the moving buttons move and load a swf. page

View 6 Replies

ActionScript 2.0 :: CS3 How To Make Mailing List

Mar 30, 2010

I really want to make a mailing list with AS2.0 in Flash CS3. Does anyone know how I can do that? I know it's a big job.

View 4 Replies

ActionScript 3.0 :: How To Make A List Component

Aug 22, 2011

I have this RSS Reader that is displaying the main headlines into a list component, which is fine but its ugly, i want the list component to be touch enabled for scrolling, is this possible, or if not can i atleast change the scroller to something wider and more visually appealing???

here is my RSS reader:
var rssLoader:URLLoader = new URLLoader();var rssURL:URLRequest = new URLRequest("http://alaashaker.wordpress.com/feed/");rssLoader.addEventListener(Event.COMPLET

[code].....

View 5 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved