ActionScript 2.0 :: Menu Items Will Not Show As Active?

Feb 13, 2012

I'm updating this site for a client:

[URL]

I can't get "Motion" and "Press" to show as active. Basically this is done via a gotoAndPlay function, but it's not working. In addition, the code also deactivates the menu item when it's active; so, if I was on "Profile" before going to "Web" or "Press," that item remains inactive once I've clicked on "Web" or "Press," so I can't click on "Profile" again until I go to any of the other pages.

Below is the code for the navigation. Also, there is an external file named BookSection.as that I believe contains the code we would need to edit, I just can't figure out what it is - I've tried several edits.

You can find here (I couldn't upload since I don't have more than 50 posts):

[URL]

ActionScript Code:
mLogo.gotoAndStop("complete");
// PRINT------------------------------------------
booksButton.onRelease = function()

[Code].....

View 0 Replies


Similar Posts:


Flex4 :: Show Copy And Paste Menu Items In Textinput?

Dec 10, 2010

In my flex 4 project I am using some Spark TextInput components. It doesn't show copy and paste in the right click menu by default. The user needs to copy some text and paste into it. How can we enable this?

View 2 Replies

ActionScript 2.0 :: Dynamic Menu - Moving Down Items To Show Sub Navigation

Oct 30, 2006

I have a vertical menu which is generated via xml. Each menu item also has its own sub menu (not shown). When clicking on the top level item I want the rest of the items to move down to show the sub navigation. i.e.

menu item 1
menu item 2
menu item 3
menu item 4

menu item 1
sub menu 1
sub menu 2
sub menu 3
menu item 2
menu item 3
menu item 4

I have that working fine. Say if I have clicked on menu item 1, and the sub menu is displaying, before i have can view another sub menu I have to click on menu item 1 to close it before I can click on menu item 2.

