Scrollview with buttons inside

Hello to all,
(I apologize for how I write but I am translating through a translator)
my problem is to create a scrollView inside with the buttons that are used to switch from one view to another, I now implementing the scrollView with the size, for example, "(320, 1000)" where they could very well be 50 buttons, I do not work, in the sense that if I leave empty scrollview works perfectly and comes down to the wine measure date "1000" as soon as I post a button via the file.xmb the scrollView is shortened and I do not see more than 4 buttons.
someone can help me and tell me the reason?
Thanks to all in advance.

Hello to all,
(I apologize for how I write but I am translating through a translator)
my problem is to create a scrollView inside with the buttons that are used to switch from one view to another, I now implementing the scrollView with the size, for example, "(320, 1000)" where they could very well be 50 buttons, I do not work, in the sense that if I leave empty scrollview works perfectly and comes down to the wine measure date "1000" as soon as I post a button via the file.xmb the scrollView is shortened and I do not see more than 4 buttons.
someone can help me and tell me the reason?
Thanks to all in advance.

Similar Messages

  • Problems with button inside draggable movie clip

    I am building a click through presentation that has some small text in it. To maintain the design and allow for readability, I have added a zoom feature.
    Here is the structure of the movie,
    Stage - contains pages movie clip and forward/reverse click buttons for changing pages
         pages_mc - contains 24 frames, one page per frame and buttons
    There is a button at the _root level that uses a tweener to scale the pages_mc up to 170%. When this is clicked, it allows the pages to be dragged around the screen so you can look at different sections. When you click the button again, it returns the pages back to their original size stops drag.
    My problem is, on the pages, there are buttons with links to external sites. Once startDrag has been invoked, I cannot touch the buttons inside the movie clip. Is there a way to make these buttons work?
    I need the finished quickly so any assistance is welcome.
    Code below
    magUp_btn.onRelease = function() {
    this._visible = false;
    TweenLite.to(pages_mc, .25, {_x:-250, _y:-193, _xscale:170, _yscale:170});
    TweenLite.to(magUp_mc, .75, {_alpha:0});
    TweenLite.to(magDown_mc, .75, {_alpha:25});
    magDown_btn._visible = true;
    pages_mc.onPress = function(){
    this.startDrag();
    pages_mc.onRelease = function(){
    this.stopDrag();
    pages_mc.onReleaseOutside = function(){
    this.stopDrag();
    pages_mc.useHandCursor = false;
    TweenLite.to(instr_mc, 1, {_alpha:100});
    magDown_btn.onRelease = function() {
    TweenLite.to(pages_mc, .25, {_x:0, _y:0, _xscale:100, _yscale:100});
    TweenLite.to(magUp_mc, .75, {_alpha:25});
    TweenLite.to(magDown_mc, .75, {_alpha:0});
    this._visible = false;
    magUp_btn._visible = true;
    pages_mc.onPress = function(){
    this.stopDrag();
    TweenLite.to(instr_mc, 1, {_alpha:0});
    I don't know how to turn drag off when I zoom out without using the onPress command, but I know that this is probably what is getting in the way of the button working?
    Thanks!

    One option is to make the background of the pages be the draggable parts rather than the movieclips that contain the pages and buttons.  That way, the buttons could be atop the background and not have their access blocked.
    Instead of coding the pages_mc, you would essentially have the background coded for the drag...
    pages_mc.bkgnd.onPress = function(){
        startDrag(this._parent);

  • Bug - Button inside scrollable frame

    Hi,
    I got a button bug in my folio.
    I made a scrollable frame with buttons inside it and the buttons controls a multistate.
    When I tap the buttons they don't perform the action, it just change the color (click state).
    It only performs the action when I tap again the same button.
    What can I do to fix this issue?
    Thanks.

    Hi Bob,
    I am using ID CC 2014 and testing on an iPad.
    In my article, I made two objects a MSO and a scrollable frame with some buttons inside it.
    My scrollable frame has buttons only and allows the user to slide these buttons horizontally.
    The buttons has an action to change the states of my MSO (go to state).
    The problem is when I test this folio on my iPad, If I tap any button, the state of my MSO keeps the same and the button goes to the Click State.
    I can only access other state of my MSO clicking a second time on the same button.
    So the button keeps on the Click State and my MSO change to the State that was scheduled.
    What can I do to fix it?
    Thanks.

  • Control button inside movieclip with AS

    If I got a mc with a button inside, how do write the script
    to control that button from the main timeline?
    My script (that doesn't work) looks like this:
    mymovieclip.mybutton.onRelease = function() {
    gotoAndStop(2);

    Sorry, my mistake, it should go to frame 2 inside
    mymovieclip.
    Script should be like this:
    mymovie.mybutton.onRelease = function() {
    mymovie.gotoAndStop(2);

  • MovieClip buttons inside a MovieClip button inside another MovieClip button

    I am trying to make a Portfolio of my study abroad experience and can get something right about the movie clip buttons inside each other. I have a button to click on titled "travel" and a window shows up with more movieclip buttons to organize different locations of pictures. I can click on the button to have to slide of pictures but nothing happens. I have the "turnOffAllButtons"  coding and  also have the coding for stay clicked, but I can't get the 3rd set to show up. what am i not doing?
    I don't have any errors or output comments showing up

    I have it working now. what I did, I make a slideshow setup (gotoAndStop(1);) in a specific frame and the code I put in for the next, didnt work.
    this is was I have now, without the "turnOffAllButtons" coding:
    Main Button (actions Layer):
    stop();
    travelButton_mc.buttonMode=true;
    travelButton_mc.addEventListener(MouseEvent.ROLL_OVER, colorizetravelButton);
    function colorizetravelButton(givenEvent:MouseEvent){
      if (givenEvent.currentTarget.currentFrame != 50)
      travelButton_mc.gotoAndPlay(2);
    travelButton_mc.addEventListener(MouseEvent.ROLL_OUT, decolorizetravelButton);
    function decolorizetravelButton(givenEvent:MouseEvent){
      if (givenEvent.currentTarget.currentFrame != 50)
      travelButton_mc.gotoAndPlay(21);
    travelButton_mc.addEventListener(MouseEvent.CLICK, loadtravelLocations);
    function loadtravelLocations(givenEvent:MouseEvent){
      travelButton_mc.gotoAndStop(50);
      travelLocations_mc.gotoAndPlay(1);
    Inside the travelLocations_mc I have currently one button to show a slide of pictures, this is the second layer of buttoncode:
    stop();
    scotlandButton_mc.buttonMode=true;
    scotlandButton_mc.addEventListener(MouseEvent.ROLL_OVER, colorizescotlandButton);
    function colorizescotlandButton(givenEvent:MouseEvent){
      if (givenEvent.currentTarget.currentFrame != 50)
      scotlandButton_mc.gotoAndPlay(2);
    scotlandButton_mc.addEventListener(MouseEvent.ROLL_OUT, decolorizescotlandButton);
    function decolorizescotlandButton(givenEvent:MouseEvent){
      if (givenEvent.currentTarget.currentFrame != 50)
      scotlandButton_mc.gotoAndPlay(21);
    scotlandButton_mc.addEventListener(MouseEvent.CLICK, loadscotlandInfoPage);
    function loadscotlandInfoPage(givenEvent:MouseEvent){
      scotlandButton_mc.gotoAndStop(50);
      scotlandInfoPage_mc.gotoAndPlay(1);
    I turned the alpha up so you can see the mc that loads
    I currently have a keyframe at 60 with a code of stop(); so the travelLocations_mc will still
    does this make sense?

  • PayPal buttons inside table scramble Design View in DW CS5.5

    I developed my web site using Dreamweaver 8:
    http://www.harmonize.com/hatleymusic/classic.html
    As  you see, I have PayPal buttons inside table cells.  I did this using  Design View, putting the insertion point in the table cell, going to  code view, and pasting the PayPal button code at the insertion point.   This all worked fine.
    I just upgraded to DW CS5.5. and now  when I try to use the same procedure, the Design View image gets  scrambled  after I paste the button code in code view.  The table format  is no longer in place, and I can no longer see where the cells of the  table are.  However, when I go to Live View, everything looks fine  including the table and the buttons.
    Can anyone tell me  how to overcome this problem?  As it stands, I cannot use DW to work on  my web site, which is a major problem for me.
    Thanks.

    How do I get someone to respond to my question here?
    Let me try again.
    With DW CS5.5 when I try to insert a PayPal button into a table (which I always did with DW8) the table in Design View gets scrambled, making it unusable.  Please would one of you out there who is much more knowledgeable about DW than me try it and see if there is a solution?  If you create a new HTML page in Design view, create a table in it, place the insertion point inside one of the table cells, go to the code view and locate the insertion point there, then paste the PayPal button code at that point. Here's the code:
    <form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
    <input type="hidden" name="cmd" value="_s-xclick">
    <input type="hidden" name="hosted_button_id" value="XSXQ9CUMUVLQC">
    <input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_cart_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
    <img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
    </form>
    Now go back to Design view and see how it looks.  If it acts the way it does for me, the table is no longer visible, but if you go to Live View everything looks fine with the table and the button inside it.  Of course, I can't design in Live View.
    PLEASE can someone out there help me.
    Many thanks.

  • Button inside a movie clip

    Ok, i'm new at action script so i have a problem
    I have a sound inside a movie clip (sound_MC) in the main
    timeline, and i have another movie clip with a button inside, and I
    need that button to control that sound movie clip
    on (release) {
    gotoAndStop("off_radio"); // this goes to another frame in
    the movieclip with the button (works fine)
    on (release) {
    _root.gotoAndPlay("stop_loop"); // this goes to another
    frame of the sound MC (doesn't work)
    // i have this in the stop button
    on (release) {
    gotoAndStop("on_radio");
    on (release) {
    _root.gotoAndPlay("start_loop");
    // and this for the play button
    whats the code for that ?
    what should i do?

    i solve the problem !! :-D
    but now i hold like to now how i make a fade out sound
    command when i enter a frame and a fade in when i enter in another
    frame
    here are the examples:
    http://tubo_centeno.web.simplesnet.pt/problem/problem.html
    http://tubo_centeno.web.simplesnet.pt/problem/problem.fla
    can anyone help me?

  • Buttons inside moveiclip not accessible

    Hi,
    I am making this website, which contains a load file, which contains a movieclip holder, which holds all the different parts of the website.
    Now within the portfolio.swf, which is within mcholdr, inside load.swf, there are several images, which are buttons. On clicking one image, I have code which dims, i.e. reduces _alpha for all the buttons and disables them. Now when I test portfolio.swf alone, this code works, but when I access portfolio.swf through load.swf, the code is not working.
    The code within each image button inside portfolio.swf is:
    while (i<=29) {
            _root.folioholdermc["img"+i]._alpha = 20;
            _root.folioholdermc["img"+i].enabled = false;
            i++;
    img1 to img20 are the image buttons. They are placed within folioholdermc, which in inside portfolio.swf.
    Structure with portfolio.swf alone : Main timeline ------> folioholdermc -------> img1 to img20
    Now through load.swf is : Main timeline --------> mc_load -----------> portfolio.swf (loaded with MovieClipLoader)
    I tried everything from
    _root.mc_load.folioholdermc[img....
    folioholdermc[img.....
    Nothing works. Is this a path problem??? How do I access these buttons?? I want to use the loop, as there are many buttons, so a simple img1._alpha will not work, as I will have to type this out for each button. How can I get the same effect using the loop??
    Thanks

    If I'm interpretting your posting correctly, it ilikely you have an issue using _root references.  Unless specified otherwise, if you load an swf file that uses _root references, those _root references will target the main file's _root.  To get around this you probably need to implement _lockroot in the files that you are loading.    Look it up in the AS2 help files.  In your case it may be as simple as adding the following to the main timeline of the file(s) you load...
    this._lockroot = true;

  • Unable to Load CSV file with comma inside the column(Sql Server 2008)

    Hi,
    I am not able load an CSV file with Comma inside a column. 
    Here is sample File:(First row contain the column names)
    _id,qp,c
    "1","[ ""0"", ""0"", ""0"" ]","helloworld"
    "1","[ ""0"", ""0"", ""0"" ]","helloworld"
    When i specify the Text Qualifier as "(Double quotes) it work in SQL Server 2012, where as fail in the SQL Server 2008, complaining with error:
    TITLE: Microsoft Visual Studio
    The preview sample contains embedded text qualifiers ("). The flat file parser does not support embedding text qualifiers in data. Parsing columns that contain data with text qualifiers will fail at run time.
    BUTTONS:
    OK
    I need to do this in sql server 2008 R2 with Service pack 2, my build version is 10.50.1600.1.
    Can someone let me know it is possible in do the same way it is handle in SQL Server 2012?
    Or
    It got resolved in any successive Cumulative update after 10.50.1600.1?
    Regards Harsh

    Hello,
    If you have CSV with double quotes inside double quotes and with SSIS 2008, I suggest:
    in your data flow you use a script transformation component as Source, then define the ouput columns id signed int, Gp unicode string and C unicode string. e.g. Ouput 0 output colmuns
    Id - four-byte signed
    gp - unicode string
    cc - unicode string
    Do not use a flat file connection, but use a user variable in which you store the name of the flat file (this could be inside a for each file loop).
    The user variable is supplied as a a readonly variable argument to the script component in your dataflow.
    In the script component inMain.CreateNewOutputRows use a System.IO.Streamreader with the user variable name to read the file and use the outputbuffer addrow method to add each line to the output of the script component.
    Between the ReadLine instraction and the addrow instruction you have to add your code to extract the 3 column values.
    public override void CreateNewOutputRows()
    Add rows by calling the AddRow method on the member variable named "<Output Name>Buffer".
    For example, call MyOutputBuffer.AddRow() if your output was named "MyOutput".
    string line;
    System.IO.StreamReader file = new System.IO.StreamReader( Variables.CsvFilename);
    while ((line = file.ReadLine()) != null)
    System.Windows.Forms.MessageBox.Show(line);
    if (line.StartsWith("_id,qp,c") != true) //skip header line
    Output0Buffer.AddRow();
    string[] mydata = Yourlineconversionher(line);
    Output0Buffer.Id = Convert.ToInt32(mydata[0]);
    Output0Buffer.gp = mydata[1];
    Output0Buffer.cc = mydata[2];
    file.Close();
    Jan D'Hondt - SQL server BI development

  • AS3 Putting Buttons Inside Movie Clip

    I am practicing AS3 (after years of AS2) and am having trouble having a button inside a movie clip talk to another movie clip on the main timeline. Here is the code:
    OneButton.addEventListener(MouseEvent.CLICK, OneButtonClicked);
    function OneButtonClicked(event:MouseEvent):void
    MovieTarget.gotoAndStop(1);
    MovieDescription.gotoAndStop("One");
    TwoButton.addEventListener(MouseEvent.CLICK, TwoButtonClicked);
    function TwoButtonClicked(event:MouseEvent):void
    MovieTarget.gotoAndStop(2);
    MovieDescription.gotoAndStop("Two");
    The code above works, but if I put OneButton and TwoButton inside a movie clip, I know longer can target MovieTarget and MovieDescription. The reason I want to put OneButton and TwoButton inside it's own MC is so I can dim each button after it is clicked by toggling the playhead inside that MC. Help? Thanks!

    Start over from the begining
    press  f8 and chose movieClip then draw your untoggled button call the movie button then create another movie and create your toggled button or greyed out button and call it greyedButton.  Go to main stage add 2 button instances and 2 greyedButton instances( just drag from library).  you have 4 instances on stage.  give call instance names and place one them on top of each other so u can only see 2 buttons on stage.  put the greyed button under the button.
    now with action script
    button1.addEventListener(MouseEvent.CLICK, OneButtonClicked);
    function OneButtonClicked(event:MouseEvent):void
    MovieTarget.gotoAndStop(1);
    MovieDescription.gotoAndStop("One");
    button1.visible = false; //  here the greyed button will show
    button2.addEventListener(MouseEvent.CLICK, TwoButtonClicked);
    function TwoButtonClicked(event:MouseEvent):void
    MovieTarget.gotoAndStop(2);
    MovieDescription.gotoAndStop("Two");
    button1.visible = true; // here button1 will go back to its orignal state
    button2.visible = false // here the greyed button will show

  • Button inside a button

    hello
    I have a rectangle MC with rollOver event.
    Inside that rectangle, I would like to have 1 with its own
    rollOver event.
    The rollOver event for the button doesn't ork whereas the the
    one for the rectangle does work.
    It looks as if the rollover of the rectangle cancels the
    event for the button.
    Do you have any solution?
    thanks

    ritpas wrote:
    > hello
    >
    > I have a rectangle MC with rollOver event.
    > Inside that rectangle, I would like to have 1 with its
    own rollOver event.
    > The rollOver event for the button doesn't ork whereas
    the the one for the
    > rectangle does work.
    > It looks as if the rollover of the rectangle cancels the
    event for the button.
    You are correct. You can't place button within button or
    button within movie clip
    with buttons events. Flash can't have collision of two hit
    states therefor it will
    cancel the other buttons within the main clip/button.
    you need to find other arrangement like movie clip with
    hitTest actions or multiple
    frames and invisible buttons....where on roll over invisible
    button you jump to frame
    with other content where there is no longer that button to
    collide with other buttons,
    and so on...
    Best Regards
    Urami
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • Placing a Button inside a TextBox - RadioButtons inside a Datagrid

    Hi,
    I would like to place a small button inside a textbox, so that when the button is clicked it will popup a window showing a Datagrid. I will be using an arrayCollection to supply the data to the grid's dataProvider. I would like to have as the 1st column radiobuttons for each row of data in the grid. When any radiobutton is selected that row's data is populated into the textbox that the button is in. Is this functionality feasible? Any code to inplement this would be appreciated.
    Thanks,
    J

    OK so I have managed to create the Datagrid with 3 columns the 1st is called Select, 2nd is Subject and 3rd is Message. I used a TitleWindow in a separate mxml file to create the popup window that contains the Datagrid. As I want the 1st column of my grid to have RadioButtons for all rows that have data, how do I now get these appearing under the Select Column? When a RadioButton is selected and the popup window closed the selected row's data should be populated into a couple of textbox;s one for each of the columns data.
    I have not yet managed to get the button to sit inside a Textbox. As the textbox is among a number of controls displayed on the same line in a HBox, I can only get the button to sit along side the textbox, but would prefer it to be sitting inside the textbox.
    Any help would be appreciated?
    Thanks,
    J

  • Need help with MC with links inside

    Anyone can shine some light on trying to reproduce something
    similar to this?
    http://www.focus.ca/home.html
    What I need is how to do one of those tabs that aniamtes down
    and reveals links inside. I have been at this for days.
    I am very new to flash and need more assistance on the
    construction of this project.
    So far, I know how to make a MC and animated it for
    rollover/rollout, but the link inside won't work because the action
    for the MC is interferring with the inside button actions. So, what
    is my next step? I have my MC on one frame in the main timeline and
    need to perform all animation inside that and add buttons also?
    Would I put an Insible Button in their too?
    I need help?

    As example of a text based navbar like Roddy suggested can be seen here: Text Based Navbar. With it you can have complete control of the font (just use a Web Safe Font, color, rollover color and size. You can then copy and paste the text box to each page.
    OT

  • Access a button inside a movieclip

    Hey...
    Im pretty new to flash, I have a problem that have taken hours, only not to getting sorted out, so i'll try my luck here...
    I've basicly made a rollover menu which is nested inside a movieclip. the movieclip is put on 1 st. frame on the main timeline and I want the buttons inside the movie clip to take the user to a different frame on the main timeline, but no matter what I do it's just not working...
    here is some of he solutions i have tried to do:
    function work1(e:Event)
    //MovieClip(parent.parent).gotoAndStop("work1")
    //gotoAndStop("work1")
    //this.gotoAndStop("work1")
    //parent(gotoAndStop("work1"))
    //MovieClip(this.parent).gotoAndStop("work1")
    //MovieClip(parent.gotoAndStop("work1"))
    //this(gotoAndStop("work1"))
    //main.gotoAndStop("work1")
    //root.gotoAndStop("work1")
    //MovieClip(root).gotoAndPlay("work1")
    //MovieClip(stage).gotoAndPlay("work1")
    //MovieClip(root.parent.parent).gotoAndStop("work1");
    work1_btn.addEventListener(MouseEvent.CLICK, work1);
    hope someone can help...

    sure, there are a zillion ways, that timeout function was more to demonstrate the problem than offer a valid solution...
    Personally, with what you're doing, here's my first inclination for handling it:
    Just add this bit, dumping that other stuff:
    stage.addEventListener(MouseEvent.CLICK, clickHandler);
    function clickHandler(event:MouseEvent):void{
         if (event.target is SimpleButton&&event.target.name!=null){
              gotoAndPlay(event.target.name);
    That assumes you've given those buttons the same name as the frame you want them to go to. In your example, rename that first button as work1, and that code will send you to the frame with that name on click. That code will handle all the buttons, assuming you name the frame and button instances the same (like button work2 would take you to a frame named work2 etc).
    Since it's a stage click handler, it can handle any click. Here's the breakdown:
    //adding a global click listener.
    stage.addEventListener(MouseEvent.CLICK, clickHandler);
    //what to do with the click
    function clickHandler(event:MouseEvent):void{
         //here we're just checking to see what's clicked (from your example, they are SimpleButtons)
         //and then the && means 'and'  we're making sure that button has a name.
         if (event.target is SimpleButton&&event.target.name!=null){
              //goto the frame with the same name as the button
              gotoAndPlay(event.target.name);
    HTH,
    -Ted

  • Menu button inside menu, can you do it?

    I am trying to create a dropdown menu when you rollover a
    menu more menus appear underneath. I have my top menu with this
    code. The menu is a mc symbol. The "on" and "off" activate the
    other menu fade in.
    on(rollOver){
    gotoAndPlay("on");
    on(rollOut){
    gotoAndPlay("off");
    Now here is where I'm having problems. I cannot get the menus
    inside the movieclip (which are also mc's)to work. I want them on
    rollover to change color and on click go to a url. I 've tried
    giving them an instance name, a function, _root., nothing. Can this
    be done?

    yes. If you make your sub-menu a movieClip, and your buttons
    inside it, you should have no problems.
    eg:
    on(rollOver){
    gotoAndStop("on"); //"on" should be a 1 keyframe movieClip
    the "on" timeline should have the animation of the sub-menu
    opening, and a stop() action after the sub-buttons load.
    then I would make each sub-button a 1 keyframe movieClip,
    (but you dont have to) and assign all the functions of the button
    to it's own timeline.
    hope this helps!

Maybe you are looking for

  • Safari crashing due to flash I think

    I'm pretty sure Safari is crashing to to flash player even though it has been stable for some time until Saturday. I wanted to know where to go and what to do in Finder and such to help resolve the problem. Here is the crash report: Date/Time: 2009-0

  • Picture names not showing in iphoto+mail

    I recently updated to ilife ´08 and can´t figure out how to get the actual data names to show. I don´t sant to see titles,ratings and keywords.. I want to see the actual names of the pictures. Also when I hit the mail button in iphoto the pictures ar

  • Apple Studio Display 19.8" appears out of focus

    Display: 1344 X 1008, 100Hz, cols. millions. Resolution/colours look good, but screen does appear to be slightly out of focus, text a bit fuzzy. Which is no good for a graphic pro.! No its not me and my out of focus glasses! I use an Apple Cinema Dis

  • Two different areas on my fcp x project are having difficulty rendering

    It is taking hours to render two video portions of a 7 minute project I have done. It's only at 22% and it has already been 45 minutes. I have tried to see if the project would export (as media) and it always stops at this point in the video (about 5

  • Using Managed bean

    Hi All, How to use managed bean instead of backing bean to retreive a value from a object. a)Say in my form i have selectoneChoice box and i need to retreive the value inputed by the user b)According to the value selected by the user i need to show a