A Flash Developer Resource Site

Results 1 to 7 of 7

Thread: Scrollplane - Getting Rid of Gray Border

  1. #1

    Scrollplane - Getting Rid of Gray Border

    When I use the scrollplane a gray border appears. Is there a way to remove this?

    Thanks a lot

  2. #2
    Senior Member cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,449
    - The right of the People to create Flash movies shall not be infringed. -

  3. #3
    Junior Member
    Join Date
    Feb 2006
    Posts
    24
    hi
    u can do this to get rid of that focus.

    scrollInstanceName.drawFocus=false;

    with regards
    sandeep(^_^)

  4. #4
    Sandeep, where do I put that code? Sorry for all the questions, I haven't worked with instances very much.

  5. #5
    I read a tutorial, and just to see if I could get something to work I did.

    _global.styles.ScrollPlane.setStyle("backgroundCol or","0xFFCC00");

    I put this on the first frame of my movie. This didn't do anything for my ScrollPlane.

    I read this at http://imm.sheridanc.on.ca/imm2004/bakerjam/tutorial/

  6. #6
    Junior Member
    Join Date
    Feb 2006
    Posts
    24
    hi

    1)drag ur scrollpane from the library to stage.
    2)select it and open property inspector and give its instance name myPane
    3)select any frame on timeline and write myPane.drawFocus=false

    i hope nw u understand that code and will get rid of that border.

    regards
    sandeep(^_^)

  7. #7
    This works when I make a new movie, but not in the movie I need it to work in. In my movie the scroll plane in within a graphic that is within a movie clip. Is this why it will not work?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center