Problem w/Simple Music Button and Moving Gallery...

I have created a simple on of button attached to a music file along with a rolling gallery.
Everything works perfect except when you go to move the gallery(simple tween) into the other direction.
The music starts plating backwords or it stars looping again cant really tell.
Is there some way the place the music button on some lower level so it will not get affected by the reversing of the (simple tween) for the gallery.
Thanks
Mark

you shouldn't have sound attached to a timeline so it shouldn't make any different what timeline actions are occurring.  use the sound class to instantiate and control your sound.

Similar Messages

  • Problem with java swing button and loop

    Problem with java swing button and loop
    I�m using VAJ 4.0. and I�m doing normal GUI application. I have next problem.
    I have in the same class two jswing buttons named start (ivjGStart) and stop (ivjGStop) and private static int field named Status where initial value is 0. This buttons should work something like this:
    When I click on start button it must do next:
    Start button must set disenabled and Stop button must set enabled and selected. Field status is set to 1, because this is a condition in next procedure in some loop. And then procedure named IzvajajNeprekinjeno() is invoked.
    And when I click on stop button it must do next:
    Start button must set enabled and selected and Stop button must set disenabled.
    Field status is set to 0.
    This works everything fine without loop �do .. while� inside the procedure IzvajajNeprekinjeno(). But when used this loop the start button all the time stay (like) pressed. And this means that a can�t stop my loop.
    There is java code, so you can get better picture:
    /** start button */
    public void gStart_ActionEvents() {
    try {
    ivjGStart.setEnabled(false);
    ivjGStop.setEnabled(true);
    ivjGStop.setSelected(true);
    getJTextPane1().setText("Program is running ...");
    Status = 1;
    } catch (Exception e) {}
    /** stop button */
    public void gStop_ActionEvents() {
    try {
    ivjGStart.setEnabled(true);
    ivjGStart.setSelected(true);
    ivjGStop.setEnabled(false);
    getJTextPane1().setText("Program is NOT running ...");
    Status = 0;
    } catch (Exception e) {
    /** procedure IzvajajNeprekinjeno() */
    public void IzvajajNeprekinjeno() {  //RunLoop
    try {
    int zamik = 2000; //delay
    do {
    Thread.sleep(zamik);
    PreberiDat(); //procedure
    } while (Status == 1);
    } catch (Exception e) {
    So, I'm asking what I have to do, that start button will not all the time stay pressed? Or some other aspect of solving this problem.
    Any help will be appreciated.
    Best regards,
    Tomi

    This is a multi thread problem. When you start the gui, it is running in one thread. Lets call that GUI_Thread so we know what we are talking about.
    Since java is task-based this will happen if you do like this:
    1. Button "Start" is pressed. Thread running: GUI_Thread
    2. Event gStart_ActionEvents() called. Thread running: GUI_Thread
    3. Method IzvajajNeprekinjeno() called. Thread running: GUI_Thread
    4. Sleep in method IzvajajNeprekinjeno() on thread GUI_Thread
    5. Call PreberiDat(). Thread running: GUI_Thread
    6. Check status. If == 1, go tho 4. Thread running: GUI_Thread.
    Since the method IzvajajNeprekinjeno() (what does that mean?) and the GUI is running in the same thread and the event that the Start button has thrown isn't done yet, the program will go on in the IzvajajNeprekinjeno() method forever and never let you press the Stop-button.
    What you have to do is do put either the GUI in a thread of its own or start a new thread that will do the task of the IzvajajNeprekinjeno() method.
    http://java.sun.com/docs/books/tutorial/uiswing/index.html
    This tutorial explains how to build a multi threaded gui.
    /Lime

  • HT5957 I just updated my iphone 4 to the iOS7.0.2 and now I can't get the phone to work its frozen on a screen that shows a blue music button and Itunes below it then below that an arrow pointing upward and below that a pic of my cable charger. Any help?

    I just updated my iphone 4 to the new iOS 7.0.2 and now it's stuck in a screen that has a blue music button and below that itunes and below that and arrow pointing up and below that a pic of a charging cable. Help?

    If you are implying that you've never synced and backed up the device, well that is simply not smart.
    User's can backup their iOS devices at any time by connecting to iTunes and selecting the backup option from the Summary tab or by backing up to iCloud.
    Most people will regularly backup their devices and transfer iTunes purchases to iTunes on the computer for safekeeping.
    Basically, you are stating that the device has not been used as designed and now data has been lost.  Sorry, that's just too bad.  But at least now you know how to prevent this in the future.

  • Problems with programming submit button and attachment upload

    i have a problem programming the upload "athachments" and i
    would like to know how to program the submit button to go to an
    email address. once the form is filled out i want the information
    to go into my email inbox. what script or coding to i need to add
    to the page to make these two things i mentioned above happen?the
    code for the page and where does it go. that is the reason for my
    questioning on how to program the two buttons and place the code in
    the html where it belongs so the page will function right and go to
    the email adress that i need it to go in.
    http://worldofexotics.com/submit.htm

    > There are only two ways to process form data -
    You understand that, right? You are asking about how to
    process form data -
    and I am saying that there are only 2 ways to do that.
    > 1. Use mailto:[email protected] as the action of the form
    You understand that? Each form has an action -
    <form action="..."
    --------------------^^^
    The contents of that action attribute tells the browser what
    to do when the
    form's submit button is successfully pressed.
    In other words, you could have <form
    action=mailto:[email protected]
    That would be ONE way to do it - but there are many
    disadvantages, as
    explained further in my post. The other way is method 2 -
    > Use a server-side scripting method to a) harvest the
    form's data, b)
    > process it in some manner, e.g., enter it into a
    database, c) formulate
    > and
    > send an email to one or more email recipients, and d)
    redirect the visitor
    > to some ending page
    To do that, you'd have to *have* some server-side script -
    there are quite a
    few of them to choose from but the normal host usually also
    supplies one as
    part of your hosting package.
    > You would have to decide which of these methods is best
    for your needs,
    > but if it's Method 2, then start by asking your host
    what they provide for
    > form processing.
    Do you undertand that?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "jayney" <[email protected]> wrote in message
    news:[email protected]...
    > Hi I have been sent this answer but i am still none the
    wiser
    >
    > Can you work it out? this is the answer
    > below.............................
    >
    > There are only two ways to process form data -
    >
    > 1. Use mailto:[email protected] as the action of the form
    > 2. Use a server-side scripting method to a) harvest the
    form's data, b)
    > process it in some manner, e.g., enter it into a
    database, c) formulate
    > and
    > send an email to one or more email recipients, and d)
    redirect the visitor
    > to some ending page
    >
    > Method 1 is quite simple, and is also the least
    reliable. It depends both
    > on your visitor having an email client already installed
    on their
    > computer -
    > this eliminates public computers, or home users without
    email clients
    > installed (more and more it seems) - and on the
    installed email client
    > responding to
    > the mailto call. It is not possible to use this method
    *and* send the
    > visitor to a
    > thank you page as well.
    >
    > Method 2 is the preferred method, since it eliminates
    the problems of
    > method
    > 1, but it means that you have to grapple with
    server-scripting somehow
    > (ASP,
    > CF, PHP, perl, etc.).
    >
    > You would have to decide which of these methods is best
    for your needs,
    > but if it's Method 2, then start by asking your host
    what they provide for
    > form
    > processing.
    >

  • Problem with Audio in Buttons and Interactive

    Hi!!
    I have problems with the sound into buttons and Forms Interactive. The question is when I add a sound within a button, this it sounds directly when it enters the slides and not when the user presses the button.
    How I solve it?
    Thanks
    NEXTsp

    Hi there
    It isn't a problem. The function is working as it should. You simply have a different expectation!
    You have to think about it in different ways. When do you want the audio to play? When the button has been clicked, right? When you attach audio to an object such as a Button or an Image, the audio plays when that object appears. The trick here is to make an object appear on the Button click. You then attach the audio to that.
    If you have Captivate 3 or older, you can enable the Success caption for the button. Attach the audio to the caption. Button is clicked, caption appears and you hear the audio.
    What's that you are asking? Oh, you don't want to actually SEE a Success Caption? No problem. Choose the Transparent caption type and remove any text!
    If you have Captivate 4, you can also use the same method to accomplish this. But you can also probably use the new scripting in it to make the audio play on a Button click. I can't tell you how to do that at the moment if that's the approach you want to take. I'll have to leave that to another person here that has played with the scripting to explain how it's done.
    Likely it involves opening a panel, inserting or declaring a variable, adding a sound file, associating the variable with the sound file, assigning actions to the button to check the variable and change it if you need to. Stuff like that. Sounds a bit like a Rube Goldberg setup. But really that's what happens with the Success Caption method. It's just that we deal with objects and not the code behind the scenes.
    Hopefully this was somewhat helpful... Rick
    Click here for Adobe Authorized Captivate and RoboHelp HTML Training
    Click here for the SorcerStone Blog
    Click here for RoboHelp and Captivate eBooks

  • TS1424 I have all my previous music files in wma formats from PC Windows xp computer. But now I had decided to purchase an iMac computer, and there is a lot of information I would like to bring to the Mac, but I'm having problems with my music file, and o

    I have all my previous music files in wma formats from my previous PC Windows xp computer. And only two weeks ago I decided to purchase an iMac computer OS X Maverick, and there are a lot of files and information I would like to bring to the Mac, but I'm having problems playing my music file, suited to the PC but not with iMac as yet. So, I hope you can help on this...
    Kind Regards
    Robert Klaassen

    WMA files are 'window media audio' files, which is a Microsoft format. If you want to add them to your iTunes library on your Mac then you will need to convert them into a compatible format first. If you still have your windows machine then iTunes for Windows can convert them from WMA to MP3 format : https://discussions.apple.com/message/24158701#24158701
    Or try a search for, for example, 'convert wma to mp3' to find programs to convert them.

  • Problem in shuffling the button and puting image on button in the same code

    I'm trying to make 16 block puzzel game. The following code is showing desired output when I'm running it in textpad but it's showing the output in eclipse. Please tell me the reason behind it.
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.*;
    import java.util.*;
    public class Puzzel extends JFrame{
              JButton[] arr = new JButton[15];
              public Puzzel(){
                        Image image;
                        Toolkit toolkit= Toolkit.getDefaultToolkit();
                        image=toolkit.getImage("icon.jpg");
                        ImageIcon icon=new ImageIcon("icon.jpg");
                        setIconImage(image);
                        setTitle("Puzzal");
                        JMenuItem pic = new JMenuItem("Solved");
                        pic.setMnemonic('a');
                        JMenuItem pict = new JMenuItem("Solved");
                        pict.setMnemonic('a');
                        JPanel jp = new JPanel(new GridLayout(4,4));
                        ArrayList list = new ArrayList();
                           for(int x = 0; x < arr.length; x++)
                              arr[x] = new JButton("Button "+(x+1));
                              list.add(arr[x]);
                        Collections.shuffle(list);
                        for(int x = 0; x < list.size(); x++)
                              jp.add((JButton)list.get(x));
                            getContentPane().add(jp);
                                 pack();
               public static void main(String[] args){
                    new Puzzel().setVisible(true);}
         }I want to add image on these buttons and I have tried it using the following code but its not running on eclipse but working fine when run through textpad. I dont know how to use it with shuffel.
    setLayout(new GridLayout(4,4));
             JButton img1 = new JButton("1.jpg", new ImageIcon("1.jpg"));
              getContentPane().add(img1);

    In the future Swing related questions should be posted in the Swing forum.
    I have tried it using the following code but its not running on eclipse I have no idea what "not running" means, but I'm assuming you are having trouble reading the image files.
    Read the section from the Swing tutorial on [How to Use Icons|http://java.sun.com/docs/books/tutorial/uiswing/TOC.html] for the proper way to read images so that is works in all environments.

  • Problems with the home button and generally freezing and shutting down often.

    I have had this iPad 2 for around 3 months. After about a month I noticed that I was having to press the home button multiple times in order to get it to respond. It is now at a stage where I have to press it as many as 12-13 times. It's won't do this every time but all day for maybe 3 out of 5 days the other times it works fine.
    As well as this I have also had issues with the Internet shutting down, Skype going crazy, picture albums popping up and then vanishing and so on. I'm not a computer wiz but I would describe it as going crazy two or three times a day.
    While I was in a shopping centre about a week ago I asked about the problems in an apple store. The man was very helpful and asked if I had it on me so he could look at it. Unfortunately I didn't be he said I could bring it back whenever I like and it would take around 30 mins for someone to check it out. He said most Likley they would just give me a new one and that would be that. So of course happy that it could be sorted I went home. Today I decided to drive the nearly two hours down to Brisbane after having a nightmare time trying to Skype my friend this morrning. I hot to the store and asked if it could be looked at only to be told I need an appointment. I showed the card that I had been given and explained what I had being told. To cut a long story short he agreed that I had been told that but said the assistant clearly didn't know what he was on about and that I should come back. I offered to wait but dispute the shop being more full of staff watching movies and downloading songs then actual customers I was basically denied any sort of help and told to call the office to arrange an appointment.
    Sorry to rant! I just thought that apple were renowned for good service? 5 hours later I'm home with the same issues.
    If anyone has had similar problem with the device or even customer service I would be intrested.
    Regards,

    Me too!  I had many bugs and returned my phone for a brand new one that did this the first time it was turned on at the Apple store.  I was told it is a "software issue" and to "reboot the phone" if it continued to happen.  It happens almost every time I try to use my phone.  I've rebooted three times in a row some days.  Nothing really seems to help.  I keep waiting for an update.

  • Problem in activating Radio buttons and need to hit save button

    Hi Gurus,
    I added custom fields in CJ06,CJ07,CJ08 T-CODES. As per user requirement ,  I created radio button fields in sub screen  and user selects radio buttons FROM A1 TO A3  fields and also user wants to click "SAVE button"  in that subscreen, that fields data should store in database table.  Is there  any Note to implement for this and suggest me how to proceed further. 
    Thanks,
    Chiru.
    Edited by: chiranjeevi Rao on Apr 1, 2010 2:24 PM

    Hi Chandrasekhar,
    Can you explain, in detail.
    Inside the EXIT, EXIT_SAPLIMR0_001, I am writing logic to insert or modify the Z-Table for custom screen.
    Here, I need to make that SAP Updates ie Triggers the "SAVE" Button, so that the logic gets executed for updating the Z-Table.
    Motto: is to have single LUW or SAVE Button.
    Thanks.
    Vijayanand.
    Message was edited by:
            Vijayanand Annamalai

  • Magic Mouse and MS Word 2011 (under OS 10.7, iMac middle 2011): Marking of word in a document stops after a few seconds while still pressing the left button and keep on moving the mouse (batteries full)

    Software: OS X Lion (10.7.4); Microsoft Word für Mac 2011, Version 14.2.2 (120421)
    Hardware: iMac 2.7 GHz Intel Core i5, 12 GB, magic mouse
    To mark several clauses in a doc-document (in MS Word 2011), I press the left mouse button and move the mouse along the words
    My problem:
    While still pressing the left button and moving the mouse, the marking on the screen stops and I can't change the already existing markings any more (to become less or especially more).
    Who knows:
    - why this happens and how I can abondon this behaviour?
    - is it a settings problem in MS Word 2011 or of OS X Lion?
    By the way:
    - I don't watch this behaviour in MS Excel 2011. There everything works fine.
    - The batteries are fully loaded and I'm about 30 to 40 cm (1") away from the iMac (RSSI: -60 dB)
    Thanks for answers.
    redlef

    I have the same problem now that I've enabled FileVault 2 on Mountain Lion.

  • Detect closed buttons and vi from VIs inside subpanel

    Hi I have a problem regarding the closed buttons and frontpanel from vis inside the subpanel.
    I am using Labview 7.1. Pls see the attached. Inside the attached, they are main, first, second and subpanel.
    First, second and main are supposed to be inside the subpanel. First and second vis are closed by means
    of their own close buttons while the main vi is closed by means of delay.
    I thought of using the F.P.state property to tell the states of Vi inside the subpanel. But it does not seem to work.
    Please help.
    And secondly as a thoughts on separate issue , building the main.vi that would be reponsible for opening first and second vi, by means of open vi property and open vi function.
    When it works, then I run subpanel to open main vi inside . But somehow first and second vi open outside subpanel. Do do you think putting all vis in the subpanel would be better than putting the main inside the subpanel, where the main vi would later open other vis?
    Thanks
    Clement
    Attachments:
    subpanel.zip ‏23 KB

    Hi Clement,
    For VIs in subpanels the value of Front Panel Windowtate is always Hidden.  I modified your code to use the Executiontate VI property.  Hopefully you'll find the attached subpanel.vi useful. 
    Jennifer R.
    National Instruments
    Applications Engineer
    Attachments:
    subpanel.vi ‏33 KB

  • Why won't my iPad mini download music or video's? I click the download button and it will say its downloading. Then once finished it will just disappear? How can I fix this problem?!?!

    Why won't my iPad mini download music or video's? I click the download button and it will say its downloading. Then once finished it will just disappear? How can I fix this problem?!?!

    Are you using the same apple ID and password?
    it seems all is in order, but perhaps the password isn't valid.
    if the reset didn't work, try signing out of iTunes and App Store, then back in.
    have you tried going to App Store - purchased and tapping on the cloud icon for the apps you want?   You will still be asked for your password.

  • Problem: using the sound widget AND gallery in one page

    Hello,
    I simply tried to have a play-music player/button at a page, and a gallery to swipe through images too.
    It caused weird problems. The iPad behaves strange, the iBook (previewed at iPad) doesn't work anymore.
    Several times I had to make a total reset of iPad3.
    The same result with a combination of a keynote widget (image-sequence) and music.
    Isn't it possible to to offer a slidehow with sound?
    Thanks for any ideas!

    Hi,
    the idea is to watch the gallery fotos or the keynote slideshow and listen to music/sound same time.
    for any reason it did work in the beginning. but now, having the media widget/audio in the same page as keynote or gallery, the application does not run smoothly anymore, particularly the swiping is blocked.
    I already made 2 chapters to avoid too many widgets in one chapter.
    there are: 1 keynote slideshow (1024x768 images) , 1 gallery, and each 3 audio widgets to let the user choose different sounds. but actually the probelms start with pacing the first audio widget already...

  • Specific problem with buttons and states

    Hello,
    I first apologize for using Google Translate :-(
    I have a problem with InDesign not solve. It is for a digital publication.
    My goal is:
    A 'gallery' button is pressed and the ball image appears with three buttons: "Previous image", "Next image" and "close gallery".
    I do not want the gallery to be visible, or buttons that control, until the button is pressed "gallery", so I think all buttons except "gallery" with the "hidden until activated" option selected.
    I want the gallery, and buttons that control it, disappears when I press the button "close gallery".
    What I call "Gallery" is an image that fills the screen.
    After placing the image on your site have become the property button "Hidden until activated."
    Then convert this button in order to several states (what I will call "button states") and by the successive states with the images I want to show in the gallery.
    I think the interactions of the buttons.
    When button "gallery" I assign the following "I click the"
    - "Go to state"
    - Hide "gallery"
    - Show "close gallery"
    - Show "previous picture"
    - Show "next image"
    - Show "button states."
    The buttons "Previous Image" and "Next Image" are assigned, respectively, to go to previous state and go to the next state.
    When button "close gallery" I assign the following "I click the"
    - Show "gallery"
    - Hide "close gallery"
    - Hide "previous picture"
    - Hide "next image"
    - Show "button states."
    The buttons "Previous Image" and "Next Image" are assigned, respectively, to go to previous state and go to the next state.
    When button "close gallery" I assign the following "I click the"
    - Show "gallery"
    - Hide "close gallery"
    - Hide "previous picture"
    - Hide "next image"
    - Hide "button states."
    I put it up and working properly until I press "close gallery". Then I hide the buttons "close gallery", "previous image" and "next picture" but it keeps me visible "button states" showing the last image that was shown.
    Do not know how to fix this and I'm going crazy!
    Please can anyone help me?
    The solution may be another approach but without using "Folio Overlays".
    Thank you very much.

    I've moved your post to the DPS forum.
    I'm afraid the way you're doing this is not going to work with DPS.
    This should all be done with a multi state object. The first state would contain nothing but a button to go to the first state. After that set up each state with the proper buttons. Without seeing the file it's a bit difficult for me to envision exactly what you want to do.

  • After having yet another problem with my MacBook Pro and having to wipe the drive, I am now unable to sync my iPhones etc without erasing all the music on them. Is there a way around this? I have no other library!

    After having yet another problem with my MacBook Pro and having to wipe the drive, I am now unable to sync my iPhones etc without erasing all the music on them. Is there a way around this? I have no other library!
    iTunes is a mess! It couldn't find it's own libraries and I was forced to create a new one. Now I don't know where my music is or if any's missing.

    columbus new boy wrote:
    How crap is that?
    It's not crap at all.
    It's not that simple. For example, I've 3500 songs on my MacBook but don't want them all on my phone, so I have to manually select each song again???
    There has to be a solution.
    Why not simply make a playlist with the songs you want on the iPhone?
    and maintain a current backup of your computer.

Maybe you are looking for

  • How do I use Time Machine to restore applications to a new computer?

    Hello again I just upgraded to a newer computer (not brand new, though: 20" imac with intel core 2 duo). I traded in the older one and the files from it were transferred over, but not the applications. Now, a year ago I took my tech friend's advice a

  • The inspector keeps auto opening and closing. It's making it near impossible to use firefox.

    I simply cannot get the inspector to stop opening. I've tried some steps listed through other support posts regarding disabling the inspector and firebug, but neither of those worked. I'm writing this up in chrome at the moment. The only way I can st

  • Two colums in F4 help

    Hi Folks, i want to restirct the hit list in selection screen( F4 hlp). i am using the FM F4IF_INT_TABLE_VALUE_REQUEST. my requirment is i want display the filed Cred.rep.grp(KNKK-SBGRP) along with another field Cred.contr.area(KNKK-KKBER) in the sam

  • Adding Faults to Web Services created from JCDs

    Is anyone aware of a way to add faults, other than the default JavaException, to the service definition of a web service created from a JCD?

  • Adobe Reader XI Document Restrictions Summary

    I am attempting to configure Adobe Reader XI for Enterprise Deployment.  Our current version of Reader (9.5.1) has the following Document Restriction settings for every document that is opened with Reader: In version XI, those three options are all s