adobe flash builder error of HScrollBarSkin and VScrollBarSkin

1796
5
Jump to solution
09-02-2014 07:57 PM
LiYao
by
New Contributor III

Hi there,

when I build my adobe flash builder project, I get the errors as shown in the picture attached, but I still can run the web application with a strange display.

Is there anything missed in my project?

adobe error.jpg

0 Kudos
1 Solution

Accepted Solutions
LiYao
by
New Contributor III

Hi Robert,

After I deleting the project and importing the original one again, the errors disappear. 

Thank you very much!

View solution in original post

0 Kudos
5 Replies
RobertScheitlin__GISP
MVP Emeritus

Li Yao,

   Do you have "src/com/esri/viewer/skins/HScrollBarSkin.mxml" in your project?

0 Kudos
LiYao
by
New Contributor III

Hi Robert,

Thanks for the quick reply. Yes I have src/com/esri/viewer/skins/HScrollBarSkin.mxml in my project. The HScrollBarSkin.mxml code:

<?xml version="1.0" encoding="utf-8"?>

<!--

///////////////////////////////////////////////////////////////////////////

// Copyright (c) 2010-2011 Esri. All Rights Reserved.

//

// Licensed under the Apache License, Version 2.0 (the "License");

// you may not use this file except in compliance with the License.

// You may obtain a copy of the License at

//

//    http://www.apache.org/licenses/LICENSE-2.0

//

// Unless required by applicable law or agreed to in writing, software

// distributed under the License is distributed on an "AS IS" BASIS,

// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

// See the License for the specific language governing permissions and

// limitations under the License.

///////////////////////////////////////////////////////////////////////////

-->

<!---

@private

-->

<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009"

             xmlns:s="library://ns.adobe.com/flex/spark"

             alpha.disabled="0.5"

             alpha.inactive="0.5"

             minHeight="15"

             minWidth="35">

    <fx:Metadata>

        [HostComponent("spark.components.HScrollBar")]

    </fx:Metadata>

    <s:states>

        <s:State name="normal"/>

        <s:State name="disabled"/>

        <s:State name="inactive"/>

    </s:states>

    <s:Button id="track"

              width="54"

              left="16" right="15"

              focusEnabled="false"

              skinClass="com.esri.viewer.skins.HScrollBarTrackSkin"/>

    <s:Button id="thumb"

              focusEnabled="false"

              skinClass="com.esri.viewer.skins.HScrollBarThumbSkin"

              visible.inactive="false"/>

    <s:Button id="decrementButton"

              left="0"

              enabled.inactive="false"

              focusEnabled="false"

              skinClass="com.esri.viewer.skins.ScrollBarLeftButtonSkin"/>

    <s:Button id="incrementButton"

              right="0"

              enabled.inactive="false"

              focusEnabled="false"

              skinClass="com.esri.viewer.skins.ScrollBarRightButtonSkin"/>

</s:SparkSkin>

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Li Yao,

   What version of the Adobe Flex SDK are you using. The ArcGIS Viewer for Flex has a minimum requirement of Adobe Flex SDK 4.6

0 Kudos
LiYao
by
New Contributor III

Hi Robert,

I use Adobe Flex SDK 4.6. It is strange that yesterday no these errors.

0 Kudos
LiYao
by
New Contributor III

Hi Robert,

After I deleting the project and importing the original one again, the errors disappear. 

Thank you very much!

0 Kudos