Home > error unable > error unable to resolve for transcoding flashdevelop

Error Unable To Resolve For Transcoding Flashdevelop

Page 1 of 1 [ 12 posts ] Previous topic | Next topic Post-Build Command doesn't do anything Author Message DavidArno Member Joined: Wed Apr 25, 2007 9:50 amPosts: 39Location: Worthing, England Post-Build Command doesn't do anything I am trying to run a post-build command to copy the swf to a new location. I am using: "C:\WINDOWS\system32\xcopy.exe" "$(OutputDir)\Myswf.swf" "X:\livesite" /y When I run a build, I get: Running Post-Build Command Line... C:\WINDOWS\system32\xcopy.exe "X:\project\bin\Myswf.swf" "X:\livesite" /y Build succeeded Done(0) yet the command doesn't appear to run as the swf is not copied. If I paste C:\WINDOWS\system32\xcopy.exe "X:\project\bin\Myswf.swf" "X:\livesite" /y into a cmd window and run it, it copies the file just fine. Am I missing something, or is there a bug with post-build commands? Fri Jun 29, 2007 8:07 am Dave Jeffery Member Joined: Sat Nov 04, 2006 7:31 amPosts: 46Location: Somerset, England EDIT: I thought I had the same problem - but I'm a complete idiot and forgot about FirstRun being added to the Tools path in FlashDevelop 3 - that means that I don't have a problem with Post-Build command lines Wed Jul 04, 2007 2:28 pm Philippe Admin Joined: Wed Aug 31, 2005 7:27 amPosts: 12164Location: London You're right, it seems to be broken. Wed Jul 18, 2007 12:23 pm TxVictor Member Joined: Fri Sep 21, 2007 4:57 pmPosts: 8 Same problem I just installed FlashDevelop, great speed! I love it. I use CrimsonEditor and MTASC for quite some time now, but I'll switch to FlashDevelop for better AS language support. There are multiple problems with setting up the paths. If I set the output path to a location like "//otherComp/path/file.swf" or even to a different drive than the projects drive, I get the same error: "The path is already absolute" And the post-build command to copy don't work (tyed the same as DavidArno) What to do? For me, the best thing to do would be to be able to create multiple MTASC commands per Project and be able to assign Key shortcuts to each. Fri Sep 21, 2007 5:09 pm Philippe Admin Joined: Wed Aug 31, 2005 7:27 amPosts: 12164Location: London Re: Same problem TxVictor wrote:I just installed FlashDevelop, great speed! I love it.I use CrimsonEditor and MTASC for quite some time now, but I'll switch to FlashDevelop for better AS language support.There are multiple problems with setting up the paths. If I set the output path to a locatio

