DragonBones / DragonBonesAS

DragonBones ActionScript Runtime
MIT License
250 stars 117 forks source link

help : no AS easy tutorial #88

Open mirobane opened 7 years ago

mirobane commented 7 years ago

hi,

im unity artist and for my new job i am asked to work in adobe air, knowing about AS import existence im looking how to do . but totaly loose someone can explain me how to put my Db work on flash like if i am a newbie (btw how include library and how to see my work on Flash cc 14 ) ?

this will help thx

akdcl commented 7 years ago
  1. Create a new ActionScript 3.0 document in Flash CC (Animate CC).
  2. Save the document as *.fla.
  3. Copy the DragonBones common source code to the document folder.
  4. Copy engine source code such as Starling source code (2.1) and DragonBones Starling source code (2.x) to the document folder.
  5. Copy all the DragonBones Starling demos files to the document folder.
  6. Setting document->Properties->Publish->Script:
    • Document class: "HelloDragonBones"
    • Source path: add "src"
  7. Control->Test (Ctrl + Enter) the document.

The document folder structure should be like this:

Folder
    |- *.fla
    |- src/
        |- dragonBones/
            |- starling/
            |- ...
        |- starling/
        |- com/
        |- ...
    |- assets/
    |- ...
mirobane commented 7 years ago

thank you for quick reply, i will try this tonigth ! :)

mirobane commented 7 years ago

hi,

so, i make the new file, but not found ./src folder when save file

btw i maked it, and put like you said, restarted Flash CC on the file and, try to import Json and texture atlas and json are not reconised :c