
Welcome Guest
|
#1
|
||||
|
||||
|
mx2004 scrollpane pain in the ****
// First time poster here
Hi guys, I have started looking into using AS 2 One of the main reasons for moving onto AS 2 is the new scrollBar, well snazzy. So ok i start off with a section of my site News blogg: Load data from database and attachMovie to populate Actionscript:
for (count=0; count<archiveCount; count++) {
// Attach a news MC to the canvas
holder.attachMovie("bloggs", "news"+count, count);
// Set Y positions for t MC
holder["news"+count]._y = nextY;
// Set details
holder["news"+count].newsTitle = this["news"+count+"newsTitle"];
holder["news"+count].newsViews = this["news"+count+"newsViews"];
holder["news"+count].newsID = this["news"+count+"newsID"];
// Set next MC to be put just below this one on canvas
nextY += Math.ceil(holder["news"+count]._height-2);
}
if (count == archiveCount) {
gotoAndStop(10);
} Actionscript:
thePane.setScrollContent(holder); cheers paul P.S When i publish the movie the content is loaded into holder but the scrollpane just has na outlined box round the holder I am publishing player 7 AS 2 |
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| scrollpane + textarea problem... | albert105 | Flash MX 2004 |
2 | 02-27-2007 09:42 PM |
| Scrollpane Glitch | madM1k3y | Flash MX 2004 |
1 | 11-22-2006 02:38 PM |
| scrollpane redraw? | tommy rehulka | Actionscript 2.0 Components |
4 | 09-24-2006 12:12 PM |
| newbie scrollpane problem | quaich | Actionscript 1 Components |
9 | 09-02-2006 03:47 AM |
| Scrollpane issue | wlapcevic | Flash MX 2004 |
4 | 12-12-2004 04:04 PM |






