Need help with buttons!

Hello someone!

The thing that I would need help with is the buttons that moves... Say there are 2 buttons on the stage, when someone clicks the button, the button from left to right movement and opens something when it stops there. So long it's fine for me, but now the peal problem.

The thing is I want the button now on the right rear to place there where appropriate when I click on a button of the second (and it goes right to the place). When I do now the first button remains in place right... Do someone know what to type in Actionscript?

Please help me... [email protected]

what you use now which causes your keys for you move?

Tags: Adobe Animate

Similar Questions

  • Need help with buttons of reminder - highlights

    Hi all

    I'm looking for help with Encoder CS5. I have a project works very well except that I have not made salient for the buttons, at least, I think it's what his name. So when the mouse or the remote control navigates to the up/down button toa it changes color.

    In the properties of my button, the highlight is dimmed.

    How can I request highlights?

    Thank you very much

    Chris Anderson

    Now its just the text.

    You define a prefix for the subpicture.

    http://help.Adobe.com/en_US/Encore/CS/using/WS2C3F3ABD-6457-4ca0-898F-720B7E3D0C10.html

  • Need help with button and motion tween...

    I am trying to create a simple game. For now, I have a button which, when you click top moves the character on the screen. My question is doing the Player stop looping when I click on the button. If I insert just for the last image, it will make a loop only once and stop, but he won't play again after that the button is clicked. I tried to use players_turn Boolean but could not get that to work. Any help will be appreciated. Thank you!

    [AS]
    package
    {
    import flash.display.MovieClip;
    import flash.events.MouseEvent;
    import flash.events.KeyboardEvent;
    import flash.ui.Keyboard;
    import flash.events.Event;
    import flash.ui.Mouse;

    SerializableAttribute public class Main extends MovieClip
    {
    Variables of player
    var players_turn:Boolean = true;

    Variables of the enemy

    public void Main()
    {
    Add event listeners
    buttonAttack.addEventListener (MouseEvent.CLICK, onButtonAttackClick);

    }

    Event handlers
    function onButtonAttackClick(event:MouseEvent):void
    {
    If (players_turn is true)
    {
    Enemy attack player
    player.gotoAndStop (2);
    trace ("Attack");
    trace (players_turn);
    }
    }
    trace (players_turn);
    / * If (players_turn == false)
    {
    Player.Stop ();
    players_turn = true;
    }*/

    }
    }
    [/ ACE]

    Looks rather than having stop(); in the last image, you must have...  MovieClip (parent) .gotoAndStop (1);

  • need help with buttons and clips of discoloration

    Howdy,

    I have 3 buttons on a stage playing 3 different movies. Even if no button is pressed, there is a video loop during playback of the scene. When a key is pressed, a loop of film has melted and melted in the film this button asks. I have attached the script but it doesn't work at all. Don't know where to go from here.
    Thanks for your help.

    :

  • Need help with a Hp Papvilion Dv7-1270US, from vista to xp 64

    Well, I noticed that a lot of guys are useful here with installing XP on Vista and yes I'm another unhappy Vista user, I am a graphic designer and let me tell you programs and performance is not very good on my laptop HP that I am ready to go back to XP.

    I have an extra HD a seagate sata 80 GB of my PS3 that I drag never used, so I'll use it to install XP on my laptop

    Its what I need help with drivers, man what a pain. I can install drivers left and right that I know how to do this, but Nlite, manual, unzip its so confusing...

    good so I use Nlite to wake my sata drivers and my installation of Windows XP on my HP I would add something in there like {video card driver} {driver Chipset} etc, what should I put in the wake? and once the wake is done and winxp is installed in what order should I start to install stuff, please guys Im confused and need help if someone can point me in the right direction of the dv7-1270 drivers I would appreciate...

    If I happen to screw up my 80 GB hard drive, not a big deal, blue screen, can not load, etc etc... can I just put my original 320 GB hard drive and back to Vista the way it was. ??? is it possible, which would ease my mind, thank you for your responses and assistance.

    Drivers:

    Chipset Intel, (install and reboot before other drivers) here

    Intel Matrix Storage Manager here

    MS-UAA fo SP2 (required with a reboot before the graphic and Audio driver) here

    MS-UAA fo SP3 (required with a reboot before the graphic and Audio driver) here

    NVIDIA GeForce 9600GT here

     

    Intel Wireless 5100 here

    Bluetooth here

    Realtek RTL8168C Family PCI - E Fast Ethernet NIC here

    Please check first that link written by Joshua Wood and concentrate on problems that may appear when you install the sound card in it.

    IDT High-Definition Audio CODEC Pilot,

    1 sp41693, pilot, work reported in XP here view

    2 SP39671, driver, jobs reported in XP here or here view

    3 sp41698, vista, work reported in here XP driver

    High-Definition Audio (HDA) Modem Installer and driver here

    .NET framework (required before HP Quick Lunch Buttons) here

    HP Quick Launch buttons here

    Synaptic Touchpad here S

    ENE CIR (infrared receiver) here (your Vista driver)

    JMB38X card reader Host Controller Driver here

    HP 3D DriveGuard 1.10 has here

    If you had for 7 unknown devices (buttons drivers), here

    Do a manual installation

    Go to Device Manager, right click on the unknown device,

    Choose update driver, not to communicate.

    Choose the install from a list or a specific location, not search, have-disk,

    Navigate to the location of machine.inf.

    Do it for the rest of the unknown devices

  • Need help with mobile layout

    Hello. Need help with my layout sensitive, using straight lines only html5 and css3 that I can understand and explain a novice level please - without any restart. Desktop and mobile are in a single html doc. The desktop version is 'ok '.

    current version (6_2)

    Try to match these mobile Office layouts

    On the mobile version:

    -Impossible to get the buttons nav blocks, vertical text button Align, and align the image of the product (square pictures) to the Center. (margin: auto; does not work)

    I used heights in the header because I'll have code for desktop, mobile and tablet in the CSS so it changes (and do not know how to support better). Also need to Add a link to the logo image background in header.

    Thanks in advance!

    TheOriginal150mph wrote:

    Hello. Need help with my layout sensitive, using straight lines only html5 and css3 that I can understand and explain a novice level please - without any restart. Desktop and mobile are in a single html doc. The desktop version is 'ok '.

    current version (6_2)

    Try to match thesemobile Officelayouts     

    On the mobile version:

    -Impossible to get the buttons nav blocks, vertical text button Align, and align the image of the product (square pictures) to the Center. (margin: auto; does not work)

    Commenting on just a habit of property changing the css if you have defined it for the desktop version. Your nav elements are not vertically Center because you have a bottom padding set on them for the office, there are only changes for mobile in your css media query.

    .main-nav a {}

    display: block;

    text-decoration: none;

    / * padding-bottom: 15px;   */

    Padding: 12px 0;

    }

    Change the properties for the .product-images for mobile boxes: you have float attached to them for the desktop version and which cascade down to the mobile version, unless you change in the media query:

    .product-image {}

    float: none;

    Width: 50%;

    margin: 0 auto 20px auto;

    }

    As I mentioned in one of my posts related to your project, you will probably have to make your product images a bit larger. They fill the area once they form a column to width of 768px screen or you could resist transform them to one column until a little more by using a media query extra set at a narrow screen width to evoke this action

  • I'm on Acrobat 10 and I need help with the distribution of shape feature. Is there a way to change the registration e-mail download addressed to the? Currently all forms I create and then distribute may only be subjected to my email account... I appreciat

    I'm on Acrobat 10 for mac and I need help with the distribution of shape feature. Is there a way to change the registration e-mail download addressed to the? Currently all forms I create and then distribute may only be subjected to my email account... I appreciate any help!

    Do not use the feature distribute the form. Instead of this, just put up a button "submit" and configure it to send email using any email address you want. Just add a button and set the action of the mouse upward on "Submit a form" and use a type mailto URL and specify that you want to send the full PDF. Then activate the reader of the document: where "Advanced/extended features in Adobe Reader" is located in Acrobat XI?

    If you really want to use distribute the form for some reason, change the e-mail address in your preferences: Edit > Preferences > identity > Email address

  • Hi, I need help with my flash mp3 player

    Hi, I need help with my mp3 player, I wan't to add the pause button... Can you help me?

    I created the button I added btn_pause and it won't work.

    function soundStatus() {}

    var amountLoaded = _root.sound_mc.sound_obj.getBytesLoaded () / _root.sound_mc.sound_obj.getBytesTotal ();

    _root. Loader.loadBar._width = amountLoaded * 260;

    duration = _root.sound_mc.sound_obj.duration;

    position = _root.sound_mc.sound_obj.position;

    _root.playHead._x = position / duration * 272 + 5;

    }

    btn_play.onRelease = function() {}

    clearInterval (timeInterval);

    _root.timeDisplay_txt. Text = "00:00 / 00:00 ';

    This._parent.sound_mc.songStarter (songfile [song_nr]);

    };

    btn_pause.onRelease = function() {}

    clearInterval (timeInterval);

    _root.timeDisplay_txt. Text = "00:00 / 00:00 ';

    This._parent.sound_mc.sound_obj.pause ();

    };

    btn_stop.onRelease = function() {}

    clearInterval (timeInterval);

    _root.timeDisplay_txt. Text = "00:00 / 00:00 ';

    This._parent.sound_mc.sound_obj. Stop();

    };

    btn_fw.onRelease = function() {}

    clearInterval (timeInterval);

    _root.timeDisplay_txt. Text = "00:00 / 00:00 ';

    (song_nr == songfile.length - 1)? _Global.song_nr = 0: _global.song_nr ++;

    _root.sound_mc.songStarter (songfile [song_nr]);

    };

    btn_rev.onRelease = function() {}

    clearInterval (timeInterval);

    _root.timeDisplay_txt. Text = "00:00 / 00:00 ';

    (song_nr == 0)? _Global.song_nr = songfile. Length-1:-_global.song_nr;

    _root.sound_mc.songStarter (songfile [song_nr]);

    };

    < proposed by the mod to as3 - kglad >

    :

    function soundStatus() {}

    var amountLoaded = _root.sound_mc.sound_obj.getBytesLoaded () / _root.sound_mc.sound_obj.getBytesTotal ();

    _root. Loader.loadBar._width = amountLoaded * 260;

    duration = _root.sound_mc.sound_obj.duration;

    position = _root.sound_mc.sound_obj.position;

    _root.playHead._x = position / duration * 272 + 5;

    }

    btn_play.onRelease = function() {}

    clearInterval (timeInterval);

    _root.timeDisplay_txt. Text = "00:00 / 00:00 ';

    This._parent.sound_mc.songStarter (songfile [song_nr]);

    };

    btn_pause.onRelease = function() {}

    clearInterval (timeInterval);  you must re - set interval when the unpause button is clicked

    _root.timeDisplay_txt. Text = "00:00 / 00:00 ';

    This._parent.sound_mc.sound_obj. Stop()

    };

    {btn_unpause.onRelease = Function ()}

    This._parent.sound_mc.sound_obj. Start(position/1000);

    }

    btn_stop.onRelease = function() {}

    clearInterval (timeInterval);

    _root.timeDisplay_txt. Text = "00:00 / 00:00 ';

    This._parent.sound_mc.sound_obj. Stop();

    };

    btn_fw.onRelease = function() {}

    clearInterval (timeInterval);

    _root.timeDisplay_txt. Text = "00:00 / 00:00 ';

    (song_nr == songfile.length - 1)? _Global.song_nr = 0: _global.song_nr ++;

    _root.sound_mc.songStarter (songfile [song_nr]);

    };

    btn_rev.onRelease = function() {}

    clearInterval (timeInterval);

    _root.timeDisplay_txt. Text = "00:00 / 00:00 ';

    (song_nr == 0)? _Global.song_nr = songfile. Length-1:-_global.song_nr;

    _root.sound_mc.songStarter (songfile [song_nr]);

    };

  • Newbie needs help with cookie cutter in PSE8

    I'm new to PSE8, the cookie cutter tool and work with layers, what I need help with to accomplish what I want to do.

    I want to use one form of cookie cutter to make several 'holes' in an image, leaving a solid color background layer to show through. (Or another path, use the form of Cutter of biscuit as a solid 'rubber stamp' color to stop shape on the image in several places)?

    I opened my image in the editor and create a solid color fill layer, and then I select the shape of Cutter of biscuit that I want to use, for example a sheet.  Then I select the color fill layer, click and drag to create the sheet randomly somewhere in it.  When I release the mouse button, the window returns to the image and there is the leaf, locked in a box, in the color I want, on the image. I drag the box (leaves) to where I want it and click the green checkmark to accept. So far so good.  Here's the problem: in order to create another sheet on the image, I have to create another layer of fill and repeat the whole process.  If I try to use the same fill layer to a second sheet, the first sheet disappears.  I must be missing something very simple, but I can't figure out how to get out several sheets of a filling layer.  Also, I use a version without the constraint of the sheet because I would create several sheets of different sizes out of the fill layer as well.

    I would be grateful for any help or suggestion!

    Try the following:

    1. File > new > empty file - white
    2. Create a new layer, fill it red
    3. Create a new layer, fill it out of blue
    4. Access the marquee tool, drag the rectangle to the blue layer. You should see "ants in market". Press DELETE on the keyboard.  You should see red in the rectangular hole.
    5. Access to the custom shape (U) tool. In the form of culture library, select the heart shape black all and hang out on the blue layer. Press CTRL + left click the thumbnail of the layer of the capping layer for "mobile dotted." Hit delete on keyboard twice, and you should see red in the heart shaped hole.
    6. Continue with other forms.

  • Help with button code please?

    I am a novice and have completed my first animated film. I need help with action script.

    The film is currently in a loop and I created and invisible button the size of the frame with the intention that a user can click on the picture of the movie to stop it and the second click continue the film from where it stopped.

    I used AS event handler method to stop the sequence. I tested it and it works. But I can't understand the appropriate code to restart the movie.

    Two questions;

    1. I go to the task the right way? (should I use two buttons, a stop, a tenure)?

    2. If my approach is possible, can someone give me the right to re - start the movie and put me out of my misery please?

    You can use the following after having changed 'yourbutton' and 'yourmovieclip' to use appropriate instance names:

    {yourbutton.onRelease = function ()}

    {if(!this.) Toggle)}

    yourmovieclip. Stop();

    } else {}

    yourmovieclip. Play();

    }

    This.Toggle =! This.Toggle;

    }

  • Need help with this gallery of xml!

    I have build a gallery but its very simple... There are pictures of the xml file.

    I have attached all the zip files.

    I just want two things if anyone can help.

    first of all when I press the next button, he's going to the next image, but without effect. It just displays the following image... I want to incorporate the effect of dragging when the image is changed to another.

    and secondly, I want to use the AutoPlay feature.

    Once swf starts images came one by one with a vertical drop of a few seconds.

    Thanks in advance... I really need help with this..!

    For the look of sliding effect using the actionscript class Tween.  Allows you to create motion tweens using the code.  The example below will be tween property _x of the instance named anObject from 0 to 300 in 3 seconds...

    import classes before using

    Import mx.transitions.Tween;
    Import mx.transitions.easing.Regular;

    TW var = new Tween (anObject, "_x", Regular.easeIn, 0, 300, 3, true);

    To implement an enforcement function auto you need to import all the images first, in the order, then you will need to use form any controlled timer, such as setInterval (with clearInterval not to need) in order to have things turn on automatically by some part-time

  • Need help with Flash - really basic!

    Hi, I really need help with Flash and quick. I have to create an auto-run cd, but before I can create that, I have to make everything works! I took a class in College Flash, which up to 1 1/2 ago so im kind of knowledge missing!

    My first problem is as follows:
    I have the homepage, and it contains a button English and french.
    When you click on buttons, it brings you to the next page, either resourcesFr or resourcesEn.
    I tried to use the loadMovie script but and it works but the new page loads on the home page you can still see the English/french under buttons. How can I fix? I know its simple but I am short on time... Should I still use the loadMovie script?

    My other problem is that im trying to have another button to link to a folder. Use the script for getURL for this as well?

    Help!

    I was able to solve my problem... it was only the forward slash that were in the wrong way... so the correct code is:

    on (release) {}
    DRV = _url.substr (8.1);
    getURL (drv + ": / English/brochures");
    }

    Only took me 5 days... I think I need to buy a script book action! Laughing out loud

  • I need help with the control of two .swf in third.

    Hi, thanks for reading!

    I need help with the control of two .swf in third.

    I have a problem when I need to use a .swf in a digital signage solution, but were advised by the Legal Department, it cannot be changed in any way, I can not also have the source file blah blah blah. I pulled the .swfs on their site and I decompiled to see what I was up against.

    The main SWF that I need control is HCIC.swf and the problem is that it starts with a preloader, which, after the loading stops on a framework that requires user input to (button) on a play button, until the film will proceed and replay.

    What I've done so far is to create a SWF container, HCIC_container.swf, which will serve as a target for the HCIC.swf and I would like to send actionscript in the file, I am not allowed to edit.

    I managed to get done with help from someone on another forum. It is my hope that the following script just start HCIC.swf a framework after the preloader and button play and just play through.

    var container: MovieClip = createEmptyMovieClip ("container", getNextHighestDepth());
    var mcLoader:MovieClipLoader = new MovieClipLoader();
    mcLoader.addListener (this);
    mcLoader.loadClip ("MCIC.swf", container);

    function onLoadInit(mc:MovieClip) {}
    mc.gotoAndPlay (14);
    }

    But unfortunately it does not solve my problem. Because there is a media - controller.swf, which is charged by HCIC.swf who has orders, including the play button to start HCIC.swf.

    Here is a link to a .zip with all 3 files .swf file and all 3 .fla files.

    http://www.axiscc.com/temp/HCIC.zip

    What I have to do is to automatically start the HCIC.swf file, bypassing the pre-loader and play button without having to edit it or in the media - controller.swf in any case. Thus, all scripts must be done in HCIC_container.swf.

    I know it is confusing and it is difficult to explain, but if you look at the files it must make sense.

    ActionScripting is far from my point hard, so I'm definitely over my head here.

    Thanks for your help.

    Got my solution on another forum.

    http://www.ActionScript.org/forums/showthread.php3?t=146827

  • I need help with a speed of deletion noy know how to fix

    am not very good at this, need help, delete button is so slow that it doesn't work as before

    What is your anti-virus software?

  • I'm suddenly needing help with my browser Firefox (6.0.2)

    Hello
    I'm suddenly needing help with my browser Firefox (6.0.2)

    (OS: I use Windows XP).

    When I open the browser, I don't see is a totally white screen of white, with all the toolbars at the top.

    I know that my physical connections are very good: I have tested the modem, turned the pc market etc and I can also receive/send emails.

    This problem started today, September 8, 2011 and has never happened before.

    Is it a coincidence that Firefox itself to day before I disconnected yesterday evening? Could this be something to do with this particular new update?

    I also noticed that just before I "opened" Firefox, I now get a small box indicating:

    [JAVASCRIPT APPLICATION]
    Handl exc in Ev: TypeError: this oRoot.enable is not a function

    This never appeared before - I hope that it offers a clue has what is wrong.

    The browser not be stuck in Mode safe, said by the way.

    Of course, I can't find solutions to the problem on the internet, I don't physically see all Web sites!
    (A friend sends this request in my name from their pc)

    Any light you can throw on this problem of confusion would be much appreciated. I'd rather not have to uninstall and reinstall Firefox if possible.

    If the only option is to uninstall Firefox and reinstall from your site, I'm also in trouble (I can not see the internet or download).
    In this case, would you be able to send the .exe file as an attachment to my e-mail address? In the affirmative, please let me know and I'll give you more details.

    Thanks in advance.

    One possible cause is security software (firewall) that blocks or limits Firefox or plugin-container process without informing you, possibly after the detection of changes (update) for the Firefox program.

    Delete all rules for Firefox in the list of permissions in the firewall and leave your firewall again ask permission to get full unlimited access to the internet for Firefox and the plugin-container and the update process.

    See:

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the extensions of the origin of the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > appearance/themes).

Maybe you are looking for