This is the code that I am using to tell whether or not to move the buttons up or down:
Code:
menuButton.clicked = false;
menuButton.onRelease = function () {
if(menuButton.clicked == false) {
_root.moveMovieDown(buttonNum, buttonHeights);
menuButton.clicked = true;
[Code] .....
Basically I want to be able to click on any menu item button, if a menu item is open, I want it to close, and then open the new one. Just like this one. [URL

View 1 Replies

ActionScript 2.0 :: Login - First Frame Is Not Active Frame The 2ed Is The Active And 3ed Is Blank So It Wont Show?

Jan 18, 2012

im working on my own site im lost though i copyed and pasted so much but i cant seem to figer somthing out.i have a members sys sitting on a few frames every thing works. but the profile button, i have a total of 11 buttons that are working. i coppyed them put them all on 1 frame with there own instances that contain 3 frames?the first frame is the not active frame the 2ed is the active and 3ed is blank so it wont show. so my login code at this point is

ActionScript Code:
//Button Functions
signupBtn.onRelease = function() {[code]...

View 0 Replies

ActionScript 2.0 :: Expanding / Collapsing Menu - Should Have Remember The Last Visit Menu And Show The Menu

Jun 5, 2004

I have created this site with a expanding / collapsin menu. When a user selects a menu e.g. "hammers" then the menu is loaded and show the submenues. When the users closes the menu by moving the mouse away from the area the menu collapses. If the user expands the menu again the menu should have remember the last visit menu and show the menu.

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

IDE :: Close Popup Before Menu Is Active Again?

Apr 16, 2009

i'm working on a project where i would like to build a menu of 3 buttons in the bottom of my screen, when 1 of these buttons is clicked a little popup MC pops up with a X sign to close it. WHen the popup is active the background (the buttons) fade to a 30% alpha and a re not clickable anymore. When i close the popup MC with the X sign then the buttons are active again. I seen a tutorial how to do this but i lost it.

View 2 Replies

ActionScript 3.0 :: Dropdown Menu Buttons Appear But Not Active

Mar 3, 2010

I'm currently working on an AS3 scripted drop down menu and for the most part it works exactly like I had envisioned with one small hiccup. The issue I have is if you accidentally navigate away from a button that creates one of my drop downs before the script has finished running the other drop down buttons will drop down but not be active until you go back to the original button and finish the script. What I believe will fix the problem is to disable the other main menu buttons until the script has finished. I could just disable at the beginning of the script and enable at the end but there are 5 flyouts and 9 buttons on the main menu. This would add up to a ton of extra code. So how could I create a block of code that disables the buttons and another block that will enable them at the end of the script but be able to call them in each script?
And here is my site that I'm currently working on. [URL]

View 1 Replies

ActionScript 2.0 :: Highlight Active Menu Item?

Feb 12, 2010

Here is the code on my buttons, which work fine.[code]...

How do I setup these buttons so that when button1 is clicked, and the button1 page is loaded, that the button stays in 'Over' state?

And just to elaborate, when button2 is clicked and loaded, I want button2 to be in 'Over' state while button1 goes back to normal.

So basically, how do I highlight the active menu item with my 'Over' state?

View 4 Replies

ActionScript 2.0 :: Menu Buttons To Stay Active?

Aug 21, 2010

If you have a look at the attached sliding menu there are four buttons. Each button brings an image in place. I want the button that�s been clicked to remain red until I hit a different button, even when the cursor is not right in front.

View 3 Replies

Actionscript 2.0 :: Highlight Active Menu Item

Feb 12, 2010

I found this script but it doesn't work. My buttons are not in a movieclip, and the instance names are but1-6.[code]The script is on a new layer called actions. Can anyone tell me why this script has NO effect whatsoever?

View 1 Replies

ActionScript 2.0 :: Flash Menu Needs Several Clicks To Be Active

Oct 29, 2009

i've some flash elements in a php page, one of these is a menu that open some php page (target: _top) I do not why, every time it has to be clicked several times to go at the correct page, seams that it need to bee first activated with some clicks

the menu is in (and open) these pages (left column, snow, x-mas, and scuola logos):

[Code]....

View 2 Replies

ActionScript 3.0 :: Highlighting The Currently Active Menu Item?

Mar 31, 2010

I have created a menu with XML & AS3, which works nicely.But, I just met a problem. If I want to highlight a menu item which I just clicked, and it will disable the highlight after I click another item in the menu. How could I do that?

View 3 Replies

ActionScript 2.0 :: Highlight The Active Menu Item With 'Over' State?

Feb 11, 2010

Here is the code on my buttons, which work fine.[code]....

How do I setup these buttons so that when button1 is clicked, and the button1 page is loaded, that the button stays in 'Over' state?

And just to elaborate, when button2 is clicked and loaded, I want button2 to be in 'Over' state while button1 goes back to normal.

So basically, how do I highlight the active menu item with my 'Over' state?

View 1 Replies

ActionScript 3 :: Menu With Active State Shown On Click

Jan 18, 2010

Ive got a simple menu that upon hover of each item, plays a movie clip, then on mouse_out it plays the movie clip in reverse. What I'm trying to do is to have a third state (active) that is shown upon clicking. I'm thinking I need to do something along the lines of:
-When clicked, gotoAndStop(5) //Five being the location of my active frame
-Also remove the event listener that triggers the function to play the movie in reverse.
-Then when another menu item is clicked, re-add the event listener to the previous menu item so it's not stuck 'active'

My code is as follows:
// Imports
import fl.transitions.*;
import fl.transitions.Tween;
import fl.transitions.easing.*;
import flash.external.ExternalInterface;
[Code] .....

View 2 Replies

ActionScript 2.0 :: Make Flash Menu In Active State?

May 11, 2010

how to make flash menu in active state.when i click one other button the first button remain on rollover sate and do not become active. see for your self.

View 4 Replies

ActionScript 2.0 :: Making Buttons Within Drop Down Menu Active

Mar 23, 2009

im having trouble making the buttons within my drop down menu active.basically, on the main timeline, i have a movieclip, and within it have a button that once u roll over it, will go to another instance in that timeline to display a drop down menu located below it (with buttons). these buttons do not perform any actions to the main timeline regardless where i place the actionscript or how i point to those buttons.

View 1 Replies

ActionScript 2.0 :: Highlight Active Menu Item Until Another One Clicked

Feb 11, 2010

I have a menu with about 5 items, they all work great with this code on each one:
Code:
on (release) {
if (_root.link<>1) {
_parent["b"+_root.link].play();
_root.link = 1;
_root.play();
}}
(The number 1 changes 2-5 depending on button)

Works great, now.. When I hover over a menu item is turns green, I click it, it takes me to the right page, but I want it to stay green. And when I click another page I want the other menu item to turn green and all other revert back to regular. How do I do this?

View 3 Replies

ActionScript 2.0 :: Sliding Menu Buttons To Stay Active?

Aug 21, 2010

If you have a look at the attached sliding menu there are four buttons. Each button brings an image in place. I want the button that�s been clicked to remain red until I hit a different button, even when the cursor is not right in front.

View 4 Replies

ActionScript 2.0 :: Active Play Button In Shortcut Menu?

Nov 11, 2010

how to do that when you run the swf the Play button on the shortcut menu was always active

View 1 Replies

ActionScript 3.0 :: Navigation Menu - Multiple Hit Area With Specific One Active

Aug 14, 2009

The center top of this webpage has a navigation menu that I'm trying to create [URL]. Basically, depending on where the mouseover is, the image and hence the button/link below changes. How to have multiple hit areas overlapping in the same place, and to have only one specific hit area active depending on where the mouseover is at the time.

View 1 Replies

ActionScript 2.0 :: Highlight Active Menu Item OnRelease, Without Triggering OnRollOut

Jul 17, 2008

So, I've always struggled with the best way to do this. I have a method, but it seems like there's gotta be a better way.

Say you have an array of menu items

Code:
var menuArray:Arrary = [item1,item2,item3];
, and onRollOver they receive a certain color:

[Code]....

I realize that there's some additional code that would need to be written here, but you get the point. Basically what I'm doing is disabling the button so nothing happens onRollOut. Then I'm setting all the buttons colors to null, but changing whichever button was flagged as active to red.

It seems like a really ghetto way of doing this, and you notice a visible flicker in color of the active menu item if there are a lot of items in your array. Does anybody know a better way to handle this?

View 3 Replies

ActionScript 3.0 :: Can't Show The Selected Textfield In The TileList Items By Default The TileList Items Are Selected

Feb 1, 2012

I have placed TextFileds inside TileList Compontent. When i try to select the TextField it can't show the selected Textfield in the TileList items by default the TileList items are selected.Finally i need to select the TextFields.
 
Here is my code: 
 
import fl.controls.TileList;    import fl.data.DataProvider;    import flash.display.Sprite;    import flash.events.Event;
function TileListExample() {            var dp:DataProvider = new DataProvider();            var totalEntries:uint = 3;            var i:uint;            for(i=0; i<totalEntries; i++) {                dp.addItem( {  source:getTf(), scaleContent:false}

[code]....

View 5 Replies

ActionScript 3.0 :: XML Only Show Certain Items

Mar 13, 2011

[code]I need ONLY the text of the LogType's (FROM CENTER "BOCC" ONLY) to show up in a list component. I do not want to see any other results (e.g. from SOMEOTHERCENTER). Like show:[code]The actual file I'm working with (and can not alter) is media.chp.ca.gov/sa_xml/sa.xml.

View 5 Replies

Web Development :: Why ComboBox 3 Take So Much Space To Show All Its Items

Dec 8, 2010

[code]It's taking up 300px ,but actually only the upside 150px is in use.How to show all its items while keeping the page UI normal?

View 1 Replies

ActionScript 2.0 :: XML - Show Items In Rows And Load Images?

Jul 4, 2006

I've included the .fla and source files I'm working on. Here is what I need some help to figure out:

1. How can I show the items in rows of 4 and 4.. Instead of just repeat them vertical?

2. How can I load the thumbnails in the menu items?

3. How can I load the image for the chosen item in the image placeholder?

View 14 Replies

ActionScript 2.0 :: Pile Everything Another Same Frame And Change The _visible Of Items When Show Them?

Jul 26, 2005

I discovered _visible. What I can now do is pile everything onther same frame and change the _visible of items when I want them to show. Before, I used to have different items on different frames. And I would move to the frame when I wanted an item to show. Method one is a little bit harder, but once you've done it a couple of times, it becomes easy. And I find it easier and quciker to develop once mastered. The second way, well I kind of thought: maybe this is less processor intensive? Movies are only brought onto screen when they need to appear. Is this true??

View 1 Replies

How To Make Menu Items Clickable

Jun 15, 2009

I'm creating an xml generated gallery/menu, I have the gallery and menu populating fine but my issue arises when I try to make the menu items clickable.

This is inside my populate menu function
_root["mainMenu"+[i]].onRelease = function() {
trace(this);
var splitThis:String = this
var splitThisArray:Array = splitThis.split("Menu");
trace(splitThis)
trace(splitThisArray[1])
};

Now the trace output I get is
_level0.mainMenu1
_level0.mainMenu1
undefined

Although when I set splitThis to "_level0.mainMenu1" manually I get "1" or whatever number comes after "Menu".

View 2 Replies







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