MACROMEDIA FLASH MEDIA SERVER 2-INSTALLING FLASH MEDIA SERVER 2 Manuale Utente Pagina 12

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 15
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 11
Notes
ShapeRefobject
TheShapeRefobjectisu sedtoreferenceashapeonthestage,itshouldneverbeinstantiated,you
cangetthecorrectonefromtheshapeControllersuchasfromallShapes,selectedShapesorina
shapeevent.
Itcontainsapropertycalled‘sprite,thisisthea ctualshapeMovieClip,thereisalsoaproperty
called‘propertyBag’,thisisahelperclasswhichholdsallthedataforashape.Youcanupda te
propertiesonashapebyeditingitinthepropertyBagandthencalling sa ve,e.g.
(shapeController.selectedShapes[0]asShapeRef).property Bag.setPropert y(“width”,200);
(shapeController.selectedShapes[0]asShapeRef).save();
andthechangewillbesenttoeverybody.
Shapeproperties &ifrequired
IfyouaremanipulatingashapemanuallysuchaswithshapeController.cre ateShape(or
shapeController.setShapePropertyyouneedtoknowwhatpropertiesashapesu pports,ifa
propertyisreq uiredyoumustincludeitwhenyoucreateashapev iathecreateShapemethod.All
colorsarenumbersandcanbe‐1fornofill/noline.
Circle
Property Required Notesif
applicable
x True
y True
width True
height True
line Size True
line Color True Canbe‐1fornoline
fillColor True Canbe‐1fornofill
Freehand
Property Required Notesif
applicable
x True
y True
width True
height True
line Size True
Vedere la pagina 11
1 2 ... 7 8 9 10 11 12 13 14 15

Commenti su questo manuale

Nessun commento