Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic how to remove imaga from shapenode (Read 1378 times)
hans
Junior Member
**
Offline


I Love MindFusion!

Posts: 81
Location: Netherlands
Joined: Mar 17th, 2012
how to remove imaga from shapenode
Jun 2nd, 2012 at 9:18am
Print Post  
Is there a script-method to remove an image from a shapenode ?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: how to remove imaga from shapenode
Reply #1 - Jun 4th, 2012 at 6:30am
Print Post  
Set the Image property to null:

Code
Select All
function onNodeClicked(sender, args)
{
    args.getNode().setImage(null);
} 



I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
hans
Junior Member
**
Offline


I Love MindFusion!

Posts: 81
Location: Netherlands
Joined: Mar 17th, 2012
Re: how to remove imaga from shapenode
Reply #2 - Jun 8th, 2012 at 9:57am
Print Post  
Thanks
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint