Sign In
Upload
Manuals
Brands
MACROMEDIA Manuals
Software
DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER
MACROMEDIA DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER Manuals
Manuals and User Guides for MACROMEDIA DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER. We have
2
MACROMEDIA DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER manuals available for free PDF download: Manual
MACROMEDIA DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER Manual (394 pages)
Extending Dreamweaver
Brand:
MACROMEDIA
| Category:
Software
| Size: 3 MB
Table of Contents
Table of Contents
3
CHAPTER 1 Introduction
13
Background
14
Installing an Extension
14
Additional Resources for Extension Writers
14
What's New in Extending Dreamweaver
15
Documentation Changes
15
Macromedia Press
16
Removed Features
16
Errata
16
Conventions Used in this Guide
17
PART I Overview
19
CHAPTER 2: Extending Dreamweaver
21
Types of Dreamweaver Extensions
21
Other Ways to Extend Dreamweaver
22
Configuration Folders and Extensions
23
Multiuser Configuration Folders
25
Running Scripts at Startup or Shutdown
25
Extension Apis
25
How Dreamweaver Processes Javascript in Extensions
26
Displaying Help
27
Localizing an Extension
27
XML String Files
27
Localizable Strings with Embedded Values
28
Working with the Extension Manager
28
Customizing Dreamweaver
29
About Customizing Dreamweaver
29
About Customizing Dreamweaver in a Multiuser Environment
29
About Mm_Deleted_Files.xml Tag Syntax
31
Reinstalling and Uninstalling Dreamweaver in a Multiuser Environment
32
Customizing Default Documents
32
Customizing Page Designs
32
Customizing the Appearance of Dialog Boxes
32
Changing the Default File Type
33
Customizing the Interpretation of Third-Party Tags
34
Working with Browser Profiles
39
About Browser-Profile Formatting
39
Creating and Editing a Browser Profile
41
Changing FTP Mappings
42
Extensible Document Types in Dreamweaver
42
Opening a Document in Dreamweaver
51
CHAPTER 3: User Interfaces for Extensions
53
Designing an Extension User Interface
53
Dreamweaver HTML Rendering Control
54
Using Custom UI Controls in Extensions
55
Editable Select Lists
55
Database Controls
57
Adding a Variable Grid Control
59
Adding Tree Controls
60
Manipulating Content Within a Tree Control
62
A Color Button Control for Extensions
63
Adding Flash Content to Dreamweaver
63
A Simple Flash Dialog Box Example
64
CHAPTER 4: The Dreamweaver Document Object Model
67
Which Document DOM
68
The Dreamweaver DOM
68
Objects, Properties, and Methods of the Dreamweaver DOM
68
Properties and Methods of the Document Object
71
Properties and Methods of HTML Tag Objects
72
Properties and Methods of Text Objects
73
Properties and Methods of Comment Objects
74
The Dreamweaver and Site Objects
74
CHAPTER 5: Customizing Code View
77
Code Hints
77
The Codehints.xml File
78
Code Hints Tags
79
Code Coloring
83
Code Coloring Files
83
Scheme Block Delimiter Coloring
97
Scheme Processing
99
Editing Schemes
103
Code Coloring Examples
105
Code Validation
107
Css-Support
108
Property
108
Value
109
Changing Default HTML Formatting
110
CHAPTER 6 Insert Bar Objects
113
How Object Files Work
113
The Insert Bar Definition File
114
Insertbar.xml Tag Hierarchy
114
Insert Bar Definition Tags
115
Insert Bar Definition Tag Attributes
117
Modifying the Insert Bar
119
Adding Objects to the Insert Bar
121
Adding Objects to the Insert Menu
121
The Objects API
122
Caninsertobject()
122
Displayhelp()
122
Isdomrequired()
123
Insertobject()
123
Objecttag()
124
Windowdimensions()
125
A Simple Insert Object Example
126
CHAPTER 7: Commands
135
How Commands Work
135
Adding Commands to the Commands Menu
136
The Commands API
136
Canacceptcommand()
136
Commandbuttons()
136
Isdomrequired()
137
Receivearguments()
137
Windowdimensions()
138
A Simple Command Example
138
Creating the UI
139
Writing the Javascript Code
140
Running the Command
144
CHAPTER 8: Menus and Menu Commands
145
About the Menus.xml File
146
Menubar
146
Menu
147
Menuitem
147
Separator
149
Shortcutlist
150
Shortcut
150
Changing Menus and Menu Items
151
Changing the Name of a Menu Item or Menu
152
Changing Keyboard Shortcuts
152
Menu Commands
154
Modifying the Commands Menu
154
How Menu Commands Work
155
The Menu Commands API
156
Canacceptcommand()
156
Commandbuttons()
156
Getdynamiccontent()
157
Iscommandchecked()
158
Receivearguments()
159
Setmenutext()
159
Windowdimensions()
160
A Simple Menu Command
161
Creating the Menu Items
161
Writing the Javascript Code
161
Placing the Command File in the Menu Folder
164
A Dynamic Menu
164
Creating the Dynamic Menu Items
164
Writing the Javascript Code
165
CHAPTER 9 Toolbars
171
How Toolbars Work
171
How Toolbars Behave
172
How Toolbar Commands Work
172
The Toolbar Definition File
173
Toolbar
174
Include
175
Itemtype
176
Itemref
176
Separator
177
Toolbar Item Tags
177
Button
177
Checkbutton
178
Radiobutton
178
Menubutton
179
Dropdown
180
Combobox
180
Editcontrol
181
Colorpicker
181
Item Tag Attributes
182
ID="Unique_Id
182
Showif="Script
182
Image="Image_Path
182
Disabledimage="Image_Path
183
Overimage="Image_Path
183
Tooltip="Tooltip String
183
Label="Label String
183
Width="Number
184
Menuid="Menu_Id
184
Colorrect="Left Top Right Bottom
184
File="Command_File_Path
184
Domrequired="True" or "False
184
Enabled="Script
185
Checked="Script
185
Value="Script
185
Update="Update_Frequency_List
185
Command="Script
186
Arguments="Argument_List
186
The Toolbar Command API
187
Canacceptcommand()
187
Getcurrentvalue()
188
Getdynamiccontent()
188
Getmenuid()
190
Getupdatefrequency()
191
Iscommandchecked()
191
Isdomrequired()
192
Receivearguments()
193
Showif()
193
A Simple Toolbar Command File
194
Creating the Text Box
194
Writing the Javascript Code
195
Placing the Files in the Toolbars Folder
196
CHAPTER 10: Reports
197
How Site Reports Work
198
How Stand-Alone Reports Work
198
The Reports API
199
Processfile()
199
Beginreporting()
199
Endreporting()
200
Commandbuttons()
200
Configuresettings()
201
Windowdimensions()
201
CHAPTER 11: Tag Libraries and Editors
203
Tag Library File Format
204
The Tag Chooser
208
Creating a New Tag Editor
210
Tag Editor Apis
214
Inspecttag()
214
Validatetag()
215
Applytag()
216
CHAPTER 12 Property Inspectors
217
How Property Inspector Files Work
218
The Property Inspector API
219
Caninspectselection()
219
Displayhelp()
219
Inspectselection()
220
CHAPTER 13: Floating Panels
223
How Floating Panel Files Work
223
The Floating Panel API
224
Displayhelp()
224
Documentedited()
225
Getdockingside()
225
Initialposition()
226
Initialtabs()
226
Isatarget()
227
Isavailableincodeview()
227
Isresizable()
228
Selectionchanged()
228
Script Editor: a Floating Panel Extension
230
Creating the Floating Panels
230
Writing the Javascript Code
231
Saving the File in the Floaters Folder
233
Creating a Menu Item
234
CHAPTER 14: Behaviors
235
How Behaviors Work
236
Inserting Multiple Functions in the User's File
236
The Behaviors API
237
Applybehavior()
237
Behaviorfunction()
238
Canacceptbehavior()
239
Displayhelp()
239
Deletebehavior()
240
Identifybehaviorarguments()
240
Inspectbehavior()
242
Windowdimensions()
242
What to Do When an Action Requires a Return Value
243
CHAPTER 15 Server Behaviors
247
Dreamweaver Architecture
248
How the Server Behavior API Functions Are Called
251
The Server Behavior API
253
Analyzeserverbehavior()
253
Applyserverbehavior()
254
Canapplyserverbehavior()
254
Copyserverbehavior()
255
Deleteserverbehavior()
255
Displayhelp()
256
Findserverbehaviors()
256
Inspectserverbehavior()
257
Pasteserverbehavior()
257
Server Behavior Implementation Functions
258
Dwscripts.findsbs()
258
Dwscripts.applysb()
259
Dwscripts.deletesb()
259
Editing EDML Files
260
Regular Expressions
260
Notes about EDML Structure
261
Group EDML File Tags
262
Group
262
Group> Attributes
262
Title
265
Groupparticipants
265
Groupparticipants> Attributes
266
Groupparticipant
266
Groupparticipant> Attributes
266
Participant EDML Files
268
Participant
268
Participant> Attributes
268
Quicksearch
269
Inserttext
269
Inserttext> Attributes
270
Searchpatterns
272
Searchpatterns> Attributes
273
Searchpattern
274
Searchpattern> Attributes
275
Updatepatterns
277
Updatepattern
278
Updatepattern> Attributes
279
Delete
280
Delete> Attributes
280
Translator
281
Searchpatterns
281
Translations
282
Translation
282
Translation> Attributes
282
Opentag
284
Attributes
284
Attribute
285
Display
285
Closetag
286
Server Behavior Techniques
286
Finding Server Behaviors
286
Updating Server Behaviors
290
Deleting Server Behaviors
292
Avoiding Conflicts with Share-In-Memory Javascript Files
292
CHAPTER 16: Data Sources
293
How Data Sources Work
293
The Data Sources API
295
Adddynamicsource()
295
Deletedynamicsource()
295
Displayhelp()
296
Editdynamicsource()
296
Finddynamicsources()
297
Generatedynamicdataref()
297
Generatedynamicsourcebindings()
298
Inspectdynamicdataref()
299
A Simple Data Source Example
299
Creating the Data Source Definition File
300
Creating the EDML File
300
Creating the Javascript File that Implements the Data Sources API Functions
301
Creating the Supporting Command Files for User Input
303
Using the New Data Source
304
CHAPTER 17: Server Formats
307
How Data Formatting Works
308
The Formats.xml File
308
The Edit Format List Plus (+) Menu
309
When the Data Formatting Functions Are Called
309
The Server Formats API
310
Applyformat()
310
Applyformatdefinition()
310
Deleteformat()
311
Formatdynamicdataref()
311
Inspectformatdefinition()
312
CHAPTER 18 Components
313
How to Customize the Component Panel
314
Component Panel Files
314
Component Panel API Functions
316
Getcomponentchildren()
316
Getcontextmenuid()
317
Getcodeviewdropcode()
318
Getsetupsteps()
319
Setupstepscompleted()
320
Handledesignviewdrop()
321
Handledoubleclick()
322
Toolbarcontrols()
323
CHAPTER 19: Server Models
327
How Customizing Server Models Works
327
The Server Model API Functions
328
Canrecognizedocument()
328
Getfileextensions()
328
Getlanguagesignatures()
329
Getserverextension()
330
Getserverinfo()
330
Getserverlanguages()
331
Getservermodelextdatanameud4()
331
Getservermodeldelimiters()
332
Getservermodeldisplayname()
332
Getservermodelfoldername()
333
Getserversupportscharset()
333
Getversionarray()
334
CHAPTER 20: Data Translators
335
How Data Translators Work
335
The Data Translator API
336
Gettranslatorinfo()
336
Translatemarkup()
338
Livedatatranslatemarkup()
338
Determining What Kind of Translator to Use
339
Adding a Translated Attribute to a Tag
340
Inspecting Translated Attributes
344
Locking Translated Tags or Blocks of Code
345
A Simple Block/Tag Translator Example
346
Finding Bugs in Your Translator
352
CHAPTER 21: C-Level Extensibility
353
How Integrating C Functions Works
353
C-Level Extensibility and the Javascript Interpreter
355
Data Types
355
The C-Level API
356
Typedef Jsbool (*Jsnative)(Jscontext *CX, Jsobject *Obj, Unsigned Int Argc, Jsval *Argv, Jsval *Rval)
356
Jsbool Js_Definefunction()
356
Char *Js_Valuetostring()
357
Jsbool Js_Valuetointeger()
357
Jsbool Js_Valuetodouble()
358
Jsbool Js_Valuetoboolean()
358
Jsbool Js_Valuetoobject()
358
Jsbool Js_Stringtovalue()
359
Jsbool Js_Doubletovalue()
359
Jsval Js_Booleantovalue()
360
Jsval Js_Integertovalue()
360
Jsval Js_Objecttovalue()
360
Char *Js_Objecttype()
360
Jsobject *Js_Newarrayobject()
361
Long Js_Getarraylength()
361
Jsbool Js_Getelement()
362
Jsbool Js_Setelement()
362
Jsbool Js_Executescript()
363
Jsbool Js_Reporterror()
363
File Access and Multiuser Configuration API
364
Js_Object Mm_Getconfigfolderlist()
365
Jsbool Mm_Configfileexists()
366
Int Mm_Openconfigfile()
367
Jsbool Mm_Getconfigfileattributes()
368
Jsbool Mm_Setconfigfileattributes()
369
Jsbool Mm_Createconfigfolder()
369
Jsbool Mm_Removeconfigfolder()
370
Jsbool Mm_Deleteconfigfile()
370
Calling a C Function from Javascript
371
PART III Appendix
373
APPENDIX A the Shared Folder
375
The Shared Folder Contents
375
The Common Folder
376
The MM Folder
377
Other Folders
381
Using the Shared Folder
382
Index
383
Advertisement
MACROMEDIA DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER Manual (296 pages)
Extending Fireworks
Brand:
MACROMEDIA
| Category:
Software
| Size: 3 MB
Table of Contents
Table of Contents
3
CHAPTER 1: Extending Fireworks Overview
5
Prerequisites
5
Installing an Extension
6
What's New in Extending Fireworks MX 2004
6
Conventions Used in this Guide
7
Additional Resources for Extension Writers
7
CHAPTER 2: The Fireworks Object Model
9
Using the Fireworks Object Model
9
Global Methods
12
Core Objects
12
The Fireworks Object
22
Objects Within Fireworks Documents
26
HTML Export Objects
64
Working with Selected Objects
72
CHAPTER 3: Cross-Product Extensions
77
Cross-Product Architecture
77
Flash Panels
90
CHAPTER 4 Auto Shapes
95
How Auto Shapes Work
95
Creating an Auto Shape
96
CHAPTER 5: Fireworks Javascript API
103
Using Fireworks API Functions
103
Document Functions
104
Fireworks Functions
241
Property Inspector Functions
275
History Panel Functions
278
Using the Common API
283
Index
285
Advertisement
Related Products
MACROMEDIA DIRECTOR MX 2004-GETTING STARTED WITH DIRECTOR
MACROMEDIA DIRECTOR MX 2004-USING DIRECTOR
MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING
MACROMEDIA DREAMWEAVER MX 2004-DREAMWEAVER API
MACROMEDIA FLASH MX 2004-DATA
MACROMEDIA FLASH MX 2004-LEARNING FLASH
MACROMEDIA FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY
MACROMEDIA FLASH MX 2004-ACTIONSCRIPT LANGUAGE
MACROMEDIA FLASH MEDIA SERVER 2-SERVER-SIDE ACTIONSCRIPT LANGUAGE
MACROMEDIA FLASH MEDIA SERVER 2-SERVER MANAGEMENT ACTIONSCRIPT LANGUAGE
MACROMEDIA Categories
Software
More MACROMEDIA Manuals
Login
Sign In
OR
Sign in with Facebook
Sign in with Google
Upload manual
Upload from disk
Upload from URL