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

  • 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 2
Shapeproperties&ifrequired ................................ ................................................................... ......12
Introduction
TheWhiteboardComponentiswrittenforusewithFlexapplicationsandusesFlashMediaServer
asabackendfordataandsynchronization.Thewhite boardcomesintheformofacontainer
Whiteboard.WhiteboardManager.ThisclassisacanvasandallthewhiteboardsUIelementscan
beputintoitoraround it,thisgivesyoucontroloverallnonshape UIsuchasthemenubarsand
toolbarsetcforafullycustomizedexperience.
AswellasUIcustomizabil itytherearealsomanypublicAPIswhichgivefullcontroloverthe
whiteboardfunc tiona lity,aslowlevelascreatingsh apeswithjustmethodcalls.ThepublicAPIs
aresplitintoseveral‘controllers’whichhostrelevantmethods,propertiesandevents.
Setting upthewhit eboard
Server‐side(FlashMediaServer)
(Ifyouarenewtoflashmediaserverpleaseread
http://flashcomguru.com/artic les/fms2_basics.cfmandthevariousothergettingstartedarticles
onflashcomguru)
Tosetupyourserversideapplicationsimplytaketh eWhiteboard.ascandcopyitintoyour
applicationdirectoryandthenaddthelineload(“Whiteb oard.asc”);toyourownserversidecode .
Togetstartedquicklywit hthesamplescopytheflex_whiteboardfolderfromthe/serverside/
d irectoryintoyourlocalhostapplicationsfolder(typicallyc:\programfiles\Macro media\Flash
MediaServer2\applications\.
Client‐side(FlexBuilder)
InordertousethewhiteboardinyourprojectthefileWhiteboard.SWCmustbeincludedinyour
proj ectaswe llastheresourcefiles(menusandicons).Todothisfindaversionofthewhiteboard
fromthesamplesyouwishtousesuchastheBasi cWhiteboardandbrowseintoit.Ineach
sa mplethereisafoldercalled‘Whiteboard’,thisentirefoldermustbe broughtintoyourproject.
Youcandothisbyeither importingthefolde rin eclipsebyrightclickingonyourapplication‐>
import ‐>filesystemandthenbrowsingtothefolder.
Zobrazit stránku 2
1 2 3 4 5 6 7 8 ... 14 15

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

Žádné komentáře