Missing skins in the output file? - actionscript-3

Description Resource Path Location Type The swc
'E:\DEV\Flash\Flex\SDK\4.14.1\frameworks\libs\advancedgrids.swc' has
style defaults and is in the library-path, which means dependencies
will be linked in without the styles. This can cause applications,
which use the output swc, to have missing skins. The swc should be
put in the external-library-path.
SharedSledi Unknown Flex Problem
The swc 'E:\DEV\Flash\Flex\SDK\4.14.1\frameworks\libs\charts.swc' has
style defaults and is in the library-path, which means dependencies
will be linked in without the styles. This can cause applications,
which use the output swc, to have missing skins. The swc should be
put in the external-library-path.
SharedSledi Unknown Flex Problem
The swc 'E:\DEV\Flash\Flex\SDK\4.14.1\frameworks\libs\framework.swc'
has style defaults and is in the library-path, which means
dependencies will be linked in without the styles. This can cause
applications, which use the output swc, to have missing skins. The
swc should be put in the
external-library-path.
SharedSledi Unknown Flex Problem The swc
'E:\DEV\Flash\Flex\SDK\4.14.1\frameworks\libs\mx\mx.swc' has style
defaults and is in the library-path, which means dependencies will be
linked in without the styles. This can cause applications, which use
the output swc, to have missing skins. The swc should be put in the
external-library-path.
SharedSledi Unknown Flex Problem The swc
'E:\DEV\Flash\Flex\SDK\4.14.1\frameworks\libs\spark.swc' has style
defaults and is in the library-path, which means dependencies will be
linked in without the styles. This can cause applications, which use
the output swc, to have missing skins. The swc should be put in the
external-library-path. SharedSledi Unknown Flex Problem
How to resolve this issue with the missing default skins ?

As the error message suggests : "The swc should be put in the external-library-path"
Check this official guide : Use Flex library projects, specifically read this section link. To quote :
1) Add a SWC file to the library path
Add a SWC file to the library path
With a project selected in the Package Explorer, select Project > Properties > Flex Build Path.
Click the Library Path tab.
Select any of these options to add SWC files:
Add Project Adds a Flex library project.
Add SWC Folder Lets you add a folder that contains SWC files.
Add SWC Adds a compiled SWC file.
Add Flex SDK Lets you add other Flex SDKs. If your project already has a Flex SDK in its library path, this button is disabled.
If you remove the existing Flex SDK from your library path, the button
is enabled. When you click this button, a Flex SDK node is added, but
you are not prompted which one is added. To control which Flex SDK to
use, select Project > Properties > Flex Compiler.
Enter or browse to and select the location of the SWC file, project, or folder. Click OK. The SWC file, library project, or folder
is added to the library path.
2) Set SWC as External Library...
Set the SWC file as an external library file
With a project selected in the Package Explorer, select Project > Properties > Flex Build Path.
Select the Library Path tab, and then select and expand the SWC file entry to display the SWC options.
Double-click the Link Type option. The Library Path Items Options dialog box appears
Select the External option, and click OK.
This procedure is the equivalent of using the external-library-path
compiler option.
PS: This Answer might have some clue for you, if you're willing to edit Flash Builder's XML files.

Related

Is there a way to configure eclipse that it treats gss files like css files?

I want to enable eclipse specific code completion and syntax highlighting for css to files that ends with gss. The gss files are similar to css files. They are called closure-stylesheets.
Is there a way to configure eclipse that it treats gss files like css files to get code completion enabled?
For individual files you can just right click on the file and select 'Open With > CSS editor' (this will be remembered for future editing)
To set for all files go to 'Preferences > General > Content Types'. Find 'CSS' under 'Text' and click 'Add...' to add a '*.gss' association.

auto complete intellij - less/css

I have some problems with css auto complete on my html files.
My project is java project on spring/bootstrap. I have less file that is compiled to css later on. On my html files I don't have access to classes from less or bootstrap files. I have "webapp" folder configured correctly in project.
CSS files are in:
a) webapp\css\less\main.less
b) webapp\css\ (bootstrap, main.css main.min.css)
Is it possible to add css (class) completition to html files that are created in project?
It should do it out of the box for css: http://www.jetbrains.com/editors/html_css_editor.jsp?ide=idea
for LESS however you might need to use a plugin : https://plugins.jetbrains.com/plugin/7059?pr=idea
I know LESS works out of the box with WebStorm and PHPStorm, though
If it still doesn't work, you might need to set the right file extension or associate that file with a certain interpreter

ActionScript 3.0: Loading external fonts (.ttf)

Is it possible to load .ttf font from bytecode without using [embed] metatag or compiling font into .swf?
Situation next: My app gets zip archive with graphics, and I want to add chance to change visualization font.
But I can't use swf-compilation in that case. Instruments: FlexSDK, FLashDevelop.
The only way to use runtime loaded ttf/otf fonts is do the same that mxmlc do: transcode font files to AS3 classes, construct the new swf, load it into Loader and get fonts classes (that is embed ttf file into newly crated swf in runtime). You have to check the swf spec and I guess the Flex SDK 4.6 sources will be helpful. May be you will be able to find implementation, I can't managed to do this.
The still is the simple way - precompile each font file to swf and include it to your graphics zip, I don't this it's too hard even for non developer profession to click the bat file (you can make the template with as file and place the sdk and build bat file, all that artist need it's place the font file with the given name near the bat file, you event can ask in bat for the name of font and replace it in the template) :)
Actually this isn't an answer, but I don't have enough reputation yet to add a comment.
I see the question is over a year old. Did the situation happen to change since then? For a VJ application I'm working on it would be nice if the users could just drop a TTF file in the resources directory to use it, rather than me having to make SWFs of all fonts that could be interesting to use - which would be way too time consuming anyway and will pose licensing issues I'd like to avoid.

Adobe air native installer is not including .class files and .properties files

I have some files in my src directory, some are .class files (Java class files) and some are .properties files, when I create the Adobe air native installer these files are not included. Why is that? How can I work around that?
Also it excludes .mxml files, but that's good. I'm sure that's related, how to change what it includes or excludes?
Honestly not sure why it's excluding those on you. But you can right click the project in the project navigator panel, go to properties, on the left side navigation select "Flex Build Packaging", click the "Package Contents" tab on the right, make sure the files you want are selected. If they aren't there I would guess somehow these files aren't being seen in the source path, check that under Flex Build Path -> Source Path.
EDIT:
Found this as a duplicate, following the steps to go to window preferences and remove the exclusions seems to have worked.
Add .properties file to output folder of Flex project

Flash Builder: Define relative source link for linked lib

How do you define a relative link to the source of a linked library in Flash Builder (4).
I have a swc folder defined for a project. I want to link one of the contained swcs to it's associated source.
This works fine except that the path stored in the .actionScriptProperties file is absolute.
Here you can see the linked lib:
<libraryPathEntry kind="3" linkType="1" path="lib/myLib.swc" useDefaultLinkType="false"/>
And here you can see the linked source:
<sourceAttachmentPathEntry kind="3" linkType="1" path="/full/path/to/project/folder/lib/myLib.swc" sourcepath="lib-src/myLib" useDefaultLinkType="false"/>
The source linkage works fine using the full path setup.
But if I change the path attribute to either:
/lib/myLib
lib/myLib
/../lib/myLib
Then the source cannot be found.
Linking swc using the "swc folder" method is the problem.
Relative source links to swcs are possible only if each swc is linked to the project individually. Then a relative path is used (in .actionScriptProperties) when you associate a source folder with a swc.