actionscript 3 - Is it possible to compile a FLA using mxmlc? -


let me give little explanation of i'm trying first. i'm working on new as3 based architecture , i'm trying fix issues had in past as2. each screen has own fla, , multiple screens reference components; button example. problem occurs when in button changes. every single screen uses button has republished or else has chance won't pick change due how flash class definitions work: first button definition loads @ runtime 1 uses. if screen using old button loads first using old definition , things break. can take hour or more figure out fla needs exported fix since there many , connection between them isn't obvious. can see, major time sink needs fixed.

i've learned in as2 can use exclude.xml file exclude class definitions swf when fla published. in way, figured out architecture can set there shell swf place button class defined. shell loads in of other screens have button excluded pick shell version. makes sure if in button changes, thing needs republished shell , else picks change @ runtime.

this , good, except when using as3 exclude.xml file no longer works. because of i've turned mxmlc, can mimic exclude.xml functionality using -link-report compiler option build exclude.xml when compiling shell swf, , pass xml -load-externs on every other screen exclude built shell. way i've found publishing swc flash , using -include-libraries build swf swc along -load-externs exclude don't want there. trick fine, except publishing swc not include defined on timeline or, more specifically, stage. lot of design work done on timeline in flash layering on different parts , dropping in named movieclips on place referenced in actionscript, swc doesn't pick of information far can tell.

so come question. there way compile of information in fla using mxmlc can exclude while still being able design out on timeline/stage?

i sent email grant skinner , said way knew of excludes as3 rsl or swc. wasn't entirely sure method worked since had been long time, don't have definitive answer. spent while trying figure out using swcs, didn't decent results i'm giving now.

the important part note is indeed impossible run mxmlc build fla. or @ least if possible, requires complex knowledge not many people know.


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -