Actionscript 3 :: Flex In IntelliJ Embeded Fonts Not Showing After Compile?

Jul 26, 2010

I'm trying to set up an old Flex project in IntelliJ IDEA but are having a problem with all embeded fonts.The font is installed on my Windows 7 PC and are also located in the folder fonts in the directory where my ActionScript sources are located. I'm using the SDK compiler config from flex_sdk_4.1 with additional option of -static-link-runtime-shared-libraries=true.

[Code]...

View 1 Replies


Similar Posts:


Flex :: Declare Compile Options As Valid Symbols Under IntelliJ IDEA?

Feb 23, 2010

I've got the following Flex code in an MXML file:

<mx:Label id="lblVersion" styleName="versionID" bottom="0" right="10" text="Version { BUILD::version }"/>

where the "BUILD::version" is meant to be substituted from symbols defined in compiler options:

-define BUILD::version "'LOCAL'"

The Flex plugin doesn't seem to understand the compiler option usage syntax and flags "BUILD" and "version" as "unresolved variable or type"

View 1 Replies

Chrome Now Showing Up On AIR App When Compile With Flex 4 SDK?

Mar 31, 2010

I have an AIR app initially written in Flex 3 that I had removed the Chrome from, but now it shows up when I compile using Flash Builder 4 with Flex 4 SDK. I have

<systemChrome>none</systemChrome>
<transparent>true</transparent>

set in the *-app.xml file and showFlexChrome="false" showStatusBar="false" showTitleBar="false" set in the tag. The status bar is gone, but I still see the title bar appear.

View 1 Replies

ActionScript 3.0 :: Quality Of Embeded Dynamic Fonts

Feb 8, 2009

I am adding some text using the code below, but the text is still a bit ragged. Is there a way to make it smoother?[code]

View 3 Replies

Flex :: Debugging - Running A Webapp Base Flex Client In IntelliJ?

May 10, 2011

Is it possible to run a Flex client in IntelliJ internally and have it talk to a separately deployed server instance? The server's a java webapp. This will make developing, especially debugging, much easier. What I'm trying to avoid is having to rebuild and redeploy the webapp to get the updated Flex code in it. I want to just build flex and run it against the server.

The flex client is embedded in an HTML page on the server, so in production the users access the client by going to a web page. We're using GraniteDS if that's important.

Update

I'm managed to cobble something together, but it's ugly.I made a copy of our wrapper HTML page and fixed the links to refer to the SWF in target.I setup the IntelliJ run config to point to that HTML page.I set the 'Place SWF file in a local-trusted sandbox' to true

Hardcoded the {server.name}, {server.port}, and {context.root} values in the service-config.xml GraniteDS config file to localhost, etc.

I can mavenize #1, but #3's isn't really a permanent solution. That part is still a problem because I can't check this in.

View 1 Replies

Flex ::Building A SWC From IntelliJ Idea Without Resorting To Ant?

Jan 18, 2010

First, here's what I want to do:

* Compile my library code into a SWC * Do not staticly link the Flex framework

At first, I tried just setting up a Flex module, clicking the "library" and "use framework as an RSL" buttons. This however doesn't compile any of my code into the SWC, and it basically just compiles a new SWC of the entire Flex framework, all resources and classes included.

Then, I managed to get my classes into the build using a custom compiler config, but it still includes the few Flex classes that I reference in my library code.

Finally, I figured I could use the custom flex-config.xml file, remove the parent reference to the library using <library-path append="false"></library-path> and then using a custom command line parameter (and also from ant), add -compiler.external-library-path references to the SDK and PlayerGlobal.swc. This should probably work, but Idea won't let me set command line parameters when I'm using a custom config file

View 1 Replies

Flex :: Who Uses IntelliJ For Real Commercial Projects

Jul 6, 2010

Just a simple question: Would you prefer IntelliJ? If so, what are the Pro- and Cons?

View 2 Replies

XML :: Variables Don't Allow Inspection In IntelliJ 11 Flex Debugger

Jan 10, 2012

I recently upgraded to IntelliJ 11 and the version 10 debugger used to allow for E4X / XML debugging. I was able to expand the children and inspect elements/attributes of XML but now I can't get that to work. Has something changed/broken?

View 2 Replies

Flex :: Debugging Maven Application With Intellij?

Jan 17, 2012

I have flex application consisting of several modules which is configured using maven. I'm using flexmojos plugin to build the application. When I try to build the application using maven it builds successfully. But I need debugging features of Intellij Idea (i'm using 10.0 version). So at first step I run maven compile command to generate *-configs.xml to enable Intellij idea compile my application. At second step i run IDE's compile(or make) command and it says:

[Code]...

View 2 Replies

Flash Fonts Not Showing Up In List

Aug 23, 2009

