[
https://issues.apache.org/jira/browse/FLEX-33661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13736362#comment-13736362
]
Justin Mclean commented on FLEX-33661:
--------------------------------------
Here's a working example that may help.
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
xmlns:x="http://flex.apache.org/experimental/ns"
initialize="init(event)">
<fx:Script>
<![CDATA[
import mx.events.FlexEvent;
[Bindable] protected var done:int = 0;
protected function init(event:FlexEvent):void
{
var timer:Timer = new Timer(100,100);
timer.addEventListener(TimerEvent.TIMER,
progress);
timer.start();
}
protected function progress(event:TimerEvent):void {
done++;
}
]]>
</fx:Script>
<x:ProgressBar id="pb" totalProgress="100" currentProgress="{done}" />
</s:Application>
> Could not resolve <s:ProgressBar> to a component implementation.
> ----------------------------------------------------------------
>
> Key: FLEX-33661
> URL: https://issues.apache.org/jira/browse/FLEX-33661
> Project: Apache Flex
> Issue Type: Bug
> Components: mx: Progress Bar
> Affects Versions: Apache Flex 4.10.0
> Environment: Apache Flex 4.10.0 with Flash Builder 4.7 on Windows 7
> Reporter: Alexander Farber
> Labels: easyfix, easytest
> Attachments: ProgressTest.mxml
>
>
> The documentation at
> http://flex.apache.org/asdoc/spark/components/ProgressBar.html lists
> spark.components.ProgressBar
> But it is impossible to use that component in MXML as demonstrated by the
> attached ProgressTest.mxml.
> The compile-time error is: Could not resolve <s:ProgressBar> to a component
> implementation.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira