MACROMEDIA FLASH MEDIA SERVER 2-INSTALLING FLASH MEDIA SERVER 2 Uživatelský manuál Strana 12

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 15
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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
Zobrazit stránku 11
1 2 ... 7 8 9 10 11 12 13 14 15

Komentáře k této Příručce

Žádné komentáře