Listing issues with buttons by labeled name and "menu" is referencing the menu that ascends/descends upon button click.
Issues are as follows:
• When going from Cap Mod to MS Office
Tools the MS Office Tools appears to be
on the stage in place already, not easing
in but already on the stage behind the
Cap Mod menu.
• Need menus to all descend behind the
ascending menu, showing as the one
coming up on top. Currently some drop
in front and others behind. It doesn’t look
very uniform. (This is my fault, I’m sure)
• Need to make it so that buttons cannot be
clicked and button appearance cannot be
changed after that button’s menu comes
up. Only other buttons should be clickable
to prevent menus to be able to ascend
repeatedly if the user clicks the button again.
If you have an ideas or suggestions please let me know... any help at all is appreciated. I'm getting fairly frustrated with these problems and can't seem to figure it out. The "cap mod" up version of the button and the menu are not vector graphics. I am already aware of this and replacing it. The main issues I am querying here are for the animation problems that keep it not looking right. Thanks for reading, btw!!!1
CODE
import fl.transitions.Tween;
import fl.transitions.TweenEvent;
import fl.transitions.easing.*;
var xMovement:Tween;
var yMovement:Tween;
function Start():void
{
CapModBtn.addEventListener(MouseEvent.MOUSE_DOWN, moveCapMods);
OfficeToolsBtn.addEventListener(MouseEvent.MOUSE_DOWN, moveOfficeTools);
LOBBtn.addEventListener(MouseEvent.MOUSE_DOWN, moveLOB);
}
function moveCapMods(even:MouseEvent):void
{
yMovement = new Tween(LOBInfo, "y", Back.easeIn, LOBInfo.y, 413, 1, true);
yMovement = new Tween(OfficeToolsInfo, "y", Back.easeIn, OfficeToolsInfo.y, 413, 1, true);
xMovement = new Tween(CapModuleInfo, "x", Back.easeIn, CapModuleInfo.x, 20, 1, true);
yMovement = new Tween(CapModuleInfo, "y", Back.easeIn, CapModuleInfo.y, 138, 1, true);
}
function moveOfficeTools(even:MouseEvent):void
{
yMovement = new Tween(LOBInfo, "y", Back.easeIn, LOBInfo.y, 413, 1, true);
yMovement = new Tween(CapModuleInfo, "y", Back.easeIn, CapModuleInfo.y, 413, 1, true);
xMovement = new Tween(OfficeToolsInfo, "x", Back.easeIn, CapModuleInfo.x, 20, 1, true);
yMovement = new Tween(OfficeToolsInfo, "y", Back.easeIn, CapModuleInfo.y, 138, 1, true);
}
function moveLOB(even:MouseEvent):void
{
yMovement = new Tween(OfficeToolsInfo, "y", Back.easeIn, OfficeToolsInfo.y, 413, 1, true);
yMovement = new Tween(CapModuleInfo, "y", Back.easeIn, CapModuleInfo.y, 413, 1, true);
xMovement = new Tween(LOBInfo, "x", Back.easeIn, LOBInfo.x, 20, 1, true);
yMovement = new Tween(LOBInfo, "y", Back.easeIn, LOBInfo.y, 138, 1, true);
}
Start();
** Edit **