Leave a comment Go to comments i needed to find some sample about how to customize default flex PreLoader and found two great tutorials Custom Flex 3 Lightweight Preloader with source code Flex Custom Preloader When i tried to add into my project and built it, the [Error: unable to resolve ‘image name' for transcoding] was thrown. Because i'm using FlashDevelop so it might be a little difference from Flex Builder. Maybe the image path cannot be regconized. The original source code as below: [Embed("Assets/Pathfinder_Logo_Blue.png") ] [Bindable] public var Logo:Class; To handle the error, the solution is http://www.flashdevelop.org/community/viewtopic.php?t=1723&view=next kind of simple. Just add [/] before the path that points to the image. [Embed("/Assets/Pathfinder_Logo_Blue.png") ] [Bindable] public var Logo:Class; Rate this:Like this:Like Loading... Related Categories: Adobe Flex/Air Tags: Flex/Air, PreLoader Comments (3) Trackbacks (0) Leave a comment Trackback magento go themes free February 23, 2014 at 3:22 PM Reply Heya! I'm at work surfing around your blog from my new iphone 4! Just https://siphu.wordpress.com/2009/08/14/error-unable-to-resolve-image-name-for-transcoding/ wanted to say I love reading through your blog and look forward to all your posts! Carry on the excellent work! Srilina May 26, 2014 at 8:06 PM Reply ERROR: Unable to transcode Srilina May 26, 2014 at 8:07 PM Reply i hv created a folder ‘image' under the project… icon="@Embed(‘/../image/delete.jpeg')" but it says ERROR: Unable to transcode No trackbacks yet. Leave a Reply Cancel reply Enter your comment here... Fill in your details below or click an icon to log in: Email (required) (Address never made public) Name (required) Website You are commenting using your WordPress.com account. (LogOut/Change) You are commenting using your Twitter account. (LogOut/Change) You are commenting using your Facebook account. (LogOut/Change) You are commenting using your Google+ account. (LogOut/Change) Cancel Connecting to %s Notify me of new comments via email. Simple login form with Flex and XML asdatabase Convert Westen datetime to Japanesecalendar RSS feed Google Youdao Xian Guo Zhua Xia My Yahoo! newsgator Bloglines iNezha Contact LinkedIn Profile Twitter Categories Adobe Flex/Air (7) ASP.NET (5) Java (2) JavaScript (1) Magento (2) PostgreSQL (2) Visual C# (2) Tag CloudASP.NET Cannot login Date function Flex/Air Java JavaScript login fa

and CruiseControl complained that I cannot build it ! See, CC uses compc (the command line compiler) to compile the module and it was returning:
unable to resolve 'assets/cross_cursor.png' for http://thunderheadxpler.blogspot.com/2008/03/unable-to-resolve-file-for-transcoding.html transcoding.
Here is what the code looked liked.
[Embed(source="assets/cross_cursor.png")]
So I said to my http://stackoverflow.com/questions/15525486/cant-embed-image-in-as3-file-while-build-with-ant-under-linuxdebian self, "Oh come on! I thought you can handle pngs. Poop !" - Googled the error and found this link. And the solution was to add a "/" in front of "assets":
[Embed(source="/assets/cross_cursor.png")]
Now I'm happier :-) Posted by Mansour Raad at 5:20 AM Email ThisBlogThis!Share to TwitterShare to FacebookShare to Pinterest Labels: compc, transcoding 11 error unable comments: Ned said... Do you have any idea how to fix this problem for fonts?I am trying to embed a font as such:fontFamily: "Century Gothic";fontWeight: lighter; fontStyle: normal;src: url("/assets/gothic.ttf");I have placed the gothic.ttf TrueType font file in assets and I always get the error. Any ideas?Thank you. June 30, 2008 at 6:26 AM Dzioker said... Hi Ned, If you haven't found this solution already, you just need to add error unable to -managers flash.fonts.AFEFontManagerTo the "Additional Compiler Arguments" in the properties of the project. October 23, 2008 at 11:04 AM Jobin Basani said... Thanks..!Was wondering what caused the error! May 12, 2009 at 10:42 AM Lanny said... Thanks for your post. It resolved my issue, but for some reason it was only necessary on some files. Others worked fine without the preceding slash.Cheers. September 29, 2009 at 1:57 PM Nadia said... i tried to resolve this problem by adding '/' at the fornt but didnot work. The solution i found is to add two dots and slash. e.g[Embed("../assets/soundSample.mp3")] November 24, 2009 at 3:18 AM ThunderHead said... Thanks for sharing November 24, 2009 at 4:09 AM Tyler Arehart said... I had this problem with @Embed('../img/check.png'), and I changed it to @Embed('/../img/check.png') and it works. Thanks for posting!Note for the search engines, I came across this when trying to generate ASDoc. December 14, 2009 at 8:16 PM @SeasideVenturaCA said... This problem is driving me crazy...I've tried all of the above to add a static legend png to a CreatePDF widget in the SFV and nothing works...I still get this error message[Embed(source="/assets/images/basemap.png")] [Bindable]var pngBytes:Class;myPDF.addImageStream( new pngBytes() as ByteArray, 0, 0, 0, 0, 1, "false");Thanks, June 11, 2010 at 1:11 PM John said

here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Can't embed image in as3 file while build with ant under linux(debian) up vote 1 down vote favorite I embedded a png in as3, it's all fine on windows, either use FB4.6 or Ant. But while build with Ant under linux(debian), I got this Error. Image path is /var/lib/jenkins/workspace/q5/dev_Flash/code/Copper/src/assets/c001_up.png. Project name is /var/lib/jenkins/workspace/q5/dev_Flash/code/Copper. [mxmlc] /var/lib/jenkins/workspace/q5/dev_Flash/code/Copper/src/com/copper/ui/skin/DefaultAssets.as(10): col: 3: Error: unable to resolve 'assets/c001_up.png' for transcoding [mxmlc] [mxmlc] [Embed(source = "assets/c001_up.png")] [mxmlc] ^ [mxmlc] [mxmlc] /var/lib/jenkins/workspace/q5/dev_Flash/code/Copper/src/com/copper/ui/skin/DefaultAssets.as(10): col: 3: Error: Unable to transcode assets/c001_up.png. as3 file like this package com.copper.ui.skin { /** * * @author marzwu * */ public class DefaultAssets extends Assets { [Embed(source = "assets/c001_up.png")] private var Button_Up:Class; My ant file is: Q5客户端构建