Overlapping buttons cs3/as3

I've been able to avoid this issue by avoiding overlaps or breaking the top layer down to a bitmap but in this particular design I need to have overlapping buttons. 
Previously if I had an MC overlap a button (cs3/as3) the button wouldn't work so in this design I made sure the hit areas weren't overlapping and the buttons do indeed work.
Problem is when you click them, most of the time, there will be what looks like a single frame blink.  In recording the issue the blink is the exact size of the full button being pressed.
http://villagegreenstudios.com/view5/
All of the buttons do it, Home, Bio, Demo, Contact.  If it doesn't do it at first, keep clicking and they will.
Can anyone help with this issue specifically and/or the issue at large?
Thanks.

Hey Ned.  Thanks.  Here's a screen grab:

Similar Messages

  • Named Anchor in CS3 - AS3

    Does anyone know how to add a named anchor to a scene in Flash CS3 / AS3? I need the middle part of a scene on the timeline to display at the top of the screen when it first appears.
    Thanks.

    http://forums.adobe.com/thread/1235387

  • Referencing buttons in AS3

    I am trying to figure out a way to reference a specific button out of a large group of buttons in AS3. I’ll explain. Let’s say, for instance, I have a lot of buttons on the stage (let’s say 100.) Each of these buttons causes something to happen. Instead of creating an event listener and a function for all 100 buttons, I want to do it more dynamically. I want to have some kind of variable which will equal the instance name of whatever button was pressed, and then an event listener that will check that variable’s value, and, depending on what it is equal to, it will issue a command. Any ideas on how to reference a button in that way? Thanks in advance.

    import fl.controls.Button;
    var buttons:Array = new Array();
    for(var i:uint = 0; i < 10; i++) {
    buttons[i] = new Button();
    buttons[i].move(0, i * 22);
    buttons[i].label = 'hi ' + i;
    buttons[i].addEventListener(MouseEvent.CLICK, onClick);
    addChild(buttons[i]);
    function onClick(event:MouseEvent):void {
    trace(event.target.label);

  • Play/Pause Button in AS3

    I have search the internet, but I cannot find a simple way to
    create a play/pause button in AS3. All the solutions I find are for
    older versions when buttons could have actionscript directly
    applied to them.
    I created a flash animation and exported it as a .swf to work
    with only one layer in a new .fla file. I have three layers
    created, button, video, and actionscript. What I need is a button
    that will look like a pause button when the animation is playing
    and to pause the animation when clicked. It would be nice if it
    could also switch to a play button when paused.

    I made a movieclip (ppBtn) with 2 frames. The first has the
    pause button and the frame label 'pause'. The second frame has the
    play button, 'play'. I placed your script into the action layer.
    When I preview the animation, the buttons just alternate really
    fast and have no fuction.

  • Popup Overlap Buttons

    I've created a 18 button pop-up menu for a project that I'm working on.
    None of the buttons are overlapping in Photoshop yet Encore says that there are overlapping buttons. The red overlapping borders are showing that the bottom of the buttons are overlapping by about 23 pixels. However I cannot find anything that is making the buttons larger by 23 pixels in Photoshop.
    Any suggestions on what I should do?

    Thanks for looking at my file.
    I'm baffled to what is going on with it. I've done the same type of popup menu for other projects without this problem. The only difference is that I have a new computer.
    Before you do more testing, I'll recreate the popup menu from scratch to see if that makes a difference. The only thing is that I can't recreate the background image.
    I'll let you know what happens.
    - Update -
    I've managed to get it working properly by recreating the menu from scratch.

  • DateChooser Component for Flash CS3, AS3.0

    Where and how do I get the datechooser for Flash CS3, AS3.0?

    which version of flash cs3 do you have?

  • Back button in AS3

    I did a search on this and didn't find a successful answer
    yet. I need to have a back button in AS3 that'll remember the last
    frame visited from any frame in the site. There are various buttons
    to get to various frames, and the one back button will always be
    showing.
    What's the script to make that happen from any frame
    utilizing AS3?

    OK, syntax was wrong and I fixed that (I knew it had to be
    some silly error like that).
    So now, if I go to one of the pages (frames), then go back to
    the home page (home frame), and click the back button it works to
    take you back to whatever subpage you were just on. However, it
    only works from the home page to go back to a subpage. You can't
    use the back button to go from one subpage to another you were just
    on, or back to the home page again. Why would that be? Is there a
    way to make the back button work from anywhere?
    Also, it only works if I don't assign the home page a
    backvalue (probably why you can't go "back" to the home page). But,
    since it works to go back from there to any other page you were
    just on, I think it must be close to working across the
    board… just curious what the problem could be…
    help??

  • Adding Easing to Flash CS3 AS3 UI Components

    I am working on an AS3 project where I am forced to use
    stock, out-of-the-box Flash CS3 AS3 UI Components.
    Is there any way to add easing to the UIScrollBar [ and
    the other components that use the UIScrollBar  like the List,
      ScrollPane, TileList ]
    If anyone has a solution I will name my next child after you!!
    Diane   [ aka Eugenia ]

    Hi,
    Thanks for your reply.
    Does "unlikely" mean "definately not" or "you are not sure" ?
    As I stated .....
    "I am forced to use
    stock, out-of-the-box Flash CS3 AS3 UI Components."...
    So "making my own objects" is not an option.
    Thanks again for replying,
    Diane

  • Any Flash CS3 AS3 Map samples available that work in AIR?

    Any Flash CS3 AS3 Map samples available that work in AIR?
    Like Google or Yahoo.
    The ones that I have tried fail to work when making the final
    AIR app.

    I changed the profile of both to AIR2.0, and it still shows AIR1.0 in the properties panel. I'm able to publish the Panel.swf now but it also generates an unwanted panel-app.xml -- unwanted because panel is not an app, it's merely a SWF to run inside the main app.
    Is there a better way? And why does it still say AIR1.0 in the properties panel?

  • Encore says I have overlapping buttons

    I have a menu that I modified, unfortunately, and now Encore CS5 says that I have overlapping buttons. I'm assuming that the red boxes that Encore places around objects designates those that
    are problems. However I can't see any that are overlapping. Any idea what I'm doing wrong?

    Try the Encore forum:  http://forums.adobe.com/community/encore

  • The mail window has overlapping buttons/headers

    the mail window has overlapping buttons/headers and there is an email that wont let me delete

    The double arrows do have a blue background.  I have no doubt that I'm in Full Screen mode when they appear.  However, when I click on the double arrows I can view the Mail screen perfectly.  I assume clicking the double arrows exits Full Screen mode.  I have also clicked Exit Full Screen from the menu.  The issue is that my Mail app is very different from what it's typically like.  It now hides the Mail menu bar until I move the pointer to above the screen.  I cannot see any desk top from around the Mail screen and I cannot move the Mail screen at all.  Also, the display of a new mail message; either one created or one opened looks like a something in the Preview app looks like.  There is limited access to mail options and no option to Save as Draft.  Also, there are no expand, minimize, close buttons (green, yellow, and red buttons) on any Mail screen.
    By the way, these issues began after I used Mirror Screen with my Apple TV.
    Thank you for your assistance.
    Ed

  • Play Again button w/ AS3

    how would I code a play again button using AS3 since you
    cannot place the code on the button itself anymore. Would the code
    still be gotoAndPlay(1);?
    would I need to give the button an instance name and what
    would I need to change the code to?
    thanks in advance!

    DPSwebmaster,
    > I have given my button an instance name of 'PlayAgain'
    and
    > placed the AS code on frame 1 of my timeline.
    As long as that button (with the instance name PlayAgain)
    appears in
    frame 1 as well, you should be good.
    > PlayAgain.addEventListener(
    > MouseEvent.MOUSE_UP,
    > function(evt:MouseEvent):void {
    > gotoAndPlay(1);
    > }
    >
    There should be a closing parenthesis on that [... this one:
    which is basically the other half of the "sandwich" that
    begins with
    addEventListener( ...]. But other than that, your code looks
    fine. Be
    advised that you can also use a named function, if you like:
    PlayAgain.addEventListener(MouseEvent.MOUSE_UP,
    mouseHandler);
    function mouseHandler(evt:MouseEvent):void {
    gotoAndPlay(1);
    Do you see how those are effectively the same thing? The
    addEventListener() method accepts two parameters: a) an event
    to listen for
    and b) a function to perform. In the examples I've shown, one
    of them
    illustrates an anonymous function; the other illustrates a
    named function.
    In any event, to make sure your code is responding at all,
    it may help
    to use a trace() function. This is nothing more than a
    mechanism to print
    text to the Output panel, but it's great for debugging:
    PlayAgain.addEventListener(
    MouseEvent.MOUSE_UP,
    function(evt:MouseEvent):void {
    gotoAndPlay(1);
    trace("I've been clicked!");
    Try that revision (only one line has changed), and when you
    click on the
    button, you should see the message "I've been clicked!" in
    your Output
    panel. If you don't, we'll know that this event listener
    isn't getting
    assigned properly.
    David Stiller
    Co-author, ActionScript 3.0 Quick Reference Guide
    http://tinyurl.com/2s28a5
    "Luck is the residue of good design."

  • Buttons in AS3??????

    I used to use a script like this in a frame on the timeline
    to add functionality to my buttons.
    btn_01.onRelease = function(){
    _root.targ_Main.loadMovie("oranythingelseineededthebuttontodo");
    Now in AS3 I have no clue!!!!!!!!!!
    And apparently you have to be some sort of uber programmer
    just to read the documentation. Can anyone tell me how to make a
    simple button work?

    leodsmith,
    > Now in AS3 I have no clue!!!!!!!!!!
    Yes, things have changed, but keep in mind, you don't *have*
    to use AS3.
    Your publish settings (File > Publish Settings) let you
    configure any FLA
    for ActionScript 3.0, 2.0, 1.0, and even older versions
    (precursors, really)
    of the language.
    > And apparently you have to be some sort of uber
    > programmer just to read the documentation.
    I realize it can feel that way, but there's a trick to
    figuring out the
    documentation, and it call comes down to something called
    classes. In a
    nutshell, classes are like recipes, or blueprints, for the
    objects you now
    and use every day in Flash. If you're using a button symbol,
    you're
    actually dealing with a button object; that is, an instance
    of the Button
    class in AS2 or the SimpleButton class in AS3. If you're
    using a movie
    clip, you're dealing with an instance of the MovieClip class,
    regardless of
    the version of AS. Text fields are defined by the TextField
    class. Sounds
    are defined by the Sound class, and so on.
    ActionScript 3.0 has a larger API (more classes) than
    previous versions,
    but it's structured the same way. For example, AS3 provides a
    set of
    companion classes for audio: Sound, SoundChannel,
    SoundTransform, and
    SoundMixer. AS2 only provides a Sound class. On the face of
    it, that may
    seem easier because it's less to deal with ... but every coin
    has two sides.
    In AS2, the concept of a sound channel is present (this is
    the thing that
    lets you differentiate between different "sound banks"), but
    there is no
    SoundChannel class. Instead, AS2 associates Sound instances
    with a
    particular timeline (that is, with a movie clip) ... so even
    if AS2 is more
    familiar, it isn't always as intuitive as it should be.
    Okay, back to classes. So classes define objects, and as a
    general
    rule, classes are categorized into three headers: Properties,
    Methods, and
    Events. Sometimes you'll see a few more, but those three are
    the main ones.
    Properties refer to an object's characteristics (width,
    height, number of
    letters, volume, etc.). Methods refer to things the object
    can do
    (gotoAndPlay(), setTextFormat(), attachAudio(), etc.).
    Finally, events
    refer to things the object can react to (mouse ups, the end
    of an audio
    file, the passing of a timeline frame, and so on.)
    So if you're looking up something about buttons, try the
    SimpleButton
    class in AS3, or the Button class in AS2 (usually, the class
    names are the
    same for both versions; this happens to be an oddball). Look
    up events, to
    see what sort of "can react to" opportunities exist for
    buttons, then check
    out the sample code. Granted, that may be easier said than
    done -- new
    stuff is always bewildering until you get familiar with it --
    but I hope
    that at least helps you get your bearings. Be aware that most
    classes
    inherit functionality from each other (just like genetics in
    humans), so
    when you see hyperlinks in the documentatoin for showing
    inherited
    properties, methods, or events, be sure to click them!
    In this case, as NedWebs correctly pointed out, you're going
    to use the
    addEventListener() method to associate a particular
    MouseEvent with a custom
    function. In principle, this is the same way it happens in
    AS2 (unless
    you're attaching code directly, which AS3 doesn't support).
    AS2:
    btn_01.onRelease = function() {
    // something to do
    Here, you're using an anonymous function (meaning, the
    function isn't
    named). You could also do this:
    btn_01.onRelease = clickHandler;
    function clickHandler() {
    // something to do
    ... which, on a certain level, is pretty much the same thing.
    Giving your
    function a name is arguably better, becuase if you ever need
    to kill that
    event handler, you can set it to null:
    btn_01.onRelease = null;
    ... and then, if you ever need to re-enstate that event
    handler, you can
    simply re-associate it with the same previously named (and
    already declared)
    function:
    btn_01.onRelease = clickHandler;
    So in AS3, you're doing the same thing:
    btn_01.addEventListener(
    MouseEvent.CLICK,
    function(evt:MouseEvent) {
    // something to do
    ... or, for more control, use a named function:
    btn_01.addEventListener(MouseEvent.CLICK, clickHandler);
    function clickHandler(evt:MouseEvent) {
    // something to do
    See the similarities? In AS3, the event actually sends
    itself to the
    receiving function, which is where there's a parameter inside
    the function
    (I used "evt", but you can use whatever variable name makes
    sense for you).
    This parameter is typed as an instance of the MouseEvent
    class because, as
    you can imagine, it's an instance of the MouseEvent class.
    Like any other
    class, MouseEvent has properties (listed in the MouseEvent
    class), and one
    of those properties lets you refer back to the object that
    dispatched the
    event in the first place.
    It's all in there; you just have to dig a bit and see what
    your options
    are.
    Here are some links that might give you a hand:
    Colin Moock
    http://www.insideria.com/2008/01/actionscript-30-is-it-hard-or.html
    http://www.insideria.com/2008/07/the-charges-against-actionscri.html
    One of my blog entries ...
    http://www.quip.net/blog/2007/flash/making-buttons-work-in-flash-cs3
    (written for Flash CS3, but it's about AS3, so it still
    applies)
    Obviously, these Web references are free, but you might also
    get
    something out of an AS2-to-AS3 migration book I recently
    co-authored for
    O'Reilly:
    The ActionScript 3.0 Quick Reference Guide
    http://tinyurl.com/2s28a5
    (only two Amazon reviews so far, but they're both 5 out of
    5)
    David Stiller
    Co-author, Foundation Flash CS4 for Designers
    http://tinyurl.com/5j55cv
    "Luck is the residue of good design."

  • Flash CS3: AS3 - ReferenceError #1065 Variable is not defined

    I have developed several actionscript classes. Two of these
    classes are associated with MovieClip objects in the library. The
    MovieClips have their Linkage Base Classes set to their respective
    package and class locations and when I check the Linkage settings
    (using the check mark icon) Flash CS3 reports that it can find the
    associated classes for both MovieClips.
    When I check the syntax of my code there are no problems, and
    when I test the Flash movie no Compile Errors are shown. Yet, in
    the output window I get the following error:
    ReferenceError: Error #1065: Variable class1 is not defined.
    ReferenceError: Error #1065: Variable class2 is not defined.
    I have placed class1 and class2 in the above error messages
    to represent the classes that are associated with the MovieClip.
    Am I missing an import command somewhere? I have the base
    class path properly set in the preferences of Flash CS3.
    Thanks,

    It appears that this issue was due to some of my classes not
    being marked as public. I had been following examples from AS2 that
    had the classes marked as dynamic without a private or public
    identifier. Apparently, AS3 assumes all unmarked classes are
    private.

  • NEED HELP WITH BUTTONS IN AS3!!

    Hello, I am stumped with an action scripting problem. I'm
    trying to create a really basic website in flash using buttons to
    jump from scene to scene. Let's say I want to do something as
    simple as make scene 1 jump to scene two right? I'll place in my
    scene 2 button on my first page:
    But instead of the scene changing to the next scene after I
    press the button, these errors come up!!
    1180: Call to a possibly undefined method on.
    1120: Access of undefined property release.
    1120: Access of undefined property _root.
    I've tried asking in so many different forums, I usually do
    pretty good with action scripting for buttons. But this is my first
    time doing it with cs3. I'm utterly confused, someone please help!!
    Thank you.
    The code on this page is the code I was using to try to
    change scenes...Oh! and whenever I try to put a code in the actual
    button, it won't let me. I just get a message that says something
    like "Can't have any actions applied to it".

    foxxpop,
    > But instead of the scene changing to the next scene
    > after I press the button, these errors come up!!
    >
    > 1180: Call to a possibly undefined method on.
    > 1120: Access of undefined property release.
    > 1120: Access of undefined property _root.
    You're using three terms that aren't supported in
    ActionScript 3.0: the
    on() function, the release parameter to that function, and
    _root. In
    ActionScript 3.0, you'll have to give your button an instance
    name and wire
    it up like this:
    http://www.quip.net/blog/2007/flash/making-buttons-work-in-flash-cs3
    In that blog entry, you'll see (with explanation) something
    that looks
    like this:
    myButton.addEventListener(
    MouseEvent.CLICK,
    function(evt:MouseEvent):void {
    trace("I've been clicked!");
    Just bear in mind that you can also make that a named
    function, like
    this:
    myButton.addEventListener(MouseEvent.CLICK, clickHandler);
    function clickHandler(evt:MouseEvent):void {
    trace("I've been clicked!");
    > I've tried asking in so many different forums, I usually
    do
    > pretty good with action scripting for buttons. But this
    is
    > my first time doing it with cs3.
    Your issue isn't Flash CS3, it's that your FLA file is
    configured for
    ActionScript 3.0. If you change that to AS2, you can go right
    on using the
    same approach you used to -- and you'll be able to attach
    code directly to
    objects. ;)
    David Stiller
    Co-author, The ActionScript 3.0 Quick Reference Guide
    http://tinyurl.com/2s28a5
    "Luck is the residue of good design."

Maybe you are looking for