ActionScript 2.0 :: Auto Scroller - MaskMC X Position
Feb 19, 2005
I created a auto scroller which works fine but I would like to change it so that I can reuse it without changing different values each time. The movie consist of a scrollmc and a maskmc (just a rectangle)
So if I write,
right = 150;
150 being the _x position of maskmc
why wouldn't it work if I change it to
right = maskmc._x;
View 7 Replies
Similar Posts:
Oct 4, 2009
I'm trying to create an auto-scroller that will move images horizontally back and forth across a Fullscreen Flash page. I am basing it off Lee's autoscroller video that he has posted here, but trying to adapt it to full screen. I have it scrolling correctly, but I'm having problems setting the parameters for when the end of the images hit the edge of the screen. Something is wrong with my math. I have attached a small .zip file, with everything in it.
View 1 Replies
Aug 13, 2009
I am using a horizontal thumb scroller which i ahd acuired from the internet. the scroller works fine but the issue is, the scroll speed is directly related to teh thumbnails present.When i am having 10-20 thumbs the auto scroll is smooth. but when the thumbs increase to say 50+ even the slightest mouse movement cause the the thumb to scroll at rapid pace rendering the thumbnail scroller useless. Can anyone help me to modify the script so that i can reduces or control teh scroll speed. Or if tahts not possible how do i add a next prev button so taht i can take away the auto scroll and fwd/rewind the thumbs one by one or a batch at each click. I am attching the fla file for reference
Code:
// Developed by www.flashmo.com
var photo_filename:Array = new Array();
[code].....
View 0 Replies
Feb 19, 2005
I created a auto scroller which works fine but I would like to change it so that I can reuse it without changing different values each time.The movie consist of a scrollmc and a maskmc (just a rectangle)
[Code]...
View 7 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
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
Aug 22, 2011
I'm using the new Spark Datagrid for a project, but I must confess the scroller is annoying me a little bit, so I would like to have some control over it.
View 1 Replies
May 29, 2007
I'm using the dynamic scroller found on the kiropa site found here [URL]..In the action script on the ScrollBar, I can't find what variable to change to reset the position of the bar to the top of the scroller when I use the same dynamic text area for other content. It loads just fine, but if the scroller was left at the bottom, it stays there on the new text until you move it a bit, then the text catches up.
I'm hoping to find the variable and reset it when the new text loads.
View 4 Replies
Oct 4, 2009
i'm wondering how i can script a scroller bar to smoothly control the _y position of a movieclip on the flash stage, so when the user clicks and drags the scroll button up and down the scroller bar the movieclip scrolls to the relevant position alongside it. i have the button and the movieclip seperated, but both on the same parental level on the timeline.i'm currently using motion tweens (controlled by clicking the up and down buttons of the scroll bar) to animate the movieclip's and the scroller button's_y positions and i'm scripting the fla file in AS2.
View 4 Replies
Apr 3, 2008
I've got 3 pages each with their own portfolio loaded dynamically from an XML file. Everything is working great with the thumbnails i added using the "adding thumbnail" tutorial. There's only one quirk I can't figure out. If you've scrolled to the end of the thumbnails on the first portfolio, the scroller stays in the same place when you go to the next portfolio rather than reloading back at the beginning. I hope that makes sense because it's hard to explain, but the site is [URL] here's the partial code for the thumbnails...
[Code]...
View 1 Replies
Aug 10, 2009
I am trying to use rhamejs slideshow (located here) and I would like to move the scroller to a certain position on the stage but I'm not sure how to do it. My stage is 900px wide with a nav bar along the bottom. All I want to do is move the scroller to the right of my nav buttons and left of another button that is in the far right corner. I would like to stay within that space which expands depending on your browser/screen size. The main stage is set up to resize based on browser/screen size and all the nav buttons are anchored. I basically need the left edge of the scroller to be 535px from the left edge of the stage at all timesI need the right edge of the scroller to be 185px from the right edge of the stage at all times. I have tried editing these lines but after the width of your window gets to a certain point, the thumbs stop scrolling or disapear completely:
Code:
if (nav == "nobuttons") {
scroller._x = 0;
[code]......
View 1 Replies
Feb 10, 2012
I am trying to change the visible index of a Scroller container on an event. The Scroller contains an HGroup with Images, so on an event I want to change which of the Images is visible in the Scroller by specifying an HGroup index. Is this possible?
[Code]...
View 1 Replies
Mar 25, 2010
I have been creating an application for a local museum over the past few weeks. The application is a typical interactive kiosk set up - a touch screen and a larger screen.I have two Flash projectors, one on each screen, communicating through LocalConnection class.My problem is.. I would like both projectors to open in Fullscreen mode utomatically?? Also, upon opening a projector, is there code which will position it in a certain area on the screen??
View 2 Replies
Jun 23, 2010
I have a custom component Comp that gets its position changed as a result of interactions with other components, etc. I check for changes in its position by constantly checking its position at fixed intervals. I'm looking for a better solution (maybe an event-based solution) to monitor its position so I don't have to check constantly myself.
[Code]...
View 3 Replies
Dec 13, 2010
I'm trying to make something similar to a news slider where I get content from a TXT file then loop a news ticker. As of right now I have the content working, as well as the automatically moving text. What i'm trying to do now is repeat the text as soon as it goes off screen, so it will be constantly scrolling. Here's what I have so far...
content.addEventListener(Event.ENTER_FRAME, fl_AnimateHorizontally_2);
function fl_AnimateHorizontally_2(event:Event)
{
content.x -= 10;
}
View 5 Replies
Jun 9, 2005
Does anyone know what I can do to change the claudio scroller so that it will scroll ease depending on the vertical mouse position?
View 4 Replies
Jun 6, 2010
I have a text document which is several pages long and will use scrolling capabilities. This text document will be contained in an external swf. There will be 6 buttons on the main timeline which will all load the external swf with the text document but I would like the text to autoscroll to a specific postion/part of document that relates to that topic/button. Also, i would like the scrollbar to move in relation to position/part of document in case the user stays in the external swf and reads and scrolls through the document. Is this possible? I have searched for a tutorial on this but have found nothing. I have tried different things but nothing has worked.
View 0 Replies
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
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
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
Jul 23, 2009
I can find tons of articles/tutorials on custom scrollers but none of them actually replace the browser scroller. If the browser is made smaller the custom scroller and the browser scroller are there. [URL]...
View 1 Replies
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
Jan 2, 2009
I'm making an interactive film. At certain points within the film, the viewer has the ability to select from a few options that will direct them to an external video clip (they are flashback scenes). The main story pauses when the user selects a flashback scene and I'm clear on how to achieve this.
However, my issue is that once the flashback scene ends and the external video closes, I'm not sure how the main story will resume. Is it possible for it to auto-play (resume) in some way? My last resort would be to have the viewer select a play button - this is only because I do not want a break in the narrative and want to limit the amount of clicks the viewer has to make.
View 9 Replies
Nov 19, 2009
I added a Menu_mc on my stage. Initially, this should be at the center of the stage and when I click on it, it will tween on the upper left corner of the browser. However, when I resize the browser, the Menu_mc goes back to the center of the screen.
I have tried separating a different actionscript file where it is specifically for initialization of the object and another one for resizing. And then when I call it on my main AS file it goes like this:
Code:
// Add the symbols to stage
var Menu_mc = new Menu_MC();
addChild(Menu_mc);
[code]...
But it seems futile.
View 6 Replies
Jun 30, 2009
I am using a ScrollPane in my application(viz., instance name is: myScrollPane). When I view the contents of the ScrollPane, it shows them perfectly. My issue is: When I try to view data present inside the ScrollPane, if I move the Vertical-ScrollBar of the ScrollPane to middle(or somewhere from top to down) and then click on Submit button(viz., instance name is: submit_btn), then its Vertical ScrollPosition must be reset from middle(or any position where we leave it before) to top(or initial position). Hence, I need to move the Vertical ScrollPosition of ScrollPane to top (or) initial position. Everytime, I need to refresh the VerticalScrollBar Position when I click on the submit button. How to do it?
View 1 Replies
Aug 29, 2009
how to make an actionscript to move punto_mc from current position to random position after release, and then from this new position to mevo to another randon position after release?
View 2 Replies
Feb 3, 2012
I have simple image gallery, where images are placed one next to another and the mask is revealing only one of them. Now I want to tween position of the images, but when I do that the mask is "traveling" alongside with the images..
View 4 Replies
Nov 12, 2007
So I'm trying my hands on some full browser flash and after reading a couple of tuts I wrote this
Code:
#include "mc_tween2.as"
Stage.scaleMode = "noScale";
stageListener = new Object();[code]...
The trace's are because it didn't work like I thought it would.Etc the middle movieclip didn't center itself but rather positioned itself seemingly how it pleased so I traced its x position and the var stageXcenter position and like suspected it shows different values.
View 2 Replies