Flex :: MinimalComps Flash GUI And Transcoding Errors?
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?
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.
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?
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.
As with most IDEs when you type something that is an error it will highlight it with the red cross or red underline, and this is what used to happen in Flash Builder 4 but for some reason now it does not work.
I can type any old garbage and hit save, which forces the build (I have build automatically selected) and no error shows on the line, or in the Problems panel.
There doesn't seem to be a way to access stack traces for a released version of a Flex app running on a generic user's non-debugger version of flash. I can still get access to the error number, but that's just not good enough in some cases.
Was wondering if anyone has any tips on how to approach this. All I can think of is logging as many events as possible in some buffer and then dumping that to the server when a crash happens. I've implemented this and it's ok but, unfortunately, adding logging all over the place doesn't seem very practical if your code base is reasonably extensive. But maybe there's a catch all way to log all sorts of stuff in some simple way that I have not thought of - some sort of centralized listener? Or maybe some other approach?
Will take any advice (although ideally skip the "you should test your app before you release it"?).
I am facing a really weird issue while trying to use an "swc" file imported from Flash CS5, that I am trying to use in Flex Builder 3 (by converting symbol to "Flex Component"). The errors are coming in files which are not even remotely related to the "swc" file that i am importing. Now, I know that the automation stuff has come as a part of FB4, but I don't really have an option to migrate to FB4.I have tried to change the flex sdk settings in Flash CS5 (steps given below), but that has not helped.Edit-->Preferences-->Actionscript-->"Actionscript 3.0 Settings"-->"Flex SDK Path" (pointing this to flex3.5 sdk instead of Flex4.0 sdk)I feel that the issue is most probably a compatibility issue b/w Flex 3 and Flex 4, but have not been able to find a workaround for the same.[code]
I have firefox 3.6.15 with flash debug version 10.3. whenever an error occurs a popups comes up with the error and a stack trace but it does not line numbers of each leaf in the stack trace which makes it more difficult to debug. how to configure it to actually show line numbers ?
I think it may relate to how I compile my flash application. (i think!) i use eclipse FDT 4.2 to compile and i added the following compiler flags: -debug=true -compiler.verbose-stacktraces i think these parameters should be enough but I may be wrong.
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
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.
Here's are the errors: VerifyError: Error #1053: Illegal override of allowInsecureDomain in _SwdModule_mx_core_FlexModuleFactory. ReferenceError: Error #1065: Variable _SwdModule_mx_core_FlexModuleFactory is not defined.
SwdModule is a module used within the organization and there's an application that loads this (and various other modules) at run time. I've read on other stack overflow and various web site that this error was caused because the modules and the main app. were compiled using different Flex SDKs. I verified and checked up on this, but all of my SWFs are compiling using 3.5.
Can anyone think of anything else why this error would be occuring?
I'm a junior developer and I'm having some problems with my flex builder 3. Every time I make a new project, flex builder detects syntax errors like:
1084: Syntax error: expecting rightbracket before leftbrace. FotoBeheer line 23 1084: Syntax error: expecting rightbracket before public. FotoBeheer line 22 1084: Syntax error: expecting rightparen before s. DomoticaSystem line 16 1093: Syntax error. DomoticaSystem line 16
Nevertheless, Fotobeheer will run, but any other program just won't even start. Does anybody have any ideas how to solve this problem?
I've got a strange situation; when I run a Flex app from Eclipse (i.e. click run as web app), my remote calls always hang. In Firefox, they return as failed. But when I open up a browser and browse to my .html file in the bin-debug folder, the remote calls work.
The examples I've seen seem to show how to change the color that shows when the user actually hovers over the textinput field.
However when the validation fails, a generic textInput border qill have a red line over it. My CSS file uses a border skin for the textInput, so I can't see this line.
I was hoping there was a way to highlight the text box when it failed validation, or re-enable the red line feature. I don't want to get rid of my CSS cos it'll totally blow my color-scheme, but any tweak allowing the error line
I'm trying to use the Youtube Chromeless Player (the new AS3 version) in a Flex 4-based project. I'm using the examples provided by Google, but I'm not having any luck. The player loads, but it can't be interacted with. I'm receiving repeated security errors just from mousing over the player:
[Code]....
I've been at this for a few hours now, and haven't had any success. I also can't seem to find any working examples online. Is this new player just not compatible with Flex 4?
I am developing a Flex + AIR application. While debugging using Flash Builder sometimes I get runtime errors dialog with 'continue' & 'dismiss all' buttons. But when I release a build(.air) & run the application after installing. Then I don't get the same dialog in the release build. I need to track these types of runtime errors for that I am trying to write them to a file as logs. I tried using try catch & writing to file in catch block, but I am not able to get any wayout for unhandled exceptions or runtime errors
I'm trying to import a web service with the Flex builder feature (Data > Import Web Service). The process proceeds as expected and the classes are generated based on the web service description. The code is generated with compile errors in it though.There are 20 errors of 2 varieties. I've included a sample of the errors below.It looks like an error in the auto gen. The auto gen code is trying to dispatch an object of ArrayCollection type. As far I know that isn't possible. rror examples:
1067: Implicit coercion of a value of type net.responsys:ListTablesForCampaignResultEvent to an unrelated type flash.events:Event. Responsys/src/net/responsysResponsysWS57.as 1119: Access of possibly undefined property headers through a reference with static type
I am using flex to generate a lexical analyser for a custom language. The problem I am having is that as soon as I find a misformed token... I have no way to tell what other tokens follow this one. e.g.[code]Here, the stream of tokens will be id,<,>,id,<;>...... the language specifies that each token be seperated by a whitespace. So seeing a v after 1 should produce an error and the scanner has to print that error. After that, there are more legal tokens and another illegal token (~return). How do I process the rest of the legal tokens and print the second error.I am using flex as the scanner generator. When I find that none of the regular expressions for the lexeme matches, I call an error routine that prints the appropriate message.How do I resume processing after calling this routine?
I have a Flash builder project that I am migrating from SDK 4.1.0 to 4.5.1. This has been a relatively easy change (we are using maven for our builds, and were able to get a successful build after updating to the 4.5.1 dependencies).
As said, the project builds fine with maven and flexmojos. The issue is when opening the project in flash builder. The maven project is imported and then set as a flex project by running the maven flexmojos:flexbuilder build command.
The issue lies when certain mx components that are specified with the s: namespace are no longer accepted by the IDE, and result in an error. For example, for the following to compile:
This is just one example, and only happens for certain spark-namespaced components. Why is this? Why does this compile OK with Flex SDK 4.1.0 but not with Flex SDK 4.5.1, and what is the cause of the necessary namespace change?
I'm trying to add an event listener to my air application that would prevent the "ActionScript error" window from appearing, so I can handle the error within my application.I was able to find a little information about this from adobe. I'm just not sure what I should be listening for.
I have a Flex 3 app which I want to instrument to report errors generated by the app to a server via simple HTTPService call. My idea is to wrap all the methods in try. catch blocks which then pass the Error object to the reportError() function (which then fires off the HTTP request and pops up a dialog) but is there a better way?
In flexbuilder 3 for some mxml files I can purposely put in syntax errors and the compiler will seem to compile the specific page(but actually not compile it) or report any errors for that page. Is there any way that you know of to get the compiler to report the errors to me so I can get it to compile the page. I've tried rebuilding all and cleaning the project already.
How do you capture errors that happen on client side when building RIA apps using Flex and Silverlight? What are the common practices? I have seen some asynch js calls to a web service implemented but would like to know how the community is dealing with it.
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?
I have an MXML component that includes a .as file with
<fx:Script source="myfile.as" />
Running asdoc throws a whole bunch of errors like
"Error: The private attribute may be used only on class property definitions." "Error: The public attribute can only be used inside a package."
Solution 1 is to move the AS code into the MXML file. Kind of defeats the objective of using external .as files for MXML components in the first place, so really a last resort option. Code inside a mxml file is messy (I really don't want logic mixed in with mxml), and would also require using the < !--- ---> asdoc syntax.
Solution 2 is to have the MXML component inherit from a normal class file. That would mean no private members in the base class, only internal (meaning a separate package for the component to be safe) or protected. This would make things tedious to say the least.
Are there any other work-arounds or possibly a beta/nightly version of asdoc that fixes the problem? I am using the Flex 4.1.0.16076 SDK, the "latest production quality release".
Update:Just tried using asdoc from the svn trunk, (4.5.0 rev. 16942) and the problem persists.