>
> I moved FlexJS up in the dependency list in the build path.

I meant: I moved FlexJSUI up in the dependency list in the build path.

On Tue, Nov 25, 2014 at 10:45 AM, OmPrakash Muppirala <bigosma...@gmail.com>
wrote:

> The mx.states package in FlexJSUI is causing a collision with the Flex
> SDK's mx.states package.  Is there a reason why they have the same package
> names.
>
> Why not org.apache.flex.states instead?
>
> Is there a way to tell FB to use FlexJSUI's mx.states.* instead of the
> Flex SDK's?  Here is what I tried on my FlexJSJX project:
> 1. I tried removing the mx swc from the Flex SDK library path
> 2. I moved FlexJS up in the dependency list in the build path.
>
> No luck.  I am still getting these errors:
>
> Description Resource Path Location Type
> 1119: Access of possibly undefined property document through a reference
> with static type mx.states:SetEventHandler. StatesWithTransitionsImpl.as
> /FlexJSJX/src/org/apache/flex/core line 213 Flex Problem
> 1119: Access of possibly undefined property document through a reference
> with static type mx.states:SetEventHandler. StatesWithTransitionsImpl.as
> /FlexJSJX/src/org/apache/flex/core line 217 Flex Problem
> 1119: Access of possibly undefined property document through a reference
> with static type mx.states:SetEventHandler. StatesWithTransitionsImpl.as
> /FlexJSJX/src/org/apache/flex/core line 284 Flex Problem
> 1119: Access of possibly undefined property document through a reference
> with static type mx.states:SetEventHandler. StatesWithTransitionsImpl.as
> /FlexJSJX/src/org/apache/flex/core line 288 Flex Problem
> 1119: Access of possibly undefined property document through a reference
> with static type mx.states:SetProperty. StatesWithTransitionsImpl.as
> /FlexJSJX/src/org/apache/flex/core line 204 Flex Problem
> 1119: Access of possibly undefined property document through a reference
> with static type mx.states:SetProperty. StatesWithTransitionsImpl.as
> /FlexJSJX/src/org/apache/flex/core line 206 Flex Problem
> 1119: Access of possibly undefined property document through a reference
> with static type mx.states:SetProperty. StatesWithTransitionsImpl.as
> /FlexJSJX/src/org/apache/flex/core line 270 Flex Problem
> 1119: Access of possibly undefined property document through a reference
> with static type mx.states:SetProperty. StatesWithTransitionsImpl.as
> /FlexJSJX/src/org/apache/flex/core line 271 Flex Problem
> 1119: Access of possibly undefined property document through a reference
> with static type mx.states:SetProperty. StatesWithTransitionsImpl.as
> /FlexJSJX/src/org/apache/flex/core line 275 Flex Problem
> 1119: Access of possibly undefined property document through a reference
> with static type mx.states:SetProperty. StatesWithTransitionsImpl.as
> /FlexJSJX/src/org/apache/flex/core line 276 Flex Problem
> 1119: Access of possibly undefined property previousValue through a
> reference with static type mx.states:SetProperty.
> StatesWithTransitionsImpl.as /FlexJSJX/src/org/apache/flex/core line 204 Flex
> Problem
> 1119: Access of possibly undefined property previousValue through a
> reference with static type mx.states:SetProperty.
> StatesWithTransitionsImpl.as /FlexJSJX/src/org/apache/flex/core line 206 Flex
> Problem
> 1119: Access of possibly undefined property previousValue through a
> reference with static type mx.states:SetProperty.
> StatesWithTransitionsImpl.as /FlexJSJX/src/org/apache/flex/core line 270 Flex
> Problem
> 1119: Access of possibly undefined property previousValue through a
> reference with static type mx.states:SetProperty.
> StatesWithTransitionsImpl.as /FlexJSJX/src/org/apache/flex/core line 275 Flex
> Problem
> 1178: Attempted access of inaccessible property document through a
> reference with static type mx.states:AddItems.
> StatesWithTransitionsImpl.as /FlexJSJX/src/org/apache/flex/core line 237 Flex
> Problem
> 1178: Attempted access of inaccessible property document through a
> reference with static type mx.states:AddItems.
> StatesWithTransitionsImpl.as /FlexJSJX/src/org/apache/flex/core line 244 Flex
> Problem
> 1178: Attempted access of inaccessible property document through a
> reference with static type mx.states:AddItems.
> StatesWithTransitionsImpl.as /FlexJSJX/src/org/apache/flex/core line 249 Flex
> Problem
>
>

Reply via email to