Button Navigation & Highlight Problem

I have I believe, a simple button highlight problem. I have a
group of buttons I created on a page and want when button 1 is
clicked it stays highlighted (each button is a MovieClip), and when
another button is clicked the last one clicked gets cleared. All
buttons have this initial AS to start:
this.onRollOver = function(){
this.gotoAndStop("focus"); //button changes colour
this.onRollOut = this.onReleaseOutside = function() {
this.gotoAndStop("no_focus"); //back to original / starting
colour
this.onRelease = function() { //here's where I'm stuck - keep
the button highlighted and 'reset' the last one clicked.
this.gotoAndStop("focus");
this._parent.gotoAndStop("Pic2");
this.onReleaseOutside = this.onRollOut = null;
Any tips on how to make this work?

For anyone able to help, I've change the script on my
buttons: Some buttons still act funny - don't reset or only reset
on rollOver. Any help?
Tjisana
stop();
var num:Number = 3;
//Mouse RollOver function: change colour when mouse passes
over button
this.onRollOver = function() {
if(_global.link != num) {
this.gotoAndStop("focus");
//Mouse or Pointer Rollout & ReleaseOutslide function: go
back to original colour
this.onRollOut = this.onReleaseOutside = function() {
if(_global.link != num) {
this.gotoAndStop("no_focus");
this.onRelease = function() {
if(_global.link != num) {
_global.link=num;
for(var i=1; i<=6; i++) {
this._parent["space" + i].gotoAndStop("1");
this._parent["space" + _global.link].gotoAndStop("1");
this._parent.gotoAndStop("P3"); //change to new picture
this.gotoAndStop("focus"); //keep button highlighted
};

Similar Messages

  • Hidding Button Text & Highlight Thumbnail

    I'm fairly new to DVDSP. I would like to create buttons that do not show the text and have the border highlighted when you mouse over (or use a DVD remote arrow buttons).
    I would like to create a chapter index template that I can use build a chapter index. The problem is my chapter names are really long and there is no reasonable way to show them. Thus, I want to eliminate the chapter name text from the buttons.
    The only way I have found to "get it done" seems to create the chapter index, then manually remove the button text for each button. To get the remaining button to highlight, I seem to have to choose a shape like "Picture Frame Rectangle White".
    I could deal with deleting the text, but I don't like any of the border highlight shapes that I have found as the ones that seem to both highlight AND show the still or motion are not what I'm looking for. Something like "L Shape Highlight" could work, if only it was programed to show still/motion.
    Any suggestions would be appreciated.

    When you create a chapter index by dragging a track with markers onto a button on a template, hold it and select "Create Chapter Index" from the pop-menu then select a index template. If you use any of the Apple supplied templates, such as "Brush Index", it creates the appropriate index pages. Each index page has buttons to access the specific chapters. All the buttons on these index pages seem to include the chapter name (as set in the chapter marker) and most include a preview of the video starting at that chapter index.
    The chapter names I assigned are the names of the people in the video clip. When there are 2 or more names, it is too long to fit in the space allotted for the chapter title in the chapter index. It does not make sense in this context to name the chapters something short that could be displayed on the chapter index. Instead, I would like to tell DVD studio NOT to display the chapter names on the chapter index, thus only displaying the button with the video preview.
    The only way I found to prevent the text from showing is create the chapter index, then, delete all the text in each button, leaving only the preview.
    The problem with this approach is most of the button styles change the TEXT highlighting when the button is selected. When there is no text, you can not tell which button is selected.
    As a result not only do I want to turn off the text for the buttons, I also want to be able to have the a highlight show on the non-text portion of the button.
    Let me try to provide a visual for this: you look at the Apple Template "Brush Index". Remove the text from each button. Next, instead of having the text change color in the "Selected" and "Activated" show a colored border around the video preview when Selected or Activated. That's what I'm trying to do.
    I have not found a good way to accomplish this seemingly simple task in DVDSP using the Apple provided buttons and templates. Hopefully I'm missing something and there is an easy way to do this.
    NOTE - this is a trivial task in other programs (i.e. Nero Vision for Windows). The reason need to use DVDSP is this is the only application I have that supports multiple video angles.

  • I have 2 ipod touch 4th generation and i tried to sync these i had to download a new itunes but no sync button is highlighted i am unable to download anything or sync either of these ipods . It says click summary i do nothing happens

    I am unable to sync my ipod touch 4 th generation. Itunes advised me to download updated version of itunes. I did. But nothing works no syn button is highlighted and summary button does not bring anything up. can someone help.

    I disabled all my computer's firewalls and sure enough, IT WORKED!! My iPod is updated and just now finishing restoring! Thank you SOOOO SOOO much. : D

  • ADF navigation lockup problem

    We are using ADF10133.We are experiencing navigation lockup problem.
    If the application idle for 30sec then navigation wont work.I have enter again application homepage url and go ..on. Of course user session still exist.
    Recently, Quarterly CPU patch applied to App server10133.Did any body experienced these kind of navigation lockup problems?
    Thanks in advance
    kaleem

    Sorry for being a bit annoying...
    But .... no one has answered my question yet......though you promised...
    Eventually I’ve somehow solved the trouble by replacing the “ panelBinding.releaseDataControl ” with
    “ panelBinding.release(DCDataControl.REL_VIEW_REFS)
    panelBinding.getBindingContext().remove(panelBinding.getName());”
    In the doDefaultCloseAction() method
    it seems like it works good now.
    I reconstructed a bit my code
    Now I’m invoking the internal frames this way:
    private void jMenuDeptVoc_actionPerformed(ActionEvent e) {
    FormCreateDeptView deptVoc = new FormCreateDeptView();
    this.getJMenuDeptVoc().setEnabled(false);
    deptVoc.setBindingContext(panelBinding.getBindingContext());
    this.deskTopPane.add(deptVoc);
    I looked through the following how to:
    http://www.oracle.com/technology/products/jdev/howtos/10g/jcmultiform/index.html
    there is an additional method there, which is invoked before creating a new frame where the binding container for the panel binding is created:
    private void createDetailBinding()
    String detailBCName = "DetailFormUIModel";
    if (panelBinding.getBindingContext().get(detailBCName) == null)
    DCBindingContainerDef bcdef = (DCBindingContainerDef)JUMetaObjectManager.getJUMom().findLoadedObject("sample.DetailFormUIModel");
    DCBindingContainer bc = bcdef.createBindingContainer(panelBinding.getBindingContext());
    bc.setName(detailBCName);
    panelBinding.getBindingContext().put(detailBCName, bc);
    But since createBindingContainer(BindingContext) method has been deprecated in 10.1.3 i skipped this step.
    Nevertheless my program is working now I still wonder if the way I’m doing it is right.
    Thanks. Alex.
    Edited by: Timin on Apr 2, 2009 8:28 AM

  • New ARB Issue:  Button navigation and Declarative States

    <[email protected]il.forums.adobe.com>
    Message-ID: <C6277898.7F37%[email protected]>
    Thread-Topic: New ARB Issue:  Button navigation and Declarative States
    Thread-Index: AcnOqlv/oTWkTNjMukqDP18VFO76uA==
    Mime-version: 1.0
    Content-type: multipart/alternative;
         boundary="B_3324475544_8859892"
    This message is in MIME format. Since your mail reader does not understand
    this format, some or all of this message may not be legible.
    --B_3324475544_8859892
    Content-type: text/plain;
         charset="US-ASCII"
    Content-transfer-encoding: 7bit
    A new ARB issue has been posted to the flex open source site:
    http://opensource.adobe.com/wiki/display/flexsdk/buttonnavigationand+decla
    rative+states
    This issue concerns the new state syntax and what it means to leave a value
    of a property implicit in one or more states.
    Comments, suggestions, and feedback are welcome.
    --B_3324475544_8859892
    Content-type: text/html;
         charset="US-ASCII"
    Content-transfer-encoding: quoted-printable
    <HTML>
    <HEAD>
    <TITLE>New ARB Issue:  Button navigation and Declarative States</TITLE=
    >
    </HEAD>
    <BODY>
    <FONT FACE=3D"Calibri, Verdana, Helvetica, Arial"><SPAN STYLE=3D'font-size:11pt=
    '><BR>
    <BR>
    <BR>
    A new ARB issue has been posted to the flex open source site:<BR>
    <BR>
    <a href=3D"http://opensource.adobe.com/wiki/display/flexsdk/button+navigation=
    anddeclarative+states">http://opensource.adobe.com/wiki/display/flexsdk/bu=
    ttonnavigationanddeclarativestates
    This issue concerns the new state syntax and what it means to leave a value= of a property implicit in one or more states.
    Comments, suggestions, and feedback are welcome.
    B_3324475544_8859892

    Ned Murphy wrote:
    Select the textfield that is inside the movieclip and in the properties panel you should see a dropdown for selecting the type of textfield.  If you select Dynamic and then assign an instance name to the textfield you can use that instance name in your code to assign the text when the file runs.  If you were to name the textfield "tField", then the code you would use inside an instance of your movieclip named "mClip1" would be...
    mClip1.tField.text = "your text";
    So, if I have multiple buttons, using your example, would the code read
    mClip1.tField.text = "your text";
    mClip1.tField2.text = "your text2";
    mClip1.tField3.text = "your text3";
    mClip1.tField4.text = "your text4";
    And my buttons are built inside movieclips, ie
    Main Timeline > aboutButton_mc > aboutText_mc > "about"
                        > contactsButton_mc > contactsText_mc > "contacts"
    can the code be put at any level, or does it need to reside on the Main Timeline to access all the movie clips' text fields?
    Just in case this may be too complex to get into via this forum, if you know of any good tutorials, that would be awesome too!
    I tried doing a search, but it's so hard to tell if they might be in AS2, or AS3, and if they would apply to newer versions of Adobe Flash (I have CS5)

  • ARB Issue Committed:  Button navigation and Declarative States

    <[email protected]il.forums.adobe.com>
    Message-ID: <C62B9EEA.82F3%[email protected]>
    Thread-Topic: ARB Issue Committed:  Button navigation and Declarative States
    Thread-Index: AcnOqlv/oTWkTNjMukqDP18VFO76uACeTE1U
    In-Reply-To: <C6277898.7F37%[email protected]>
    Mime-version: 1.0
    Content-type: multipart/alternative;
         boundary="B_3324878165_1545235"
    This message is in MIME format. Since your mail reader does not understand
    this format, some or all of this message may not be legible.
    --B_3324878165_1545235
    Content-type: text/plain;
         charset="US-ASCII"
    Content-transfer-encoding: 7bit
    the  ARB issue at:
    http://opensource.adobe.com/wiki/display/flexsdk/buttonnavigationand+declara
    tive+states
    has been updated with a decision (in short, keep the status quo).
    Ely.
    --B_3324878165_1545235
    Content-type: text/html;
         charset="US-ASCII"
    Content-transfer-encoding: quoted-printable
    <HTML>
    <HEAD>
    <TITLE>ARB Issue Committed:  Button navigation and Declarative States<=
    /TITLE>
    </HEAD>
    <BODY>
    <FONT FACE=3D"Calibri, Verdana, Helvetica, Arial"><SPAN STYLE=3D'font-size:11pt=
    '><BR>
    <BR>
    <BR>
    </SPAN></FONT><BLOCKQUOTE><FONT FACE=3D"Calibri, Verdana, Helvetica, Arial"><=
    SPAN STYLE=3D'font-size:11pt'>the  ARB issue at:<BR>
    <BR>
    <a href=3D"http://opensource.adobe.com/wiki/display/flexsdk/button+navigation=
    anddeclarative+states">http://opensource.adobe.com/wiki/display/flexsdk/bu=
    ttonnavigationanddeclarativestates
    has been updated with a decision (in short, keep the status quo).
    Ely.
    B_3324878165_1545235

    graf_ix_guru wrote:
    >
    > Hey everyone I am new, and really could use some help.
    > I have created button symbols in Fireworks with Pop-Up
    Menus. As of right now
    > I have 4 states. The up, over, down and over while down.
    Everything is working
    > great except when the user clicks on the navigation
    button they get taken to
    > the top of the page.
    On click should open a new page, yes? So it won't matter.
    Linda Rathgeber [PVII] **Adobe Community Expert-Fireworks**
    http://www.projectseven.com
    Fireworks Newsgroup:
    news://forums.projectseven.com/fireworks/
    CSS Newsgroup: news://forums.projectseven.com/css/
    Design Aid Kits:
    http://www.webdevbiz.com/pwf/index.cfm

  • How to handle Back button, Browser Refresh problem at server side.

    Hi Friends,
    How to handle Back button, Browser Refresh problem at server side in java?.
    I am able to trace that,
    request.getHeader("ACCEPT") is returning value- */*
    when the browser was refreshed and returning different MIME types
    for all other actions from browser.
    I have doubt, will the above solution works always for all servers,browsers?.
    Please also specify any solution to handle back button at server side?.
    Thanks in Advance.
    Venkat..

    I'm sorry I don't think tht's the right solution for
    the above question....
    We must be aware that whatever scripting methdologies
    we either javascript/vbscript would executed @
    client(browser) side not @ server side....
    Dud If U get a good solution keep me updated.....
    THANKS & REGARDS,
    RAHULMy dear friend ...
    the bad news is that u simply cant disable or add any listener to the back button of the browser.
    When u hit the back button of ur browser the URL gets re-executed. So in case u have a JSP then the history.forward() is the best solution. [only if the page doesnt get expired similar to secure https sites]
    Now dont say that user can have javascript disabled ...those users will have a pretty touch time browsing websites since javascripts r used extensively by almost all websites.
    But in case u have an action.do or servlet call then u need to manage it using a session variable since the request will be sent to the server rather than client.
    For multiple form submittion issues read the following article in javaworld...
    Client vs. server solutions
    Different solutions can solve this multiple form submission situation. Some transactional sites simply warn the user to wait for a response after submitting and not to submit twice. More sophisticated solutions involve either client scripting or server programming.
    In the client-only strategy, a flag is set on the first submission, and, from then on, the submit button is disabled based on this flag. While appropriate in some situations, this strategy is more or less browser dependent and not as dependable as server solutions.
    For a server-based solution, the Synchronizer Token pattern (from Core J2EE Patterns) can be applied, which requires minimal contribution from the client side. The basic idea is to set a token in a session variable before returning a transactional page to the client. This page carries the token inside a hidden field. Upon submission, request processing first tests for the presence of a valid token in the request parameter by comparing it with the one registered in the session. If the token is valid, processing can continue normally, otherwise an alternate course of action is taken. After testing, the token resets to null to prevent subsequent submissions until a new token is saved in the session, which must be done at the appropriate time based on the desired application flow of control.
    for more details refer :
    http://www.javaworld.com/javaworld/javatips/jw-javatip136.html
    Hope u got the idea.
    FYI I have been using both these ideas in my credit card payment gateway project. This concept has worked really well.

  • Button un-highlight on disable?

    In my code, when a user clicks on a button, I set the alpha of the button to 50 and set enabled=0. This works to essentially disable and grey out the button. The problem is that even though the button has been disabled, it still sits in the over state until the user moves the cursor off the hit area... Funny, no?
    Since you can't tell a button what frame to go to, how do I get it to go back to its up state (without recreating all my buttons as movieclips and doing the whole thing manually)?
    I'm sure there's a simple solution I'm missing here...
    Thanks,
    Caleb

    That's a shame... just kidding, but AS3 supports giving some control of the button states where AS1/2 do not.  I'll think on it a bit, but for the moment, a movieclip is the only solution that comes to mind.

  • Button Navigation Problems

    Hi, I'm having a frustrating problem when copying/pasting buttons. Its probably a bit unusual but here goes. I'm a composer and I'm creating a showreel for my music and soundtracks, so I needed the dvd to have a page with numerous audio tracks that the viewer could click and listen to. The only way I could find to achieve this was to have duplicate pages linked to each other that each had a different background track. For example, you see a menu with tracks 1 through 10, when you click track 1, nothing appears to happen but you actually go to an identical menu that plays track 1 in the background. My problem is that when i copy and paste the identical buttons from one page to the next, the navigations (up, down, left, right) don't copy. I update these tracks fairly often so its a lot of tedious work every time. Suggestions greatly appreciated.

    If you select the items in the menu, then Command C, go to the other menu (make sure to click on it) then Command V it should carry through.
    What I would so is set the first menu with proper navigation and color schemes for the menu.
    Then duplicate the menu 20 times
    On the 19 copies delete all the buttons, then set links in the buttons for the first menu, then copy and paste buttons as above, it saves the navigation
    Download this file
    Buttons Zip File
    I made menu 1, duplicated it 3 times, set the links in menu 1 buttons, removed the other buttons, copied from menu 1 then pasted.
    It actually took more time to write that last section than do it so it is pretty quick.
    Note that UP/LEFT press takes you backwards and RIGHT/DOWN goes forward (numerically) then cycles from 4 to 1 or 1 to 4 when the end is reached

  • Simple button navigation script

    This question is so simple-I can't really find the answer
    anywhere, but as a complete NooB I have no idea how to make this
    work. I have a nested movie 1 layer down from main stage that has
    several navigation buttons that move to different main stage
    labeled frames. I get an 1120 error because I am somehow not
    calling them out on the script. I have named the instances..so
    that's not the problem. I think I just need to somehow direct the
    script to the nested location. If I move the buttons to the main
    stage I get no errors and it all works perfectly. Please help.
    Here's a sample script for the button:

    ok..not to mix things up but here's the instance name of
    button I'm currently working on: "buttonbio".
    It's located in a mc called "movFilmbackground". I'm trying
    to get the playhead to go to the frame label "bio" on the main
    stage.
    If I put the first code in...on the main stage at the
    beginning of the timeline, nothing happens when I try the button...
    If I put the second code in.. I get 1120 error.."access of
    undefined property buttonbio" & 1180 error "call to possibly
    undefined method movFilmbackgound"
    CODE

  • Movie buttons not highlighted

    I have created and burned an iDVD project comprising several movies, each of which is made up of several movie clips. The title menu has movie names, each of which leads to a submenu containing the clips. When I play the finished DVD on my iMac, I put the cursor over a movie name but there is no highlight. If I click, I go to the first movie. The only way I can select other movies is with menu item Go>Title. When I play it in my DVD player, a small, barely visible arrow appears next to the selected movie name. I want all buttons to be well highlighted when I choose them – is this possible?

    OK, by pointing to themes, you have inadvertently solved my problem! It seems that the crux of the problem lies not in modifying themes but in saving a modified theme as a favourite - at least that's my current theory. I have now saved a couple of standard themes as favourites (to avoid searching for them) and I use only those. Any changes to appearance are done only by importing image, changing font sizes, etc. Everything now works perfectly - thanks.

  • When "Enter" is pressed, all buttons loose highlight

    I have a simple menu with two buttons. Each button is set for the Shape of "SimpleButton". There is a normal, select, and press color state for each button. Each button has it's own asset. When a button is "pressed", ie Enter is hit on the remote, the button goes into press state for a moment, but then both buttons revert to normal state before my track starts. This does not show up when I preview the menu on my computer, only on a set top DVD player (I've tried 3 different ones). I cannot find any info related to this, help would be much appreciated.

    Thanks for the reply. I believe that a yes in correct for your question. The button goes from selected to active, and then for a split second before the track plays, ALL of the buttons go from normal to selected, basically flashing on the screen. Is this normal behavior, it looks very odd?
    Also, this may play a role in this problem, all of the buttons react to the same normal state color setting, whether I've chosen highlight set 1, 2, or 3.
    Is there a problem with me relying on the "SimpleButton" state for all of my buttons?
    The final DVD plays just fine on my computer, just like the preview looks just fine within DVDSP. Put it on a set top and the highlights are bad. Thanks again for any input.

  • I've got a new computer with windows 7 & i downloaded firefox yesterdayerday. there are no menu buttons/navigation buttons showing up.

    i downloaded firefox yesterday. it is only showing maps4pc and googlechrome. there are no navigations tabs. i don't want the above two features. i only want plain simple firefox with navigation tool bar. everything i tried to fix the issue following instrurctions on the support pages didn't solve the problems. thanks

    Make sure that you do not run Firefox in full screen mode (press F11 or Fn + F11 to toggle; Mac: command+Shift+F).
    If the menu bar is hidden then press the F10 key or hold down the Alt key, that should make the menu bar appear.
    Make sure that toolbars like the "Navigation Toolbar" and the "Bookmarks Toolbar" are visible: "View > Toolbars"
    * If items are missing then open the Customize window via "View > Toolbars > Customize" or via "Firefox > Options > Toolbar Layout"
    * If a missing item is in the toolbar palette then drag it back from the Customize window on the toolbar
    * If you do not see an item on a toolbar and in the toolbar palette then click the "Restore Default Set" button to restore the default toolbar set up.
    See also:
    * http://kb.mozillazine.org/Toolbar_customization
    * https://support.mozilla.com/kb/Back+and+forward+or+other+toolbar+items+are+missing

  • LOV button navigation in multi row block

    We have two fields in a multirow block, Role Type and Parent Role Type(which is a LOV button). When the current row selector is on a Role Type row all Parent Role Type LOV buttons for all the rows change only the current selected row. With Designer we set Keyboard/Mouse navigable properties to Yes(in the OLB) which fixed it but with Headstart these properties do not fix this problem. Any info and suggestions would be appreciated. Thanks.

    Ok, now I understand.
    Unfortunately, you have run into some standard forms behavior that doesn't work the way you want it to. The LOV button is not navigable, because your cursor needs to be sitting in the data item when the call to the LOV is made. Since this button is not navigable, the cursor will not move to the current record when you press the button. (Actually, the button is identical on each record.)
    Possible solutions:
    1 - use only 1 button in an overflow below. (Create your own action item instead of using the LOV button preference.)
    2 - don't use a button at all. (Headstart provides the LOV toolbar button.
    3 - Try generating the lov as a poplist. (See Oracle Designer online help).
    4 - Use the new Oracle Look and Feel (available only on the web) to create a button in the field ('...').
    Regards,
    Lauri

  • Buttons navigation

    I'm just getting started using Flash Builder and need some help. Is there a way for me to make a button that will send a user to a different screen randomly. I'm a teacher and trying to create a math app for my students, where after there answer a question correctly, it sends them to the next question at random. Here is the code I have thus far, but it will only send them to the next question. Thanks for any help!
    <s:Button x="324" y="273" label="Next Question"
                  click="navigator.pushView(question2)" styleName="back" />

    Turn the click handler into a full on separate function. Then store all the views in an array and use Math.rand() to randomly choose one.
    Something like this:
    <fx:Script>
         <![CDATA[
              var questionsArray:Array = {question2,question3,question5,questionRed,questionGeography};
              function buttonClickHandler(event:MouseEvent){
                   var randomProblem:int = Math.floor(Math.random()*(questionsArray.length));     //generates a random integer between 0 and the total number of questions in the array (arrays are 0-based)
                   navigator.pushView(questionsArray[randomProblem]);
         ]]>
    </fx:Script>
    <s:Button id="randomProblemButton" label="Next Problem" click="buttonClickHandler(event)" />
    Haven't tested that, but something along that line should work

Maybe you are looking for

  • Issue with Insert in SP

    Gurus, I have an issue with inserting rows into temp table through SP. Here is my proc. its running fine. After the execution completed when i try to select the rows from srini_temp table its showing 0 rows. Whats wrong here. CREATE PROCEDURE BO_HR_R

  • Reg: Error while connecting to a remote database as SYS user.

    Hello all, When i try to connect to a database as SYS user i'm getting the error as ora-01017 invalid username/password logon denied But it is logging from the local system where the oracle is installed. I created the password file and checked the co

  • Error in writing to file.................................... Oracle9iV2 on RedHat7.3

    What is causing the failure of the Oracle JDBC Development Drivers component during the Oracle9i installation, I'm getting the Error in writing to file classes111_g.jar If I skip this component then it keep on listing other files including a file.PDF

  • How to use setClickable() method

    Is there a way to add and remove themes by client side rather than server side in order to increase efficiency and loading time? Should I use the setClickable() method? How? Thanks in advance.

  • Repeated wlc 5508 client web authentication

    I'm trying to troubleshoot a situation where many of our guest wireless users are repeatedly being prompted to reauthenticate via the web interface.  the session timeout is set to 4 hours, however, many times a client is presented with a web authenti