ActionScript 2.0 :: Creating Vertical Menu Draggable On Y Axis

Sep 3, 2010

I am building a vertical menu that is draggable on the Y axis.
1.How do I add easing? Can I use fuse?
2.If the button that is being dragged reaches a point on the y axis it would trigger a function. If it is let go before reaching that point the button would snap back to the original position. I guess a simple (if statement) would work - but not working for me
3.Last thing. It is a vertical menu, so when a button is being dragged everything above it would drag with it. Cannot seem to get that to happen

View 1 Replies


Similar Posts:


Flex :: Align Vertical Axis Zero For Multiple Vertical Axis Chart?

Mar 22, 2011

Based on this Adobe multiple axis chart example: [URL]

Then I changed some data values to negative and my axis became not aligned anymore.

how to align vertical axis? Is this another Adobe bug or there is some property that aligns axis?

<?xml version="1.0" encoding="utf-8"?>
<s:Application
minHeight="600"

[Code]...

View 1 Replies

ActionScript 3.0 :: Draggable Movieclip With Loop In Y-axis?

Sep 17, 2009

For the last couple of days I've been trying to find an example of a draggable movieclip (with mouse) in Y-axis which also can loop. This movieclip will load several different dynamic SWF-files from a XML file, but they are all the same width and height.I want this movieclip draggable in Y-axis only, and it should loop when you reach the end. But I can't figure it out tbh.What I want to achieve is similar to this: But in a vertical direction and when you grab something all 3 images that are visible should follow the mouse movement.Here is a code that I've written, you can drag the "container"-movieclip, but I can't figure out how to loop it and everytime I press and drag it again, the movieclip pops back to Y:0 at the mouse-pointer, hard to explain

import caurina.transitions.*;
import flash.display.Sprite;
import flash.events.Event;

[code].....

View 2 Replies

ActionScript 3.0 :: Making A Draggable Item That Can Only Drag On An Axis?

Oct 5, 2010

What I want to create is a movie clip, that I can drag, but only on axis, such as up and down, but not left to right. For example, only on an X axis, but not on a Y axis.The code i'm currently using to make the items draggable is:
 
