ActionScript 2.0 :: Make The Movie Clip Slide On The Horizontal (x) And Vertical (y)?
Dec 8, 2003
I finished Kirupa's tutorial on the "Sliding Menu" .The tutorial shows how to make the movie clip slide on the horizontal (x) but how do I configure the code to use both horizontal and vertical (y)? Do I just add a dest=" _root.ynew ;" and "pos = this.y ;" some how to this code?
stop () ;
MovieClip.prototype.move2 = function () {
dest = _root.xnew ;[code]......
View 2 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
Jul 3, 2009
I'd like to make a circle slide ( Slider that on the shape of circle instead of vertical and horizontal Slider) like this one:
[URL]
Is there a ready Component on the web.
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
Apr 22, 2010
How can i make the Legend Horizontal or Vertical.
View 1 Replies
Nov 22, 2006
I am using the Adding Thumbnails Tutorial in a website and was wondering how to make the thumbnails vertical instead of horizontal. The link is: [URL]
View 3 Replies
Jan 19, 2007
I have used the simple custom scrollbar on previous websites and it works great, but now I am needing to make the scrollber horizontal instead of verticle. I switched all of the x axis and y axis and all of the heights and widths. The scrollbar scroll left to right fine but I have 2 problems:
1. The content within the movie clip does not move when you try and scroll
2. When you grab the slider instead of using the scroll left and right buttons the slider moves vertically instead of horizontally.
Attached is my FLA file, I am using MX 2004.
View 2 Replies
Aug 9, 2008
make dynamic horizontal menu working inside movie clip instead of main timeline just like as it now.
I cant get it to working so i need you if you can assist with little coding.
View 1 Replies
Aug 3, 2009
Can any one tell me how to make transformation tool for horizontal scaling and vertical scaling the image
like that link[url]...
View 1 Replies
Aug 11, 2004
i hav found a tutorial about dragable on ur site and i played w/ it for while, however, when i tried to make it go vertical instead of horizontal it doesnt work any more...heres the code, can any1 explain to me whats wrong w/ it?
actionscripts under dragger, <drag>
onClipEvent (load) {
_y = _root.box._y-_root.box._height/2+_height/2 ;[code]..
View 1 Replies
Jan 14, 2010
I have a movie clip on stage (dsp), which I would like to keep rotating horizontally. With the following script it rotates in circular mode from left to right, but not horizontally (left to right or vice versa). How do I rotate it horizontally?
dsp.addEventListener(Event.ENTER_FRAME, rotateHorizontal);
function rotateHorizontal(event:Event): void
{
[Code].....
View 3 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
Jun 30, 2009
[URL]
This is kirups great tutorial to make a vertical gallery along with a slide show. Normally this is fine but I find one problem here. When I clicked any thumbnail it will load the respective big image but the slide show portion is disturbed and it is not maintaining the correct numbering after clicking thumbnails.
What I mean to say if I clicked No Six thumbnail it will load No Six big image and we hope that after that it will load No Seven, No Eight and so on as a part of Slide Show, but that does not happen all time there is some skipping of numbers in the big images after clicking the thumbnails.
I posted the Code below. make the No sequence to big image proper after clicking any of the thumbnails.
Code:
stop();
delay = 5000;
function loadXML(loaded) {
if (loaded) {
[Code]....
View 0 Replies
Jul 27, 2010
i am trying to work out how i can make a movieclip move around the stage to set/predefined positions on the stage when a button/s are clicked - an move in a horizontal or vertical direction only.
i worked out how to make an mc move around to set positions in any direction (horizontal/vertical/45 degrees etc...) but now i need to refine it to horizontal and vertical only.
View 0 Replies
Jun 7, 2003
I need a script that will let a user scroll a movieclip Horizontally AND Vertically. Just like a regular vertical scrollbar which u always see, it has an up arrow and down arrow. i need that, as well as a right and left arrow.i have a big image file, and i want to mask it, and let users scroll thru it up down right and left.
View 6 Replies
May 30, 2008
I went through the tutorial on the website to create a slideshow using xml linked images. My problem is I want to use it for Horizontal and Vertical pictures both.All images align at top left of the loader box making one or the other offcentered.
1.) Is there a simple way around this?
2.) Is there a way to get the xscale or yxcale to determine whether the image loading is vertical or horizontal and then based on that to have an If statement and load all Horizontal images into a one movieclip and all others(vertical) into another movieclip.
View 6 Replies
Dec 8, 2009
I`ve been trying this tutorial [URL] , but what I need is to make it run vertically... What i tried is to change _x with _y and xMove with yMove and if there is somewhere else X to Y (i dont remember the code) ... the result .. it didn`t work :S Is it possible to make it run vertically?
View 2 Replies
Jul 29, 2004
I have read several tutorials on moving objects around but i have had no luck finding one that tells how to put a simple function of sliding a movie one way and then another way when mousing over 2 different buttons.
I have a photo i want to slide on mouse over to the left for one button but stop at a certain point and then another button that would make it slide to thr right but only to the end of the photo.
Does anyone know the best way to do this and the easiest and cleanest coded way?
View 13 Replies
Jul 29, 2004
I have read several tutorials on moving objects around but i have had no luck finding one that tells how to put a simple function of sliding a movie one way and then another way when mousing over 2 different buttons.I have a photo i want to slide on mouse over to the left for one button but stop at a certain point and then another button that would make it slide to thr right but only to the end of the photo.
View 13 Replies
May 17, 2010
Making a photo slide show to load as an external movie clip on my site when a button is pushed . Here is a link to the .swf file:[URL]..Basic problem: There is text that describes each set of 6 pictures. After the set of 6 pictures plays through the text is supposed to disappear and a new text appears to label the next set of 6 pictures. Problem is: the text doesn't disappear!
I made all the text layers a symbol/movie clip. I animated each text to disappear at a certain point in the timeline but when I test the movie the texts just remain there and build up one after the other.
When watching the movieclip, pay attention to the text in the lower left screen.
[Code]...
View 1 Replies
Nov 6, 2008
this might sound a little complicated but this is what i'm trying to do..when you click on the movie clip (news on the site below), you can drag and drop as you want. also, when you click on the news, i want the slide down movie clip to play with a functional custom scrollbar. the problem is that i only want the top part of the news to be dragable, and the rest to be by itself, with the scrollbar. is this possible?
[Code]...
View 3 Replies
Jun 29, 2009
[Url] This is kirupas great tutorial to make a vertical gallery along with a slide show. Normally this is fine but I find one problem here. When I clicked any thumbnail it will load the respective big image but the slide show portion is disturbed and it is not maintaining the correct numbering after clicking thumbnails. What I mean to say if I clicked No Six thumbnail it will load No Six big image and we hope that after that it will load No Seven, No Eight and so on as a part of Slide Show, but that does not happen all time there is some skipping of numbers in the big images after clicking the thumbnails.I posted the Code below. Can anyone help to make the No sequence to big image proper after clicking any of the thumbnails.
[Code]...
View 1 Replies
Aug 2, 2009
i have a 400x400 image i want to zoom it by 200 percent whan it zoom i need vertical and horizontal scroll bar to show it.
View 3 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
Jan 28, 2011
I want my page to be covered with thumbnails (not just in a row) then when you click on a thumbnail the image will open up either vertical or horizontal on top of the thumbnails. How can I do this without scripting or does anyone know of a simple way to do this with either Flash or another Product?
View 4 Replies
Aug 24, 2011
I've got a three year old site in actionscript 2 and something odd happened today.I had to change something in the fla, tested the swf and uploaded it to the server. When I test the swf in flash or just open it manually, all is fine, texts are okay.But whenever it's in a htmlpage (using swfobject or the standard flash method), all the multiline textfields turn from horizontal to vertical expanding text, so a large column of 1 character.Even my backup site acts the same way. It's driving me crazy. And my client.I installed a couple of new browsers a couple of days ago, and I remember I had to update my flashplayer. Maybe this is relevant? I just don't know.
View 1 Replies
Jan 12, 2006
'm working on a menu system for our website - the menu, as is, is similar to the one found on macromedia.com (the main menu and the submenu laid out horizontally across the screen). how do i make it so that the submenu is vertical and located under the appropriate menu heading? Here's the AS that I used:
Code:
_global.navXPos = 20;
var root_mc:MovieClip = this;
//
[Code]....
View 2 Replies
Feb 3, 2008
how I can flip horizontal or vertical MovieClip? Can skew it?
View 5 Replies
Feb 5, 2008
I have a problem with which I'm struggeling. I tried dearching for the solution, but the search was unlucky. My problem is that I want to build my stie like a cross (with only the centered page visible) and then, through a mouseclick, let the page move to the center position. To do this I want to incomrporate a horizontal and vertical action tween. However if I do this with the code below, it only tweens the y tween. How can I get flash to execute both tweens?
Code:
menu_1.onRelease = function (){
function tween() {
var xPosT:Tween = new Tween(object, "_x", Strong.easeOut, object._x, 0, 1, true)};
function tween() {
var yPosT:Tween = new Tween(object, "_y", Strong.easeOut, object._y, 0, 1, true)};
}
View 11 Replies
May 4, 2008
I've tried to use the "Simple Custom Scrollbar" tutorial to create a horizontal scrollbar instead of the vertical. I've changed the defenitions like this:
scrolling = function () {
var scrollWidth:Number = scrollTrack._Width;
var contentWidth:Number = contentMain._Width;
[Code]....
I put the "Width" instead of the "height", and "x" instead of "y". What I've got is when I push on the "scrollFace" button it slides but disappears immidietly, and the the image (which is "movieclip" as well) beneath the masked area freezes.
* In addition - I have to make this scrollbar move from right to left - Is there any additional defenitions I must concern?
View 2 Replies