Moderators: e_phoenix13
Go
New
Find
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Member
Posted
If I have an instance that is just written text how do i dynamically change the text color when the mouse goes over the text?
 
Posts: 38 | Registered: July 04, 2006Reply With QuoteEdit or Delete MessageReport This Post
Member
Picture of Admin
Posted Hide Post
Hello,

Is the instance a LayerData instance?
 
Posts: 1188 | Registered: January 08, 2003Reply With QuoteEdit or Delete MessageReport This Post
Member
Posted Hide Post
looks like this
<MTSInstance Name="Text">
<LayerData Name="Callout" Text="Enter text here" TextColor="0 0 0" Font="Arial" Language="English" TextSize="14" DstPin="0 0" SrcPin="0 0" SrcPinRel="0" DstPinRel="0" DstPinFlag="0" AlwaysVisible="1" HitTestAlpha="0" />
</MTSInstance>
 
Posts: 38 | Registered: July 04, 2006Reply With QuoteEdit or Delete MessageReport This Post
Member
Picture of Admin
Posted Hide Post
Do this:

<MTSInteractor Name="myinteractor" >
<Target Name="MTSInstance.Text" />
<MTSHandle Event="MouseEnter" Action="MTSAssignProperty" Target="Callout.tclr" Value="0.32 1 0.655" />
</MTSInteractor>
 
Posts: 1188 | Registered: January 08, 2003Reply With QuoteEdit or Delete MessageReport This Post
  Powered by Eve Community