Re: [Flashcoders] (no subject)

2005-12-01 Thread Mike Boutin
This works great, but this does not have syntax highlighting, is that another issue in itself? Chris Hill wrote: http://ubergeek.tv/article.php?pid=90 Mike Boutin wrote: I have downloaded XPath implementation for AS2. Where do I extract the *.as files to? There seems

[Flashcoders] Targeting when using for loop

2005-12-01 Thread Mike Boutin
I am trying to target an object inside my scrollpane. This is what im trying to achieve: my_pane.content[product_+i].[color_+j].loadMovie What is the correct way to target a movieclip in this way? Thanks! ___ Flashcoders mailing list

[Flashcoders] preload loadvar xml return

2005-12-01 Thread Mike Boutin
I am doing a loadVars call to a php file, that then returns a bunch of xml. Is it possible to show a preloader for this load? var catalog_xml:XML = new XML(); catalog_xml.ignoreWhite = true; catalog_xml.onLoad = function(success:Boolean) { if (success) { } else { }

Re: [Flashcoders] preload loadvar xml return

2005-12-01 Thread Mike Boutin
. - Original Message - From: Mike Boutin [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Thursday, December 01, 2005 7:16 PM Subject: [Flashcoders] preload loadvar xml return I am doing a loadVars call to a php file, that then returns a bunch of xml

Re: [Flashcoders] preload loadvar xml return

2005-12-01 Thread Mike Boutin
to parse, or use Remoting where possible. - Original Message - From: Mike Boutin [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Thursday, December 01, 2005 7:40 PM Subject: Re: [Flashcoders] preload loadvar xml return Thanks! The problem I have seems

[Flashcoders] Change object in xpath

2005-12-01 Thread Mike Boutin
productNames = XPath.selectNodes(catalog_xml, /shirtBin/shirt/name/text()); var ttTotal = XPath.selectNodes(catalog_xml,/shirtBin/shirt[price12.00]); Is it possible to say do another XPath query and get back a list of results. Then pass that xml object (ttTotal) through instead of

Re: [Flashcoders] Scrollpane in the arse

2005-11-30 Thread Mike Boutin
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

Re: [Flashcoders] best place to start building flash 8 components

2005-11-30 Thread Mike Boutin
Yes I have done quite a bit of testing and searching different web sites including all the standard goto sites like actionscript.org / ultrashock.com etc... It seems like I should be able to use scrollpane.contentPath = _root.productHolder; but this doesnt work. Steve Krichten wrote: Flash

Re: [Flashcoders] Scrollpane in the arse

2005-11-30 Thread Mike Boutin
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

Re: [Flashcoders] Scrollpane in the arse

2005-11-30 Thread Mike Boutin
Derek Vadneau wrote: _root.productPane.contentPath = productHolder; The contentPath code will do the attachMovie for you. You either have to specify a symbol name from the library or a URL. Derek Vadneau - Original Message - From: Mike Boutin [EMAIL PROTECTED] To: flashcoders

Re: [Flashcoders] Scrollpane in the arse

2005-11-30 Thread Mike Boutin
- 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

Re: [Flashcoders] Scrollpane in the arse

2005-11-30 Thread Mike Boutin
; pro_startY += 160; } That'll make 10 panes, each with a productDisplay loaded in it. - Original Message - From: Mike Boutin [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Wednesday, November 30, 2005 6:06 PM Subject: Re: [Flashcoders] Scrollpane

Re: [Flashcoders] Scrollpane in the arse

2005-11-30 Thread Mike Boutin
Perfect! thanks it works great! Mike Boutin wrote: Thanks for the example, except I need 10 productDisplay clips in 1 scrollpane. JesterXL wrote: Then try: var pro_startY= 0; for(i=0; i10; i++) { var ref:ScrollPane = ScrollPane(attachMovie(ScrollPane, pane + i, i)); ref.move(0

<    1   2