Button animation in selected state.

Can I have a video or animation playing on a button only in the selected state(and still in the the other state)?
atm I can have a video looping in in a normal menu but this dosen't work in a layered menu?

I replied in the other thread you posted to.
Since layered menus are effectively a series of normal menus linked by auto-activating buttons, you can have a "selected" version of your menu that has each button animating by itself. Then when you navigate to that button, it can auto-activate and jump to the appropriate animated menu with the correct button animating.
As I said in the other thread, the drawback is that navigation from button to button is slow.

Similar Messages

  • How to Reset Pagination Page called by a button defined in Select Statement

    Its easy to reset the pagination for a page that is called using a 'Button' such as 'Create'.
    But
    I've defined a button in my records list by using the this entry in the select statement:
    (some characters have been removed to allow for its inclusion in this post)
    href="f?p=&APP_ID.:12:&SESSION.::NO::P12_SEARCH_BLDG1,P12_SEARCH_FLOOR:'||BLDG_ID||','||ID||'">'
    || 'img src="#IMAGE_PREFIX#connections.gif" border="0" alt="Icon 4"'
    ||
    "CONNECTIONS",
    It works great, Except, I need to reset the pagination for the page, (P12_),
    Because I have similar buttons defined on other pages that also call page, (P12_).
    Can you help me?

    Hi Gary,
    see the f?p URL format at http://download-west.oracle.com/docs/cd/B32472_01/doc/appdev.300/b32471/concept.htm#BEIHCICF chapter "Clearing Session Cache for Two Pages While Resetting Pagination"
    Patrick
    My APEX Blog: http://inside-apex.blogspot.com
    The ApexLib Framework: http://apexlib.sourceforge.net
    The APEX Builder Plugin: http://sourceforge.net/projects/apexplugin/

  • MX:Button Selected State

    I'm working on a bug https://bugs.adobe.com/jira/browse/SDK-16197 And trying to test a fix that I worked out, and now I'm realizing that I don't know when a button enters the "selected" state.  I placed a trace statement in the setter function for selected, and I couldn't figure out how to get it to fire.  I tried clicking, tabbing to it so it had focus, using space bar while it had focus. 
    When is a button considered selected?

    A button must have toggle=true in order to stay in the selected state and will dispatch a CHANGE event when changing the selected property.
    Alex Harui
    Flex SDK Developer
    Adobe Systems Inc.
    Blog: http://blogs.adobe.com/aharui

  • Video in button Selected state?

    I'm rusty in DVDSP - been a couple of years since my last DVD menu project, but I have one now and the client has provided the menu art and description of what they want - but there are 2 items I'm not sure if I can include the way they want, and before I re-prep their art for Studio Pro (because, of course, it was prepped as if for print), I want to determine the best course to take, and reset their expectations, if necessary.
    1) They want video to play in a button, but only when it is selected - I can drop video in using shapes, but it's playing in all states. I can't use a layered menu, because the background also is motion (subtle looping, but motion just the same). Thought maybe I'd build the motion in the buttons and mask over with a still in normal state, reveal in selected, but can't seem to get there. So any ideas, or am I spinning my wheels trying to accomplish?
    2) They've prepped the buttons as if rollovers in a Flash presentation - the normal state has an image with a white border around it and title underneath - but the selected state has those as black PLUS a small arrow pointing at the title. I can't do a straight shape with text, because the arrow element will be present in all states. I can't do a layered menu because of the motion background. So what I've come up with is embedding the normal states of the button (white, without the arrow) into the motion background, and then create a shape with the text (black, with the arrow) but with only the highlight layer and no shape layer so that only the black highlight layer shows up over it when selected. This works, but I have to position it PRECISELY over the background normal button, or else white edges show and it gets ugly. So, is there a better way to do this that I'm overlooking?
    Thanks very much to anyone who has taken the time to read this novel, and even more thanks to anyone who has some insight into any possible solutions (or lack thereof).

    There is another way, but it's tricky.
    You create a series of menus that are almost identical. In the first, all buttons show still images, and the button auto activates to a copy of the menu where the appropriate button shows a video. If you have four buttons, you'll need five menus all exactly the same except in the last four, single buttons have video, others are stills. Every button that is a still auto activates to go to the appropriate menu where that button has video. Every video based button links to the relevant track.
    In practice, the user will see a still image, and when they select it (or roll over with a mouse if on a computer) the menu will jump to the associated sub menu where that button now has video and the others show stills.
    The problem here is that on some (most) players there will be a pause between the menus, and it won't be a slick and quick change.
    Using the masking technique is better in lots of ways, however as Drew said it will be hard to match the colours. Also, the mask shape will need to be your 'still' image (which might help obscure the colour differences) and this can only have four colours.
    A further consideration is that the mask shape will be part of the button highlight (well.... it will BE the button highlight) and as such will exist in the subpicture stream. It is impossible to guarantee that this will stay in place or be in place when leaving or entering a menu. In effect, when you click a button the first thing to disappear is the sub picture stream, which means all of your videos will be visible for a fraction of a second, or perhaps slightly longer. Secondly, when entering a menu, the last thing to be created is the subpicture stream, which means that all of your button videos will be showing for a fraction of a second until they get covered.
    The amount of delay in each case will depend on the player. For some it'll be tiny. For others it'll be seconds and will ruin the effect you are looking for.
    I would probably prefer the delay as you change menus to the revelation of all the button videos, but you'll have to decide for yourself which is better!

  • When-button-pressed---adding a "select statement"

    Hi friends,
    i have a select statement:
    select count(*) from employees
    where emp_no=:control.emp_no;
    i would like that when i press a button, count for instance, i get the number of employees.
    I need the codes used in oracle in the when-button-pressed.
    Thanks.

    DECLARE
    RESULT NUMBER :=0;
    CURSOR CUR
    select count(*) from employees
    where emp_no=:control.emp_no;
    BEGIN
    OPEN CUR;
    FETCH CUR INTO RESULT;
    :ITEM_NAME := RESULT;
    CLOSE CUR
    END;
    I hope this will help
    This will be shown in item, if you want to show a message then use
    MESSAGE(RESULT);
    Regards
    Abbas
    Edited by: Abbas on Jul 19, 2011 12:37 PM

  • Having only selected buttons animated!

    I'm working with DVDSP4 to make 12 short movie clips into 1 DVD.
    I made 12 buttons connected to each of them.
    And I also prepared small size movie clip for the buttons.
    But the problem is, I don't know how to play that small button animation only when the button is selected.(roll-over mouse)
    All of 12 buttons are animating and it's so dizzy.
    Help me out.
    Any help would be appreciated.
    Thanx.
    Message was edited by: CarlosLibera

    While something like this is relatively easy to set up in Flash, Director or any of the modern website programs, the DVD specs do not allow for this.
    Go rent/buy a bunch of DVDs. Look at the menus. See what they are doing. Anything you have seen can be done in DVD SP. But you have never seen buttons animating on rollover on a DVD.

  • How to add interaction to button that only appears in selected state of radio button?

    Hi all,
    This is my first time working with flash catalyst, so far it's going pretty good. There is only one thing that I cannot get the program to do:
    I'm creating a quiz and I want a button to appear when the correct radio button is clicked. I've succeeded in making the button appear by putting it in the selected state of the correct radio button. But when I try to add the interaction 'go to next page' to this button, it doesn't work. It appears that the button is getting the same properties as the radio button it's connected to. When I put the button on the page and make it constantly visible (by taking it out of the selected state of the radio button), it does work.
    Can anybody tell me what I am doing wrong?
    Thank you very much,
    Sisko

    Hi there,
    For interactions, you can only target items within the current document (the object you are editing in place), or the top level application.
    Panini is a bit more flexible with interactions, so you may want to try that out.
    -Bear

  • Normal State Button Shows Selected State At Loop Point

    My menu shows the Normal State Button Shows as the selected state At Loop Point. I want it to show for instance black until it is selected then "rollover" to red. TIA for any help.
    Murman

    There are two ways that you can do this without resorting to using a layer based shape or a layer based menu.
    First, you need to decide if it is important for the logo to appear in full colour or if you can get away with a single colour instance of it appearing. If the answer to this is that a single colour is OK, then use a standard overlay menu. Otehrwise, try using a masked overlay menu (there are limitations...)
    With a standard overlay, the background image is as you want it to appear without anything selected - all shapes and text, etc, should be in place as if no button is chosen.
    You then create the overlay, which is a simple .pict file that is the size of the menu. On this you simply place as many instances of the logo as you need - create them in black or grayscale and don't add anything else. The overlay will be mostly white with the black or gray shapes on it.
    Add this to your menu in DVDSP and drag out the button rectangles to cover the background text and the overlay shape. When the button is selected, the logo shape will show up, but will not show in the normal state.
    You can get the logo to be whatever colour you need by using the colour mapping within the property inspector for the button.
    If you definitley need a full colour logo to appear, you can either use a layer based photoshop menu, or use overlay masks:
    http://www.editorsbin.com/authoring/mask_overlay.html
    be aware that there are some limitations when using the masking technique - but all is explained in that tutorial.

  • Making a Selected state for a button

    Im being really stupid, im making a simple button (ive made
    the up, over, down and hit states) but i want the button to remain
    selected in the hit colour not just when it is pressed but when it
    is selected. Is there a way of adding a selected state??
    Thanks for any help

    Hi Adam
    Please do not post multiple post on the same subject.
    2 hours is barely any time to wait for reply, it might take
    many more hours or days
    before anyone find time to entertain your thread, so please
    post and relax.
    Regards
    Urami
    Happy New Year guys - all the best there is in the 2006 :)
    <urami>
    http://www.Flashfugitive.com
    </urami>
    <web junk free>
    http://www.firefox.com
    </web junk free>

  • Button "Selected State" bug confirmed for Blu-ray on Mac

    I just confirmed today with Adobe tech support that, at the moment, menu button selected states are invisible on Blu-ray discs created with Encore on a Mac.
    Meaning, if you have 5 buttons linked to 5 different places, the buttons will all work, but you will have no idea what you're selected on- because they are invisible! There will be no "highlight" or "selected" state for the button. Once selected, you will see the "activated state" for the button for a split second, then it will take you to the proper target track. But again, no way of knowing what buttons are selected.
    They said if the video/menu assets are 4:3, the buttons work fine. Good to know, but a completely ridiculous suggestion.
    At the moment, there is no solution. They are "working on it."
    This is only a problem with Blu-ray projects on the Mac platform. Lucky me. To a hobbyist, this isn't a completely devastating problem- you can still watch the content of the disc. But this is enough of a problem for that I can't deliver it to clients like this. Wasted time and money troubleshooting this. This is a major problem.

    Adam. When you see the LAYERS window, click on and off on your highlights. There is a small white looking box. Deactivate and activate this. This will activate the selected and activated states. We had this problem a long time ago and found this to be the solution!
    DARREN

  • Using if logic in the where clause of a select statement

    I have a select clause. And in the select clause there is a variable all_off_trt that can be 'Y' or 'N'.
    In the where clause I want to make it so that if a form variable is checked and all_off_trt is 'Y' then
    exclude it else if the form variable isn't checked then select it no matter what all_off_trt is.
    Is there any way to include either and if statement or a case statement within the where clause to acheive this? If not is there another way of doing it?
    Basically I am looking for a case statement like this
    case
    when all_off_trt = 'Y' and mail_para.code = 'Y' then false
    else true
    end
    Message was edited by:
    Tugnutt7

    Ok, so that really doesn't solve my problem. I have 3 different fields that I need to do that with. Each combining in a select statement to print an email list, as well as other thing limiting the where clause.
    This is currently what I have, tested and working 100%.
    cursor email_cur is
         select unique p.email,s.all_off_trt,s.all_deceased,s.no_enroll
    from participant p, trialcom t, ethics s
    where p.status='A'
    and p.surname=t.surname
    and p.initials=t.initials
    and s.trial_cd = t.tricom
    and s.centre = t.centre
    and p.email is not null
    and (t.centre in (select code from mail_parameters where user_name=user and mail_para='CENTRE')
    or 'XX' in (select code from mail_parameters where user_name=user and mail_para='CENTRE'))
    and (t.tricom in (select code from mail_parameters where user_name=user and mail_para='TRIAL')
    or 'XX' in (select code from mail_parameters where user_name=user and mail_para='TRIAL'))
    and (t.role in (select code from mail_parameters where user_name=user and mail_para='ROLE')
    or 'XX' in (select code from mail_parameters where user_name=user and mail_para='ROLE'))
    and (p.country in (select code from mail_parameters where user_name=user and mail_para='COUNTRY')
    or 'XX' in (select code from mail_parameters where user_name=user and mail_para='COUNTRY'))
    and (t.represent in (select code from mail_parameters where user_name=user and mail_para='REPRESENT')
    or 'XX' in (select code from mail_parameters where user_name=user and mail_para='REPRESENT'));
    This is in a program unit that runs when a button is clicked. At the end of that I need to add on the 3 case statements that help further narrow down the selection of emails to be printed. Then it prints the emails selected from this statement into a file. So it has to be done right in the select statement. The three table variables are the all_off_trt, all_deceased, and no_enroll. The form has 3 checkboxes. One for each, that when checked (giving the variable associated with the checkboxes a value of 'Y') excludes all emails that have a 'Y' in the coresponding table variable.

  • HTML DB  Select Statement in HTML HEADER

    Can I put a select statement that return a value in the HTML HEADER?
    If I can How? Would point the way.
    Second Question
    Can I call store function from HTML HEADER? Help!

    I have a report screen that has Delete button. Each record on the screen has a checkbox
    What I would like to do is:
    when the user puts a check in the checkbox and click the Delete button. a message will pop up and ask "Are you usre?" If the user click Yes then the system will check for child record. If there no No child record go head delete the record. If there is a child record then another message pop up and ask "This Schedule is currently active. Do you really want to delete this." If the user answers Yes then it will delete both parent and child records. If the user answer no then no record will be deleted.
    I have been struggle with this in HTML DB for a bit, but I did not find the solution yet. Please Help!!!!

  • How to use bind variable value for table name in select statement.

    Hi everyone,
    I am having tough time to use value of bind variable for table name in select statement. I tried &p37_table_name. ,
    :p37_table_name or v('p37_table_name) but none worked.
    Following is the sql for interactive report:
    select * from v('p37_table_name') where key_loc = :P37_KEY_LOC and
    to_char(inspection_dte,'mm/dd/yyyy') = :P37_INSP_DT AND :p37_column_name is not null ;
    I am setting value of p37_table_name in previous page which is atm_state_day_insp.
    Following is error msg:
    "Query cannot be parsed, please check the syntax of your query. (ORA-00933: SQL command not properly ended) "
    Any help would be higly appreciated.
    Raj

    Interestingly enough I always had the same impression that you had to use a function to do this but found out from someone else that all you need to do is change the radio button from Use Query-Specific Column Names and Validate Query to Use Generic Column Names (parse query at runtime only). Apex will substitute your bind variable for you at run-time (something you can't normally do in pl/sql without using dynamic sql)

  • Animating controls between states.

    Hi Oracle community.
    A while ago I started a thread here on the forum where I had put three different subjects to be treated. The user jsmith guided me saying that I was supposed to separate things, dividing each subject in a separate thread. The original discussion is at the following link:
    Interesting things, however, unknown? StackPane, animations and filters.
    So in this discussion, I will be talking about controls and animations. A few weeks ago I started studying JavaFX, and some days I came across the need to develop a specific type of test. This test involved in making the JavaFX controls to suffer animations between their states. We know we can change the appearance of controls between it's various states using CSS. We can also apply certain types of animations to them using JavaFX API. However, I do not believe that we can easily apply more complex animations. For example, suppose we have a simple button. Would it be possible to apply a particle emitter on the button when you hover the mouse over it? Would it be possible to also play the animation of a rectangle moving inside a button when it is clicked? Notice also that changing the appearance of controls when their states are changed abruptly. A button has an appearance, and by passing the mouse over, he suddenly changes his appearance instantly.
    These are just examples, not real things I have to do, because they are things I've done in the past using Swing and Timing Framework libraries. I believe that JavaFX has much more to mature. Or maybe not. Maybe the developers just forgot to better document this technology to us. Why do I say this? Well, there are things that differentiate applications when they are put on the market, especially if they are things that fill the eyes with curiosity. I simply can not build an app that just has to look different from other applications. That would not call the public's attention. We all know that. I think that JavaFX is a fascinating technology, and I hope that this kind of feature is really possible. Maybe I am not seeing how this can be done, so I need a hand, I don't know yet.
    In any case, I thank you for your attention.

    jsmith
    Back when we used Swing all we had to do was create a JComponent, perhaps a model class, and a ComponentUI class. It was basically what we did when we did not want to use a pluggable UI. With the override of the painting method in ComponentUI, and the use of animations with Timing Framework library, anything was possible. One thing that made me migrate to JavaFX was it's performance, ease of doing many things (way beyond Swing), and new features (of course). There are certain things nowadays that we have to open a little more our heads. Why am I saying that? Well...
    What differentiates us as living beings? It's our personal possessions? Our powers? Our social status? All of us today are seen as equal (or at least it should be), and so we got unsure how we can be different. When we create something new, how it can be considered new? We see many movies in the cinema today, then we observe it's history. If we are critical in a positive way, we think of various aspects of the film, but no matter what, we always observe the history of film. Oftentimes we clearly came to the conclusion that the film's story is a cliché. We've seen this story being told before, but in another way. This kind of conclusion comes not spoil our enjoyment of watching the movie. Nowadays, with so many special effects, it is likely you do not care to see the same story told in a different way. But if you think about it, we can see that a film is not just a set of actors acting, it is not several hours of rendering scenes made on computer, or even spending more than 100 million dollars. A film is a set of things, all of which are carefully put together around the story. Without a story, a film does not exist. Therefore, it is remarkable that the story of a movie is something crucial, and also something unique. In the same way that a director has several concerns with a movie, a software designer have with a project.
    Now leaving all the "nonsense" I said before, let me ask you a simple thing: Which type of interface do you think people will be attracted...
    These (Please see all the links):
    Lab Manager - JavaFX Application - YouTube
    http://3.bp.blogspot.com/-t0ID3U3qHrE/TxwJaYMLwiI/AAAAAAAAABM/RxcHh7Jy8Jw/s1600/CalendarStyle.png
    http://www.toedter.com/blog/wp-content/uploads/2012/02/contacts-javafx-dark-2.1-beta-build12-font.png
    http://cache.fxexperience.com/wp-content/uploads/2012/02/Screen-Shot-2012-02-29-at-11.32.36-AM1.png
    http://fxexperience.com/wp-content/uploads/2013/01/Modena-Windows.png
    Or these (Please see all the links):
    ListCell Animation in ListView JavaFX - YouTube
    after effects ui test soundblaster - YouTube
    GUI Concept - Borderless (2009) - YouTube
    ui animation - YouTube
    FUTURE DESIGN - Hi-Tech Car User Interface GUI / Dashboard Speedometer - YouTube
    I want to make clear that the visual design of an application is not everything. An application must be functional and do what it purports to accomplish. But again I ask you: What differentiates us as living beings?. In fact, it's not our appearance, but our creativity. It is the things that are inside us. Our emotions, our hearts and our desires.
    Here is the question: How could I differentiate my application in the market? Changing the appearance and functionality of the controls is one of the things that will make my application prevails in the market among my competitors. For that to happen, as a human being I just need to be creative. I hope you have understood for what reason I think things should be easier. I did not mean to offend anyone having spoken about all this. I just wanted to express for what reason I think some things are really more important at some point. Many people do not notice it, or do not have an open mind. And that's not a problem. Most of us do not notice much. For example, I do not notice the nails of my wife when she goes to the salon. (she gets a wild animal ).
    It is not the material we study, It's us. Of course the better the creation tool, the better the creation. But at the end of it all, all the work is always in our hands (in our heads, actually).
    Regarding my studies on the customization of the JavaFX controls, I think I'm close to figuring out how I can finally do what I want. From what I'm seeing, with the arrival of JavaFX 8, it is necessary that the developer also learn about the new CSS API. We must also be aware of the hierarchical properties of Node, Parent, Region, and Control, and finally put some logic in SkinBase, reusing its existing methods. If God wills, I'll soon be aware of how to do this.
    Thanks again for the help and attention.

  • Change the default select statement in the execute_query function

    I want to list all records where c1 like '%ABD%'. So I set the following in the 'when_button_pressed' tigger:
    set_block_property ('block_name',DEFAULT_WHERE,'upper(c1) like '''||'%'||:block_name.blk_col_name||'%'||'''');
    execute_query;
    When I click on the button the :system.last_query holds the following select statement:
    select c1, c2, .. cn from t_n where upper(c1) like '%ABD%' and (upper(c1) = 'ABD' and (c1 like 'ab%' or c1 like 'aB%' or c1 like 'Ab%' or c1 like 'AB%')) order by c1
    Since the condition upper(c1) = 'ABD' is not satisfied oracle does not return any rows.
    My question is how to overcome this or is it possible to change the built-in select statement of execute_query.

    Have you tried this :
    'upper(c1) like upper('''||'%'||:block_name.blk_col_name||'%'||''''));

Maybe you are looking for

  • Itunes will not open and sync my Ipad after Imac update.  Why?

    I had a computer udate on my IMac yesterday and now I cannot get into my Itunes at all.  I have no access to my music or videos, but my pictures pop up when I plug in my Ipad to the IMac.  There is a message that comes up on my screen when I try to c

  • How do I code a 2-D look-up table in a DIadem script?

    Based on two existing Diadem variables, what is the syntax for doing a linear interpolation inside a 6 x 5 table to calculate a third value that is a function of both of the first two variables?  This would be similar to doing a horizontal and a vert

  • IMac DVD Burner only burns on Apple Brand blank DVDs

    Hello, I have an iMac G4 Dome and just last week it stopped burning DVDs on any brand outside of Apple Blank DVDs. The CD burner works fine, it's just the DVD burner. Can anybody help?

  • Spacing of x axis points on the graph

    how do I set the X axis values to be spaced correctly reletative to each value...currently if i have a values of "10,15,40,80,200" they appear equally spaced..not spaced relative to numerical difference

  • Aperture 3.6 and iCloud SYNC

    I have found this : iCloud Photo Library is available with the new Photos app for iOS 8.1 or later. The Photos app for Mac will be available at a later date. You can also access your entire library from any Mac or PC at iCloud.com/photos. Is this mea