On 4/3/12 8 :53PM, "Carol Frampton" <cfram...@adobe.com> wrote:
>Justin, > >You're on your own with OSX. Totally ignore what I said about OSX. I use a Mac too. Don't know what I was thinking. Carol > I did look at ParagraphElement.as on my >system. It doesn't even have 860 lines and there are no instances of >_interactiveChildrenCount in the file. Where did you get your textLayout >sources? It should have come from in/downloads/textLayout_build/src. > >Carol > > >On 4/3/12 8 :12PM, "Justin Mclean" <jus...@classsoftware.com> wrote: > >>Hi, >> >>I'm getting an error when run the build script in asdocs (on OSX if that >>helps). >> >> [asdoc] Loading configuration file >>/Users/justinmclean/Documents/Adobe Flash Builder 4.6/Apache >>Flex/frameworks/flex-config.xml >> [asdoc] /Users/justinmclean/Documents/Adobe Flash Builder 4.6/Apache >>Flex/frameworks/projects/textLayout/src/flashx/textLayout/elements/Paragr >>a >>phElement.as(92): col: 11 Error: Ambiguous reference to >>_interactiveChildrenCount. >> [asdoc] return _interactiveChildrenCount; >> [asdoc] ^ >> [asdoc] /Users/justinmclean/Documents/Adobe Flash Builder 4.6/Apache >>Flex/frameworks/projects/textLayout/src/flashx/textLayout/elements/Paragr >>a >>phElement.as(860): col: 7 Error: Ambiguous reference to >>_interactiveChildrenCount. >> [asdoc] ++ _interactiveChildrenCount ; >> [asdoc] ^ >> [asdoc] /Users/justinmclean/Documents/Adobe Flash Builder 4.6/Apache >>Flex/frameworks/projects/textLayout/src/flashx/textLayout/elements/Paragr >>a >>phElement.as(864): col: 7 Error: Ambiguous reference to >>_interactiveChildrenCount. >> [asdoc] -- _interactiveChildrenCount ; >> [asdoc] ^ >> [asdoc] /Users/justinmclean/Documents/Adobe Flash Builder 4.6/Apache >>Flex/frameworks/projects/textLayout/src/flashx/textLayout/elements/Paragr >>a >>phElement.as(869): col: 11 Error: Ambiguous reference to >>_interactiveChildrenCount. >> [asdoc] return _interactiveChildrenCount != 0 ; >> [asdoc] ^ >> >> >>Anyone else having this issue or is it just something I've managed to >>stuff up? >> >>Changing it like so to ignore textLayout like so "fixes" the issue. >>### Eclipse Workspace Patch 1.0 >>#P Apache Flex >>Index: asdoc/build.xml >>=================================================================== >>--- asdoc/build.xml (revision 1309184) >>+++ asdoc/build.xml (working copy) >>@@ -56,10 +56,12 @@ >> <doc-classes class="RPCClasses"/> >> <doc-classes class="MobileComponentsClasses"/> >> <doc-classes class="SparkDmvClasses"/> >>- >>+ >>+ <!-- >> <doc-classes class="flashx.textLayout.CoreClasses"/> >> <doc-classes class="flashx.textLayout.EditClasses"/> >> <doc-classes >> class="flashx.textLayout.ConversionClasses"/> >>+ --> >> >> <!-- source path for asdoc --> >> <compiler.source-path >>path-element="${flexlib}/projects/airframework/src"/> >>@@ -70,7 +72,7 @@ >> <compiler.source-path >> path-element="${flexlib}/projects/mx/src"/> >> <compiler.source-path >>path-element="${flexlib}/projects/sparkskins/src"/> >> <compiler.source-path >> path-element="${flexlib}/projects/rpc/src"/> >>- <compiler.source-path >>path-element="${flexlib}/projects/textLayout/src"/> >>+ <!-- <compiler.source-path >>path-element="${flexlib}/projects/textLayout/src"/> --> >> <!-- ToDo: download osmf soures --> >> <!--compiler.source-path >>path-element="${flexlib}/projects/osmf/src"/--> >> <compiler.source-path >>path-element="${flexlib}/projects/advancedgrids/src"/> >>@@ -84,14 +86,14 @@ >> <doc-namespaces uri="library://ns.adobe.com/flex/spark"/> >> <doc-namespaces uri="http://www.adobe.com/2006/mxml"/> >> <doc-namespaces uri="http://www.adobe.com/2006/rpcmxml"/> >>- <doc-namespaces >>uri="library://ns.adobe.com/flashx/textLayout"/> >>+ <!-- <doc-namespaces >>uri="library://ns.adobe.com/flashx/textLayout"/> --> >> <doc-namespaces uri="http://ns.adobe.com/2009/mx-mxml"/> >> <doc-namespaces >> uri="http://www.adobe.com/2006/advancedgridsmxml"/> >> <doc-namespaces uri="http://www.adobe.com/2006/charts"/> >> <doc-namespaces >>uri="library://ns.adobe.com/flex/spark-mobilecomponents"/> >> <doc-namespaces >> uri="library://ns.adobe.com/flex/spark-dmv"/> >> >>- <namespace uri="library://ns.adobe.com/flashx/textLayout" >>manifest="${flexlib}/projects/textLayout/manifest.xml"/> >>+ <!-- <namespace >>uri="library://ns.adobe.com/flashx/textLayout" >>manifest="${flexlib}/projects/textLayout/manifest.xml"/> --> >> >> <!-- namespace declaration for asdoc --> >> <namespace uri="http://www.adobe.com/2006/airmxml" >>manifest="${flexlib}/projects/airframework/manifest.xml"/> >>@@ -115,6 +117,7 @@ >> <include name="framework.swc" /> >> <!-- if no osfm sources --> >> <include name="osmf.swc" /> >>+ <include name="textLayout.swc" /> >> </external-library-path> >> >> >>Thanks, >>Justin >