Re: [Flashcoders] ScrollPain
ScrollPain, haha. That's a good pun. Are you sure that the target movieclip you're calling attachMovie is being targeted correctly? btw, I think it's invalidate() and not redraw(). M On 5/10/06, Mike Levy [EMAIL PROTECTED] wrote: Hi All, I have the following code in AS2 Class files. (no code on timelines) The function below is a button handler for a Class that extends MovieClip. In the button handler function, I am attaching a movieClip that has a public ScrollPane so that I can add content to it from this function. When I use attachMovie to add a button to the ScrollPane, the button does not appear. However the 2nd time the function is called, the button does appear? // button handler for a movieClip to create a popup style window function dgAdd(evt:Object){ this.attachMovie(Slice9Window,Slice9Window, this.getNextHighestDepth()); this[Slice9Window][pane].contentPath = mv_form_no_builder; var mvScroller:MovieClip = this[Slice9Window][pane].spContentHolder; mvScroller.attachMovie(Button,the_button, mvScroller.getNextHighestDepth( )); mvScroller[the_button].label = Does this work; mvScroller.redraw(); // this didn't help } Also, spConentHolder is undocumented, but I have used this in the past. Compiling with Flash 8 pro. Thanks for any explanations! I think it has something to do with the movieClip not loading by the time I call attachMovie, but I read on another thread that if everything is in class files that there is no timing issues with attachMovie. mike ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] ScrollPain
Hi mike, You could try these options. 1) The scroll pane within the slice9window movieclip, feed it with another movie (which should not be empty). Do that by going to the parameters options and enter a linkage name. by doing so flash will create an empty movie clip and load the pre-assigned movie clip within it. This might help u attach the other movie clip. 2) within the existing code try executing refreshPane() method. But I am afraid it will reload the scroll pane and all attached data will be lost. 3) contd. From point 1... Lets assume the pre-assigned movie clip's name is emptyClip Within the emptyClip movie clip set a global flag / global variable. While the scroll pane is loading emptyClip you would need to check for the global variable. And then execute the rest of the code. i.e. attaching a button and all... Hope this helps. Point 3 is a work around but should help. Thanks Sumeet Basak CTO Renaissance Legal Learning Systems Pvt. Ltd. Cell: + 91 9223214301 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of elibol Sent: Wednesday, May 10, 2006 10:29 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] ScrollPain ScrollPain, haha. That's a good pun. Are you sure that the target movieclip you're calling attachMovie is being targeted correctly? btw, I think it's invalidate() and not redraw(). M On 5/10/06, Mike Levy [EMAIL PROTECTED] wrote: Hi All, I have the following code in AS2 Class files. (no code on timelines) The function below is a button handler for a Class that extends MovieClip. In the button handler function, I am attaching a movieClip that has a public ScrollPane so that I can add content to it from this function. When I use attachMovie to add a button to the ScrollPane, the button does not appear. However the 2nd time the function is called, the button does appear? // button handler for a movieClip to create a popup style window function dgAdd(evt:Object){ this.attachMovie(Slice9Window,Slice9Window, this.getNextHighestDepth()); this[Slice9Window][pane].contentPath = mv_form_no_builder; var mvScroller:MovieClip = this[Slice9Window][pane].spContentHolder; mvScroller.attachMovie(Button,the_button, mvScroller.getNextHighestDepth( )); mvScroller[the_button].label = Does this work; mvScroller.redraw(); // this didn't help } Also, spConentHolder is undocumented, but I have used this in the past. Compiling with Flash 8 pro. Thanks for any explanations! I think it has something to do with the movieClip not loading by the time I call attachMovie, but I read on another thread that if everything is in class files that there is no timing issues with attachMovie. mike ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] ScrollPain
On May 10, 2006, at 12:24 PM, Mike Levy wrote: Thanks for any explanations! I think it has something to do with the movieClip not loading by the time I call attachMovie, but I read on another thread that if everything is in class files that there is no timing issues with attachMovie. You have to wait a frame for the scrollpane to init before before you can attach movies to it. Then redraw(true); You might want to create a method in the movieclip you are attaching that you call, which in turns waits an onEnterFrame and then sets the contentPath for you. That is why it works the second time you call it. blue skies, bryan ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] ScrollPain
If the movieclip only contains the scrollpane, wy not attach the scrollpane directy, instead of having it wrapped in a movieclip? The scrollpane has a 'complete' event which is triggered when it's content is ready to be used, so that might be what you're looking for (it's in the docs). Any particular reason why you're using spContentHolder instead of just ScrollPane.content (which is also documented)? regards, Muzak - Original Message - From: Mike Levy [EMAIL PROTECTED] To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com Sent: Wednesday, May 10, 2006 6:24 PM Subject: [Flashcoders] ScrollPain Hi All, I have the following code in AS2 Class files. (no code on timelines) The function below is a button handler for a Class that extends MovieClip. In the button handler function, I am attaching a movieClip that has a public ScrollPane so that I can add content to it from this function. When I use attachMovie to add a button to the ScrollPane, the button does not appear. However the 2nd time the function is called, the button does appear? // button handler for a movieClip to create a popup style window function dgAdd(evt:Object){ this.attachMovie(Slice9Window,Slice9Window, this.getNextHighestDepth()); this[Slice9Window][pane].contentPath = mv_form_no_builder; var mvScroller:MovieClip = this[Slice9Window][pane].spContentHolder; mvScroller.attachMovie(Button,the_button,mvScroller.getNextHighestDepth( )); mvScroller[the_button].label = Does this work; mvScroller.redraw(); // this didn't help } Also, spConentHolder is undocumented, but I have used this in the past. Compiling with Flash 8 pro. Thanks for any explanations! I think it has something to do with the movieClip not loading by the time I call attachMovie, but I read on another thread that if everything is in class files that there is no timing issues with attachMovie. mike ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Scrollpain Overlap Issues
Mike, I've been trying to get a bug like yours for about an hour and ... succeed! But the code you posted this time is correct (working, while not perfect :-). The matter can be investigated from your prev. (dec 15 2005) post: I've ran across a V2 scrollpane issue in one of the projects I'm working on. - I am attaching/removing pre-built movieclips from the library. - Each movieclip contains a combination of components - Problem occurs when I remove a movieclip that contains a V2 combo box and attach a movieclip that contains a V2 scrollpane. The content in the scrollpane is not masked. So, have a look: http://gousable.com/flash/temp/scrollpain1.html If you don't attach too many clips, all is working fine. But, if there's some mistake with attaching mcs, it looks similar to yours. BTW, with your sample (http://mike.randm.org/flash/scrollpain/), if you click TWICE the One, scrollpane becomes normal... If you like, I'll send you the source - just email me offlist. Note: menu sorting is also working in my swf. -- Best regards, GregoryN http://GOusable.com Flash components development. Usability services. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Scrollpain Overlap Issues
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; iqLen; 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(0xCC); } 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 Flashcoders@chattyfig.figleaf.com 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 Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Scrollpain Overlap Issues
Try it again, I've added the default flash 8 detection script. http://mike.randm.org/flash/scrollpain/index.html You should see three buttons located at the top left of the screen. Thanks, Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: Friday, December 23, 2005 11:30 AM To: Flashcoders mailing list Subject: RE: [Flashcoders] Scrollpain Overlap Issues 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; iqLen; 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(0xCC); } 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 Flashcoders@chattyfig.figleaf.com 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 Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Scrollpain Overlap Issues
Yeah, still get a page cannot be displayed error. I don't think its your detection script, it's the location of your HTML file. 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 1:05 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Scrollpain Overlap Issues Try it again, I've added the default flash 8 detection script. http://mike.randm.org/flash/scrollpain/index.html You should see three buttons located at the top left of the screen. Thanks, Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: Friday, December 23, 2005 11:30 AM To: Flashcoders mailing list Subject: RE: [Flashcoders] Scrollpain Overlap Issues 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; iqLen; 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(0xCC); } 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 Flashcoders@chattyfig.figleaf.com 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 Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Scrollpain Overlap Issues
That's weird. I've sent the link to people here at work and offsite, and they could view it. Let me republish and upload after lunch. Thanks for the heads up. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: Friday, December 23, 2005 12:25 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] Scrollpain Overlap Issues Yeah, still get a page cannot be displayed error. I don't think its your detection script, it's the location of your HTML file. 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 1:05 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Scrollpain Overlap Issues Try it again, I've added the default flash 8 detection script. http://mike.randm.org/flash/scrollpain/index.html You should see three buttons located at the top left of the screen. Thanks, Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: Friday, December 23, 2005 11:30 AM To: Flashcoders mailing list Subject: RE: [Flashcoders] Scrollpain Overlap Issues 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; iqLen; 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(0xCC); } 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 Flashcoders@chattyfig.figleaf.com 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 Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders
RE: [Flashcoders] Scrollpain Overlap Issues
Tried it in both IE and Firefox. Not having any other network issues either. 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 1:28 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Scrollpain Overlap Issues That's weird. I've sent the link to people here at work and offsite, and they could view it. Let me republish and upload after lunch. Thanks for the heads up. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: Friday, December 23, 2005 12:25 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] Scrollpain Overlap Issues Yeah, still get a page cannot be displayed error. I don't think its your detection script, it's the location of your HTML file. 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 1:05 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Scrollpain Overlap Issues Try it again, I've added the default flash 8 detection script. http://mike.randm.org/flash/scrollpain/index.html You should see three buttons located at the top left of the screen. Thanks, Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: Friday, December 23, 2005 11:30 AM To: Flashcoders mailing list Subject: RE: [Flashcoders] Scrollpain Overlap Issues 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; iqLen; 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(0xCC); } 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 Flashcoders@chattyfig.figleaf.com 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
RE: [Flashcoders] Scrollpain Overlap Issues
Jason, I republished and uploaded latest files. Let me know if you still can't see the movie. Just curious, can you view source? http://mike.randm.org/flash/scrollpain/index.html Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: Friday, December 23, 2005 12:32 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] Scrollpain Overlap Issues Tried it in both IE and Firefox. Not having any other network issues either. 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 1:28 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Scrollpain Overlap Issues That's weird. I've sent the link to people here at work and offsite, and they could view it. Let me republish and upload after lunch. Thanks for the heads up. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: Friday, December 23, 2005 12:25 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] Scrollpain Overlap Issues Yeah, still get a page cannot be displayed error. I don't think its your detection script, it's the location of your HTML file. 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 1:05 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Scrollpain Overlap Issues Try it again, I've added the default flash 8 detection script. http://mike.randm.org/flash/scrollpain/index.html You should see three buttons located at the top left of the screen. Thanks, Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: Friday, December 23, 2005 11:30 AM To: Flashcoders mailing list Subject: RE: [Flashcoders] Scrollpain Overlap Issues 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; iqLen; 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(0xCC); } 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
RE: [Flashcoders] Scrollpain Overlap Issues
Nope. Can't view source on a file I can't reach. Tried it again, no dice. Maybe someone else on the list can try and see if its just me or a problem on your end. 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 3:37 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Scrollpain Overlap Issues Jason, I republished and uploaded latest files. Let me know if you still can't see the movie. Just curious, can you view source? http://mike.randm.org/flash/scrollpain/index.html Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: Friday, December 23, 2005 12:32 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] Scrollpain Overlap Issues Tried it in both IE and Firefox. Not having any other network issues either. 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 1:28 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Scrollpain Overlap Issues That's weird. I've sent the link to people here at work and offsite, and they could view it. Let me republish and upload after lunch. Thanks for the heads up. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: Friday, December 23, 2005 12:25 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] Scrollpain Overlap Issues Yeah, still get a page cannot be displayed error. I don't think its your detection script, it's the location of your HTML file. 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 1:05 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Scrollpain Overlap Issues Try it again, I've added the default flash 8 detection script. http://mike.randm.org/flash/scrollpain/index.html You should see three buttons located at the top left of the screen. Thanks, Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: Friday, December 23, 2005 11:30 AM To: Flashcoders mailing list Subject: RE: [Flashcoders] Scrollpain Overlap Issues 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; iqLen; 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(0xCC); } tp.button_mc.onRollOut = function(){ new Color(this._parent.menuBg_mc).setRGB(0xF0F0EF
Re: [Flashcoders] Scrollpain Overlap Issues
I am able to view at both urls tech wrote: I uploaded to the root directory. Try this. http://mike.randm.org/scrollpain.html -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: Friday, December 23, 2005 2:42 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] Scrollpain Overlap Issues Nope. Can't view source on a file I can't reach. Tried it again, no dice. Maybe someone else on the list can try and see if its just me or a problem on your end. 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 3:37 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Scrollpain Overlap Issues Jason, I republished and uploaded latest files. Let me know if you still can't see the movie. Just curious, can you view source? http://mike.randm.org/flash/scrollpain/index.html Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: Friday, December 23, 2005 12:32 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] Scrollpain Overlap Issues Tried it in both IE and Firefox. Not having any other network issues either. 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 1:28 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Scrollpain Overlap Issues That's weird. I've sent the link to people here at work and offsite, and they could view it. Let me republish and upload after lunch. Thanks for the heads up. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: Friday, December 23, 2005 12:25 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] Scrollpain Overlap Issues Yeah, still get a page cannot be displayed error. I don't think its your detection script, it's the location of your HTML file. 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 1:05 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Scrollpain Overlap Issues Try it again, I've added the default flash 8 detection script. http://mike.randm.org/flash/scrollpain/index.html You should see three buttons located at the top left of the screen. Thanks, Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: Friday, December 23, 2005 11:30 AM To: Flashcoders mailing list Subject: RE: [Flashcoders] Scrollpain Overlap Issues 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; iqLen; i++){ var tp = paneContent.attachMovie(menu, menu + i, i, {_y: i *20}); //QUESTION LIST
RE: [Flashcoders] Scrollpain Overlap Issues
Well - I can get to everywhere on the World Wide Web but that site - must be something on our ISP's end I suppose. Oh well... perhaps someone else can help. I'm outta here in the next 30 mins anyway. Jason Merrill | E-Learning Solutions | icfconsulting.com -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Mike Boutin Sent: Friday, December 23, 2005 3:46 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Scrollpain Overlap Issues I am able to view at both urls tech wrote: I uploaded to the root directory. Try this. http://mike.randm.org/scrollpain.html -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: Friday, December 23, 2005 2:42 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] Scrollpain Overlap Issues Nope. Can't view source on a file I can't reach. Tried it again, no dice. Maybe someone else on the list can try and see if its just me or a problem on your end. 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 3:37 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Scrollpain Overlap Issues Jason, I republished and uploaded latest files. Let me know if you still can't see the movie. Just curious, can you view source? http://mike.randm.org/flash/scrollpain/index.html Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: Friday, December 23, 2005 12:32 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] Scrollpain Overlap Issues Tried it in both IE and Firefox. Not having any other network issues either. 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 1:28 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Scrollpain Overlap Issues That's weird. I've sent the link to people here at work and offsite, and they could view it. Let me republish and upload after lunch. Thanks for the heads up. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: Friday, December 23, 2005 12:25 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] Scrollpain Overlap Issues Yeah, still get a page cannot be displayed error. I don't think its your detection script, it's the location of your HTML file. 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 1:05 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Scrollpain Overlap Issues Try it again, I've added the default flash 8 detection script. http://mike.randm.org/flash/scrollpain/index.html You should see three buttons located at the top left of the screen. Thanks, Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: Friday, December 23, 2005 11:30 AM To: Flashcoders mailing list Subject: RE: [Flashcoders] Scrollpain Overlap Issues 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; iqLen; i