Category Archives: Compiler

Errors generated at compile time

A cycle was detected in the build path of project

A cycle was detected in the build path of project: MyProject PROBLEM There is a cyclical reference between two projects. When you receive this error the two projects should be listed. SOLUTION The solution is to remove the reference in … Continue reading

Posted in Compiler | Leave a comment

Launch Failed: Process terminated without connection to the debugger.

The content cannot be loaded because their was a problem loading an extension: Error: Requested extension could not be found. Cause I tried to update an extension. I opened the project properties screen and compiler options and selected the extension … Continue reading

Posted in AIR, Compiler | Leave a comment

Invalid application descriptor: Unknown namespace: http://ns.adobe.com/air/application/3.4

Process terminated without establishing connection to debugger. DVFreeThread – CFMachPortCreateWithPort hack = 0×517860, fPowerNotifyPort= 0x524aa0 DVFreeThread – CFMachPortCreateWithPort hack = 0x383d760, fPowerNotifyPort= 0x383e100 invalid application descriptor: Unknown namespace: http://ns.adobe.com/air/application/3.4 Launch command details:  “/Applications/Adobe Flash Builder 4.6/sdks/4.6.0/bin/adl” -runtime “/Applications/Adobe Flash Builder … Continue reading

Posted in AIR, Compiler | 3 Comments

Error: Type was not found: FlexUnitTestRunnerUI

Error: Type was not found or was not a compile-time constant: FlexUnitTestRunnerUI Cause Not sure Solution Not sure Links http://code.google.com/p/vectoreditor/issues/detail?id=11#c5 http://workflowflash.com/105879/flash-builder-4-5-tip-use-a-custom-flexunit-sdk.php

Posted in Compiler, Flex, FlexUnit | Leave a comment

Exception during transcoding – Unable to build font

Exception during transcoding: Cannot embed local font ‘assets/fonts/myfont_rg.ttf’ as CFF. The CSS @font-face ‘local()’ syntax is not supported. Please specify a path directly to a font file using the ‘url()’ syntax. For [Embed] syntax the ‘systemFont’ attribute is not supported. … Continue reading

Posted in Compiler | Leave a comment

fx:Binding must be a child of the root tag.

‘<fx:Binding>’ must be a child of the root tag. Cause The tag cannot be nested more than one level deep. Incorrect: <s:Group xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx"> <fx:Declarations> <fx:Binding source="EffectManager.mx_internal.activeEffects" destination="effectsArray"/> <fx:Array id="effectsArray" /> </fx:Declarations> </s:Group> Correct: <s:Group xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx"> <fx:Binding … Continue reading

Posted in Compiler | Leave a comment

Error creating AIR file: app.xml error 306: Descriptor must support one of the following profiles

Error creating AIR file: MyApp-app.xml error 306: Descriptor must support one of the following profiles: desktop, mobileDevice, extendedMobileDevice, tv. Cause The app descriptor file does not have the profile defined for the application you’re creating. In this case the cause … Continue reading

Posted in AIR, Compiler | 3 Comments

Unsupported sampling rate (0Hz)

Unable to transcode song.mp3 Unsupported sampling rate (0Hz) Code [Embed(source='assets/MuffinManSwing.mp3')] private var snd_class:Class; Cause The mp3 is in an unsupported format and the Flex compiler does not have the ability to encode it into one. Note: The Flash IDE compiler … Continue reading

Posted in Compiler | 3 Comments

Unable to resolve resource bundle “App” for locale “en_US”.

Unable to resolve resource bundle “App” for locale “en_US”. Cause The compiler can’t find the resource bundle with the filename “App” in the locale (folder or resource.swf) for en_US. This may be because the locale property files are not included … Continue reading

Posted in Compiler | 2 Comments

Class is not showing up in code hinting

If a class is not showing up in code hinting or the class is not found the package path may be incorrect. // this class has no path specified package  {       public myClass {       } } // the … Continue reading

Posted in Compiler | Leave a comment

Error: addChild() is not available in this class. Instead, use addElement() or modify the skin, if you have one.

Error: addChild() is not available in this class. Instead, use addElement() or modify the skin, if you have one. spark.components::Group/addChild Check if the class is a Group (Group GroupBase UIComponent FlexSprite Sprite DisplayObjectContainer InteractiveObject DisplayObject EventDispatcher) If you want to … Continue reading

Posted in Compiler, Runtime | Leave a comment

Unable to locate specified base class ‘spark.skins.mobile.ButtonSkin’ for component class

Unable to locate specified base class ‘spark.skins.mobile.ButtonSkin’ for component class… Cause: The class is not referenced in your project. When you create your Library or Flex project make sure to check the boxes, “Include Adobe AIR Libraries”. This will include … Continue reading

Posted in Compiler | Leave a comment