on rollout open do -- system exception

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
Old 11 November 2012   #1
on rollout open do -- system exception

Hi

just silly problem , I keep getting ** system exception ** "thats the error keep saying no more info"

when i use "on rollout open do "anything"

u can try it

Code:
(--begin on Main open do ( print "Test , I'm in" )--end on open rollout test "test" ( button but1 "ttttttt" width:112 height:24 )--end roll test if Main != undefined then CloseRolloutFloater Main Main = NewRolloutFloater "anything" 250 650 addRollout test Main )--end all






do I have to to convert it to a utility script ?
I think cause of its rolloutfloater , anyway around that ?

I need script to be excuted on open and i got multi rollouts

thanx
__________________
 
Old 11 November 2012   #2
found it

Code:
on execute do


i told u silly question

thanx
__________________
 
Old 11 November 2012   #3
I'm glad you found a solution. But just to clear up the issue with your first post.

Main is a RolloutFloater, not a rollout. On Rollout Open needs to be used inside of a rollout.

Code:
rollout test "test" ( button but1 "ttttttt" width:112 height:24 on test open do ( print "Test , I'm in" ) )
__________________
Juan Martinez | Blog | Animator
 
Old 11 November 2012   #4
thanx

just small issues makes my head spin
thanx for the info
__________________
 
Old 11 November 2012   #5
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 06:39 PM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.