ActionScript 2.0 :: Rotating/scaling Menu - Items Arranged Vertically?

Apr 18, 2005

I'm trying to build a set of menu items arranged vertically, and to be able to change their scale and position according to the current item selected, giving it some sort of depth effect. found a little bit about scaling menus, and used a script(nothing explained much, just cut and paste) that changes alpha an size of the menu items. I managed to add a swapDepths to bring to front the current item. I need now to figure out how to make the first item full size/alpha on load, move the items to make it look like they're rotating backwards, and get them to stay on their states when one of them is pressed (that is, one at full size/alpha and the others faded and smaller).The test file i'm working on can be downloaded from here, it's in FMX format.

View 2 Replies


Similar Posts:


ActionScript 3.0 :: Rotating Menu - Creating Items Dynamically

Sep 1, 2011

I'm using Adobe Flash CS4 professional for this Actionscript 3.0 project. This error always shows up whenever I compile it:
"Line 65 - 1093: Syntax error"
Haven't I had the parentheses right?

Code:
//Save the center coordinates of the stage
var centerX:Number=stage.stageWidth/2;
var centerY:Number=stage.stageHeight/2;
//The number of items we will have (feel free to change!)
var NUMBER_OF_ITEMS:uint=15;
[Code] .....

View 2 Replies

ActionScript 2.0 :: Create The Animation/movement Of A Cube Flipping/rotating Vertically?

Oct 18, 2004

Is there an actionscript I can insert to create the animation/movement of a cube flipping/rotating vertically?

View 4 Replies

ActionScript 2.0 :: Rotating Menu With Non-Rotating Labels?

Nov 1, 2005

I have a rotating menu that sets the selected button to the 3:00 position once clicked. I need the labels for the buttons to stay in the upright position as they rotate with the button. I have attached an image. Anyone know of an action script that would keep the labels upright?

View 8 Replies

ActionScript 3.0 :: HitTestting 2 Mc's Within A Rotating/scaling Mc?

Jun 18, 2011

My collision for platforms and player movieclips works sometimes, but it doesn't always work.. Not sure if I'm using the right values to hittestpoint..i have a movieclip (level) with many movieclips in it (platform and player). level rotates and flips (scaleY and scaleX changed to -1) with player, and platform in it. I need to hitTest the bottom point of player against any instances of platform..

Here's code in my platform.as class:

