Events on a SWC work in Flash but not AIR
i built swc (uimovieclip document) in flash cs5.
when use flash (flash player 10), can register events directly on symbols in swc.
when use in air (2.0), thing can events swc's document member (there no errors when adding events other symbols in swc, never fire).
all examples found on net using flash cs3 display in web browser.
could point me working solution incorporating swc's flash cs 5 air 2.0?
only symbols in swc converted swc component can used in flex.
i don't understand problem if wawnt import symbol made in flash flex this:
1. create symbol
2. convert flex component (commands -> convert symbol flex component)
3. swc file
4. add project (you don't have prefer to)
5. in flex project right click -> propreties -> flex build path -> add swc or add swc folder
6. select file/folder swc
7. use symbols project
the symbols taken library not stage. oh ya... 1 more thing... if want use var myvar:movieclip = ... use uimovieclip instead.
p.s. sorry if wrote 'lil tutorial , that's not u wore locking for...
More discussions in Archived Spaces
adobe
Comments
Post a Comment