You were misreferencing some things. It's loading now but nothing is
being displayed, you're not referencing an image with your url you're
trying to load a whole page. If that's what you want to do try an iframe.
<canvas>
<class name="asanaview">
<attribute name="asana" type="string"/>
<attribute name="img" type="string"/>
<view bgcolor="blue" width="300" height="200">
<simplelayout axis="y" spacing="4"/>
<text bgcolor="green" text="${classroot.asana}"/>
<view width="${parent.width}" stretches="both"
resource="${this.img}"/>
</view>
</class>
<asanaview asana="Sleeping Swan"
img="http://www.yinyoga.com/ys2_2.0_asanas_swan_sleeping.php"/>
</canvas>
Chris
On 11-04-07 07:19 PM, Terrence Brannon wrote:
> <canvas>
>
> <class name="asanaview">
> <attribute name="asana"/>
> <attribute name="img"/>
>
> <view bgcolor="blue" width="300" height="200">
>
> <simplelayout axis="y" spacing="4"/>
>
> <text bgcolor="green">${this.name <http://this.name>}</text>
> <view width="${parent.width}" stretches="both"
> resource="${this.img}"/>
>
> </view>
>
> </class>
>
> <asanaview asana="Sleeping Swan"
> img="http://www.yinyoga.com/ys2_2.0_asanas_swan_sleeping.php"/>
>
> </canvas>