View Single Post
  #9  
Unread 10-30-2005, 12:53 AM
pooka's Avatar
pooka pooka is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Antonia Bayle
Posts: 250
Default

I decided against the conditionals as they're not really necessary, but I can't get it to update automatically as people join and leave the group. I'm using a hacked work around OnHoverIn to force the update, and it does work, just not the way it should. Here's what I've got so far, perhaps somebody sees what I'm missing.

Code:
<ImageStyle Name="Scout">
<ImageFrame Source="/images/widgets01.dds" SourceRect="216,125,248,156"/>
</ImageStyle>
<ImageStyle Name="Priest">
<ImageFrame Source="/images/widgets01.dds" SourceRect="217,43,249,74"/>
</ImageStyle>
<ImageStyle Name="Mage">
<ImageFrame Source="/images/widgets01.dds" SourceRect="215,83,249,118"/>
</ImageStyle>
<ImageStyle Name="Fighter">
<ImageFrame Source="/images/widgets01.dds" SourceRect="217,4,249,34"/>
</ImageStyle>
as an example here is member #2:
Code:
<Page BackgroundColor="#00FF00" Location="1,1" Name="MemberInfoPage"
OnShow="ArchetypeIcon.Style=GameData.Group.Group_1.Archetype" PackLocation="left,top" PackLocationProp="0001/0001,0001/0001" ScrollExtent="114,47" Size="114,47" Visible="false">

<Image Location="38,29" Name="ArchetypeIcon" ScrollExtent="17,17"
Size="17,17" Style="Scout"/>

<Text AbsorbsInput="false" DynamicData="/GameData.Group.Group_2.Archetype"
Font="/TextStyles.Normal.NormalStyle" LocalText="Scout" Location="0,29"
Margin="1,0,1,1" Name="Archetype"
OnHoverIn="Parent.ArchetypeIcon.Style=LocalText" ScrollExtent="91,18"
ShadowStyle="/ShadowStylesNew.HeavyDrop.style" Size="91,18"
TextColor="#FBF1D9">Scout</Text>
Reply With Quote