tlc660
01-12-2007, 04:55 PM
I have created 2 projects with Flex Builder 2
one Library Project(myLib) and another is ActionScript Project(myApp)
i link the myLib to myApp by setting in the
project properties -> action script build path -> library path -> add project -> myLib
all call to the classes in myLib are success, and myApp work well.
but once i set the Link Type in [library path] to External,
the swf wouldnt compile, it throw me
VerifyError: Error #1014: Class myClass could not be found.
i have try :
copy the myLib.swc to bin folder(where the myApp.swf locate). --not working
extra the library.swf from myLib.swc and copy to bin folder. --not working
rename the library.swf to myLib.swf. --not working
:eek:
the instruction in ASDoc only :
To set the SWC file as an external library file:
1.With a project selected in the Navigator view, select Project > Properties > Flex Build Path.
2.Select the Library tab, and then select and expand the SWC file entry to display the SWC options.
3.Double-click the Link Type option. The Library Path Items Options dialog box appears.
4.Select the External option, and click OK.
but no mention how to get it work:confused:
anyone know how to work on it?
one Library Project(myLib) and another is ActionScript Project(myApp)
i link the myLib to myApp by setting in the
project properties -> action script build path -> library path -> add project -> myLib
all call to the classes in myLib are success, and myApp work well.
but once i set the Link Type in [library path] to External,
the swf wouldnt compile, it throw me
VerifyError: Error #1014: Class myClass could not be found.
i have try :
copy the myLib.swc to bin folder(where the myApp.swf locate). --not working
extra the library.swf from myLib.swc and copy to bin folder. --not working
rename the library.swf to myLib.swf. --not working
:eek:
the instruction in ASDoc only :
To set the SWC file as an external library file:
1.With a project selected in the Navigator view, select Project > Properties > Flex Build Path.
2.Select the Library tab, and then select and expand the SWC file entry to display the SWC options.
3.Double-click the Link Type option. The Library Path Items Options dialog box appears.
4.Select the External option, and click OK.
but no mention how to get it work:confused:
anyone know how to work on it?