| dragowulf |
08-01-2009 07:40 PM |
I can't figure out what's wrong with my code. When I initially log on and do Ranged auto attack and then switch to Melee I can't see the Melee until pretty much the next encounter. Can anyone help find the problem please?
Code:
<?xml version="1.0" encoding="utf-8"?>
<Page eq2usescomwndcontrols="true" Location="255,557" MaximumSize="16384,50" MinimumSize="140,50" Name="AutoAttackTimer" PackLocation="center,bottom" ScrollExtent="351,50" Size="351,50" UserMovable="true" UserResizable="true">
<Button BackgroundOpacity="0.000" DynamicData="/GameData.Self.AutoAttack" DynamicDataFilter="0001" Name="MeleeTrigger" OnHide="Parent.MeleeAutoAttack.Primary.Progress.Bar.Color='#C7CFC7'
Parent.MeleeAutoAttack.Secondary.Progress.Bar.Color='#C7CFC7'" OnShow="Parent.MeleeAutoAttack.Primary.Progress.Bar.Color='#FF0000'
Parent.MeleeAutoAttack.Secondary.Progress.Bar.Color='#00FFFF'" />
<Button BackgroundOpacity="0.000" DynamicData="/GameData.Self.RangedAutoAttack" DynamicDataFilter="0001" Name="RangedTrigger" OnHide="Parent.RangedAutoAttack.Ranged.Bar.Color='#C7CFC7'" OnShow="Parent.RangedAutoAttack.Ranged.Bar.Color='#FF0000'" />
<Button BackgroundOpacity="0.000" COND="true" Name="DelayTrigger" OnPress="COND=(Parent.PrimaryDelay.Text == Parent.SecondaryDelay.Text)
COND=COND ? false : true
Parent.MeleeAutoAttack.Secondary.Visible=COND" />
<Text COND="true" DynamicData="/GameData.Stats.Primary_Delay" Name="PrimaryDelay" OnTextChanged="COND=(Text == '')
COND=COND ? false : true
Parent.MeleeAutoAttack.Primary.Visible=COND
Parent.DelayTrigger.Press=true" TextAlignment="Right" TextAlignmentVertical="Center">100</Text>
<Text DynamicData="/GameData.Stats.Secondary_Delay" Name="SecondaryDelay" OnTextChanged="Parent.DelayTrigger.Press=true" TextAlignment="Right" TextAlignmentVertical="Center">50</Text>
<Composite Location="1,1" Name="MeleeAutoAttack" OnHide="Parent.Visible=Parent.RangedAutoAttack.Visible" OnShow="Parent.RangedAutoAttack.Visible=false
Parent.Visible=true
show_window Custom.AutoAttackTimer" PackSize="a,f" ScrollExtent="349,48" Size="349,48" SpacingType="Fill">
<Text AbsorbsInput="false" Font="/TextStyles.Large.LargeStyle" MaximumSize="16384,21" Name="Text" PackSize="a,f" ScrollExtent="349,21" ShadowStyle="/ShadowStylesNew.OutlineDrop.style" Size="349,21" TextAlignment="Center" TextColor="#F0D080">Melee Auto Attack</Text>
<Page Location="0,21" MaximumSize="16384,13" Name="Primary" PackSize="a,f" ScrollExtent="349,13" Size="349,13">
<Page DynamicData="/GameData.Self.TimeSinceAutoAttack" DynamicDataFilter="0001" Name="Progress" OnHide="Parent.Parent.Visible=Parent.Parent.Secondary.Progress.Visible
Parent.Visible=false" OnShow="Parent.Visible=Parent.Parent.Parent.PrimaryDelay.COND
Parent.Parent.Visible=true" PackSize="a,f" ScrollExtent="349,14" Size="349,14">
<Page AbsorbsInput="false" BackgroundOpacity="1.000" BackgroundTint="#000000" Enabled="false" GetsInput="false" Location="44,3" Name="125MarkerTop" Opacity="0.500" PackLocation="npn,nfn" PackSize="f,a" ScrollExtent="1,2" Size="1,2" />
<Page AbsorbsInput="false" BackgroundOpacity="1.000" BackgroundTint="#000000" Enabled="false" GetsInput="false" Location="44,9" Name="125MarkerBottom" Opacity="0.500" PackLocation="npn,nfn" PackSize="f,a" ScrollExtent="1,2" Size="1,2" />
<Page AbsorbsInput="false" BackgroundOpacity="1.000" BackgroundTint="#000000" Enabled="false" GetsInput="false" Location="87,3" Name="25Marker" Opacity="0.500" PackLocation="npn,nfn" PackSize="f,a" ScrollExtent="1,8" Size="1,8" />
<Page AbsorbsInput="false" BackgroundOpacity="1.000" BackgroundTint="#000000" Enabled="false" GetsInput="false" Location="130,3" Name="375MarkerTop" Opacity="0.500" PackLocation="npn,nfn" PackSize="f,a" ScrollExtent="1,2" Size="1,2" />
<Page AbsorbsInput="false" BackgroundOpacity="1.000" BackgroundTint="#000000" Enabled="false" GetsInput="false" Location="130,9" Name="375MarkerBottom" Opacity="0.500" PackLocation="npn,nfn" PackSize="f,a" ScrollExtent="1,2" Size="1,2" />
<Page AbsorbsInput="false" BackgroundOpacity="1.000" BackgroundTint="#000000" Enabled="false" GetsInput="false" Location="174,3" Name="50Marker" Opacity="0.500" PackLocation="npn,nfn" PackSize="f,a" ScrollExtent="1,8" Size="1,8" />
<Page AbsorbsInput="false" BackgroundOpacity="1.000" BackgroundTint="#000000" Enabled="false" GetsInput="false" Location="217,3" Name="625MarkerTop" Opacity="0.500" PackLocation="npn,nfn" PackSize="f,a" ScrollExtent="1,2" Size="1,2" />
<Page AbsorbsInput="false" BackgroundOpacity="1.000" BackgroundTint="#000000" Enabled="false" GetsInput="false" Location="217,9" Name="625MarkerBottom" Opacity="0.500" PackLocation="npn,nfn" PackSize="f,a" ScrollExtent="1,2" Size="1,2" />
<Page AbsorbsInput="false" BackgroundOpacity="1.000" BackgroundTint="#000000" Enabled="false" GetsInput="false" Location="260,3" Name="75Marker" Opacity="0.500" PackLocation="npn,nfn" PackSize="f,a" ScrollExtent="1,8" Size="1,8" />
<Page AbsorbsInput="false" BackgroundOpacity="1.000" BackgroundTint="#000000" Enabled="false" GetsInput="false" Location="304,3" Name="875MarkerTop" Opacity="0.500" PackLocation="npn,nfn" PackSize="f,a" ScrollExtent="1,2" Size="1,2" />
<Page AbsorbsInput="false" BackgroundOpacity="1.000" BackgroundTint="#000000" Enabled="false" GetsInput="false" Location="304,9" Name="875MarkerBottom" Opacity="0.500" PackLocation="npn,nfn" PackSize="f,a" ScrollExtent="1,2" Size="1,2" />
<Progressbar AbsorbsInput="false" BackgroundColor="#000000" Color="#FF0000" DynamicData="/GameData.Self.TimeSinceAutoAttack" Location="3,3" Name="Bar" PackSize="a,a" Progress="0.500" ScrollExtent="343,8" Size="343,8" Style="progress_style" />
<Image AbsorbsInput="false" Location="3,3" Name="Bkg" PackSize="a,a" ScrollExtent="343,8" Size="343,8" SourceRect="338,472,339,478" SourceResource="images/window_elements_generic.dds" />
<Page AbsorbsInput="false" BackgroundOpacity="1.000" Name="Frame" PackSize="a,a" RStyleDefault="/rectlist.chat_bubble_frame" ScrollExtent="349,14" Size="349,14" />
</Page>
</Page>
<Page Location="0,34" MaximumSize="16384,14" Name="Secondary" PackSize="a,f" ScrollExtent="349,14" Size="349,14">
<Page DynamicData="/GameData.Self.TimeSinceSecondaryAutoAttack" DynamicDataFilter="0001" Name="Progress" OnHide="Parent.Parent.Visible=Parent.Parent.Primary.Progress.Visible
Parent.Parent.Primary.MaximumSize='16384,14'
Parent.Visible=false" OnShow="Parent.Visible=Parent.Parent.Parent.DelayTrigger.COND
Parent.Parent.Primary.MaximumSize='16384,13'
Parent.Parent.Visible=true" PackSize="a,f" ScrollExtent="349,14" Size="349,14">
<Page AbsorbsInput="false" BackgroundOpacity="1.000" BackgroundTint="#000000" Enabled="false" GetsInput="false" Location="44,3" Name="125MarkerTop" Opacity="0.500" PackLocation="npn,nfn" PackSize="f,a" ScrollExtent="1,2" Size="1,2" />
<Page AbsorbsInput="false" BackgroundOpacity="1.000" BackgroundTint="#000000" Enabled="false" GetsInput="false" Location="44,9" Name="125MarkerBottom" Opacity="0.500" PackLocation="npn,nfn" PackSize="f,a" ScrollExtent="1,2" Size="1,2" />
<Page AbsorbsInput="false" BackgroundOpacity="1.000" BackgroundTint="#000000" Enabled="false" GetsInput="false" Location="87,3" Name="25Marker" Opacity="0.500" PackLocation="npn,nfn" PackSize="f,a" ScrollExtent="1,8" Size="1,8" />
<Page AbsorbsInput="false" BackgroundOpacity="1.000" BackgroundTint="#000000" Enabled="false" GetsInput="false" Location="130,3" Name="375MarkerTop" Opacity="0.500" PackLocation="npn,nfn" PackSize="f,a" ScrollExtent="1,2" Size="1,2" />
<Page AbsorbsInput="false" BackgroundOpacity="1.000" BackgroundTint="#000000" Enabled="false" GetsInput="false" Location="130,9" Name="375MarkerBottom" Opacity="0.500" PackLocation="npn,nfn" PackSize="f,a" ScrollExtent="1,2" Size="1,2" />
<Page AbsorbsInput="false" BackgroundOpacity="1.000" BackgroundTint="#000000" Enabled="false" GetsInput="false" Location="174,3" Name="50Marker" Opacity="0.500" PackLocation="npn,nfn" PackSize="f,a" ScrollExtent="1,8" Size="1,8" />
<Page AbsorbsInput="false" BackgroundOpacity="1.000" BackgroundTint="#000000" Enabled="false" GetsInput="false" Location="217,3" Name="625MarkerTop" Opacity="0.500" PackLocation="npn,nfn" PackSize="f,a" ScrollExtent="1,2" Size="1,2" />
<Page AbsorbsInput="false" BackgroundOpacity="1.000" BackgroundTint="#000000" Enabled="false" GetsInput="false" Location="217,9" Name="625MarkerBottom" Opacity="0.500" PackLocation="npn,nfn" PackSize="f,a" ScrollExtent="1,2" Size="1,2" />
<Page AbsorbsInput="false" BackgroundOpacity="1.000" BackgroundTint="#000000" Enabled="false" GetsInput="false" Location="260,3" Name="75Marker" Opacity="0.500" PackLocation="npn,nfn" PackSize="f,a" ScrollExtent="1,8" Size="1,8" />
<Page AbsorbsInput="false" BackgroundOpacity="1.000" BackgroundTint="#000000" Enabled="false" GetsInput="false" Location="304,3" Name="875MarkerTop" Opacity="0.500" PackLocation="npn,nfn" PackSize="f,a" ScrollExtent="1,2" Size="1,2" />
<Page AbsorbsInput="false" BackgroundOpacity="1.000" BackgroundTint="#000000" Enabled="false" GetsInput="false" Location="304,9" Name="875MarkerBottom" Opacity="0.500" PackLocation="npn,nfn" PackSize="f,a" ScrollExtent="1,2" Size="1,2" />
<Progressbar AbsorbsInput="false" BackgroundColor="#000000" Color="#00FFFF" DynamicData="/GameData.Self.TimeSinceSecondaryAutoAttack" Location="3,3" Name="Bar" PackSize="a,a" Progress="0.500" ScrollExtent="343,8" Size="343,8" Style="progress_style" />
<Image AbsorbsInput="false" Location="3,3" Name="Bkg" PackSize="a,a" ScrollExtent="343,8" Size="343,8" SourceRect="338,472,339,478" SourceResource="images/window_elements_generic.dds" />
<Page AbsorbsInput="false" BackgroundOpacity="1.000" Name="Frame" PackSize="a,a" RStyleDefault="/rectlist.chat_bubble_frame" ScrollExtent="349,14" Size="349,14" />
</Page>
</Page>
</Composite>
<Page DynamicData="/GameData.Self.TimeSinceRangedAutoAttack" DynamicDataFilter="0001" Location="1,1" Name="RangedAutoAttack" OnHide="Parent.Visible=Parent.MeleeAutoAttack.Visible" OnShow="Parent.MeleeAutoAttack.Visible=false
Parent.Visible=true
show_window Custom.AutoAttackTimer" PackSize="a,f" ScrollExtent="349,49" Size="349,49">
<Text AbsorbsInput="false" Font="/TextStyles.Large.LargeStyle" MaximumSize="16384,21" Name="Text" PackSize="a,f" ScrollExtent="349,21" ShadowStyle="/ShadowStylesNew.OutlineDrop.style" Size="349,21" TextAlignment="Center" TextColor="#F0D080">Ranged Auto Attack</Text>
<Page Location="0,21" MaximumSize="16384,14" Name="Ranged" PackSize="a,f" ScrollExtent="349,14" Size="349,14">
<Page AbsorbsInput="false" BackgroundOpacity="1.000" BackgroundTint="#000000" Enabled="false" GetsInput="false" Location="44,3" Name="125MarkerTop" Opacity="0.500" PackLocation="npn,nfn" PackSize="f,a" ScrollExtent="1,2" Size="1,2" />
<Page AbsorbsInput="false" BackgroundOpacity="1.000" BackgroundTint="#000000" Enabled="false" GetsInput="false" Location="44,9" Name="125MarkerBottom" Opacity="0.500" PackLocation="npn,nfn" PackSize="f,a" ScrollExtent="1,2" Size="1,2" />
<Page AbsorbsInput="false" BackgroundOpacity="1.000" BackgroundTint="#000000" Enabled="false" GetsInput="false" Location="87,3" Name="25Marker" Opacity="0.500" PackLocation="npn,nfn" PackSize="f,a" ScrollExtent="1,8" Size="1,8" />
<Page AbsorbsInput="false" BackgroundOpacity="1.000" BackgroundTint="#000000" Enabled="false" GetsInput="false" Location="130,3" Name="375MarkerTop" Opacity="0.500" PackLocation="npn,nfn" PackSize="f,a" ScrollExtent="1,2" Size="1,2" />
<Page AbsorbsInput="false" BackgroundOpacity="1.000" BackgroundTint="#000000" Enabled="false" GetsInput="false" Location="130,9" Name="375MarkerBottom" Opacity="0.500" PackLocation="npn,nfn" PackSize="f,a" ScrollExtent="1,2" Size="1,2" />
<Page AbsorbsInput="false" BackgroundOpacity="1.000" BackgroundTint="#000000" Enabled="false" GetsInput="false" Location="174,3" Name="50Marker" Opacity="0.500" PackLocation="npn,nfn" PackSize="f,a" ScrollExtent="1,8" Size="1,8" />
<Page AbsorbsInput="false" BackgroundOpacity="1.000" BackgroundTint="#000000" Enabled="false" GetsInput="false" Location="217,3" Name="625MarkerTop" Opacity="0.500" PackLocation="npn,nfn" PackSize="f,a" ScrollExtent="1,2" Size="1,2" />
<Page AbsorbsInput="false" BackgroundOpacity="1.000" BackgroundTint="#000000" Enabled="false" GetsInput="false" Location="217,9" Name="625MarkerBottom" Opacity="0.500" PackLocation="npn,nfn" PackSize="f,a" ScrollExtent="1,2" Size="1,2" />
<Page AbsorbsInput="false" BackgroundOpacity="1.000" BackgroundTint="#000000" Enabled="false" GetsInput="false" Location="260,3" Name="75Marker" Opacity="0.500" PackLocation="npn,nfn" PackSize="f,a" ScrollExtent="1,8" Size="1,8" />
<Page AbsorbsInput="false" BackgroundOpacity="1.000" BackgroundTint="#000000" Enabled="false" GetsInput="false" Location="304,3" Name="875MarkerTop" Opacity="0.500" PackLocation="npn,nfn" PackSize="f,a" ScrollExtent="1,2" Size="1,2" />
<Page AbsorbsInput="false" BackgroundOpacity="1.000" BackgroundTint="#000000" Enabled="false" GetsInput="false" Location="304,9" Name="875MarkerBottom" Opacity="0.500" PackLocation="npn,nfn" PackSize="f,a" ScrollExtent="1,2" Size="1,2" />
<Progressbar AbsorbsInput="false" BackgroundColor="#000000" Color="#FF0000" DynamicData="/GameData.Self.TimeSinceRangedAutoAttack" Location="3,3" Name="Bar" PackSize="a,a" Progress="0.500" ScrollExtent="343,8" Size="343,8" Style="progress_style" />
<Image AbsorbsInput="false" Location="3,3" Name="Bkg" PackSize="a,a" ScrollExtent="343,8" Size="343,8" SourceRect="338,472,339,478" SourceResource="images/window_elements_generic.dds" />
<Page AbsorbsInput="false" BackgroundOpacity="1.000" Name="Frame" PackSize="a,a" RStyleDefault="/rectlist.chat_bubble_frame" ScrollExtent="349,14" Size="349,14" />
</Page>
</Page>
<ProgressbarStyle Bar.Background="progress_fill" Name="progress_style" />
<ImageStyle Name="progress_fill">
<ImageFrame Name="progress_fill" Source="images/window_elements_specific.dds" SourceRect="441,342,442,355" />
</ImageStyle>
</Page>
|