That URL you sent doesn't seem to be working.

http://mike.randm.org/flash/scrollpain/ ?

Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com










>>-----Original Message-----
>>From: [EMAIL PROTECTED] [mailto:flashcoders-
>>[EMAIL PROTECTED] On Behalf Of tech
>>Sent: Friday, December 23, 2005 12:19 PM
>>To: 'Flashcoders mailing list'
>>Subject: [Flashcoders] Scrollpain Overlap Issues
>>
>>Hello,
>>
>>
>>
>>I'm running into some problems with the scrollpane component. Here's a
quick
>>breakdown of what's happening:
>>
>>
>>
>>1. I'm using the v2 scrollPane component to build a menu list
>>
>>2. I attach movieClips from the library into a container movieclip,
each
>>attached clip contains different v2 components
>>
>>3. When I attach the clip with the scrollPane menu, it works fine
>>
>>4. However, if a prior component contains a comboBox component, the
>>scrollPane menu loses it's mask
>>
>>
>>
>>I have uploaded a swf, so you can check it out at:
>>http://mike.randm.org/flash/scrollpain/
>>
>>1. To view the menu, click "one"
>>
>>2. To view the error, click "two" then "one"
>>
>>
>>
>>Thanks for any help in advance,
>>
>>Mike
>>
>>
>>
>>
>>
>>
>>
>>Here is the code I used to build the menu:
>>
>>
>>
>>//SETUP QUSTIONS SCROLLPANE - NO HORIZONTAL SCROLLING ALLOWED
>>
>>questions_sp.hScrollPolicy="off";
>>
>>questions_sp.vScrollPolicy="on";
>>
>>
>>
>>//SET UP BLANK HOLDER TO BUILD QUESTION LIST IN SCROLLPANE
>>
>>questions_sp.contentPath = "blank"; //"blank" movie clip from library
>>
>>var paneContent = questions_sp.content;
>>
>>
>>
>>//TEMPORARY TEST VARIABLES
>>
>>qLen = 10;
>>
>>
>>
>>function setUpQuestionList(){
>>
>>            for (var i =0; i<qLen; i++){
>>
>>                        var tp = paneContent.attachMovie("menu",
"menu" + i,
>>i, {_y: i *20});
>>
>>
>>
>>                        //QUESTION LIST DISPLAY TEXT - ADD QUESTION
TEXT TO
>>THIS TEXTFIELD
>>
>>                        tp.ID = i + 1;
>>
>>                        tp.dsp_txt.text = "Menu Item " + tp.ID;
>>
>>
>>
>>
>>
>>                        //QUESTION LIST BUTTON - PUSH TO LOAD QUESTION
TEXT
>>AND ANSWER TEXT
>>
>>                        tp.button_mc.onRelease = function(){
>>
>>                                    trace(this);
>>
>>                                    displayQuestion(this._parent.ID);
>>
>>                        }
>>
>>                        tp.button_mc.onRollOver = function(){
>>
>>                                    new
>>Color(this._parent.menuBg_mc).setRGB(0xCCCCCC);
>>
>>                        }
>>
>>                        tp.button_mc.onRollOut = function(){
>>
>>                                    new
>>Color(this._parent.menuBg_mc).setRGB(0xF0F0EF);
>>
>>                        }
>>
>>
>>
>>                        //QUESTION LIST MOVE UP BUTTON - PUSH TO MOVE
>>QUESTION UP
>>
>>                        tp.menuUp_mc.onRelease = function(){
>>
>>                                    trace(this);
>>
>>                        }
>>
>>
>>
>>                        //QUESTION LIST MOVE DOWN BUTTON - PUSH TO
MOVE
>>QUESTION DOWN
>>
>>                        tp.menuDown_mc.onRelease = function(){
>>
>>                                    trace(this);
>>
>>                        }
>>
>>            }
>>
>>
>>
>>            //REDRAW QUESTIONS SCROLL PANE TO INSURE CONTENT DISPLAYS
>>CORRECTLY
>>
>>            questions_sp.redraw(true);
>>
>>}
>>
>>
>>
>>
>>
>>
>>
>>_______________________________________________
>>Flashcoders mailing list
>>[email protected]
>>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
NOTICE:
This message is for the designated recipient only and may contain privileged or 
confidential information. If you have received it in error, please notify the 
sender immediately and delete the original. Any other use of this e-mail by you 
is prohibited.
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to