I created a simple flex application which contains following line of codes
<?xml version="1.0" encoding="utf-8"?>
xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">
<!-- Place non-visual elements (e.g., services, value objects) here -->
When I run this application in flex I got the following error on the browser
VerifyError: Error #1014: Class spark.components::HGroup could not be found.
also there is a warning on the my flash builder console which follows
|This compilation unit did not have a factoryClass specified in Frame metadata to load the configured runtime shared libraries. To compile without runtime shared libraries either set the -static-link-runtime-shared-libraries option to true or remove the -runtime-shared-libraries option.||IRegion.mxml||/IRegion/src/com/region||Unknown||Flex Problem|
after that i setted -static-link-runtime-shared-libraries=true option in additional compiler arguments after that the warning become error which follows
|Unable to locate specified base class 'spark.components.HGroup' for component class 'com.region.IRegion'.||IRegion.mxml||/IRegion/src/com/region||Unknown||Flex Problem|
my flex sdk version is flex 4.6.0
Also I have the same problem in the case of s:Button
what I need to do?
A Flex app must start with an Application tag (and be in a Flex Project, not an ActionScript Project)