ActionScript 1/2 :: Vertical Scrolling Menu / Seamless Scrolling?
Nov 13, 2009
I have created a vertical menu that scrolls through menu items in a movie clip.There is a big white gap when the movie clip runs out, and it snaps back to the beginning.I would like it to scroll seamlessly, having the end join up with the beginning again without any space.I would like it to scroll to one end of the list and STOP, and scroll back the other way and STOP - without any white space.URL...
View 1 Replies
Similar Posts:
Dec 22, 2010
I'm trying to create a Vertical scrolling xml menu. This menu is based on [URL] "Creating 3D Carousels tutorial"
This is my code
Select all
var Items:Number;
var xml:XML = new XML ();
xml.onLoad = function () {
_root.createEmptyMovieClip ("mc_Control", this.getNextHighestDepth ());
mc_Control._x = 0;
mc_Control._y = 0;
[Code] ......
My problem is when I add a new item in the xml file, I can't see it in the .swf file. My xml file have 37 items. I only see 24 buttons! in the .swf file and I' m stuck at this point my buttons have 26 px (_height).
View 6 Replies
Jan 29, 2009
I am working on a very minimal site that consists of a swf containing a vertical scrolling infinite menu that loads other swfs into the main timeline: [URL].I am building this in MX, and it is based on this tutorial: [URL]. I figured out how to change this to a vertical format that fit my needs. This is the actionscript I attached to the main menu movie clip:
onClipEvent (load) {
ycenter=600;
speed=1/10;
} onClipEvent (enterFrame) {
var distance=_root._ymouse-ycenter;
_y+=(distance*speed);
if (_y > 0) _y=-2323;
if (_y < -2323) _y=0;
}
The swfs are sized large as the end result is a private site dealing mostly with clients using very large monitors. I am creating the swfs to be loaded in with Flash CS4, and they contain large images that have smoothing enabled. As I know nothing about Actionscript 3.0 and very little about 2.0, I am creating the main swf in MX as I am more familiar with it.
Anyway, what I need to know is:
1. How to add something to the code that will stop the timeline's scrolling where you left it when you roll off of it,
2. Any other vertical scrolling menus I can take a look at to compare this with?
View 2 Replies
Aug 11, 2010
I have designed a horizontal scrolling menu that currently contains buttons that load external swfs when pressed. Works great.What I'd like to do is have the buttons open vertical drop down menus instead of loading external files.
View 0 Replies
May 3, 2009
what i got:
Code:
var nav1pos:Number = 37.5;
function scrollingUp(evt:MouseEvent):void {
if (nav1pos < 37.5){
[code]....
Now at the moment all it does it shunt up/down once and then stops, but what i want it some constitant scrolling until the user removes there mouse from the scrollUp or scrollDown box.
View 2 Replies
Sep 5, 2009
I have about 27 photos. They are all 250x188. I would like the work space to be 250x564 so that 3 photos display first and they keep scrolling from the bottom to the top continuously through all the photos and repeat. Could someone recommend the best way to do this in Flash CS4. I am totally new to this.
View 9 Replies
Jul 18, 2011
I am using mx:Tree (in Flex 4), and assigned a customised MXTreeItemRenderer for every items. As the TreeItemRenderer contains a list with tileLayout, which means the height of every row is variable. So I have to set the tree's "variableRowHeight to true. When I was testing the tree, everything went well. But when I was using the vertical scroller, I met some problems:
The scroll bar did not move to the position I want. When I was scrolling the content, the scroll bar sometimes scrolled to a unwanted position (e.g. the head of the tree). When there are more rows, the problem is more obvious.When I was scrolling the tree, the images were flicking all the time.
View 2 Replies
Jan 28, 2005
just graduated from college in graphic design and I am trying to make a flash portfolio page to showcase my work. I have everything done so far except that I am having problems with this one bit of actionscript....I have been at it for weeks, looking at diff. tutorials, but I just can't seem to get it.I have a movieclip ("strip") and I want to it scroll up and down depending on where the mouse it, I also want it to duplicate so that it never stops scrolling...just keeps on looping. I am working this off of another tutorial that I found, but I am having trouble getting it acclimated to my flash.
//initialize
onClipEvent(load){
percent_increment = .075;
[code]......
View 1 Replies
Mar 12, 2010
I am trying to create Vertical scrolling images. I found a tutorial using AS 3.0, used that, but made a couple of alterations - like I did not want the images centered on the stage and I added more images than what the tutorial showed. As a result I have several errors in the Actionscript.
View 13 Replies
Jan 10, 2011
In my air app I have a list(vertical) on the left side, like a sidebar. It`s working fine! The things is I want to put some animation in this list, which all the times when I select one item all the list moves, and this item goes to the center of the list!Someone have same example or URL, or something?
View 2 Replies
May 8, 2008
I'm looking for a code that basically does: [URL] with vertical scrolling as well. I know there's [URL] which is great - but I can't use scrollRect because the movieclip I'm scrolling is dynamically refreshed with externally loaded content and resized with a zoom slider I made. The Kirupa one works well, except I need a Y, and I need its boundaries to be within a mask. The mask has a set size, while the content may change in size (due to the zoom slider).
View 1 Replies
Jul 24, 2008
Is there any script available to scroll a movie vertical and horizontally by adding a mask. The visible area can be scrolled vertically and horizontally.
View 3 Replies
Feb 5, 2009
am trying to make a vertical scrolling effect like in wwe.com homepage.
View 2 Replies
Feb 9, 2010
I am creating a vertical scrolling gallery with two buttons but I would like to make it looping, so when you get to the last photo and you press the "forward" button it jumps to the first image. I have gotten this done, but it's now stopped to the last image and you have to scroll back to get to the first image..[code]
View 1 Replies
Aug 17, 2009
I am trying to create a vertical scrolling gallery. In the past I've created a horizontal scrolling gallery but can't figure out how to switch the horizontal scrolling gallery to a vertical scrolling gallery. I know I need to change the positioning of the movie clips from horizontal to vertical just not sure what to change in the code.
what I would need to change in order for my horizontal scrolling gallery to become a vertical scrolling gallery?
code:
digital_artwork.onRollOver = digital_artworkOver;
function digital_artworkOver() {
this.onEnterFrame = scrolldigital_artwork;
[Code].....
View 2 Replies
Nov 4, 2009
But this is only for 1 movieclip. And I need the entire stage and everything of whats in it (except for the layer with the background image) to be moved this way. But how?Also want the scroll to be restricted to a max y-position of 860px even if the entire stage goes as far as a height of 1508px.
View 7 Replies
Jun 29, 2010
I want to do a vertical scrolling movie clip with easing with buttons. No scroll bar. I have attached a sample I have done just using _y properties. Ideally I want it to ease to the right position instead of jumping to it.
View 9 Replies
Feb 12, 2009
i am currently building a XML gallery which works, and has one row of scrolling thumbnails to click on that display larger image in the centre of my site.
What I am trying to build is two rows of thumbnails that can scroll backwards and forwards; below is the code i have used to make the single line of thumbnails, could any one point out or help me how i would go about to have two rows of thumbnails please.
[Code]...
View 1 Replies
Oct 16, 2009
I put a text area component on stage and set the vertical scrolling to Auto, so now when ever I have to much text the scroll bar pops up, but the problem is that I can't get the scroll bar to always be on the bottom, so when ever I add more text I always have to use my mouse and drag the scroll bar to view the latest info, is there a way that I can see the latest update without having to manually scroll down?
View 1 Replies
Sep 25, 2002
I am wondering how to make a movie clip that contains automatic vertical scrolling dynamic text(from an external .txt file) I dont want to press buttons to scroll text, I need it to be constantly scrolling, then loop once the text has been read from the external txt file.
I also require each line of the dynamic text to be clickable links that will take each line of text to a specific link. Ive uploaded a zip file containing fla and swf i found which shows vertical scrolling text. However if i move any of the graphics and text field clips around the stage the text cannot be seen anymore. why is this? can you put all of the items on the main stage in a movie clip so i can resize and move the scroller around the stage?? I tried this but again the text disapeared when i exported the movie? Is this due to the x + y co ordinates in the scripting?
How can you adjust the size of this scroller without this happening? Can the scrolling text be taken from an external file and each line of text be a seperate hyperlink? Follow this link (copy and paste it into your browser window, DONT click on it): [URL]..
View 9 Replies
Oct 27, 2011
I have a flash application that utilizes a lot of popup title windows that do not have parent containers. I'm having a problem when users with smaller resolutions try to use my application because the popup utility windows will often be too large. Note that I do not want to re-size the window as that would eliminate a lot of it's clarity and separation of menu bars and tool icons. I just want my application to detect if the window has a height or width property greater than that of the browser's view frame and then activate the respective scroll bar should it be needed.
View 2 Replies
Oct 22, 2011
I am in the process of creating a vertical scrolling space shooter game for deployment on mobile platforms using AIR.I've used some excellent tutorials online, video tutorials on Lynda and several books, including Game Programming University.Something they all seem to gloss over are the various screens that will be used.
For instance, my game right now will use a splash screen, a main menu screen, a credits screen,a settings screen, a difficulties screen, an instruction screen, an end game screen and save/load screen...and a play game screen, where the actual game will be played.I've created the screens as seperate frames in the main timeline with stop commands in between and code on each page (I know... bad!... but easy).So basically,they can navigate through the menus using buttons (mouseclicks, which will work with touchs as well) and when they are How do I pass data between them? I was thinking of storing it in shared object.
View 1 Replies
Aug 27, 2010
I have a spark List with an item renderer and a tile layout. If I scroll by clicking with the mouse on the scroll bar and trying to scroll with the mouse wheel after that, there is a problem: The interval of the scrolling is oversized, instead of scrolling one item down (or up) the List scrolls 4 items down (or up).
[Code]...
View 1 Replies
Feb 10, 2011
are there any events that the scroller will dispatch when being scrolled?
View 1 Replies
Jan 11, 2010
Im making a scrollable mc. Easiest thing in the world.... but the damn scoller just will not stop when the movie clip it's scrolling ends. It stops....eventully... but not close enough. What actionscript do I need to use and where do I put it?
View 1 Replies
Mar 26, 2012
How do I do a easing effect on scrolling and mousewheel scrolling in a Textfield?
Something like this [URL]
View 1 Replies
Jul 1, 2008
This is a repost, but I've still not figured out a solution. I have a Flash movie that appears on a webpage. The Flash contains scrolling content ( scrollpane, text field, whatever).
The containing webpage is tall, and therefore also has scrollbars. My Problem: When users try to use the MouseWheel to scroll through my Flash scrolling data, the browser page scrolls as well. It's very annoying.
I would like to be able to have the MouseWheel scroll my Flash scrolling content when it's over the flash, but scroll the webpage when it's not over the Flash.
Does anybody know a way to supress wheel-based browser page-scrolling while my mouse is over a Flash movie??? Is there a way to eat/stop propagation, whatever, of the wheel event in the brwoser, either from Flash or from Javascript?
View 7 Replies
Jul 23, 2009
I'm building a site with flash (obviously) and it has multiple pages, now on one of these pages i wanted a scrolling menu with thumbnails that when you click them they take you to another page, but I'm not quite sure how to go about it. The methods I already tried haven't worked.
View 9 Replies
Aug 13, 2005
it is unbelievable how many ppl have asked for help on this that i've seen and have been ignored...all i see is tons of ppl viewing and noone bothering to reply..not even to say they doan know how...well i hope that that is not the case with this post i need to scroll a vertical xml menu as per "the xml driven menu" [URL]..
i don't need a menu with a text area or anything like that...just a plain old menu that can scroll because my list will be very long. something like the infinite menu created from xml would be great too..
View 4 Replies
Aug 5, 2009
how to create a scrolling menu. Can't find one that works though! Tried these:[url].....Running the CS4 trial.
View 1 Replies