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 Tools Search this Thread Display Modes
Old 11 November 2012   #1
on rollout open do -- system exception


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

 	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

Old 11 November 2012   #2
found it

on execute do

i told u silly question

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.

 	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

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.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
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
Society of Digital Artists

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

All times are GMT. The time now is 01:44 PM.

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