if(level.instance.direction=="Down"&&this.hitTestP oint(0-level.instance.player.knee.x+300,0-level.instance.player.knee.y+300,true)){

(300 is used because that is the x,y of the level on the stage)That code also is only used when the level is not flipped or rotated. it's many lines of code for all instances.. It works for the most part.. but sometimes rotating or flipping makes the hittest come back positive when the player is not hitting any platforms..

View 3 Replies

Professional :: Scaling And Rotating With Motion Tween?

Mar 21, 2011

This is a ridiculously easy problem but I'm drawing a mental blank at how to do it so in advance I apologize for the simplicity. I'm trying to get a movie clip to rotate and scale automatically without being clicked. I would like it to gradually rotate by 90 degrees and scale by 150%, but I can't figure out how to get a motion tween to do it and am having to do it manually frame by frame. What is the code to do this?

View 5 Replies

ActionScript 2.0 :: Flash 5 - Rotating The Drag Items?

Feb 23, 2010

I have a scene where you drag things around with the mouse. What I have now is;

Code:

on (press) {
startDrag ("");
}

[code]...

What I need to know how to do, is allow the rotation of the objects. I want it set so

[code]
on (press, keypress "r") {
rotate_my_object ("25") ;
}
[code]

I know that's not the right code. Basically, that's what I want. When you "press" to drag, if you press "r" while dragging, it will rotate the "object" 25%.

View 9 Replies

Professional :: Photoshop CS4 - Make The Menu Items To Light Up When The Pointer Is Touching The Menu Icon

Jul 4, 2010

I am working on a DVD User Interface for my final project in Photoshop. For extra credit points I am trying to figure out how to make the menu items to light up when the pointer is touching the menu icon.

View 1 Replies

ActionScript 3.0 :: Add A Couple Menu Items To An Existing Flash Menu?

Sep 21, 2009

I need to add a couple menu items to an existing Flash menu that I did not create, but I am having trouble figuring out how to make the buttons stay highlighted until you click another one. Best way to simply describe my problem since is to simple show you. The first 5 links work exactly as they should. But the last 2 (Careers and Client login) do not stay go highlighted on the loaded page. [URL]

View 9 Replies

ActionScript 3.0 :: Scroll The Left Menu And The Menu Where All The Items Are Added

Sep 1, 2010

scrolling 2 sprites. Look at the image below. [URL] FLA LINK (please take a quick look)[URL] I have this entire program working but i need to scroll the left menu and the menu where all the items are added. One more thing, the right menu can have only an few items at a time that do not need scrolling but when more are added then the scrolling will need to take effect.

View 0 Replies

ActionScript 3.0 :: RotationY Property Same - Items Not Rotating Similarly

Apr 24, 2011

As you can see from the image, even if rotationY property of all 4 items are the same, they do not rotate at same amount. Each image are inside of a container and containers are added to stage. Why is it the case?

View 2 Replies

ActionScript 3.0 :: Scaling Math - Zoom Into The Map The Labels Marking Items On The Map Remain The Same Size

Mar 4, 2011

I've got a map that you can zoom in and out of. What I'd like is that are you zoom into the map the labels marking items on the map remain the same size. Initially I did this successfully by making the labels independent movieclips(ie not children of the map mc) and then using localToGlobal to make sure they were in the right position. However I found that there was a bit of lag in their movement compared to the movement of the map.

So I thought what I'd try is to make the labels children of the map and then scale them up and down inversely to the scale of the map. However I haven't been entirely successful. I'm having difficulty finding the equation to make it scale up and down correctly in proportion to the map. The problem is that my labels are scaling in a linear fashion while my maps scaling isn't.

[Code]....

View 0 Replies

Rotating Menu With XML

Jul 1, 2009

would anyone beable to direct me to a tutorial on how to create a rotating circle menu that is driven by xml.

View 6 Replies

ActionScript 2.0 :: Any Way To Get Rotating Nav Menu?

May 5, 2006

I can't seem to find a tutorial on a rotating nav menu like [URL].

View 3 Replies

ActionScript 3.0 :: Creating A Rotating Menu?

Mar 8, 2009

I have created a rotating menu using AS3 from a tutorial here; [URL]I have it working now but I am trying to change the rotation axis, so the circle responds to the mouse vertically(Up &down) as at the moment it is hoizontally(left & right)

View 1 Replies

ActionScript 3.0 :: How To Get Rotating Menu To Work

Jul 9, 2009

I have downloaded a demo of a rotating menu from here: [URL]. But when I go to open and publish the movie nothing happens, it seems like there could be something missing, I can't upload the files as the folder is to large, you can download the files from the link above.

View 3 Replies

ActionScript 2.0 :: How To Make A 3d Rotating Menu

Jan 6, 2009

how to make a rotating menu like one of this sites? [URL]

View 8 Replies

ActionScript 2.0 :: Dynamic Rotating Menu ?

Dec 2, 2006

There is a fantastic mouse sensitive merry go round 'menu' within the kirupa site via the link:http:[url]....

It's situated under the first example, named basic camera panning.This is very hard code. I understand the principals, but personally am new to actionscripting, and therefore cannot piece together my own example from the code supplied, purely by not understanding the placing of the actionscripting.provide a *.fla file from the example that is explained in the link above?

View 4 Replies

ActionScript 2.0 :: 3-D Rotating Menu, Could Someone Break This Down For Me

Dec 28, 2006

browsing [URL]... I would like to implement a version of this 3-D rotating menu with several changes. I would like to change the orientation to vertical and once one of the numbered instances has been triggered I would like the instance to revert to its inactive state. I am a novice to actionscript but in this case I find the code even more confusing. I cannot see an instance on the stage that would trigger the events and the math functions of actionscript is still very much a dark art to me.

View 2 Replies

IDE :: 3D Rotating Clickable Menu (Carousel)

Jan 23, 2008

Looking for 3D clickable menu carousel tutorial in AS3? I'm looking for this kind of vibe [URL].

View 2 Replies

ActionScript 3.0 :: Creating A Rotating Nav Menu?

Nov 2, 2010

I am working on a project and am trying to create a menu that upon clicking a certain point rotates to a frame and then plays a clip. Something similar to this navigation would be great:[URL]..

View 2 Replies

ActionScript 2.0 :: Dynamic Scaling Mxl Menu?

Jun 29, 2006

I have been working on making a menu that gets it's content from an XML file.

menu.xml

Code:
<?xml version="1.0" encoding="iso-8859-1"?>
<links>
<link name="HOME" ref="index.cfm"/>
<link name="HOW IT WORKS" ref="hiw.html"/>

[code]....

I want to load the menu horirontally and have the buttons resize to the width of the text with a margin on each side. I need the margins to equal the remaining width of the menu stage divided by the menu items(nodes) divided by 2.I have spent hours on this and now have very choppy actionscript code in my source.

menu.fla

Code:
var linksXML = new XML();
linksXML.ignoreWhite = true;
linksXML.load("menu.xml");
linksXML.onLoad = checkLoading;

[code].....

View 1 Replies

ActionScript 3.0 :: Add Preloaders For Images On A Rotating Menu?

Sep 8, 2009

Able to direct me in the right direction as to how to go about adding preloaders for images on a rotating menu.

I am not after any kind of complex animation loader, just simple text that says 'Image Loading'

I have a few thoughts which are;

1.create moveclip with the words 'loading Images' some how load this in the background of main holder that loads images in so that when image loads it loads over the text 'Image loading' technically not a loader just text in the background.

2.create moveclip with the words 'loading Images' that when image loads in the text is replaced by image that loaded in? [code]...

View 5 Replies

ActionScript 3.0 :: Circle Menu Not Rotating Properly

Oct 26, 2010

I am trying to create a circle menu like the link below by searching through net I found some of the menus but not the exact one. Am attaching the menu which was created by me. The menu is not rotating properly. Link : [URL]

View 0 Replies

ActionScript 3.0 :: Axes Of Rotating Cube Menu

Apr 28, 2011

I'm trying to make a simple cube menu. The rotation is done by buttons. After finishing my code, im having some troubles with some rotations of the cube.

[Code].....

View 0 Replies

ActionScript 2.0 :: Rotating Menu Made Up Of A Few Buttons?

Apr 19, 2004

I have a circular rotating menu made up of a few buttons. When the mouse rolls over the a button in the movie clip (rotating menu) it stops. My question is how do I apply easing to it, here is the actionscript I applied to the buttons:

on (rollOver) {
stop();
}
on (rollOut) {[code].....

View 10 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

ActionScript 2.0 :: Rotating Menu - How To Stop On RollOver

Jan 9, 2004

On the attached swf you'll see my slowly rotating menu. Each of the icons around the outside is a button which takes u to a specific page. When the user rolls over the button I want the menu to stop rotating, and if the user moves the mouse away I want the menu to continue rotating. Should I be using mc instead of a button?

View 6 Replies

ActionScript 2.0 :: How To Modify / Personalize Rotating Menu

Sep 17, 2004

Thought this menu was kind of interesting, but I have no idea where or how to modify/personalize it.

View 4 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







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