Farbflash projects: Imaging lingo table | 3-D scene list | Find all | Handler menu | Lingo message window

source: trunk/lingosource/castlib1/helptext.html

Last change on this file was 245, checked in by alex, 2 years ago

cleanup

File size: 6.1 KB
Line 
1<html>
2<head>
3<title>Untitled</title>
4</head>
5<body bgcolor="#FFFFFF">
6<br>
7<font face="Arial" size=4><b>Handler Menu</font></b><font size=3> by Alex da Franca -- </font><a href="mailto:alex@farbflash.de"><font color="#000096"><u>alex@farbflash.de<p>
8</a></font></u><font color="#000000">Quickly <b>execute handlers</b> which are found in the <b>currently open stage movie</b> from this menu.<br>
9Holding the <b>Option&#47;Alt</b> key pressed, while selecting a menu item <b>opens the script</b> and highlights the handler in the editor instead of executing the handler.<br>
10Holding the <b>Shift key</b> pressed <b>copies the syntax</b> into the clipboard instead of executing the handler. So you can paste it in the script you are currently working in.<br>
11You can <b>constrain</b> the handlers which get listed in the &quot;Handlers&quot; menu using the <b>search field</b>. Now only handlers containing the string in the search field will be listed in the menu. If the search string <b>starts with</b> the reserved character &quot;*&quot; the search is executed as &quot;match starts with chunk&quot;, if the search-string <b>ends with</b> &quot;$&quot; the search is executed as &quot;match ends with chunk&quot;.<br>
12There is also a <b>&quot;Utilities&quot; menu</b> with some of my <b>authoring helper handlers</b>, which I frequently use, but don't have in the castlib of every movie, as I do not use them at runtime. So instead of adding the script to my movie, to have the handlers appear in the &quot;Handlers&quot; menu, I simply have some &quot;built-in&quot; functions.<br>
13Access and control both menus via the keyboard. <b>Ctrl+TAB opens the &quot;Utilities&quot;</b> menu and <b>Ctrl+Shift+TAB opens the &quot;Handlers&quot;</b> menu. It may take some milliseconds to register the key-events, as I don't get keyDown events in an inactive MIAW, so I poll them on a regular basis. This also means, that the menu appears even, if director is in the background &#58;-( If you want to disable the keyboard-control just uncomment it in the framescript &quot;keyboardNavigation_FrameLoop&quot; (member(2,1)). Once the menu is showing you can use the cursor keys to navigate the menu and the RETURN key to execute.<p>
14</font><font size=4><b>Important Note!<br>
15</font></b><font size=3>This movie calls the sleep method of the UIHelper xtra on idle, as otherwise the CPU usage would permantly be very high and not only consume my powerbook battery power, but also heat the computer up and make the fan spin as if there is no tomorrow. In order to avoid that stupid behavior I spin the performance down making the engine release the cpu for 1 tick on mac (1&#47;60 second) and 1 millisecond on a windows PC on every idle event. This impacts the playback speed of your movie too. So keep in mind, to close the tool miaw, if you make performance tests with your movie. Or, if you prefer, turn this feature of by simply commenting the line in the &quot;on idle&quot; handler in the first movie script.<br>
16<p>
17</font><font size=4><b>Requirements&#58;<br>
18</font></b><font size=3>This movie requires the Xtra &quot;BuddyMenu&quot; from Gary Smith, the maker of many great Xtras, like for example the indispensable &quot;BuddyAPI&quot;. Get it the latest version at&#58; </font><a href="http://www.mods.com.au/BudMenu/index.htm"><font color="#000096"><u>http&#58;&#47;&#47;www.mods.com.au&#47;BudMenu&#47;index.htm<p>
19</a></font></u><font color="#000000">In order to open the script editor and highlight the match (selecting a handlername in the menu while pressing the Option&#47;Alt key) the <b>UIHelper xtra (Win&#58; JavaUiHelper.x32)</b> is required.<br>
20The UIHelper Xtra is one of the standard Xtras, which were delivered with Director until version 8, as part of the 'save as java' xtra components.<br>
21The UIHelper xtra is also in the standard-install of Director MX and MX2004. Director 8.5 is missing the xtra, but fortunately the UIHelper Xtra from version 8 works with 8.5 as well. If you use &quot;HandlerMenu&quot; with D 8.5, copy the UIHelper Xtra from previous versions over to your D 8.5 Xtras folder.<br>
22Note&#58; You need to have the java components installed in Director 8 for the UIHelper Xtra (Win&#58; JavaUiHelper.x32) to appear in your xtras folder. You'll find the installer on your D8 CD<br>
23(Mac&#58; run 'Install Java Components' from the rootlevel of the D8 CD;<br>
24Windows&#58; run setup.exe which is contained in the folder 'Java Components' on the root level of the D8 CD).<br>
25<br>
26Some of the built-in &quot;Utility&quot; handlers also require Xtras. These are mostly the standard Xtras, but some handlers require Valentin Schmidts great <b>Shell Xtra</b>. Get it at&#58; </font><a href="http://staff.dasdeck.de/valentin/xtras/shell/"><font color="#000096"><u>http&#58;&#47;&#47;staff.dasdeck.de&#47;valentin&#47;xtras&#47;shell&#47;<p>
27</a></font></u><font color="#000000">Since this movie is an opensource project you can put your own Utility handlers into it, which may require other xtras.<br>
28If you want to add your own built-in handlers, add them to the parentscript &quot;alexUtilities&quot; and add the handlernames to the behaviorscript &quot;simpleBMMenu&quot;, just like the already existing handlers. Two things to keep in mind&#58;<br>
291.) the parameters are parsed form the menu string, so add the required parameters to the string, which appears in the menu, just like the other menu items.<br>
302.) the parentscript is executed from within the scope of the stage movie. So every member and other script you refer to in your Utility handler istaken form the castlibs of the stage movie rather than form the castlibs of this movie.<p>
31If you like this movie you may also want to take a look  at my modification of the <b>Start Page.dxr</b> movie, in order to auto-open the last opened document and also auto-open your favorite Athoring Tool Miaws, like for example &quot;Handlernames&quot; or &quot;3DPI&quot; or  &quot;Scenelist&quot; or &quot;FindAll&quot; &#58;-)<br>
32<br>
33I hope you enjoy this movie <br>
34Alex da Franca<br>
35</font><font color="#000096"><u><a href="http://www.farbflash.de">http&#58;&#47;&#47;www.farbflash.de<br>
36</a></font></body>
37</html>
Note: See TracBrowser for help on using the repository browser.