Adobe Dreamweaver Forums



Last 10 THreads :         Re: IPhone (Last Post : MiLSaN99 - Replies : 0 - Views : 1 )           »          Re: IPhone (Last Post : MiLSaN99 - Replies : 0 - Views : 1 )           »          Re: IPhone (Last Post : MiLSaN99 - Replies : 0 - Views : 1 )           »          Re: IPhone (Last Post : MiLSaN99 - Replies : 0 - Views : 1 )           »          Pop up window using AS3 (Last Post : kglad - Replies : 2 - Views : 3 )           »          more about pop ups - epic fail (Last Post : retsnomrev - Replies : 0 - Views : 1 )           »          Custom cursor flickers like a short-circuiting LED. (Last Post : Chosin Won - Replies : 5 - Views : 7 )           »          can't get rid of the space at the top of my page! (Last Post : mixmasterdsr04 - Replies : 0 - Views : 1 )           »          CS4 - annoying help system (Last Post : Rothrock - Replies : 9 - Views : 10 )           »          My bullets dont work in my game >.< (Last Post : kglad - Replies : 1 - Views : 4 )           »         


Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
User Info Statistics
Go Back   Adobe Dreamweaver Forums > Macromedia Software > Director > Lingo
 
Tags:



Reply
  #1 (permalink)  
Old 11-10-2008, 04:03 PM
Almudever
 
Posts: n/a
Diggs:
Default creating check boxes

Hello,

I am searching information about check boxes for create test quetions. If need to have some examples.
I would like one page to looking for them.

Thank's



Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 11-10-2008, 07:25 PM
Sean Wilson
 
Posts: n/a
Diggs:
Default Re: creating check boxes

I'm not sure exactly what you're asking for.

There are checkboxes available on the Tool Palette (press Ctrl + 7 in
the authoring environment) under either the "default" (flash component)
or "classic" configurations
Reply With Quote
  #3 (permalink)  
Old 11-11-2008, 04:44 PM
Almudever
 
Posts: n/a
Diggs:
Default Re: creating check boxes

I refer a some comands like hilite and others to use this check box . Or if you have any web page with an example of a test questions

Reply With Quote


  #4 (permalink)  
Old 11-17-2008, 03:54 PM
matthewmaday
 
Posts: n/a
Diggs:
Default Re: creating check boxes

I see what you are asking...

-- To detect the state of a check box
sprite(1).selected -- this will return boolean values (1 selected, 0 not
selected)

I created 3 functions for you which will show you how to work with check boxes.

on QUESTION_multipleChoice pSelect, pStartSN, pEndSN

-- this function will only allow the selection of one check box

-- pSelect [INT] the number of the sprite that was just selected
-- pStartSN [INT] the number of the first sprite in the range of check
boxes
-- pEndSN [INT] the number of the last sprite in the range of check
boxes

repeat with i = pStartSN to pEndSN

sprite(i).selected = (i=pSelect)

end repeat

end
--------
on QUESTION_returnSelectedCheckboxes pStartSN, pEndSN

-- this function will return all of the check boxes that are selected
between the defined range

-- pStartSN [INT] the number of the first sprite in the range of check
boxes
-- pEndSN [INT] the number of the last sprite in the range of check boxes

pList = []

repeat with i = pStartSN to pEndSN
if sprite(i).selected then append pList, i
end repeat

return pList

end
--------
on QUESTION_clearSelectionBoxes pStartSN, pEndSN

-- this function will set all of the check boxes, within a defined range, to
not selected

-- pStartSN [INT] the number of the first sprite in the range of check
boxes
-- pEndSN [INT] the number of the last sprite in the range of check boxes

repeat with i = pStartSN to pEndSN
sprite(i).selected = 0
end repeat

end




Reply With Quote
Reply


Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 07:09 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Cheap Car Insurance - Compare Motor Insurance
Endsleigh Car Insurance Natwest Car Insurance
More Than Car Insurance Norwich Union Car Insurance
Prudential Car Insurance Zurich Car Insurance
Inactive Reminders By Mished.co.uk