A Flash Developer Resource Site

Results 1 to 9 of 9

Thread: [Resolved] Made a transparent scroll pane like this

  1. #1
    Junior Member
    Join Date
    Aug 2001
    Posts
    29
    Ok.. we are all enjoying ourself playing arround with our new toy..

    I wanted to make a scrollpane thing transparent.. mayby there are a better way to achieve this but i did it the quick n dirty way like this.
    If there is another better way please fill in here..

    I just edited the boundingBox clip and gave that white scare a color with 0% alfa.
    I also removed the outline around the scrollpane

    The transparent scrollplane

  2. #2
    how did you do that, remove that black border around the scroll pane?

  3. #3
    Junior Member
    Join Date
    Aug 2001
    Posts
    29
    first edit the scroll pane and then unlock the layer "bounding" and edit the content there.. you may have to brake apart it to be able to remove the outlines..

  4. #4
    cool, thanks.

    Is there an script refrence to this that i can use, like the background property?

  5. #5
    Junior Member
    Join Date
    Dec 2003
    Posts
    18
    Great tip - worked fine for me - Thanks!!!!

  6. #6
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    You can also do it with AS and without editing the component...

    Background and border... 3 ways:

    If your movie background was white for instance...

    //myColor = new Color(_level0.myscrollpane.boundingBox_mc);
    //myColor.setRGB(0xFFFFFF);

    Or...

    _level0.myscrollpane.boundingBox_mc._visible = false;

    Or... For a transparency effect.

    //level0.myscrollpane.boundingBox_mc._alpha = 50;

  7. #7
    Senior Member andrthad's Avatar
    Join Date
    Apr 2002
    Location
    Oklahoma - USA
    Posts
    154
    Hi oldnewbie,

    Along these same lines...

    Can you do the same thing with a comboBox component?
    PC | 1.7GHz P4 | 256MB RAM | FLASH MX | IE6 | WIN XP | BROADBAND

  8. #8
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    Did you try it?

  9. #9
    Senior Member andrthad's Avatar
    Join Date
    Apr 2002
    Location
    Oklahoma - USA
    Posts
    154
    Obviously not or I wouldn't have asked. I just thought you might have tried it before. I will try it out myself.
    PC | 1.7GHz P4 | 256MB RAM | FLASH MX | IE6 | WIN XP | BROADBAND

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