I am new to flash and having a problem with fonts not showing up in the font list. I am trying to develop my first flash based site and designed the base in Photoshop, using a .TTF font that I downloaded. The font shows up fine in photoshop but when the file is imported into flash it says the font is not available.

View 4 Replies

Professional :: Fonts Not Showing Up In Flash CS5?

Oct 5, 2010

As adobe's phone cust. service is rubbish, making me wait for half an hour just to tell me they can't even try to help me with fonts that are not purchased from adobe, I have turned to this message board in the hopes that someone here can help me with my latest in a perpetual series of dillemmmas with this nightmare of a program...
 
Im using flash cs5 at work on a mac pro with juiced up processors, memory, etc.  I installed a bunch of fonts, mostly ttf and otf and when flash loads I'd say about 40% of the fonts that I installed don't show up in the font list.  This sucks.  Adobe's good programs like photoshop and illustrator show all my fonts, no questions asked.  I have tried uninstalling and re-installing the fonts, re-starting flash, and disabling fonts.  My one breakthrough was when i created another account on my computer and tried installing a font which was not showing up in the new user's font book.  Lo and behold, the font shows up in flash!  I have about 900 fonts on my computer which may be alot but I have used previous versions of flash with around that number of fonts and I don't recall any problems.  I really dont want to switch my user account as this is a company computer and it will throw off company related access. 

View 9 Replies

Flex :: Clear AIR Mobile Application Data In IntelliJ?

Mar 9, 2012

I'm developing a mobile AIR application using IntelliJ.

When debugging in Flash Builder there is an option to clear to application data on each (debug) launch of the ADL (see screenshot below) However, I can't find this setting in IntelliJ or some ADL parameter to force a clear on each new debug session. I was wondering if such an option exist in IntelliJ or ADL.

A little background: I'm using the PersistanceManager in the application to store some user settings and I want to be able to start the application without the saved settings from my previous run. Using this setting in Flash Builder does the trick, but I'm having no luck with IntelliJ.

View 1 Replies

Flex :: AS3 Flash Compile - Exclude Functions From Compile?

Jun 7, 2011

There is probably no way for this but does anyone know a method of excluding certain functions from a build by use of a meta tag and or compiler option?I want to expose some functions for testing but not have them bloat the application on production. I could create separate testing classes and test for a complier directive or option and only load them if necessary but I like the idea of having the test function on the actual object (in the class).

View 2 Replies

Flex :: Crash - IntelliJ IDEA Wrapper Html Crashes Browser?

May 22, 2010

I'm building an Flex 4 application using IntelliJ IDEA 9.0.2 generated sample Flex application. I replace the generated mxml with the following code from the book Hello Flex 4. It simply crashes the browser when I run it. It says "Waiting for [URL]..and then crashes I tried it on both FF 3.5.9 and Chrome 4.

[Code]...

View 1 Replies

Flex :: Dinamicaly Create Embeded Image?

Feb 21, 2012

I need dinamicaly create LinkButton with icon. The names of files (icons) have the format "images/icon_0.png","images/icon_1.png", ... "images/icon_1000.png". But I don't know specific image for this button. I know only index of icon.I tried this, with no success:

var path:String = "@Embed(source='images/icon_" + imageindex + ".png')";
myButton.setStyle("icon", path);
I get a runtime error Type Coercion failed:

[code]........

View 2 Replies

Actionscript :: Flex Calling The Embeded Swf Function Still Failed?

Dec 23, 2009

I am embedding a swf file into the parent swf file and my code in parent swf file want to call the function inside the embedded swf file. It always failed, below is the code. The error is in line:

var player:testflv1 = (loader.content as SystemManager).application as testflv1;

It can't be compiled because the testflv1 is not recognized as the known type.

[Code]...

View 1 Replies

Flex :: Compiler Option Copy Non Embeded Files To Destination Folder

Jul 20, 2009

i am using mxmlc for building the flex projects using ant.how to use flex builder-> copy non embeded files to destination folder compiler option in ANT

View 1 Replies

Actionscript 3 :: Controlling An Embeded SWF Movie(audio/sound) File In Flex?

Jul 29, 2010

So I'm trying to get sound on my flex application. Then tried to load an swf movie with only audio in it.But when it loads on init(), it loops non-stop.Here's a sample code:

[Code]...

View 1 Replies

Flash Fonts - Text Fields' Fonts Replace To Default Fonts.some Text Gone Down

Feb 25, 2010

my web site has a lots of text field. it is xml based site.it is locally run perfectly but after i upload it to my server it's text fields' fonts replace to default fonts.some text gone down.so its confused to me.i used Myridpro font.now it is replace to default font .can u tell what is the solution for that..? [URL]

View 1 Replies

ActionScript 3.0 :: Flash - Compile Error Parameter Initializer Unknown Or Is Not A Compile-time Constant?

Jun 7, 2010

I'm using Flash Develop to build an as3 application using the Flex compiler. In the constructor of a particular class I have written the following code

