<?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: Inspectable and Inheritance</title>
	<atom:link href="http://joshblog.net/2006/01/19/inspectable-and-inheritance/feed/" rel="self" type="application/rss+xml" />
	<link>http://joshblog.net/2006/01/19/inspectable-and-inheritance/</link>
	<description>Just another WordPress site</description>
	<lastBuildDate>Wed, 16 May 2012 17:12:21 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Josh Tynjala</title>
		<link>http://joshblog.net/2006/01/19/inspectable-and-inheritance/#comment-72</link>
		<dc:creator>Josh Tynjala</dc:creator>
		<pubDate>Fri, 20 Feb 2009 19:46:51 +0000</pubDate>
		<guid isPermaLink="false">http://lab.zeusdesign.net/?p=26#comment-72</guid>
		<description>Maverick, that&#039;s not possible with Inspectable metadata.</description>
		<content:encoded><![CDATA[<p>Maverick, that&#8217;s not possible with Inspectable metadata.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Maverick</title>
		<link>http://joshblog.net/2006/01/19/inspectable-and-inheritance/#comment-71</link>
		<dc:creator>Maverick</dc:creator>
		<pubDate>Fri, 20 Feb 2009 16:27:01 +0000</pubDate>
		<guid isPermaLink="false">http://lab.zeusdesign.net/?p=26#comment-71</guid>
		<description>GOAL:
    I&#039;m using CS3 to build a Flash component. I have an Inspectable parameter who&#039;s default value I want to load from a JSON file.

PROBLEM:
    I want to set the defaultValue of the Inspectable component from a JSON file and have that value retained during runtime.

What is the syntax to do that?


[Inspectable(name=&#039;title text&#039;,type=&#039;String&#039;, defaultValue=&#039;{textFromJsonFile}&#039;)] ?????
public var titleText:String = &#039;&#039;;</description>
		<content:encoded><![CDATA[<p>GOAL:<br />
    I&#8217;m using CS3 to build a Flash component. I have an Inspectable parameter who&#8217;s default value I want to load from a JSON file.</p>
<p>PROBLEM:<br />
    I want to set the defaultValue of the Inspectable component from a JSON file and have that value retained during runtime.</p>
<p>What is the syntax to do that?</p>
<p>[Inspectable(name='title text',type='String', defaultValue='{textFromJsonFile}')] ?????<br />
public var titleText:String = &#8221;;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh Tynjala</title>
		<link>http://joshblog.net/2006/01/19/inspectable-and-inheritance/#comment-70</link>
		<dc:creator>Josh Tynjala</dc:creator>
		<pubDate>Fri, 25 Jan 2008 16:39:37 +0000</pubDate>
		<guid isPermaLink="false">http://lab.zeusdesign.net/?p=26#comment-70</guid>
		<description>Michelle, Inspectable is only used by components. In AS3, if you want to set a default value, you can just set it directly.

&lt;pre style=&quot;overflow:auto&quot;&gt;public var myProperty:String = &quot;A Specialized Default&quot;;&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Michelle, Inspectable is only used by components. In AS3, if you want to set a default value, you can just set it directly.</p>
<pre style="overflow:auto">public var myProperty:String = "A Specialized Default";</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: michelle</title>
		<link>http://joshblog.net/2006/01/19/inspectable-and-inheritance/#comment-69</link>
		<dc:creator>michelle</dc:creator>
		<pubDate>Fri, 25 Jan 2008 13:25:53 +0000</pubDate>
		<guid isPermaLink="false">http://lab.zeusdesign.net/?p=26#comment-69</guid>
		<description>if i place this in my docClass:

[Inspectable(defaultValue=&quot;A Specialized Default&quot;)]
public var myProperty:String;

and this in my constructor:
trace(myProperty);

nothing happens, i am not so good in as3, do you how i can trace an component parameter. the livedocs are driving me crazy.</description>
		<content:encoded><![CDATA[<p>if i place this in my docClass:</p>
<p>[Inspectable(defaultValue="A Specialized Default")]<br />
public var myProperty:String;</p>
<p>and this in my constructor:<br />
trace(myProperty);</p>
<p>nothing happens, i am not so good in as3, do you how i can trace an component parameter. the livedocs are driving me crazy.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

