<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: DataProvider API already written for you	</title>
	<atom:link href="https://jessewarden.com/2004/02/dataprovider-api-already-written-for-you.html/feed" rel="self" type="application/rss+xml" />
	<link>https://jessewarden.com/2004/02/dataprovider-api-already-written-for-you.html</link>
	<description>Software &#124; Fitness &#124; Gaming</description>
	<lastBuildDate>Thu, 05 Feb 2004 21:37:32 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: JesterXL		</title>
		<link>https://jessewarden.com/2004/02/dataprovider-api-already-written-for-you.html/comment-page-1#comment-1345</link>

		<dc:creator><![CDATA[JesterXL]]></dc:creator>
		<pubDate>Thu, 05 Feb 2004 21:37:32 +0000</pubDate>
		<guid isPermaLink="false">http://jessewarden.com/?p=430#comment-1345</guid>

					<description><![CDATA[http://www.jessewarden.com/downloads/Test.as

- make a new FLA
- drop a List component to the stage
- delete it from the stage
- make a new movie clip
- give it a linkage ID of &quot;Test&quot; and an AS2 class name of &quot;Test&quot;
- put this code on frame 1

attachMovie(&quot;Test&quot;, &quot;test_mc&quot;, 0);
test_mc.addItem(&quot;Cow&quot;, &quot;cow&quot;);

As far as your Accordion issue, not sure.  He&#039;s a container, not a list, so he doesn&#039;t follow the whole DataProvider thing (although, his button might like what you were messing with).

Now, naturally, my example uses an existing component, but YOURS would intercept modelChanged and simple call your redraw; which redraws your component.  Loop through the dataprovider and display stuff.  Like a custom label or shape:

var howMany = _dp.getLength();
var origY = 0;
for(var i=0; i
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.jessewarden.com/downloads/Test.as" rel="nofollow ugc">http://www.jessewarden.com/downloads/Test.as</a></p>
<p>&#8211; make a new FLA<br />
&#8211; drop a List component to the stage<br />
&#8211; delete it from the stage<br />
&#8211; make a new movie clip<br />
&#8211; give it a linkage ID of &#8220;Test&#8221; and an AS2 class name of &#8220;Test&#8221;<br />
&#8211; put this code on frame 1</p>
<p>attachMovie(&#8220;Test&#8221;, &#8220;test_mc&#8221;, 0);<br />
test_mc.addItem(&#8220;Cow&#8221;, &#8220;cow&#8221;);</p>
<p>As far as your Accordion issue, not sure.  He&#8217;s a container, not a list, so he doesn&#8217;t follow the whole DataProvider thing (although, his button might like what you were messing with).</p>
<p>Now, naturally, my example uses an existing component, but YOURS would intercept modelChanged and simple call your redraw; which redraws your component.  Loop through the dataprovider and display stuff.  Like a custom label or shape:</p>
<p>var howMany = _dp.getLength();<br />
var origY = 0;<br />
for(var i=0; i</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: David Bisset		</title>
		<link>https://jessewarden.com/2004/02/dataprovider-api-already-written-for-you.html/comment-page-1#comment-1344</link>

		<dc:creator><![CDATA[David Bisset]]></dc:creator>
		<pubDate>Thu, 05 Feb 2004 21:05:09 +0000</pubDate>
		<guid isPermaLink="false">http://jessewarden.com/?p=430#comment-1344</guid>

					<description><![CDATA[Jesse,

Thanks a bunch for this. I&#039;ve been working with DataProvider recently, trying to apply labels and data to AccordianTabs... however, I seem to be running into a brick wall. Would you happen to have a piece of source code that shows you actually using the DataProvider functions as you built them in the .as file?

David]]></description>
			<content:encoded><![CDATA[<p>Jesse,</p>
<p>Thanks a bunch for this. I&#8217;ve been working with DataProvider recently, trying to apply labels and data to AccordianTabs&#8230; however, I seem to be running into a brick wall. Would you happen to have a piece of source code that shows you actually using the DataProvider functions as you built them in the .as file?</p>
<p>David</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
