Sign In
Upload
Manuals
Brands
MACROMEDIA Manuals
Software
FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY
MACROMEDIA FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY Manuals
Manuals and User Guides for MACROMEDIA FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY. We have
2
MACROMEDIA FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY manuals available for free PDF download: Manual, User Manual
MACROMEDIA FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY Manual (386 pages)
Flash JavaScript Dictionary
Brand:
MACROMEDIA
| Category:
Software
| Size: 3.12 MB
Table of Contents
Table of Contents
3
CHAPTER 1: Introduction
17
Overview of the Macromedia Flash Javascript API
17
The Flash Document Object Model
19
The Document Object
20
Specifying the Target of an Action
21
Summary of the DOM Structure
22
The Polystar Example
23
CHAPTER 2 Top-Level Functions
25
CHAPTER 3 Objects
41
Bitmapinstance Object
43
Bitmapinstance.getbits()
44
Bitmapinstance.hpixels
44
Bitmapinstance.setbits()
45
Bitmapinstance.vpixels
45
Bitmapitem Object
47
Bitmapitem.allowsmoothing
47
Bitmapitem.compressiontype
48
Bitmapitem.quality
48
Bitmapitem.useimportedjpegquality
48
Compiledclipinstance Object
50
Compiledclipinstance.accname
50
Compiledclipinstance.actionscript
51
Compiledclipinstance.description
51
Compiledclipinstance.forcesimple
52
Compiledclipinstance.shortcut
52
Compiledclipinstance.silent
52
Compiledclipinstance.tabindex
53
Componentinstance Object
54
Componentinstance.parameters
54
Componentspanel Object
55
Componentspanel.additemtodocument()
55
Contour Object
56
Contour.gethalfedge()
56
Contour.interior
57
Contour.orientation
58
Document Object
59
Document.accname
64
Document.adddatatodocument()
65
Document.adddatatoselection()
65
Document.additem()
66
Document.addnewline()
67
Document.addnewoval()
67
Document.addnewpublishprofile()
68
Document.addnewrectangle()
69
Document.addnewscene()
70
Document.addnewtext()
71
Document.align()
71
Document.allowscreens()
72
Document.arrange()
72
Document.autolabel
73
Document.backgroundcolor
73
Document.breakapart()
74
Document.caneditsymbol()
74
Document.canrevert()
75
Document.cantestmovie()
75
Document.cantestscene()
76
Document.clipcopy()
76
Document.clipcut()
77
Document.clippaste()
77
Document.close()
78
Document.convertlinestofills()
78
Document.converttosymbol()
79
Document.currentpublishprofile
80
Document.currenttimeline
80
Document.deletepublishprofile()
81
Document.deletescene()
81
Document.deleteselection()
82
Document.description
82
Document.distribute()
83
Document.distributetolayers()
83
Document.documenthasdata()
84
Document.duplicatepublishprofile()
84
Document.duplicatescene()
85
Document.duplicateselection()
85
Document.editscene()
86
Document.entereditmode()
86
Document.exiteditmode()
87
Document.exportpublishprofile()
87
Document.exportswf()
88
Document.forcesimple
89
Document.framerate
89
Document.getaligntodocument()
90
Document.getcustomfill()
90
Document.getcustomstroke()
91
Document.getdatafromdocument()
92
Document.getelementproperty()
93
Document.getelementtextattr()
93
Document.getselectionrect()
94
Document.gettextstring()
95
Document.gettimeline()
96
Document.gettransformationpoint()
96
Document.group()
97
Document.height
97
Document.importpublishprofile()
98
Document.importswf()
98
Document.library
99
Document.livepreview
99
Document.match()
100
Document.mouseclick()
100
Document.mousedblclk()
101
Document.moveselectedbezierpointsby()
102
Document.moveselectionby()
102
Document.name
103
Document.optimizecurves()
103
Document.path
104
Document.publish()
104
Document.publishprofiles
105
Document.removedatafromdocument()
105
Document.removedatafromselection()
106
Document.renamepublishprofile()
106
Document.renamescene()
107
Document.reorderscene()
107
Document.resettransformation()
108
Document.revert()
108
Document.rotateselection()
109
Document.save()
109
Document.saveandcompact()
110
Document.scaleselection()
110
Document.screenoutline
111
Document.selectall()
112
Document.selection
112
Document.selectnone()
114
Document.setaligntodocument()
115
Document.setcustomfill()
115
Document.setcustomstroke()
116
Document.setelementproperty()
116
Document.setelementtextattr()
117
Document.setfillcolor()
118
Document.setinstancealpha()
118
Document.setinstancebrightness()
119
Document.setinstancetint()
119
Document.setselectionbounds()
120
Document.setselectionrect()
120
Document.setstroke()
121
Document.setstrokecolor()
122
Document.setstrokesize()
122
Document.setstrokestyle()
123
Document.settextrectangle()
123
Document.settextselection()
124
Document.settextstring()
125
Document.settransformationpoint()
125
Document.silent
126
Document.skewselection()
127
Document.smoothselection()
127
Document.space()
128
Document.straightenselection()
129
Document.swapelement()
129
Document.testmovie()
130
Document.testscene()
130
Document.timelines
131
Document.tracebitmap()
131
Document.transformselection()
132
Document.ungroup()
132
Document.unlockallelements()
133
Document.viewmatrix
133
Document.width
134
Document.xmlpanel()
134
Drawinglayer Object
135
Drawinglayer.begindraw()
135
Drawinglayer.beginframe()
136
Drawinglayer.cubiccurveto()
137
Drawinglayer.curveto()
137
Drawinglayer.drawpath()
138
Drawinglayer.enddraw()
138
Drawinglayer.endframe()
139
Drawinglayer.lineto()
139
Drawinglayer.moveto()
140
Drawinglayer.newpath()
140
Drawinglayer.setcolor()
141
Edge Object
142
Edge.getcontrol()
142
Edge.gethalfedge()
143
Edge.ID
143
Edge.isline
144
Edge.setcontrol()
144
Edge.splitedge()
145
Effect Object
146
Effect.effectname
146
Effect.groupname
147
Effect.sourcefile
147
Effect.symboltype
147
Effect.usexmltoui
148
Element Object
149
Element.depth
150
Element.elementtype
150
Element.getpersistentdata()
151
Element.haspersistentdata()
151
Element.height
152
Element.left
152
Element.locked
153
Element.matrix
153
Element.name
154
Element.removepersistentdata()
154
Element.setpersistentdata()
154
Element.top
155
Element.width
156
Embeddedvideoinstance Object
157
Fill Object
158
Fill.color
158
Fill.colorarray
159
Fill.matrix
159
Fill.posarray
159
Fill.style
160
Flash Object
161
Fl.activeeffect
163
Fl.browseforfileurl()
163
Fl.closeall()
164
Fl.closedocument()
164
Fl.componentspanel
165
Fl.configdirectory
165
Fl.configuri
166
Fl.createdocument()
166
Fl.createnewdoclist
167
Fl.createnewdoclisttype
167
Fl.createnewtemplatelist
167
Fl.documents
168
Fl.drawinglayer
168
Fl.effects
169
Fl.enableimmediateupdates()
169
Fl.fileexists()
170
Fl.finddocumentindex()
170
Fl.getdocumentdom()
171
Fl.mapplayerurl()
171
Fl.math
172
Fl.mrurecentfilelist
172
Fl.mrurecentfilelisttype
173
Fl.opendocument()
173
Fl.openproject()
174
Fl.openscript()
174
Fl.outputpanel
175
Fl.quit()
175
Fl.reloadeffects()
176
Fl.reloadtools()
176
Fl.revertdocument()
177
Fl.runscript()
177
Fl.saveall()
178
Fl.savedocument()
179
Fl.savedocumentas()
179
Fl.setactivewindow()
180
Fl.tools
181
Fl.trace()
181
Fl.version
181
Fl.xmlui
182
Folderitem Object
183
Fontitem Object
184
Frame Object
185
Frame.actionscript
186
Frame.duration
186
Frame.elements
187
Frame.labeltype
187
Frame.motiontweenorienttopath
188
Frame.motiontweenrotate
188
Frame.motiontweenrotatetimes
189
Frame.motiontweenscale
189
Frame.motiontweensnap
189
Frame.motiontweensync
190
Frame.name
190
Frame.shapetweenblend
190
Frame.soundeffect
191
Frame.soundlibraryitem
191
Frame.soundloop
191
Frame.soundloopmode
192
Frame.soundname
192
Frame.soundsync
193
Frame.startframe
193
Frame.tweeneasing
193
Frame.tweentype
194
Halfedge Object
195
Halfedge.getedge()
195
Halfedge.getnext()
196
Halfedge.getoppositehalfedge()
196
Halfedge.getprev()
197
Halfedge.getvertex()
197
Halfedge.ID
198
Instance Object
199
Instance.instancetype
199
Instance.libraryitem
199
Item Object
201
Item.adddata()
202
Item.getdata()
202
Item.hasdata()
203
Item.itemtype
203
Item.linkageclassname
204
Item.linkageexportforas
204
Item.linkageexportforrs
204
Item.linkageexportinfirstframe
205
Item.linkageidentifier
205
Item.linkageimportforrs
206
Item.linkageurl
206
Item.name
206
Item.removedata()
207
Layer Object
208
Layer.color
208
Layer.framecount
209
Layer.frames
209
Layer.height
210
Layer.layertype
210
Layer.locked
210
Layer.name
211
Layer.outline
211
Layer.parentlayer
212
Layer.visible
212
Library Object
213
Library.additemtodocument()
214
Library.addnewitem()
215
Library.deleteitem()
215
Library.duplicateitem()
216
Library.edititem()
216
Library.expandfolder()
217
Library.finditemindex()
218
Library.getitemproperty()
218
Library.getitemtype()
219
Library.getselecteditems()
219
Library.importembeddedswf()
220
Library.itemexists()
220
Library.items
221
Library.movetofolder()
221
Library.newfolder()
222
Library.renameitem()
222
Library.selectall()
223
Library.selectitem()
223
Library.selectnone()
224
Library.setitemproperty()
225
Library.updateitem()
225
Linkedvideoinstance Object
227
Math Object
228
Math.concatmatrix()
228
Math.invertmatrix()
229
Math.pointdistance()
229
Matrix Object
230
Matrix.a
230
Matrix.b
231
Matrix.C
231
Matrix.D
232
Matrix.tx
232
Matrix.ty
232
Outputpanel Object
234
Outputpanel.clear()
234
Outputpanel.save()
235
Outputpanel.trace()
235
Parameter Object
237
Parameter.category
237
Parameter.insertitem()
238
Parameter.listindex
238
Parameter.name
239
Parameter.removeitem()
239
Parameter.value
240
Parameter.valuetype
241
Parameter.verbose
241
Path Object
242
Path.addcubiccurve()
242
Path.addcurve()
243
Path.addpoint()
244
Path.clear()
244
Path.close()
245
Path.makeshape()
245
Path.newcontour()
246
Path.npts
247
Screen Object
248
Screen.accname
249
Screen.childscreens
249
Screen.description
250
Screen.forcesimple
250
Screen.hidden
251
Screen.instancename
251
Screen.name
252
Screen.nextscreen
252
Screen.parameters
253
Screen.parentscreen
253
Screen.prevscreen
254
Screen.silent
254
Screen.tabindex
255
Screen.timeline
255
Screenoutline Object
256
Screenoutline.copyscreenfromfile()
257
Screenoutline.currentscreen
258
Screenoutline.deletescreen()
258
Screenoutline.duplicatescreen()
259
Screenoutline.getselectedscreens()
259
Screenoutline.insertnestedscreen()
260
Screenoutline.insertscreen()
260
Screenoutline.movescreen()
261
Screenoutline.renamescreen()
262
Screenoutline.rootscreen
262
Screenoutline.screens
263
Screenoutline.setcurrentscreen()
263
Screenoutline.setscreenproperty()
264
Screenoutline.setselectedscreens()
264
Shape Object
266
Shape.beginedit()
266
Shape.contours
267
Shape.deleteedge()
267
Shape.edges
268
Shape.endedit()
268
Shape.isgroup
269
Shape.vertices
269
Sounditem Object
270
Sounditem.bitrate
270
Sounditem.bits
271
Sounditem.compressiontype
271
Sounditem.convertstereotomono
272
Sounditem.quality
272
Sounditem.samplerate
272
Sounditem.useimportedmp3Quality
273
Stroke Object
274
Stroke.breakatcorners
275
Stroke.color
275
Stroke.curve
275
Stroke.dash1
276
Stroke.dash2
276
Stroke.density
277
Stroke.dotsize
277
Stroke.dotspace
278
Stroke.hatchthickness
278
Stroke.jiggle
279
Stroke.length
279
Stroke.pattern
280
Stroke.rotate
280
Stroke.space
281
Stroke.style
281
Stroke.thickness
282
Stroke.variation
282
Stroke.waveheight
283
Stroke.wavelength
283
Symbolinstance Object
284
Symbolinstance.accname
285
Symbolinstance.actionscript
286
Symbolinstance.buttontracking
286
Symbolinstance.coloralphaamount
287
Symbolinstance.coloralphapercent
287
Symbolinstance.colorblueamount
287
Symbolinstance.colorbluepercent
288
Symbolinstance.colorgreenamount
288
Symbolinstance.colorgreenpercent
288
Symbolinstance.colormode
289
Symbolinstance.colorredamount
289
Symbolinstance.colorredpercent
290
Symbolinstance.description
290
Symbolinstance.firstframe
290
Symbolinstance.forcesimple
291
Symbolinstance.loop
291
Symbolinstance.shortcut
292
Symbolinstance.silent
292
Symbolinstance.symboltype
293
Symbolinstance.tabindex
293
Symbolitem Object
294
Symbolitem.converttocompiledclip()
294
Symbolitem.exportswc()
295
Symbolitem.exportswf()
295
Symbolitem.sourceautoupdate
296
Symbolitem.sourcefilepath
296
Symbolitem.sourcelibraryname
297
Symbolitem.symboltype
297
Symbolitem.timeline
297
Textattrs Object
299
Textattrs.aliastext
300
Textattrs.alignment
300
Textattrs.autokern
300
Textattrs.bold
301
Textattrs.characterposition
301
Textattrs.characterspacing
302
Textattrs.face
302
Textattrs.fillcolor
302
Textattrs.indent
303
Textattrs.italic
303
Textattrs.leftmargin
303
Textattrs.linespacing
304
Textattrs.rightmargin
304
Textattrs.rotation
305
Textattrs.size
305
Textattrs.target
305
Textattrs.url
306
Text Object
307
Text.accname
308
Text.autoexpand
309
Text.border
309
Text.description
310
Text.embeddedcharacters
310
Text.embedranges
310
Text.gettextattr()
311
Text.gettextstring()
312
Text.length
313
Text.linetype
313
Text.maxcharacters
313
Text.orientation
314
Text.renderashtml
314
Text.scrollable
315
Text.selectable
315
Text.selectionend
315
Text.selectionstart
316
Text.settextattr()
316
Text.settextstring()
317
Text.shortcut
318
Text.silent
319
Text.tabindex
319
Text.textruns
320
Text.texttype
320
Text.usedevicefonts
320
Text.variablename
321
Textrun Object
322
Textrun.characters
322
Textrun.textattrs
322
Timeline Object
324
Timeline.addmotionguide()
326
Timeline.addnewlayer()
326
Timeline.clearframes()
327
Timeline.clearkeyframes()
328
Timeline.converttoblankkeyframes()
328
Timeline.converttokeyframes()
329
Timeline.copyframes()
330
Timeline.createmotiontween()
331
Timeline.currentframe
331
Timeline.currentlayer
332
Timeline.cutframes()
332
Timeline.deletelayer()
333
Timeline.expandfolder()
333
Timeline.findlayerindex()
334
Timeline.framecount
335
Timeline.getframeproperty()
335
Timeline.getlayerproperty()
336
Timeline.getselectedframes()
337
Timeline.getselectedlayers()
337
Timeline.insertblankkeyframe()
338
Timeline.insertframes()
338
Timeline.insertkeyframe()
340
Timeline.layercount
340
Timeline.layers
341
Timeline.name
341
Timeline.pasteframes()
341
Timeline.removeframes()
342
Timeline.reorderlayer()
343
Timeline.reverseframes()
344
Timeline.selectallframes()
344
Timeline.setframeproperty()
345
Timeline.setlayerproperty()
346
Timeline.setselectedframes()
346
Timeline.setselectedlayers()
347
Timeline.showlayermasking()
348
Toolobj Object
349
Toolobj.enablepicontrol()
350
Toolobj.position
351
Toolobj.seticon()
351
Toolobj.setmenustring()
352
Toolobj.setoptionsfile()
352
Toolobj.setpi()
353
Toolobj.settoolname()
353
Toolobj.settooltip()
354
Toolobj.showpicontrol()
354
Toolobj.showtransformhandles()
355
Tools Object
356
Tools.activetool
357
Tools.altisdown
357
Tools.constrainpoint()
357
Tools.ctlisdown
358
Tools.getkeydown()
358
Tools.mouseisdown
358
Tools.pendownloc
358
Tools.penloc
359
Tools.setcursor()
359
Tools.shiftisdown
360
Tools.snappoint()
360
Tools.toolobjs
360
Vertex Object
361
Vertex.gethalfedge()
361
Vertex.setlocation()
361
Vertex.X
362
Vertex.y
363
Videoitem Object
364
XMLUI Object
365
Xmlui.accept()
365
Xmlui.cancel()
366
Xmlui.get()
366
Xmlui.set()
366
CHAPTER 4: C-Level Extensibility
369
How Integrating C Functions Works
369
C-Level Extensibility and the Javascript Interpreter
370
Sample Implementation
374
Data Types
375
The C-Level API
376
Jsbool Js_Definefunction()
377
Unsigned Short *Js_Valuetostring()
378
Jsbool Js_Valuetointeger()
378
Jsbool Js_Valuetodouble()
379
Jsbool Js_Valuetoboolean()
379
Jsbool Js_Valuetoobject()
380
Jsbool Js_Stringtovalue()
380
Jsbool Js_Doubletovalue()
381
Jsval Js_Booleantovalue()
381
Jsval Js_Bytestovalue()
381
Jsval Js_Integertovalue()
382
Jsval Js_Objecttovalue()
382
Unsigned Short *Js_Objecttype()
382
Jsobject *Js_Newarrayobject()
383
Long Js_Getarraylength()
383
Jsbool Js_Getelement()
384
Jsbool Js_Setelement()
384
Jsbool Js_Executescript()
385
Advertisement
MACROMEDIA FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY User Manual (22 pages)
Brand:
MACROMEDIA
| Category:
Software
| Size: 0.4 MB
Table of Contents
Table of Contents
3
CHAPTER 1 Introduction
5
About Using Macromedia Flash MX Professional 2004 to Author Flash Lite Content
5
CHAPTER 2 Getting Started
7
Flash Lite Features
7
Navigation and Key Events
7
Text and Fonts
7
Actionscript Functions and Properties
8
Flash Lite Sound
8
CHAPTER 3: Developing Content for Flash Lite
9
Testing Flash Lite Compatible Content
11
Tutorial I-Creating a Simple Movie for Flash Lite (no Sound)
11
Flash Lite Sound
12
APPENDIX A: Warning/Error Messages
15
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-EXTENDING DREAMWEAVER
MACROMEDIA DREAMWEAVER MX 2004-DREAMWEAVER API
MACROMEDIA FLASH MX 2004-DATA
MACROMEDIA FLASH MX 2004-LEARNING FLASH
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