ActionScript 3.0 :: Scrolling X Not Y?
May 20, 2009
Working with this code from a tutorial:
Code:
import mx.transitions.Tween;
import mx.transitions.easing.*;
var myGalleryXML = new XML();
[code].....
What is does is create a photo gallery. In this case the thumbs are scrolling on a Y axis. while i want them to scroll on a X axis. Been playing around with the code but havent really achieved the result i want. [URL]
View 1 Replies
Similar Posts:
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
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
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
May 4, 2007
I have been working on a site that will display a portfolio for a friend of mine who is a photographer. I want to have thumbnails that can be scrolled on the bottom of the page, and an area where the thumbnail is presented when selected. I have the thumbnails appearing. I have them loading, however, I can't get them to scroll when the mouse moves to the left or right of the row of images. he file can be viewed at...[URL] Here is the code I used for the slideshow:
[Code]...
View 4 Replies
Mar 21, 2007
I've been looking for an actionscript that will allow me to scroll to specific xy points on a website I'm recreating in Flash. I found one that kind of works well with a ease into xy position, but I was wondering if anyone came across one that works more like a scroll to location.
View 12 Replies
Aug 18, 2006
how to allow the user to scroll a graphic either right or left. when the user moves the mouse to the left or right side I want the image to move the other way (if mouse is at the right the graphic moves left), but stop when when the user gets in the end of the image.
View 2 Replies
Mar 19, 2009
I am making an animation and i would like the user to be able to navigate through it by moving their mouse to the left and right. It is something similar to the fly guy environment [URL] but i want it to only move left and right, and use the mouse not the keyboard.
View 2 Replies
May 11, 2009
I designed a horizontally oriented page that expands to the right. The problem is, the content goes off the screen.
I want to know how to make all of the content on the website scroll with the mouse direction like this webpage- sectionseven.com
Does anybody know how to do this or something similar?
View 21 Replies
May 26, 2009
I made a scrolling text box that I feed xml into. The only thing is when I scroll down or up I can only get it to work once.
[Code]...
I want it so that every time I that I press the button that I scrolls down.
View 6 Replies
Jul 8, 2009
I'm trying to create a scrolling timeline using a very (horizontally) long image and a scroll thumb that can be dragged right and left. When I first open the .swf file, the position of the image is correct (the far left side is on the stage). But once I click on the thumb and release it, even if I don't drag it, the image jumps as if it was dragged and suddenly I'm looking at another part of the timeline. When I drag the thumb all the way to the left, it can't go any farther left to the beginning and it's just stuck at where it jumped, but I can drag the thumb more to the right and see more of the timeline perfectly fine. Also, when I scroll all the way to the right, the timeline goes past its end and then there's blank white space. There's obviously some space missing at the beginning that should make up for that blank space at the end.
why it jumps like that and why I can't drag it back to the beginning of the timeline. In fact, I used this exact same code for another project and the timeline worked perfectly fine. All I did was use a different image for this one. I'm completely stumped on this.
Here's the actionscript I'm using:
Quote:
stop();
var thumbLeft = thumb._x;
var thumbRight = Stage.width - thumb._width;
var thumbDistance = thumbRight - thumbLeft;
[code]...
View 2 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, 2009
I need to develop a scrolling image bar, I have never ever used a 'scroll bar' in flash. What it needs to do is have around 10 thumbnail images, that you can scroll left to right to, then when you click the image enlarges?
View 1 Replies
Aug 15, 2009
refer to link below to see the affect I am trying to achieve. [URL] Hover your mouse over to the right and the images will start scrolling to the left. How do I achieve this effect?
View 1 Replies
Aug 23, 2009
i'm trying to setup a scrolling list of products but without the use of a scrollbar. It would be really thankful if someone would assist me in getting attached fla integrated with mouse based scrolling. So if the user moves his mouse to the upper corner of the product list then it would scroll up and vice-versa.
View 1 Replies
Mar 26, 2010
My stage is 640x500px. My map is 1163x500px. The idea is that you can scroll in the stage by positioning the mouse at either the right or left side. Then the map would scroll right/left. Only place I found the scrolling effect is with following parallax scrolling tutorial: URL...The scrolling function is exactly what I have been looking for (just the scroll, not the parallax effect or the links), but when I create my own file and run it in CS4, it doesnt work. So I attempted to create my own version.[code]Since nothing actually happens when I play the movie, Im assuming Im doing it completely wrong.
View 4 Replies
Feb 4, 2011
I have a simple text field that is read only and it's very long, so I just want to use a scrollbar on the right-hand side. I dragged a UIScrollbar component to this text area, I lined it up, same height, and even named the text area as the scrollbar's target, but when I compile the swf, I get a blank scrollbar next to the text and 2 other scrollbars off the the right of the text!!! I also tried adding the scrollbar via code with the same results.
View 2 Replies
Jun 18, 2009
I'm trying to create a simple scrolling text box for a web site and am following this web tutorialI'm using flash cs4 ad this relates to cs3. I seem unable to locate the instance name box anywhere.
View 1 Replies
Feb 13, 2010
How to do navigation via flash webpages by scrolling and scroll to exact place by pressing buttons ? this is example of navigation i want to do[url]...
View 4 Replies
Oct 22, 2011
I tried to input a text from a css, which its height is greater than the target text field, so a scroll bar was placed. but I was wonder that why the scroll bar doesnt enable scrolling after loading the text.
import fl.text.TLFTextField;
import fl.controls.UIScrollBar;
var loader:URLLoader = new URLLoader();
[Code]....
View 2 Replies
Jan 14, 2012
I'm making a platform for a client, the designer is creating the levels, atfer few tiles ... he is not able to scroll, he has to select all the clips and push em back with shift+left arrow ... Where is another way of working ?
View 2 Replies
Jul 27, 2010
I would like to add a component in my flash website which will,
1.load xml data.
2.parse it using stylesheet
3. Have a scrollbar incase xml data is a lot.
View 2 Replies
Jan 16, 2012
I have Scroller and in this scroller I have 3 swfloaders. How I can detect when scroll bar is scrolled on (event, my be)?//editSorry for the little information. In scroller I have Group
code:
<s:Scroller>
<s:Group>
[code].....
View 2 Replies
Dec 14, 2009
I'm building a website where the user can navigate it by keyboard. I'm having difficulties getting the srollbar to work by keyboard, I have it built but I need to work it in if you press shift+right arrow key, it will go to the right, and if you press shift+left arrow key it will go to the left.
As of right now I've tried many different ways of doing this but have only created a mess of my actionscript. When I did get it going to the left or right, the scroller would automatically go all the way to right or left without stopping.
I've enclosed my sample file. and here is my actionscript minus my attempts of working the keyboard actions in:
ActionScript Code:
fscommand("allowscale", "false");
gbar.useHandCursor = gdragger.useHandCursor=false;
space = 20;
[Code]....
View 0 Replies
Jan 28, 2010
Currently the buttons are on layers ABOVE the mask layer. I've tried just moving them to be under it and on top of the background and they still don't scroll with it. I tried them being ontop of the actual background in the background layer but they still don't scroll.
I've tried tweaking the code (which I will paste below) to add the buttons in and somehow make them scroll too but I know nothing about ActionScript. I can read it and understand it but as far as writing it myself, I'm totally lost.
ActionScript Code:
// Keeps animation from playing automatically
stop();
// Scrollbar code
[code]....
View 0 Replies
Jan 3, 2011
Im trying to set up a series of scrolling images. Each of these images should have a value from a-z. When shot (by an arrow) they should place the letter at the bottom of the screen, kinda like hangman.Heres what i have atm. I can post the fla + .as also.
ActionScript Code:
public function collideArrow(testedArrow:arrow, arrowArrayPos:int):void {
for (var h:int = aBubbles.length-1; h>=0;h--) {
if (testedArrow.hitTestObject(aBubbles[h])) { //if arrows hit bubbles[code].....
View 5 Replies
May 2, 2009
just watched Lee Brimelow's how to create a scrolling panel of thumbnails. I have no questions regarding the panel, but, rather, how do I add a link to each image of the scroll; so, when the user clicks one, a popup or new page opens showing not the thumbnail he clicked, but the real size image?
View 1 Replies