Close!  Do what Derek said:

myScrollpane.contentPath = "productDisplay";
myScrollpane.move(700, pro_startY);

----- Original Message ----- 
From: "Mike Boutin" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" <flashcoders@chattyfig.figleaf.com>
Sent: Wednesday, November 30, 2005 5:55 PM
Subject: Re: [Flashcoders] Scrollpane in the arse


So I should be able to do something like this rather than putting all 
the clips in a empty_mc first:


myScrollpane.attachMovie("productDisplay", "product_"+i, i, {_x:700, 
_y:pro_startY});

?



Steve Krichten wrote:

> Sorry, you can't do that with the V2 component.  However I don't see 
> why you want to... The way it works now is you set the contentPath to 
> the linkage ID of a  clip in the library, then attach the individual 
> items to scrollPane.content.  To me this makes more sense this way 
> than the old way... why build content outside the pane then put it 
> inside? ... instead just build it directly inside the pane from the 
> start.
>
> -Steve
>
> -----------------------------------------
> I have tried using both content (which is read-only) and contentPath 
> (which seems to target a enternal source, or a movieclip in the 
> library with a linkage set). The problem is I am dynamically creating 
> the clips first on the stage, then placing them in the scrollpane, so 
> it does not contain a linkage in the library.
> _______________________________________________
> 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

Reply via email to