FlexMojos "unable To Resolve 'assets/**/*.png' For Transcoding"?
Jul 27, 2011
I'm trying to mavenize a Flex project using Flash Builder 4 as IDE. I'm using flexmojos 4.0-beta-7 with flex sdk 4.5.0.19786.
[Code]...
Here it is my complete ${basedir}/pom.xml and here the output from $>mvn clean package.
View 1 Replies
Similar Posts:
Feb 23, 2012
So I have an image embeded in my code like this.
[Embed(source = "/../_graphics/pinksquare.png")]
protected var cls_pinksquare:Class;
but it throw these errors
[code]....
View 2 Replies
Jul 25, 2010
I'm running asdocs from a .bat file with flex sdk 3.2.0 (I have replaced my long project root folder with PROJECTROOT):"C:Program Files (x86)AdobeFlex Builder 3sdks3.2.0inasdoc" -source-path . "C:Program Files (x86)AdobeFlex Builder 3sdks3.2.0" "_PROJECTROOT_Componentssrc" "C:\_PROJECTROOT_assets" -doc-sources .PAUSE"Unforunately, I keep getting errors similar to this:"_PROJECTROOT_assetsstyles.css(344): Error: Invalid Embed directive in stylesheet - can't resolve source 'Embed(source = "close_button.png")'.downSkin: Embed(source="close_button.png");"I really don't understand this as "close_button.png" is in the same folder as styles.css. When I build the project from within flexbuilder, it compiles it fine and does not throw any errors.
View 2 Replies
Apr 14, 2011
I get the following error when running my ANT script:
Error: Unable to resolve resource bundle "data" for locale "en_US"
I have tried to implement all the answers I've found about this question (and there were a lot); forcing to compile to flash player 10, including all libraries, etc.. but nothing is working.
Here is my code:
<mxmlc
file="${PALM_SRC_DIR}/PALM.mxml"
output="${SHELL_DIR}/PALM.swf"
[Code].....
what could I possibly be missing? Aren't I including all libs that I need?
I've removed the last 2 compiler.library-path options and replaced it with this: It's still not working but I feel like I'm coding it correctly because it's looking for the framework SWC as run-time shared library, which it really is.
View 1 Replies
Jun 24, 2010
since I'm using custom skin classes in Flex I'm getting an error, when trying to open the design view in Flash Builder:
Description Resource Path Location Type
Unable to resolve resource bundle "components" for locale "en_US".
Unable to resolve resource bundle "core" for locale "en_US".
Unable to resolve resource bundle "effects" for locale "en_US".
Unable to resolve resource bundle "layout" for locale "en_US".
[Code]...
View 1 Replies
Feb 10, 2011
I want an air application to be able to update the assets it uses, but minimizing the download needed, so only downloading files added since it last updated.I'm thinking this would include a server portion which would zip the needed files based on a version number? Has anyone implemented anything similar / got any thoughts on the best approach to building this sort of system?
View 1 Replies
Aug 19, 2011
I was working on a project with flexmojos 3.9 and Flex 4.0. I decided to upgrafe my version of the flex SDK to 4.5 but I have the followin problems:
1- Maven Message: [FATAL ERROR] org.sonatype.flexmojos.optimizer.OptimizerMojo#execute() caused a linkage error (java.lang.NoSuchMethodError) and may be out-of-date. Check the realms
2- Stack trace: java.lang.NoSuchMethodError:flex2.compiler.common.Configuration.setKeepDebugOpcodes(Z)V
View 1 Replies
Oct 5, 2011
When compiling using flexmojos I get the warning:[WARNING] No themes are explicitly defined in the section or in any scope="theme" dependencies. Flexmojos is now attempting to figure out which themes to include. (to avoid this warning you should explicitly state your theme dependencies)[WARNING] Adding spark.css theme because spark.swc was included as a dependency.[code]But I just get an [code] must be one of [compile, runtime, system] but is 'theme'.I just want to use the standard Spark theme.
View 2 Replies
Oct 14, 2011
I am trying to create and build a flex library project (.swc) using maven 2 firsttime.I am able to create directory structure but build is failing. My maven settings are : Maven version : apache-maven-3.0.2
mvn archetype:generate
-DarchetypeGroupId=org.sonatype.flexmojos
-DarchetypeArtifactId=flexmojos-archetypes-library
[code].....
View 5 Replies
Aug 7, 2010
what changes I make to my source, compiling alway yields either a transcoding error, or a missing definition. The stack overflow link I always put in all my source, to look at for encouragement every time I feel like banging my head against the keyboard.
// Main.as
package
{
// General imports
[code]...
Currently when I try to compile I get the following error...
C:Documents and SettingsGekoDesktopFlash estclientsrcMain.as(6): col: 31
Error: Definition com.bit101.components:Label could not be found.
and if I remove the comment from "var myLabel" or "addChild lines" in Main.as, then I get..
C:Documents and SettingsGekoDesktopFlash estclientlibMinimalComps_0_9_5_srccomit101componentsComponent.as(51): col: 4: Error: transcoding parameter 'embedAsCFF' is not supported by 'flex2.compiler.media.FontTranscoder'
C:Documents and SettingsGekoDesktopFlash estclientlibMinimalComps_0_9_5_srccomit101componentsComponent.as(51): col: 4: Error: Unable to transcode /assets/pf_ronda_seven.ttf.
My classpaths are "src", "libMinimalComps_0_9_5_srcassets", and "libMinimalComps_0_9_5_srccomit101components" I'm using Flex SDK 3.5.0.12683 on Windows XP with FlashDevelop 3.2.1 RTM why I'm constantly receiving errors each time I try to build the project?
View 1 Replies
Jan 24, 2011
I am trying to create and build a flex library project (.swc) using maven 2 firsttime.I am able to create directory structure but build is failing. My maven settings are : Maven version : apache-maven-3.0.2
mvn archetype:generate
-DarchetypeGroupId=org.sonatype.flexmojos
-DarchetypeArtifactId=flexmojos-archetypes-library
[code].....
View 1 Replies
Oct 5, 2011
I am compiling a very simple app, Main.mxml:
<?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">
[code]....
This is quite worrying because I am developing in Eclipse (which uses mxmlc) yet my master build script (which uses flexmojos) is producing a totally different file.
View 2 Replies
Oct 10, 2011
At the moment i am using vlc to transcode my video realtime and display the output through Flowplayer.The problem is that I am struggling to seek using flowplayer my time gets out of sync between the stream and flowplayer and there are a few other issues.Are there any streaming servers that allow for real time transcoding and allow for a flash player to seek.
View 1 Replies
Dec 7, 2011
When I try to build the project I get
Definition spark.components.gridClasses:CellRegion could not be found.
this class is contained in com/adobe/flex/framework/spark/4.5.0.17855/spark-4.5.0.17855.swc which is included in the library-path by the flex-mojo compiler but I still get the error.
I use flex-mojos 3.9 and Flex 4.5.
View 1 Replies
May 13, 2009
I have a video library that i want to create a previewer app for in flash. The problem is that all of the videos are in avi/wmv format. Is there any way to transcode them on the fly to flv format in order to stream through flash? If so then what tools would I need and all that jazz?
View 6 Replies
Aug 31, 2010
Our company is developing the product that includes rtmp restreaming/transcoding server.Our goal is to restream rtmp stream taken from external rtmp server(probably FMS), transcoding it in real-time.By transcoding I mean changing the stream resolution, quality and bitrate.Does FMS privide such a functionality? Which version of server we have to use? Does we have to use additional software such
View 1 Replies
Mar 5, 2009
It is my desire to transmit some data encoded in Action Message Format (AMF3) over a socket to and from Flash. I need to know two things:
1) How to read AMF3 data off a Flash Socket object. I'm assuming it will come through as an array of bytes and that array of bytes must be decoded into actual Actionscript Strings/Arrays/Objects or whatever.
2) How to turn Actionscript vars into AMF encoded binary strings.
[Code]...
View 2 Replies
Nov 18, 2010
Here is my problem: We are broadcasting sportevents live to the internet via flash media encoder.At the event locations we mostly have just 2 mbit upstream. So at the moment we are streaming with about 1mbit rate.But we need also streams for mobile-devices and a stream for users without fast internet. So we want 2 more streams with lower-bitrates,but we can't get this through the 2mbit...I am looking for a solutiuon which can transcode about a 1mbit(and may be in the future a 1.5mbit) livestream in to two (or more)lower-bitrate streams.The solution should be scalable,because sometimes we have 7 events at one day on different locations,so there could be 7 input-streams.I've searched the net for hardware transcoders, but didn't find a stable solution and I've tested also transcoding with ffmpeg, but it seems to get problems with timing and key-frames for bitrate switching.
View 3 Replies
Jun 10, 2010
I'am using flexmojos-maven-plugin to build my Flex module. So on the compile phase I'm getting org.apache.maven.plugin.MojoExecutionException: Error compiling!with no information on where (at what source file) the error happens and what is nature of the compile error.
View 2 Replies
Jan 26, 2009
I keep getting this error when I try and load a text file in a dynamic text field.
'The identifier 'loadVars' will not resolve to built-in object 'LoadVars' at runtime.'
This is my code:
Code:
on (release) {
loadText = new loadVars();
loadText.load("text1.txt");
[Code].....
I want the file 'text1.txt' when I load frame 1, then when I move to frame 2 it will load 'text2.txt' etc etc right upto 20.
View 2 Replies
Mar 15, 2010
I'm using CS4 and encountered an issue that I can't resolve when using the controller. When an audio file (MP3) is on the timeline, I hit play on the controller to listen to audio but when I hit stop, the play head stops while the audio continues to play. I also noticed that when scrubbing the timeline you can't hear the audio.
Has anyone encountered this? This issue doesn't happen in CS3 and since a lot of my work deals with syncing graphics to narration I have to go back to CS3, which I don't want to do.
View 3 Replies
Sep 2, 2009
I am getting the following error - I have googled it and can't seem to resolve the problem, upon debugging the movie it says that it is on line 9 - so can anyone let me know what is wrong. I checked all of the buttons and they have the correct instance names.
Quote:
TypeError: Error #1010: A term is undefined and has no properties.
at POA09_fla::MainTimeline/frame1()
[Code]...
View 1 Replies
Nov 23, 2009
I am using flash builder 4 to run sample application from "Getting Started with FLEX 3", but the code can't run because there is one place that FB4 can't resolve, I guess this is because the library has been obsolete but after a tons of search I can't find the solution.
View 1 Replies
Nov 10, 2009
I got some movieclips which contain instance name class in flash.ex: mc_1, mc_2.My problem is I get incompatible errors TYPE while clicking on each of these MCs Error #1010: A term is undefined and has no properties.[code]
View 2 Replies
May 5, 2010
I have the following problem, I am embeding a font in a project with the embed tag and I get the following error "exception during transcoding".
[Embed(source="D:/repo/docs/fonts/FreeSans.ttf", fontFamily="Free Sans", fontWeight = 'regular', mimeType = 'application/x-font')] public var auxFont:String;
I had this same error in Flex but I found that adding "-managers flash.fonts.AFEFontManager" in the properties of the project, ActionScript compiler, Additional compiler arguments took care of it.
I need to compile this project with the Flash compiler and not Flex is there any place in Flash that I can add that argument?
View 1 Replies
Apr 28, 2011
I'm using flexmojos 3.8 with flex compiler 4.1.0.16248.My Project compiles fine in Flash Builder, but with flexmojos / maven I get the following Error: Type was not found or was not a compile-time constant: UncaughtErrorEvent
The Flex Code looks like this:
loaderInfo.uncaughtErrorEvents.addEventListener(UncaughtErrorEvent.UNCAUGHT_ERROR, onUncaughtError);
The Flex Compiler 4.1 should know the type UncaughtErrorEvent - Why does it fail?
View 2 Replies
Nov 4, 2009
How do I do this in Flex 4?
<mx:RemoteObject id="srv" destination="product" channelSet="{channelSet}"
fault="faultHandler(event)">
<mx:method name="getProducts" result="getProducts_resultHandler(event)"/>
</mx:RemoteObject>
I got
Could not resolve <s:Method> to a component implementation.
When trying to do this
<s:RemoteObject id="roMajor"
destination="MajorSrv"
fault="Alert.show('Remote Object Error')" >
<s:Method name="AddMajor" result="roMajorResult(event)"/>
</s:RemoteObject>
View 1 Replies
Mar 5, 2011
i created project with flexmojos maven archtype..i used flexmojos:flexbuilder and compile/run with FlashBuilder 4 everything is okay but when i try to compile project with flexmojos i got following error: ERROR] Z:....srcmainflexMain.mxml:[6,-1] Could not resolve < fx:Script > to a component implementation.INFO] BUILD FAILURE
my mxml:
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
[code].....
View 1 Replies
Oct 19, 2011
I'm getting some warning signs in FDT in a couple of lines of code that access values in the app descriptor, like this:
var appDescriptor:XML = NativeApplication.nativeApplication.applicationDescriptor;
var ns:Namespace = appDescriptor.namespace();
var appId:String = appDescriptor.ns::id[0];
var appVersion:String = appDescriptor.ns::versionNumber[0];
Those lines work fine, but FDT underlines "id" and "versionNumber", and issues the warning "Could not resolve variable (may be an XML element name)".
View 1 Replies
Jul 3, 2010
I am trying to create a menu bar with the following items: File, Database, Navigate, Window. However, I am getting an error which I do not understand: Could not resolve <mx:XMLList> to a component implementation. Can anyone explain the error to me? My code is as follows:
<mx:XMLList id="topLevelMenu">
<menuitem label="File" />
<menuitem label="Database"/>
[Code].....
View 1 Replies