Your comments

Richard,

After taking a look at this, it is associated with a known bug we still have outstanding with fitheight. As a workaround, you will need to create a class that contains a 1px high panel and place the corresponding object under your current list. This should correct the lost item as well as the rotation issues. Also you can't have heightfit="yes" AND height on the same object, which you had on the "Rest" panel. Here is the example again.


<wire>
<datasources>
<datasource name="RSSFeed" source="" query="//item" providertype="xml" parsenamespaces="yes" />
</datasources>
<classes>
<class name="article-list-item">
<panel name="article-[param:dataSourceIndex]" width="100%" fitheight="yes" _dataSourceIndex="[param:dataSourceIndex]" background="303339" borderwidth="0" bordercolor="ffff00" padding="2">
<panel name="info2" width="100%" fitheight="yes" padding="2" borderwidth="1" bordercolor="00ff00" >
<text name="headline" width="100%" height="fit" color="#707B51" font="Helvetica-Bold" size="18" align="left" alignment="left" text="[param:headline]" background="303339" fit="yes"></text>
<text name="description" width="100%" height="fit" color="#f0ffff" font="Helvetica" size="14" align="left" bottomof="headline" alignment="left" text="[param:description]" background="303339"></text>
</panel>
</panel>
</class>
<class name="hi">
<panel name="hi-[param:dataSourceIndex]" width="100%" height="1"></panel>
</class>
</classes>
<main>
<panel name="BasePanel" width="100%" height="100%" borderwidth="1" bordercolor="ffffff" padding="2">
<panel name="InsidePanel" width="100%" height="100%" borderwidth="1" bordercolor="ffff00" padding="2">
<panel name="Heading" width="100%" height="20%" borderwidth="1" bordercolor="00ffff" valign="top" padding="10">
<text name="HeadingText" text="Heading" width="100%" height="100%" size="14" fit="yes" align="center" valign="center" color="ffffff"></text>
</panel>
<panel name="Rest" width="100%" height="80%" fitheight="yes" borderwidth="1" bordercolor="ff0000" valign="bottom">
<list name="list" datasource="RSSFeed" width="100%" lwidth="100%" height="100%" valign="bottom" align="center" orientation="vertical" paginate="no">
<object class="article-list-item" dataSourceIndex="[param:dataSourceIndex]" headline="[param:title]" description="[param:description]" link="[param:link]" pubdate="[param:pubdate]"/>
<object class="hi" dataSourceIndex="[param:dataSourceIndex]" lhs="[param:dataSourceIndex]" operator="=" rhs="[param:dataSourceResultCount]"></object>
</list>
</panel>
</panel>
</panel>
</main>
<actions>
<action name="boot" oninit="yes">
<assign property="datasource:RSSFeed.source" value="http://defensesystems.com/rss-feeds/all.aspx" />
</action>
</actions>
</wire>
Richard,

Let me take a look at this example in an app and see what is going on.
This fix was pushed out to engine 1.4 this morning. In order to see the change immediately, you can build an ad-hoc ipa and test this functionality. We will be submitting a new build of fusebox to the App Store that will include this change in the fusebox engine as well.

Thanks.
I was able to get the code above to work by adding a delay to the play action for the length of time that the audio file is. This will allow it to play back to back without issue.


<actions>
<action name="sound1">
<sound action="play" source="pennant" type="mp3" />
<play action="sound2" delay="1"/>
</action>
<action name="sound2">
<sound action="play" source="pennant" type="mp3" />
<play action="sound1" delay="1"/>
</action>
</actions>
I have confirmed that this is a bug. Luckily you have already found a workaround. I will log a bug report and we will correct this issue as soon as we can.

Thank you.
texttemplates can only be instantiated on a web view using a web tag.
Ok cool. I will have someone take a look. Thanks for the heads up.
I will have someone look into getting this implemented.
This is an interesting idea and one that has been discussed. It will definitely be under consideration!
Cole,

In the new editor you should be able to CMD+S/CTRL+S to save and CMD+E/CTRL+E to snapshot.

If that isn't working then let me know and I will have someone look at it.