Buttons not working within movieclip inside scrollpane

hey I have a couple buttons that work outside of the ScrollPane but dont work within it. This is my exact code, how do i get them to work?
scrollPane.source = myContent;
scrollPane.setSize(173,500);
K1Button.addEventListener(MouseEvent.CLICK, playVid);
function playVid(e:MouseEvent):void{
myVideoPlayer2.myFLV2.source = "video/K.mp4";
myVideoPlayer2.myFLV2.play();
T1Button.addEventListener(MouseEvent.CLICK, playVid2);
function playVid2(e:MouseEvent):void{
myVideoPlayer2.myFLV2.source = "video/T.flv";
myVideoPlayer2.myFLV2.play();

still cant get this any ideas?
cant seem to get the buttons within the content movieclip to work.
they are supposed to play a video when clicked.
they do exhibit the rollover glow action, just not the down action of playing the movie.
if i take them outside the scrollpane they work fine.

Similar Messages

  • Movie Clip Button not working within an Movie Clip

    Hi,
    I'm trying to create a movie clip on my my main timeline that has a movie clip button within it that pops up a box in the middle of the site that contains text and links. On Frame 1 I have the Up state, frame 2 the roll over state, and frame 3 my Down State (where Box appears).
    on (rollOut) {
        this.gotoAndStop("1");
    on (rollOver) {
        this.gotoAndStop("2");
    on (release) {
        this.gotoAndStop("3");
    I have stop(); on each of the 3 keyframes
    The problem is that on the main time line, the button is clickable but doesnt do anything
    Any suggestions, what am i missing?
    Cheers

    Ok, i have this assigned to a movieclip, is this wrong? Especially for MovieClip Buttons. Anyway, just tried this and it works!
    on (rollOut) {
        this._parent.gotoAndPlay(1);
    on (rollOver) {
        this._parent.gotoAndPlay(2);
    on (release) {
        this._parent.gotoAndPlay(3);

  • Iphone 4 volume buttons not working

    iphone 4 volume and mute buttons not working, checked all settings they are all fine and when headphones in it works??? When I take out headphones the volum buttons do not work, when phone rings or text receives only vibrates???? HELP!!!!

    This could be due to some debris or dirt inside the  headphones jack that makes the iPhone think that the headphones are connected even when they are not.
    Try to see if you can clean the jack being very careful, with canned air as sold in electronics store.  Some people have been successful by introducing and withdrawing the headphones jack several times in a row to displace whatever is in there if it is lodged in.
    Avoid introducing anything else like a pointed object.  You could damage the jack.
    If all of this does not work, I would try first resetting the phone by holding the home button and the power button together for about 15 seconds or until the whilte apple appears, then waiting until the phone resets.  If the problem continues after this, take it to an Apple Store to see what they believe should be done.

  • Cancel and Exit button not working

    Dear Experts,
    <u>Cancel and Exit button not working</u>
    I am calling a screen from inside a report program
    using SET SCREEN 9000.
    2 of the date fields(start date end date)
    on this screen are Mandatory.
    I am not able to Come out of this screen 9000 using
    CANCEL or EXIT button
    without giving a date entry in both of
    Mandatory fields (start date end date).
    Can someone help me with a solution?
    Appreciate your valuable help;
    Points assured
    Thanks,
    Aby Jacob

    Hi..
    To avoid this problem you have to use AT EXIT-COMMAND Module.
    1. In the GUI Status for both EXIT and CANCEL buttons assign the Function type E (Exit Command)
    2. In the PAI of the Screen Call this module.
       MODULE EXIT_SCREEN AT EXIT COMMAND.
    3. Now check the OK_CODE or Sy-ucomm in this module to Leave the Screen
       MODULE EXIT_SCREEN  INPUT.
           CASE OK_CODE.
          WHEN 'EXIT' .
                LEAVE TO SCREEN 0.
          WHEN 'CANCEL'.
          ENDCASE.
       ENDMODULE.
    This will surely work.
    <b>reward if Helpful.</b>

  • IPod home button not working

    Hi
    I have an iPod touch 4th generation and the home button isn't working. It's not the normal issue where it's stuck, or it won't function because you can't press it. The home button on my iPod is visible, as in the black button has been removed and I can see the tiny circular home button, (if you've ever seen the inside the iPod). When I press the tiny circular button, it doesn't work. Circuitry issues, maybe? If anyone could help, I'd be so grateful.
    Fixing the home button (Video) Images of the inside of an iPod
    https://www.youtube.com/watch?v=yi2BIAgDZno

    fix for Home button
    iPhone Home Button Not Working or Unresponsive? Try This Fix

  • Logitech mouse buttons not working in photoshop cc 2014

    logitech mouse buttons not working in photoshop cc 2014 winds 8.1. Is this a common problem?
    I have updated the latest drivers and have a few buttons programmed with keyboard shortcuts that used to work in previous versions of Photoshop but don't work now.
    Scrolling with mouse in bridge stopped working in cc butI see it is now working.
    any ideas?

    Many Photoshop extensions are not compatible with Photoshop CC 2014 for Adobe removed support for Flash Panels in CC 2014. Many extensions panels are flash based.  Check with the developer to see if their blendmein extension works with CC 2014.
    Adobe does not maintain Photoshop so it backward compatible with prior versions of Photoshop.  This brakes things like action scripts plugins extensions etc. Keep old version of Photoshop installed....

  • IPhone 4 middle button not working

    Having problems with the iPhone 4 middle button not working anyone else with the same problem ?
    Thanks

    i have the same problem. since you're software is already iOS 5.1 go to settings>general> accessibility>the settings after triple click home, i forgot what is it called but that would help.

  • Iphone 4 Home button not working after upgrade to OS 4.3.5

    Iphone 4 Home button not working after upgrade to OS 4.3.5.Please help!!!!!!!!

    It seems that settings of mail accounts have something to do with it. I've delete my gmail account and am now using Microsoft Exchange. It seems better, yet not perfect. The issue is definitely due to OS 4.3.1
    Apple answer is - no answer. It is a shame that the quality of their products, in terms of design and concept, is not match by a care for customers. It is not normal that I, as a customer, have to spend hours reading Apple Discussions forum to try to understand what the problem is. A little more respect for a customer that spend big $$$ buying their products wouldn't hurt.

  • Iphone 4: Home Button Not Working. The home button only works when it is connected to iTunes, once i disconnet it does not work, i have tried a restore to factory settings but it still is not working. Any suggestions?

    iphone 4: Home Button Not Working. The home button only works when it is connected to iTunes, once i disconnet it does not work, i have tried a restore to factory settings but it still is not working. Any suggestions?

    Apple, as I said, does not repair your iPhone. All hardware service issues are handled by replacing the unit. So they can't handle the home-button issue without also addressing the issue of the cracked screen, for which they'll almost certainly charge you. But you can make an appointment at an Apple Store or call Apple tech support and plead your case.
    Regards.

  • Iphone 4 home button not working, called never fixed, then cracked screen before bringing it back again, will they blame the cracked screen if i bring it back?

    I bought an iPhone 4 less than a year ago, then one day the home button randomly stopped working, I bought the warranty so I decided to call in and see what was wrong with it. The girl said that restoring the phone would correct the problem which it did. But it is only a temporary fix, it happens more often now. So I was meaning to call in soon, but the other day my phone fell out of my pocket IN CASE from a foot height and cracked the screen. I nearly threw up. All the years I have had a phone I have never cracked or broken one, strongest screen my ***. Anyway, if I contact them again now will they fix the home button problem? or will they say that the cracked screen is obviously the cause of the home button not working? which it is not!! I don't care about the screen being cracked its not on the actual screen just on the side so its irrelevant to me. Plus I heard it is outrageosly pricey to replace.

    Apple, as I said, does not repair your iPhone. All hardware service issues are handled by replacing the unit. So they can't handle the home-button issue without also addressing the issue of the cracked screen, for which they'll almost certainly charge you. But you can make an appointment at an Apple Store or call Apple tech support and plead your case.
    Regards.

  • Iphone 4 Home button not working after upgrade to OS 4.3.1

    I've just upgrade my iphone 4 to OS 4.3.1 and I'm having issues with home button not working. Need to hit it several times before I can close an app or wake the iphone. Any one having this issue?

    It seems that settings of mail accounts have something to do with it. I've delete my gmail account and am now using Microsoft Exchange. It seems better, yet not perfect. The issue is definitely due to OS 4.3.1
    Apple answer is - no answer. It is a shame that the quality of their products, in terms of design and concept, is not match by a care for customers. It is not normal that I, as a customer, have to spend hours reading Apple Discussions forum to try to understand what the problem is. A little more respect for a customer that spend big $$$ buying their products wouldn't hurt.

  • Button not working in browser

    I am coding a video player in Netbeans 6.8. just find two problems:
    1. the browser button not working in browser when I run the project from Netbeans under "run in browser" mode. however under "standard execution" mode, everything is fine.
    2. can not run the jar file in the project's dist directory directly. in other word, I can not run the jar file outside of Netbeans.
    I appreciate any help. thanks.
    Main.fx:
    package gui;
    import javafx.stage.Stage;
    import javafx.scene.Scene;
    import javafx.scene.paint.Color.*;
    * @author Jethro
    var face=Face{};
    function run(){
        Stage{
            title: "player"
            resizable:false
            scene: Scene{
                width:800
                height:600
                fill:DARKBLUE
                content: [face]
    }Face.fx:
    package gui;
    import javafx.scene.CustomNode;
    import javafx.scene.Group;
    import javafx.scene.Node;
    import javafx.scene.control.Button;
    import javafx.scene.layout.VBox;
    import javafx.scene.media.Media;
    import javafx.scene.media.MediaPlayer;
    import javafx.scene.media.MediaError;
    import javafx.scene.input.MouseEvent;
    import javafx.scene.media.MediaView;
    import javafx.scene.control.ProgressBar;
    * @author Jethro
    public class Face extends CustomNode {
        public var lbf=LBF{};
        public var enable=true;
        public var mark="play";
        public var sourceOfMedia:String;
        public def player=MediaPlayer {
            repeatCount:MediaPlayer.REPEAT_FOREVER
            onError:function(e:MediaError){
                var er=e.message;
         media : bind Media {
              source: sourceOfMedia
        public def view=MediaView {
                mediaPlayer:bind player
                preserveRatio: true                    
        public def bar=ProgressBar {
                height:10
                width:bind scene.width
                progress: bind
                    if(player.media !=null){
                        player.currentTime.toMillis()
                            /player.media.duration.toMillis();
                    }else{
                        0.0
        public var play=Button {      
            onMousePressed:function(e:MouseEvent){
                if(enable and player.media != null){
                            mark="pause"; println("playing...");                       
                            sourceOfMedia=lbf.uri;
                            player.play();
                            enable=false;
                }else{
                    mark="play";
                    player.pause();println("paused...");
                    enable=true;
         text: bind mark       
        public override function create(): Node {
            return Group {
                content: [
                    VBox{
                        content: [
                            lbf,
                            bar,
                            play,
                            view,
    }LBF.fx:
    package gui;
    import javafx.scene.CustomNode;
    import javafx.scene.Group;
    import javafx.scene.control.TextBox;
    import javafx.scene.layout.HBox;
    import javafx.scene.paint.Color;
    import javafx.scene.shape.Rectangle;
    import javafx.scene.text.Font;
    import javafx.scene.text.Text;
    import javafx.scene.Node;
    import javafx.geometry.HPos;
    import javafx.geometry.VPos;
    import javafx.scene.control.Button;
    import javax.swing.JFileChooser;
    * @author Jethro
    public class LBF extends CustomNode{
        public var uri:String;
        public var whereis=Text {
            fill:Color.BLUE
         font : Font {
              size: 20
         x: 10, y: 30
         content: "location: "
        public var location=TextBox{
            text:"the song's location"
            columns:40
            selectOnFocus:true
        public var browser=Button {
         text: "Browser"
         action: function() {
                    var jfc=new JFileChooser();               
              jfc.setFileSelectionMode(JFileChooser.FILES_AND_DIRECTORIES);
                    var val = jfc.showOpenDialog(null);
                    if(val == JFileChooser.APPROVE_OPTION) {                   
                        location.text = jfc.getSelectedFile().getAbsolutePath();
                        uri=jfc.getSelectedFile().toURI().toString();
                        println(location.text);
        public var face=Group {
         content: [
              Rectangle {
                        x: 0, y: 0
                        width: 800, height: 50
                        fill: Color.SILVER
                     HBox{
                         width:800
                         height:50
                         hpos:HPos.CENTER
                         vpos:VPos.CENTER
                         spacing:5
                         content: [whereis,location,browser]
        public override function create():Node{
            return face;
    }

    thanks for your reply but I need more specific operation.
    maybe I am not very clear about the problem one. I mean when I run the code in standard mode, if I click the browse button, a window will pop out and I can choose a video file from my local harddisk. but if I run it in "web start execution" mode and "run in browser" mode. the browse button make no response when I click it.
    Edited by: Phoenix2006 on Feb 8, 2010 2:35 PM
    Edited by: Phoenix2006 on Feb 8, 2010 2:37 PM
    Edited by: Phoenix2006 on Feb 8, 2010 2:42 PM

  • Ipod 4th gen volume buttons not working. Volume bar not showing in music or video apps, not a speaker problem as this works fine when testing built in alarm tones???

    Ipod 4th gen volume buttons not working. Volume bar not showing in music or video apps, not a speaker problem as this works fine when testing built in alarm tones???

    Have you tried the standard fixes:
    - Reset:
    Reset iPod touch:  Press and hold the On/Off Sleep/Wake button and the Home
    button at the same time for at least ten seconds, until the Apple logo appears.
    - Restore the iPod from backup via iTunes
    - Restore the iPod to factory defaults/new iPod.
    If still problem you likely have a hardware problem and an appointment at the Genus Bar of an Apple store is in order.

  • IPod touch 5th gen. Home button stuck and power button not working! Please help!

    I have an iPod 5th Generation and the home button is jammed down! It felt sticky earlier but now it's stuck down. I used it when the home button wasn't working and had to use my notifications to change from app to app (as I didn't know about assistive touch). I turned it off, but now the power button is no longer responsive! The button isn't stuck, but it doesn't work anymore. It was working fine before, but now it won't respond. Please help!

    Try:
    http://snapguide.com/guides/calibrate-your-home-button/?utm_expid=69945963-15
    fix for Home button
    iPhone Home Button Not Working or Unresponsive? Try This Fix
    - If you have iOS 5 and later you can turn on Assistive Touch it add the Home and other buttons to the iPods screen. Settings>General>Accessibility>Assistive Touch
    - If not under warranty Apple will exchange your iPod for a refurbished one for:
    Apple - Support - iPod - Repair pricing
    You can do it an an Apple store by:
    Apple Retail Store - Genius Bar
    or sent it in to Apple. See:
    Apple - Support - iPod - Service FAQ
    - There are third-party places like the following that will repair the Home button. Google for more.
    iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens

  • TS3694 No sound and ringer button not working. I cannot play music but when I put my Iphone 4 on the dock it plays music. This happens when I updated my phone to IOS 6.1.3..The phone doesnt have any carriers we only used this just like Itouch. Please help

    Please help. Since I updated my Iphone4 to ISO 6.1.3...The ringer button not working, can't play any music (but ok with the dock), headphone sound is muffled. What can I do? I tried restoring and downgrading but it won't let me.

    Hi there,
    Thanks for reaching out to the community.
    Please help. Since I updated my Iphone4 to ISO 6.1.3...The ringer button not working, can't play any music (but ok with the dock), headphone sound is muffled. What can I do? I tried restoring and downgrading but it won't let me.
    It appears like you may have a hardware issue with your ringer button and internal speaker that came to light after the update. If you have already restored your iPhone back to factory settings using iTunes, you may need to have your phone serviced.
    Some potential good news... Check your headphone jack for lint. There may be enough to cause a muffled connection. You can try to blow it out with compressed air or very carefully pulling out any solid objects that may affect the connection.
    Best of luck!

Maybe you are looking for

  • How can I make my iPod show up in the iTunes menu bar?

    When I plug in my iPod nano (2GB) 2nd Generation it doesn't show up on the left side of my screen in the iTunes Menu Bar. I don't have the original cord, saying that I got it awhile ago, how can I make it show up? There is no content on my iPod curre

  • How do you get your contacts moved over to your iphone4?

    i just got my new iphone 4 and i had a droid 2 before i cant seem to get my contacts moved over. so is there a easy way to get them on there?

  • CS4 Won't Launch- Red X of Death!

    I was using my CS4 this morning.  For unrelated reason, I needed to restart my computer.  I closed PS CS4, and tried to turn off the machine.  Windows would not shut down (I had an issue with another program and multiple processes were lingering from

  • REQUEST: Support for password-protected PDF files and SD-card installation

    I would like to request for the features in the topic. The current version can't open password-protected files hence I still need to download them on a PC before viewing them. SD-card install is necessary for some devices running on Froyo as they don

  • Change Color in Messages and General Customization (Pixi Plus Verizon)

    Hi everyone, I just got the Palm Pixi Plus and I'm still figuring everything out, so I hope this isn't a silly question. Is there a way to change the background color of each contact in Messaging? My outgoing messages are always green and incoming me