Off-Stage Buttons

Hey guys.
I'm trying to write code for flash to scroll through a series
of vertical buttons on the stage. There are off stage buttons that
the movie needs to go to when you scroll down. Known problem of
Flash Lite is that you can't scroll or detect any buttons that are
off-stage. Has anyone encountered a problem like this before? I've
searched around and got no real good results.
My first theory to do this is more of tracking on-stage
buttons and using it to move the movie and bring off-stage buttons,
on stage. But it starts to make the code complacated. I was hoping
to just to write code that track if its off-stage and then go, hey
bring it on stage.
Any help would be super appriciated. Thanks alot!!!

A common approach to creating a scrolling menu is to put your
buttons in a movie clip, acting as a container, then set the movie
clip _y property to reposition the movie clip so that the offscreen
buttons appear on screen and the previously on screen buttons move
off screen.

Similar Messages

  • Simple "next" buttons & off stage question

    Hi, just getting myself reaquainted with Flash after not using it since ActionScript 1.0 was around.
    I'm having trouble creating a simple "storybook" for my son. I'm wanting to add a "next" button in the corner of each page to jump to (and play) the next scene. I've tried with frame labels and numbers, been searching online for 2 days but nothing I've found seems to work.
    Can anyone help?
    here is the fla file: http://db.tt/IbZeiv6
    Also, the things I make are for my Android phone and tablet, is there a way I can stop the things off stage from showing?
    for example, I am making it mainly for my tablet, but if I play it on my phone, it has a slightly different aspect ratio so there's white borders at the top & bottom (project has a white background) and if something is slightly off stage it shows over the white background at the top/bottom, is there a way to stop this?
    thanks in advance

    Should be like this:
    stop();
    cover_next.addEventListener(MouseEvent.CLICK, buttonClick);
    function buttonClick(event:MouseEvent):void{
        gotoAndStop(1,"Page1");
    For off stage please use mask on the stage. Better change your framerate(FPS) to 24.

  • My iPhone 4S was turned off when the battery got empty, and when I put it on the charger it didn't charge at all. I tried restarting it (on/off home button for 10 sec) nothing happened except it kept giving me the "charge battery"  on its screen.

    Hi! My iPhone 4S was turned off when the battery got empty, and when I put it on the charger it didn't charge at all. I tried restarting it (on/off home button for 10 sec) nothing happened except it kept giving me the "charge battery"  on its screen. I tried with different chargers, still dead! What's weirder is that my sister who has iPhone 4 experienced the same today! No we don't live in the same house!! Does anyone have the same problem?
    Please apple support do you people have a convincing answer for us? Is there a solution? My phone is only 2 years old and was (2 hours ago), in top condition!!
    Please help....

    imanfromsweden wrote:
    Please apple support do you people have a convincing answer for us? Is there a solution? My phone is only 2 years old and was (2 hours ago), in top condition!!
    Please help....
    On belhalf of my fellow volunteers, the answer is, "We'll try our best." 
    My advice is to try not to treat this like it is a paid service provided by compensated professionals.  Ask nicely and one of the nice folks here might take some time out of their weekend to offer advice.

  • While in email today, the computer began flashing. I had to turn off with button. When I turned it back on, I got the apple icon and the moving loading wheel. It would turn for about 60 seconds and then stop. I turned off again. I now have a black screen.

    while in email today, the computer began flashing. I had to turn off with button. When I turned it back on, I got the apple icon and the moving loading wheel. It would turn for about 60 seconds and then stop. I turned off again. I now have a black screen.

    Hi wiesenruth,
    If you are having issues starting up or booting your computer, you may find the following articles helpful:
    Troubleshooting: My computer won't turn on
    http://support.apple.com/kb/TS1367
    Mac OS X: Gray screen appears during startup
    http://support.apple.com/kb/ts2570
    Regards,
    - Brenden

  • How far off stage can I move a tweened object

    Flash Pro CC 2014, all updates.
    I have a movie clip that is about 5500 pixels wide. I need to have it enter and exit across a 1920 x 1080 stage. As I try to move it to the left, it won't let me motion tween it far enough to get it off stage. It reaches the point where the left side of the object is at -3780 and that's the limit. I can drag it farther but when I release it the movie clip snaps right back to this distance.
    Also, I need to activate roving frames so the motion is smooth, but for some reason I don't get the option, it's grayed out in the menu. Don't know if this relates to problem #1 or if I am just doing something wrong.
    This one is a hot potato, as usual, I have someone hyperventilating to get this back to them.
    Thanks for any help!

    Except that it still won't work. That's one of the first things I tried.
    If I position the mc at x = 1980 so it's left edge is just off stage, then motion tween the span, then go to the last frame of the span, I enter -5478 into the x value in the properties panel and it turns it back to -3779 when I change focus just like when I drag it. It's like there's a limit on how far it will let me go.
    If the mc is not in a tween I can slide it left forever (thank you unlimited pasteboard), but in a tween it refuses to go past x = -3789. Is there a tween limit somewhere? It won't go more than 7740 to the right either, just snaps right back when you release it or change focus in the properties panel.

  • Volume and Off/On buttons no longer working

    A couple of months ago my volume button (on side of phone) quit working now my off/on button no longer functions. Does anyone know of a fix?

    Your 3GS is still within it's one year warranty. Make an appointment at the Genius bar and let them look at it. http://www.apple.com/retail/geniusbar/

  • The camera cannot be turned on or cannot be turned off even though I pressed the ON/OFF(Power) button.

    Solved!
    Go to Solution.

    There are many reasons this problem can happen:
    Make sure the battery is charging.
    If you press the ON/OFF(Power)button too quickly, the camera may not be turned on.
    If it is still not turning on or off, press and hold the ON/OFF(Power) button for at least 7 seconds.

  • Master On/Off Audio Button for Multiple swfs

    I need to create a “master” On/Off Audio Button
    that will control audio for a series of swfs loaded into a
    “master” swf. Each loaded swf will have a Media Display
    or FLV Playback MP3 progressive audio file supplying audio with cue
    points for that imported swf.
    What ActionScript would work for a “master”
    On/Off Audio Button in the main swf that would control audio for
    all of the loaded swfs so a setting in the “master” swf
    would effect all loaded swfs without the user needing to reset the
    On/Off Audio Button for each swf?
    Thanks!

    Use an array to store the names for each of the sound/video
    objects and then cycle through them and shut each off.

  • How can I turn off "reply" button when the messages come? I prefer the "open" button.

    How can I turn off "reply" button when the messages come? I prefer the "open" button. Because my friends usually send lots of messages at the same time so I cannot read all of them when I press "reply", then I have to go to Messages -> my friends' messages, and it's really complicated.

    Sorry for not quite understanding. I guess you are referring to a notice in an alert. I do not have that alert active on my device, so I cannot say. I use the banner alert, so I just get a notice of a message and can swipe to open that particular message. If I ignore it, it will eventually go away.

  • The on and off sleep button at the top of the phone has stopped working is there anything I can do

    The on/off/sleep button has stopped working, is there anything I can do to get it to work?

    Make an appointment at an Apple Store to have your device examined by a technician. Or contact Apple Support.

  • Has anyone experienced the on/off touch button and the brightness touch buttons failing on a 30" cinema screen?

    I have a 30" cinema display which is about 3 years old. Everything was working fine yesterday but on reboot today the screen went dim and the brightness buttons did not work. I used the key board and increased the brightness but it went dim again  on release. The on/off touch button also did not work.
    I have set to disable both of these in the preferences and all is working now but I wondered if anyone else has experience of both of these touch buttons failing. The monitor has been switched off when booting up on a morning but I had not switched it off manually before shut down or set it to do so which I thought was odd. Now I wonder if it was the first signs of a breakdown of the switches on the monitor.
    Thanks for any imput in advance.
    sas44

    Try:                                               
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try another cable       
    - Try on another computer                            
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
      Apple Retail Store - Genius Bar                              

  • Zen micro on/off sliding button probl

    I have my micro for 2 months and I started to note that the on/off sliding button isn't functioning well... Its hard to turn on and off the micro and sometimes I can't turn it off... I wonder if maybe with or 2 more months of usage it will stop working... Does anyone had this problem? What did you do/what is really the problem in it.. I think its weird bcz i never hv seen nothing about this problem, my headphone jack is working fine since now though ;P

    when you say "its hard to turn on" im assuming that u have to use a lot of force to slide the power button. How often do you use it's And do you always have ur player slide thingy in lock postion most of the time? One of my friend's slide is like that, its a bit diffiult to turn on and requires more push to it, as if it were rusty, but its not metal, so its NOT rusty. Mine is just fine, its like i put oil in it and it just slide easily. btw, i recommened u dont put oil in it, im just using it as an example, lol. (oooh...hope im not jinxing anything for my player)

  • Off stage printing

    I have a director movie from which I wish to print. I have
    created the image I wish to print, which is made up of several
    sprites, and put a border sprite around this. What I wish to be
    able to do is to print this group of sprites from off stage. The
    user should never see them appear on screen. I have previously used
    code along the lines of:
    stageImage = (the stage).image
    spriteImage = stageImage.crop(sprite(83).rect)
    member("printimage").image = spriteImage
    to take a section of the stage and store it as a cast member
    which I can then print. However because I want my section to be
    taken from offstage I am unsure how to do it. I have tried taking
    using the sprite(83).rect to define the image but this doesn't
    work.
    Any help will be most appreciated.

    I don't think you should be any different than the rest of us
    and escape the
    hassle of assembling printable pages using Print-O-matic;)
    But Print-O-matic is the way to go hands down.
    Craig Wollman
    Lingo Specialist
    Word of Mouth Productions
    212-928-9581
    www.wordofmouthpros.com
    "thismonkey" <[email protected]> wrote in
    message
    news:er49ct$h7q$[email protected]..
    > Another issue is that the combined size of the table of
    sprites I which to
    > print is bigger than my stage so I cant simply place it
    on stage and print
    > the
    > stage either.
    >
    > The on screen feedback is displayed over 3 screens where
    as the printed
    > feedback puts all 3 pieces into one big table (hence
    being bigger than
    > stage
    > size) and this is what I want to print.
    >
    > I have used printomatic before, but I cant simply amend
    cast members to
    > the
    > document as they need to print out in the correct
    location or else the
    > feedback
    > (and ticks/crosses) will not line up/be relevant. Also a
    problem with
    > printing
    > off individual sprites, hence I need to grab a
    'screenshot' of the table
    > from
    > off stage, store it as a cast member which I can then
    print.
    >
    > Im trying to give as much info as possible as I am
    running out of ideas.
    >

  • Turn off a button?

    Is it possible to turn off a button in highlight state.
    Basically have no highlight state, so that when a button is 'highlighted' it disappears to reveal an image on the background layer?

    Yes it is, with a smart "work around": it's called button transition.
    Take a look of this (click on "this"), it was made by a certain Bill Hunt, a newbie with many ideas well confused.
    Seriously: he's a very special guy who has given me tons of helps.
    This will surely help you
    Ciao

  • Faulty On/Off/Lock button iPhone 5

    My iPhone 5 on/off/lock button has started playing up. I sent it away to O2 for repairs but they claim it is due to physical damage (which I am pretty sure it is not) and are trying to charge me for this. I have since googled this fault and it appears to be pretty common and should be covered by the warranty. Anyone else had issues with this and have any advice?

    Make an appointment at the genius bar of your local Apple Store.
    IF there is any physical damage to the phone, cracked screen, etc. then the warranty is void. It doesn't matter what caused the lock button to fail, if the phone is damaged, it's not covered.

Maybe you are looking for

  • How can I make CONTAINS query work for a date range

    In either 9i or 10g (eventual). I have a CONTEXT index that contains multiple columns from multiple tables and using a USER_DATASTORE. E.g., I have names that come from 3 different table locations and dates that come from 4. I can index them fine but

  • Logic 7.1.1 crashes on startup on 10.6.7?

    I have been using Logic Express 7.1.1 for many years now.  I last used it on May 13th according to the preferences. Today, when I try to open it, it instantly crashes.  I have tried removing preferences, application support files and even the Library

  • ADF 11.1.1.2 Application Timeout with Active DB Connection

    Hi all, just a query really; are we able to set a timeout for an ADF application that has an application module and an active database connection for an extended period of time, such as 10 hours? We have previously changed the value in the applicatio

  • Using your old BT home hub phones with the home hu...

    If you want to use your old BT Home Hub phones with the new Home Hub 3. Here is a diagram showing how to do it. Using your BT Hub Phones with your Home Hub 3 It may help people to utilise their old phones. There are some useful help pages here, for B

  • XL Reporter issue

    Hi Experts, When i run XL Reporter,i get the following Error message. "A required Com Addin program for XL Reporter has not been loaded and prohibits MS Excel from running". Pls help. Deepak