Code:
//constructor
public function Test(par1:int, arr:/*int*/Array = [1, 2]){ <----- compiler shows error here

[code].....

View 2 Replies

Actionscript 3 :: Developing Flash Application Using IntelliJ?

Oct 16, 2011

I know that IntelliJ makes it really easy for you to develop and start a FLEX project. However, I am wondering if there is a way to do the same with Flash App Development. I do not need the MXML file and other things that come with Flex. I just want to be able to start a Flash project like I would in Flash CS5 and be able to run the .swf file from IntellIJ. Not having the UI tools is not a concern to me.

Is there a way to do this. Are there ways to achieve this?

View 1 Replies

Flex :: Develop And Compile A Flex Application Without Builder?

Mar 8, 2010

How to develop and compile a Flex application without Flex Builder?

View 2 Replies

Actionscript :: Flexbuilder - IntelliJ Vs Flash Builder For Projects?

Mar 24, 2010

Would luv to here from developers who have made the switch from Flex-Flash builder to IntelliJ.

View 1 Replies

ActionScript 3 :: IntelliJ - Unexpected Debugged Player Communication

Apr 6, 2010

For some reason I can't debug my actionscript application in IntelliJ. I keep getting this error in the console: Unexpected debugged player communication problem.

View 2 Replies

Flex :: Why Application Cannot Compile Sometimes

Nov 24, 2009

Sometimes when I compile my flex app, I got this error

Unable to create source GeneratedAsset31_dataClass. WebCe line 25 1259045578886 1546

But after I cleaned the project, this error disappeared.

It's not a big problem but very annoying and I can not find any clue by search the internet.

View 1 Replies

Flex :: Compile Swf With Maven?

Jan 5, 2012

I have several maven modules (each with a pom)I am looking to compile my swf without first compiling each module into a swc, like i am soing now. I suppose that should speed up the compilation process.

View 1 Replies

Flash :: Runtime Fonts Not Playing Nice With Fonts Embedded In Static Text?

Jul 11, 2010

I save my (embedded) fonts in an external file (fonts.swf) that gets loaded at runtime. Pretty standard. I also use a bunch of UI artwork generated in the Flash IDE. Some of this artwork contains static textfields (thus, not proper TextFields that can change. Just frozen glyphs). Here's the problem: if I use the same font in any static textfield and then embed that same font into my collection of runtime fonts, the runtime font will refuse to render. It's the same effect you get if you set a textfield with embeddedFonts=true to use a font that isn't embedded. If I change the static textfields to use a different font, the runtime fonts work just fine.

[Code]...

View 2 Replies

Flash Detect Missing Embedded Fonts And/or Replace With Available Fonts?

Dec 22, 2010

Edited Short Version:The Adobe Flash docs list a property embedFonts on TextAreas:

A Boolean value that indicates whether the font specified in fontFamily is an embedded font. This style must be set to true if fontFamily refers to an embedded font. Otherwise, the embedded font is not used. If this style is set to true and fontFamily does not refer to an embedded font, no text is displayed. The default value is false. Regarding the "If this style is set to true and fontFamily does not refer to an embedded font, no text is displayed" statement: How can I detect in ActionScript when this scenario happens?

TL;DR Original Version: I have a flash application which loads external .swf files containing embedded fonts, so that these fonts can be used within the main application. We're accomplishing this by using the following ActionScript code on anything which uses custom fonts:

[Code]...

View 1 Replies

Flex :: Emebed Css At Compile-time

Jun 3, 2010

I'm working in a Flash Builder 4 Actionscript project and trying to figure out how to embed a css file into the project at "compile-time". Just as we did when we use MXML's <fx:Style> tag.

View 2 Replies

Flex :: Compile An Existing Project With The SDK

Jun 20, 2010

I'm trying to compile an existing Flex3 project with the Flex4 SDK. I'm getting this error:

Warning: 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.The resulting file is roughly the same as my old Flex3 compiled .swf file. Playing the resulting .swf file in the Flash Player also gives the following errors:

An Actionscript error ocurred: VerifyError: Error #1014: Class spark.core::SpriteVisualElement could not be found If I set the compiler attribute static-link-runtime-shared-libraries to true, then the error disappears and all is well. However, the size of the resulting .SWF is a couple of 100K's bigger. And that's not what I want.

I don't fully understand the concept of runtime shared libraries, but it seems that with the option to statically link them set to true, the libraries are included in the .swf. However, I like to exclude them from the .swf and only load the needed library at runtime, as my project seemed to do with Flex3 (I didn't know that by the way).

If I understand correctly, playerglobal.swc should hold all the necessary code for the external libraries that my .swf has to load. Do Flex4 compiled files need more libraries? Should I do something with the factoryClass in the Frame metadata tag?

I think my question boils down to this: How do I compile a Flex4 .swf that is the same size as my previous Flex3 compiled .swf?

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved