MACROMEDIA DIRECTOR MX 2004-GETTING STARTED WITH DIRECTOR Instrukcja Użytkownika

Przeglądaj online lub pobierz Instrukcja Użytkownika dla Oprogramowanie MACROMEDIA DIRECTOR MX 2004-GETTING STARTED WITH DIRECTOR. Online Help Instrukcja obsługi

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 63
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 0
Installation
What TextCruncher Xtra Does
Getting Started
Methods at a Glance
Methods Documentation
JavaScript
Shockwave
Lingo Tips for Increasing Speed
General limitations
Limitations in Director 11
Updating Projects from V1.0
How to Order & Register
Licensing & Availability
Technical Support
For up-to-date information please visit our web site:
xtras.tabuleiro.com
Online Help
1
Przeglądanie stron 0
1 2 3 4 5 6 ... 62 63

Podsumowanie treści

Strona 1

InstallationWhat TextCruncher Xtra DoesGetting StartedMethods at a GlanceMethods DocumentationJavaScriptShockwaveLingo Tips for Increasing SpeedGenera

Strona 2

TEXTCRUNCHER XTRA HELP: INSTALLATION: MACINTOSH - DIRECTOR8.5INSTALLING THE XTRA ON MAC OS 8 AND 9 - Director 8.5Running under OSX, double-click the i

Strona 3

TEXTCRUNCHER XTRA HELP: INSTALLATION: WINDOWS - DIRECTOR11INSTALLING THE XTRA ON WINDOWS - Director 11Decompress the installation .zip file. This will

Strona 4

[#namePPC:"TextCruncher", #nameW32:"TxtCrnch.x32",#package:"http://download.tabuleiro.com/packages/TextCruncher/5/TextCrunche

Strona 5

TEXTCRUNCHER XTRA HELP: INSTALLATION: WINDOWS - DIRECTORMX 2004INSTALLING THE XTRA ON WINDOWS - Director MX 2004If you have not done so, we recommend

Strona 6

C:\Program Files\Macromedia\Director MX 2004\Configuration\Cross PlatformResources\Classic\Xtras\TextCruncher.dataC:\Program Files\Macromedia\Director

Strona 7 - Scripting Xtras button

TEXTCRUNCHER XTRA HELP: INSTALLATION: WINDOWS - DIRECTORMX AND 8.5INSTALLING THE XTRA ON WINDOWS - Director MX and Director 8.5Decompress the installa

Strona 8

Xtra should be listed when you issue the command "put the xtralist" in the messagewindow. The Xtra functions will also be listed when you cl

Strona 9

TEXTCRUNCHER XTRA HELP: WHAT TEXTCRUNCHER XTRA DOESTextCruncher does lightning-fast search and replace of text. You can use it in aDirector projector

Strona 10

TEXTCRUNCHER XTRA HELP: GETTING STARTEDTextCruncher is a Scripting Xtra. Scripting Xtras are used to extend the Lingolanguage with new functions and d

Strona 11

That's it. You just confirmed that TextCruncher is installed correctly, and itsfunctions are available as new global keywords in Lingo and Javasc

Strona 12

TEXTCRUNCHER HELP: INSTALLATIONThe installation procedure is slightly different depending on the version of Directorand platform used. Make sure you h

Strona 13

TEXTCRUNCHER XTRA HELP: METHODS AT A GLANCEMethod and arguments PurposeTC_Register (registrationCodeString) Prevents the demo dialog from comingup aft

Strona 14

ReplaceReplaceFirst (sourceString,replaceString, findString)Replaces the first occurrence offindString found in sourceString withreplaceString. Return

Strona 15

CaseToUpperCase (sourceString) Converts characters with upper casecounterparts in sourceString to uppercase. Leaves other charactersunchanged. Returns

Strona 16 - Online Help

Error ReportingTC_GetLastError ( ) Returns the error status code for thelast TextCruncher operationTC_ErrorCodeToString(errorCodeNumber)Returns a text

Strona 17

TEXTCRUNCHER XTRA HELP: METHODS DOCUMENTATIONTC_Register REPLACE CASE ERROR REPORTINGReplaceFirst ToUpperCase TC_GetLastErrorSEARCH COMMANDS ReplaceNe

Strona 18

SEARCH COMMANDSFindFirst(sourceString,findString) - where sourceString is the string to search in and findString isthe string to look for. Returns an

Strona 19

put FindNext(source,"category")-- 49FindPrevious(sourceString,findString) - where sourceString is the string to search in andfindString is t

Strona 20

CHARACTER POSITIONThe return values of the Find commands would not be very useful unless you had some way offetching the found word back out of the Di

Strona 21

GetLineOfCharPosition(sourceString,characterNumber) - where sourceString is the string tosearch in and characterNumber is the integer character positi

Strona 22

-- Find word in tab-delimited data record and-- return data field containing word--set charPos = FindFirst(dataRecord,theWord)if TC_GetLastError() = 0

Strona 23

TEXTCRUNCHER XTRA HELP: INSTALLATION: MACINTOSH - DIRECTOR11INSTALLING THE XTRA ON MAC OSX - Director 11Double-click the installation .dmg file. This

Strona 24

put source-- "The suggested retail price for Microsoft Word is $299.00"ReplaceFirst(sourceString,replaceString,findString) - where sourceStr

Strona 25

set thisLine = line x of tempif char 1 of thisLine = TAB thenset thisLine = ReplaceFirst(thisLine," ",TAB)put thisLine into line x of t

Strona 26

-- "aaa dog bbb dog ccc cat "put getposition()-- 16ReplaceAll(sourceString,replaceString,findString) - where sourceString is the string to s

Strona 27

--set y = new(xtra "fileio")set theFilePath = displayOpen(y)if theFilePath <> "" thenopenFile(y,theFilePath,1)set temp = rea

Strona 28

SetPosition(characterNumber) - where characterNumber is the integer character number toreposition search start to. No return. JavaScript Note: This co

Strona 29

setPosition(4)put FindPrevious(source,"bbb")-- 0setPosition(4)put ReplaceNext(source,"xxx","bbb")-- "aaaxxxccc"

Strona 30

GetPosition( ) - Returns the integer character number where the next search will start. Returns thecurrent character position. JavaScript note: This c

Strona 31

Use the list commands to index Director text chunks for operations where you otherwise wouldhave to refer back to the text itself. For instance you ca

Strona 32

elseappend getprop(index,thisword),wend ifend repeatsort indexend ifreturn indexendGetListOfLines(sourceString) - where sourceString is the string to

Strona 33

GetListOfItems(sourceString,itemDelimiterASCIICode) - where sourceString is the string tooperate on, itemDelimiterASCIICode is the ASCII value (charTo

Strona 34

Finally, you need to edit the xtrainfo.txt file to include information aboutTextCruncher. This information is used by the Shockwave and cross-platform

Strona 35

-- tabs, records are delimited by either CR or CR/LF,-- and that the data fields themselves do not contain-- CR or LF characters.--- Created list look

Strona 36

end ifend repeatend ifreturn indexedListendCASEThese operations use the Mac Standard Roman character set on Mac and PC ANSI on PC. Somedecorative or s

Strona 37

its lowercase counterpart if there is one. Leaves the character unchanged if there is no lowercasecharacter for it. This method is deprecated in D11.E

Strona 38

The quick brown foxjumped over the lazydog."HardCenterText(sourceString,charsPerLine) - where sourceString is the string to operate on andcharsPe

Strona 39

set wrapped = HardAlignTextRight(source,30)put ruler & wrapped-- "123456789012345678901234567890The quick brown fox jumpedover the lazy dog.&

Strona 40

ASCII ChartDecimal Character Decimal Character Decimal Character Decimal Character0 NUL 32 64 @ 96 `1 SOH 33 ! 65 A 97 a2 STX 34 " 66 B 98 b3 ETX

Strona 41

23 ETB 55 7 87 W 119 w24 CAN 56 8 88 X 120 x25 EM 57 9 89 Y 121 y26 SUB 58 : 90 Z 122 z27 ESC 59 ; 91 [ 123 {28 FS 60 < 92 \ 124 |29 GS 61 = 93 ] 1

Strona 42

Online Help47

Strona 43

TC_URLEncode(sourceString) - where sourceString is the string to operate on. Returns a copy ofthe source string encoded or "" if there was a

Strona 44

Instead of examining the return value to determine if an error occurred, use TC_GetLastError()directly after making any other call you want to monitor

Strona 45

TEXTCRUNCHER XTRA HELP: INSTALLATION: MACINTOSH - DIRECTORMX 2004INSTALLING THE XTRA ON MAC OSX - Director MX 2004Double-click the installation .dmg f

Strona 46

-- do something aboutalert "Not enough memory to continue"end ifTC_ErrorCodeToString(errorCodeNumber) - where errorCodeNumber is the negativ

Strona 47

TEXTCRUNCHER XTRA HELP: JAVASCRIPTXTRAS AND JAVASCRIPTDirector MX 2004 added JavaScript as an alternative scripting language, and it isalso available

Strona 48

TEXTCRUNCHER XTRA HELP: SHOCKWAVETextCruncher Xtra can be used in Shockwave: the distribution packageprovides packaged Xtras that are downloaded autom

Strona 49

All packages contain the TextCruncher Xtra for that platform. Dependingon the user's platform, a package autodownloaded to the user's hard d

Strona 50

information on applying for a Verisign certificate and packaging files.XTRAINFO.TXTThe text file xtrainfo.txt resides in your Director authoring direc

Strona 51

If Director finds the packages, it will transfer information about thepackage contents for both platforms such as file names and versionnumbers and em

Strona 52

TEXTCRUNCHER XTRA HELP: LINGO TIPS FOR INCREASING SPEEDOperations on text chunks are much faster if you put the contents of the field or textmember in

Strona 53

endWhen you pass a large string variable as the argument to a handler, Lingo has tomake a copy of the string variable which can really slow things dow

Strona 54

TEXTCRUNCHER XTRA HELP: LIMITATIONS- IMPORTANT: TextCruncher is available for Director 11, in order to allowdistribution and upgrade of legacy content

Strona 55

- Lingo treats the character numToChar(0) as end of string. If you read a string infrom an outside source containing numToChar(0) Lingo will truncate

Strona 56

Windows projectors can also be created directly on Director MX 2004 running onMac OSX after installation of the Windows version of the Xtra. It is loc

Strona 57

TEXTCRUNCHER XTRA HELP: UPDATING PROJECTS FROM V1.0The return values of some commands were changed to make them consistent. If acommand that finds tex

Strona 58

TEXTCRUNCHER HELP: HOW TO ORDER & REGISTERThe unregistered version of TextCruncher Xtra is fully-functional and may be usedfor evaluation, nonprof

Strona 59

TEXTCRUNCHER HELP: LICENSING & AVAILABILITYTextCruncher Xtra is a commercial product. Current price and updated informationcan be found at xtras.t

Strona 60

TEXTCRUNCHER HELP: TECHNICAL SUPPORTPlease use the Your Account section available at our web site xtras.tabuleiro.comto submit your questions. The sit

Strona 61

Xtra should be listed when you issue the command "put the xtralist" in the messagewindow. The Xtra functions will also be listed when you cl

Strona 62

TEXTCRUNCHER XTRA HELP: INSTALLATION: MACINTOSH - DIRECTORMXINSTALLING THE XTRA ON MAC OSX - Director MXDouble-click the installation .dmg file. This

Strona 63

Finally, you need to edit the xtrainfo.txt file to include information aboutTextCruncher. This information is used by the Shockwave and cross-platform

Komentarze do niniejszej Instrukcji

Brak uwag