MACROMEDIA FLASH MEDIA SERVER 2-INSTALLING FLASH MEDIA SERVER 2 Manual do Utilizador Página 12

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 15
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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
Vista de página 11
1 2 ... 7 8 9 10 11 12 13 14 15

Comentários a estes Manuais

Sem comentários