pc.onPress=function(){
startDrag("pc",true,50,50,550,350);
removeMovieClip("cnt");

[code]....
 
"pc" is the instance name of the movie clip I want to drag. "cnt" is a line that I've got drawn between the various draggable points I've created.

View 3 Replies

Flex :: Get Correct Y-axis When There Is A Vertical Scroll?

Aug 17, 2010

In flex, I am getting the y-coordinate in the following way:

nextHBox = HBox(ingBox.getChildByName("ing" + nextId));
nextYAxis = ingBox.localToGlobal(new Point(nextHBox.x,nextHBox.y)).y;
newCanvas.x = nextYAxis;

nextYAxis gives me the y-axis and I use it to position new component. It works absolutely fine. But, when there is vertical scroll, and I scroll it a little bit, and then the above mentioned code places the component at wrong place. I believe, it has something to do with the scroll.

View 1 Replies

Flex 3 :: Create A Custom Vertical Axis In ColumnChart

Oct 22, 2010

I need to create a custom y-axis in a columnChart that resembles a tall / skinny VBox (sorry can't post pictures) and has the axis labels (20, 40, 60, 80, 100) inside the axis.By default, the y-axis is a line and I have found methods of making the line thicker but I need the labels inside the axis.I have tried using the AxisRenderer class but can not find any good examples on the proper use.

View 1 Replies

Flex :: Add A Click Event Handler To The Vertical Axis Of A BarChart?

Mar 15, 2010

add a click event handler to the vertical axis (or any axis) of a barchart in flex? If I add the handler to the BarChart itself, it looks as though the event doesn't fire unless you click on the actual chart, not the axes.

View 1 Replies

Flex :: Overlaid ColumnSet Vertical Axis Not Updating In ColumnChart

Oct 18, 2011

I have a neat chart that is rendering overlaid columns with values in excess of 6000 but my vertical axis stays at 0-100, as if my dataProvider was being ignored.
The problem here is with "msAxis" autoAdjust didn't change anything. Do I need to force its values manually?

<mx:ColumnChart xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"

[Code].....

View 1 Replies

ActionScript 1/2 :: Multiple Draggable Movieclip Within The X And Y Axis Of Another Movieclip

Mar 19, 2012

I have this four draggable movieclips. I have able to drag the green bar within the gray bar and the dynamic percentage text increase/decrease accordingly.

The program should make the second draggable determine the percentage of the first (100 - current value) and make it the basis for the other 3 draggable.

Example:
 
if the 1st draggable will be 75%. the other 25% will be divided by the other 3 draggables.

The 3rd draggable determine the 2nd percentage (100 - current value) and make it the basis for the other 2 draggable and so on.
 
When I drag the 1st draggable the other 3 is drag & animated accordingly but I cannot drag the 2nd, 3rd and 4th draggable.

View 1 Replies

ActionScript 1/2 :: Draggable Movieclip Within The X And Y Axis Of Another Movieclip?

Aug 2, 2011

I know that startDrag function allow a movieclip to be draggable on the stage. But what I'm trying to achieve here is that I want that certain movieclip to be draggable on a limited space. I attach a screenshot for further information.Above is a screeshot of the flash movie. The white area is the stage and the green square is the draggable movieclip while the gray rectangle is its draggable limit.

View 3 Replies

ActionScript 2.0 :: Elastic Box Draggable Menu ?

Feb 9, 2004

A client of mine has seen this elastic menu box effect and has asked me to see if I can loosely recreate it.elastic box menu .Does anyone know how to A; create it? or B; create a draggable elastic box and I'll go from there

View 12 Replies

ActionScript 2.0 :: Make Elastic Box Draggable Menu?

Feb 9, 2004

A client of mine has seen this elastic menu box effect and has asked me to see if I can loosely recreate it. elastic box menu Does anyone know how to A; create it? or B; create a draggable elastic box and I'll go from there!!

View 12 Replies

ActionScript 2.0 :: Draggable Menu - Loading It Into Another Movie

Feb 22, 2005

I would like to load the draggable menu externally into another SWF movie. I have my main movie (main.swf) and the draggable menu movie (draggable.swf). I can get the draggable.swf to load into the main.swf, however, I can't seem to figure out how to get the external draggable.swf to work within the main.swf. Once it's loaded, it is totally static.

View 1 Replies

ActionScript 2.0 :: Draggable Menu Part II -loading It Into Another Movie?

Feb 22, 2005

I would like to load the draggable menu externally into another SWF movie. I have my main movie (main.swf) and the draggable menu movie (draggable.swf). I can get the draggable.swf to load into the main.swf, however, I can't seem to figure out how to get the external draggable.swf to work within the main.swf. Once it's loaded, it is totally static

View 1 Replies

ActionScript 2.0 :: Vertical Menu With Xml Data

Nov 5, 2009

I trying to make list menu with xml file that contain three levels , the third level will be description to the second level , the proplem in the description it not Show properly, i want the third level get data from xml .

View 0 Replies

ActionScript 2.0 :: Change To Vertical Menu?

Feb 17, 2010

I have attached an AS2.0 class file.

I am needing to change the dropdown menu from horizontal to vertical.

View 0 Replies

ActionScript 2.0 :: Vertical Collapsible Menu?

Oct 20, 2010

I have several vertical collapsible menus that open just fine, but I need the code that closes a menu after another's been chosen.If you look at the attachment, you'll see what I mean. In the attachment, the gray 'help topics' nav is open. If I want to rollover and open the blue 'training' nav, I want the gray to close after blue's been selected.

View 1 Replies

ActionScript 2.0 :: Vertical Menu With Submenu?

May 15, 2008

i am stuck with this.

Code:
/*some variables*/
var holder_mc:MovieClip;
var menuArray:Array = new Array();
var subMenuArray:Array = new Array();

[Code]...

View 2 Replies

ActionScript 2.0 :: Vertical Xml Menu With Submenu?

Jan 7, 2005

I have a simple vertical xml menu layed out and would like to know how to create submenus that appear below the selected entry and move all other menus down to compensate.[URL]

View 4 Replies

ActionScript 3.0 :: Creating A Motion Tween On X Then Y Axis?

May 15, 2010

I am trying to figure out how to make my movie clip move from left to right then down with a motion tween script. I have the script written to move left to right on the x axis, but can't figure out how to add the script to have it then move down on the y axis.

[Code]...

View 5 Replies

ActionScript 3.0 :: Movieclip Move On Menu X Axis?

Jun 16, 2009

I'm making a Website, where the the menu will have a luminous movieclip which follows the menu items X axis around and stays there.I wan't to confine the movement to the menu only. Once it leaves the area, the bar stops moving.This is what I have so far:

stage.addEventListener(MouseEvent.MOUSE_MOVE, mouseMove);
function mouseMove(event:MouseEvent) {
menubar_mc.x = mouseX;
}

View 1 Replies

ActionScript 3.0 :: Creating A Vertical Marquee In Flash Cs4

Jul 8, 2011

how to make a vertical marquee in flash cs4? I can make a horizontal one with no problem but I am having problems creating one that is vertical.

View 2 Replies

ActionScript 2.0 :: Creating A Vertical Shooter Tutorial

Jan 24, 2011

I'm a bit of a newbie to this so I decided to follow this URL...The problem is that the dragons don't stop so I tried adding a time limit like this:[code]Frame 6 is my game over screen and the removeMovieClip works for the knight and the arrows but not for the dragons. They still carry on.

View 2 Replies

ActionScript 1/2 :: Looking For Good Example Of Vertical Menu Tree?

Mar 4, 2010

We are looking for a vertical style menu tree.  We are trying to replace an old style Java Menu, which you can see at [url]... along the left side of the window.

View 1 Replies

Actionscript :: Getting A Collapsible Two Tier Vertical Menu?

Nov 9, 2007

I'm looking for help putting together a some website navigation and wondered if i should be doing it action script or not (i'm assuming it should be). Basically i want a collapsible two tier vertical menu. So if you click on Menswear (for example), the rest of the menu buttons move down to reveal the Menswear sub categories (shirts, jeans etc).

View 1 Replies

ActionScript 2.0 :: How To Create Vertical Scrolling XML Menu

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

ActionScript 2.0 :: Flash/xml Vertical Menu Difficulty?

Apr 16, 2007

I am pretty new to Flash and XML and I am having a problem mapping to the correct nodes. I have built a vertical menu using one of Senoculors tutorials, which I have had to adapt a bit to make it fit in with my xml. The problem is I need to be able to map to a different set of nodes to the ones in the tutorial. I have posted my menu so that you can see what I mean.

View 2 Replies

ActionScript 2.0 :: SWF Containing Vertical Scrolling Infinite Menu

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

ActionScript 3.0 :: Flash - Vertical Scaling Menu?

Feb 20, 2009

Im trying to make a Vertical Scaling menu. So when you roll over a text item it goes from a .5 scale to a 1. scale and all the other text items below will move down accordingly to make room for the scale. Im using tweenlite to scale and trying to keep the code dynamic without having to hard code in positions

View 3 Replies

ActionScript 3.0 :: Flash - 2D Vertical Rotating Menu?

Mar 29, 2009

I've been having a spot of trouble working with this menu. My goal is to create this rotating menu with buttons that expand another movieclip with text/detailed information when you roll over it. What I'm having trouble with is making it usable, since it also needs to slow down/stop the frames of both movieclip's animations as the user approached/rolled over the button.I've searched for a couple of tutorials, but I don't understand them well enough to really manipulate the code for my uses. Especially since I seem to mostly find 3D Carousel tutorials that seem to be a little different

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved