ActionScript 2.0 :: Vertical Sliding Scroller Based On A Tutorial For A Horizontal Slide Scroller
Feb 21, 2004
I am trying to build a vertical slide scroller based on a tutorial for a horizontal slide scroller and am having difficulties undertanding what values I need to change in the code for the slider mc in order to make it work. The horizontal slider is quite smart [code]
View 3 Replies
Similar Posts:
Feb 21, 2004
I am trying to build a vertical slide scroller based on a tutorial for a horizontal slide scroller and am having difficulties undertanding what values I need to change in the code for the slider mc in order to make it work. The horizontal slider is quite smart and there is additonal functionality attached to it to affect it's movement which I'm not too worried about although it would be nice)
Code:
// set up content_mc info
contentRight = _root.content_mc._x;
[code].....
View 3 Replies
Aug 17, 2007
have a cool vertical scroller that I did try to convert to horizontal, but I could not make it work.
//code by Billy T
//set a variable
targY=0;
//set the x position of the dragger
dragger._x = 370;
[code]....
View 4 Replies
Jan 10, 2011
change vertical scroller to horizontal scroller?
View 2 Replies
Oct 24, 2009
I would like to use it as a horizontal scroller for an image gallery. Just to clarify a horizontal dragger and a horizontal stage motion for image viewing.
fscommand("allowscale", "false");
bar.useHandCursor = dragger.useHandCursor=false;
space = 20;
[code]....
View 0 Replies
Aug 3, 2009
I am attempting to modify an example file that I found from a vertical to horizontal scroller. I changed the movie clip to horizontal, what I need to change to get the arrows to scroll the movie clip horizontally.
[Code]...
View 7 Replies
Aug 3, 2009
I'm attempting to switch the scroller I found on here from vertical to horizontal.
I got the movie clip to movie from left to right, but it doesn't seem to recognize how long the movie clip is now, because it stops before the whole movie clip is scrolled....see attached...
View 1 Replies
Mar 22, 2007
I know that this has almost certainly been asked before, I know because every quarter at least one of my students brings in this site.[URL] My question is how I would go about making a parallax type scroller like this that works vertically and horizontally from the mouse position, and works with many more levels than this (like 20+ levels).
View 2 Replies
Sep 6, 2007
getting a vertical and horizontal thumbnail scroller to work at the same time, based off of the xml photo gallery tutorial here on kirupa. I'm using FMX04 and I can get one or the other to work but not at the same time. Once I can get them both to work at the same time I would like to make the vertical set load a different set up thumbnails,I know it will involve editting the xml and hence adding to the xml loading into flash but I'm unclear on that also... on another note, is there an easy way to make the image holder resize to the image, so as to accommodate both vertical and horizontal images without skewing them?
Here's my code (as) so far...
Code:
// start of horizontal code
function loadXMLh(loaded) {
if (loaded) {
[code]....
View 1 Replies
Mar 9, 2010
I would like to position relatively a scroller in my application like below.When I scale the image, I resize the scroller...
<s:Scroller width="50%" height="50%" >
<s:Group>
<mx:Image
[code].....
View 2 Replies
Jun 26, 2009
I've got a horizontal gallery scroller that works great.The scroll bar snaps the animation to the closest image. You can view an example here:
[Code]...
View 2 Replies
Aug 11, 2007
Alright, I've done the XML Photo Gallery Tut and am attempting to make the thumbnails scroll up and down instead of left and right. Apparently it's not as easy as switching X and Y. The tutorial is located a
View 3 Replies
Jul 6, 2010
I'm making a flash site with width 1024 and heidht 768px. But on some monitors it doesn't show all the flash. It's cut from the bottom. how do i show all of the content. I'm using this template: [URL]
I want to add vertical scroll for those who can't see all the flash. How do i do that?!
View 2 Replies
Jun 27, 2009
I've got a horizontal gallery scroller that works great.The scroll bar snaps the animation to the closest image. You can view an example here:[URL]I've added the blue buttons to try and scroll directly to individual images which works fine. But once i have arrived at the image the Left & Right buttons don't function correctly to scroll to the next and previous image.[URL]Below is the AS.
// Scaling Mode
Stage.scaleMode = "noScale";
Stage.align = "TL";
// Total width and height of this movieclip
[code].....
View 1 Replies
Dec 4, 2006
first of all would i thx kirupa for a great forum
heres my problem: i really like too make this scroller: [URL]
View 2 Replies
May 8, 2009
I've created a horizontal dynamic text scroller (like latest news ones found on some websites) in flash 8 with as2, and this swf file reads data from a .txt file. the problem is that when change the txt in the file, it doesnt show in my browser until i clear its cache. But if a client doesnt clear cache he will get the old text...I would like to know how to prevent the browser from caching that swf content, any code or script will be most welcomed. I've tried to add <meta> tags in my html but of no use.
my embed code is like this:
<embed width="980" height="34" align="left" wmode="transparent" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"
[code].....
View 2 Replies
Jun 19, 2009
I've been putting this together and ran into a wall. I'd like to have this drag scroller drag left and right. I'd also like to have it zoom in/out according to where the mouse has been clicked. i.e. zoom to the mouse when clicked. I would also like to be able to scroll left/right while it's zoomed in or out. As a bonus, it would be nice to get the original blur working as well, but thats just an extra
The code is below...It's based on blur scrollbar
Code:
#include "mc_tween2.as"
hand.onEnterFrame = function() {
this._x = _xmouse;
this._y = _ymouse;
[Code] .....
View 2 Replies
Apr 8, 2010
Anyone know to create a Horizontal dynamic image scroller ?? I tried a component but it doesn�t has option for smooth transition.
View 1 Replies
Aug 20, 2009
I want to make the scroller vertical for this very impressive XML: [URL]. I've been trying and have been getting somewhat close to accomplishing this but I feel like I'm hacking up the code to get there.
View 3 Replies
Aug 15, 2010
Using this code made by Genesis F5:
Code:
// EXAMPLE CREATED BY GENESIS F5 (www.flashkit.com)
stageheight = Stage.height / 2;
overhangy = ((stageheight * 2) - image._height) / 2;
[code]...
Basically, my problem is that i've got 15 buttons labeled Channel 1 to Channel 15, but when the page first loads up, it skips down showing the very last button at the bottom, rather than the very first button at the top. The top button is off the screen.
View 9 Replies
Jan 17, 2011
I have a <s:Scroller> surrounding a <s:Group>. The scroller works, but I want to increase the vertical step size on the scroller. I've tried everything, but am having no success. Modifying the scroller.verticalScrollBar.stepSize value in the init function seems logical; however, this approach fails.
View 2 Replies
Aug 10, 2010
got stuck trying to design an automatic vertical text scroller. Here is what I set out to do:
- Have a news ticker like box through which text will be vertically scrolling.
- The textual content will come from an external text file.
- The text in the external file will also have click-able html links.
- When the mouse enters the content area, the scrolling would stop.
- If any link is visible in the content area at that time, the user will be able to click on it.
- When the mouse leaves the content area, the scrolling would continue.
Basically, it's an html marquee which you see in so many pages these days.
The following was my approach to solving the problem. Got very close and then got stuck
- I created a Dynamic Textbox and have it load from the external file. The dynamic textbox has multiline and autoSize set to true. So the size of it grows depending on the content from the external file.
- Next, converted the "textbox with external loading" into a movie clip and named it content_mc.
- Created a rounded rectangle (my viewing area) and converted that to a movie clip called mask_mc.
- On the stage, the content_mc is in one layer (content) and the mask_mc is in another layer (mask).
- Added another layer (action) and on the first frame of the main timeline, I entered the Action Script to set the mask_mc as the mask for content_mc.
- Also in this AS, I align the content_mc top with the mask_mc top so that the content is visible at the start.Then in the content layer, I inserted a movie clip "controller". This clip has two frames and all it does is it moves the _root.content_mc up by a fixed unit until the bottom of content_mc is over the mask_mc top. At that point, it sets the top of the content_mc back to the top of mask_mc.
Since I have little to no flash training, you can understand my excitement when the above steps worked and I got a fairly smooth scrolling text fitted in my viwing window. I could also click on all the links in my text. Yayyy!Then I took on the task of making the scroll stop and resume on mouse enter and leave event. What I did was:
- In the action script on the action layer, I simply defined two content_mc.onRollOver and content_mc.onRollOut functions. In the first I stop the controller movie clip and in the second, I play the controller movie clip.
The above strategy also worked as I wanted but it created a new problem! Whenever the mouse enters the mask area, the mouse pointer turns into a clicking hand cursor (the one you use to click on links); and it doesn't allow me to click on any of the html links anymore! It's almost as if the content_mc movie clip has turned into a button!
Regardless to say, this is unacceptable in my case if I cannot click on the html links in the original text content. I have googled quite a bit and must admit that I haven't had much luck (why else would I be posting here and other places?). I desperately need someone's assistance with solving this. Some of the approaches I have seen on google wouldn't work for me. For example, having invisible buttons for the html links. Of course that wouldn't work since my text is coming from an external text file over which I have no control.
View 2 Replies
Jul 2, 2010
I'm a beginner at actionscript, as well, but I'm humble and more than willing to be schooled..I have what I hope is an easy question to answer.It is a pretty basic image scroller that has a series of images scrolling across the screen in an infinite loop. Direction is controlled by mouse position (extreme left or right), and it will stop when the mouse is positioned over an image in the center area.Here's the code:
var myVar:Boolean;
this.addEventListener(Event.ENTER_FRAME, onEnterFrame);
function onEnterFrame(e:Event) :void
[code].....
View 2 Replies
Oct 15, 2009
How can I make a horizontal image scroller that when u click and hold would allow me to scroll through a pan with hotspots(buttons)? I have this script which does the basic functions I am wanting but it if I drag right enough I can drage the MC right out of the frame. I would like to be able to scroll right and then when it meets the very right edge of the movie clicp and the actual movie frame it won't go further. Same with the left edge.
Code:
var mouseStartX:int;
var mouseStartY:int;
var bgStartX:int;[code].......
View 4 Replies
Jan 28, 2010
I'm in the process of putting to together an image scroller, and have it working fine (to an extent). It scrolls left and right as it should, and stops scrolling when it get to its furthest left and furthest right points. This has been done like this...
Code: Select allfunction moveScrollerThumbsLeft(e:Event):void {
race("Left Clicked");
scroller.x -= 640;
[code].....
View 8 Replies
Jan 15, 2008
how i can create a fullscreen horizontal scroller - [URL]
View 2 Replies
Jul 29, 2005
my problem is that if you go over the menu text above my scroller it controls the scroller. I wan this areas movement to have no effect on the scroller below. is there a way to script my scroller to set it to this?
View 1 Replies
Jul 13, 2009
I'm creating a vertical news scroller, that will eventually load in from an external text file and then just scroll the text in a movie clip vertically. I have this working but I have a couple of questions.
1. As the text reaches the end of the scroll I want it to start to fade out, I've added a IF statement to do this but it doesn't seem to fire. Why is this?
2. Even though I don't have any easing the scroll seems to slow down as its nearing the end of the animation, do you know why this is happening?
Code:
import gs.TweenLite;
import gs.easing.*;
var myTimer:Timer = new Timer(0,1);
myTimer.addEventListener(TimerEvent.TIMER, scrollNow);
myTimer.start();
[Code] .....
View 5 Replies
Dec 13, 2010
find a horizontal or vertical message scroll-er that pauses on each message? And pulls the message from a external xml or text file. Trying to make a website news scroll-er that's easy for the owner to edit
View 5 Replies
Sep 28, 2009
I have a series of images that merged into one 2400 pixel wide jpg. I want this to loop continuously across the bottom of a website. I have tried using TweenLite and TweenGroup but cannot get that to behave correctly. Is there an Actionscript 3 way to do this? Ultimately this is being added to a Flex site.
View 1 Replies