I think I figured it out.  Another file in another completely separate project was referencing the .swf, and couldn’t find it.  However, that file wasn’t even open or being compiled.  Why would Flexbuilder2 attempt to resolved all paths in other projects when you only want to compile one project? Does it just automatically do this as a “feature” – not very obvious to a user like me, but maybe this is how Eclipse is “supposed” to work?

 

Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com









From: [email protected] [mailto:[email protected]] On Behalf Of Merrill, Jason
Sent: Monday, October 24, 2005 3:29 PM
To: [email protected]
Subject: RE: [flexcoders] What is a "transcoding" error in Flexbuilder 2?

 

Yeah, as I said, the file path is correct, the file is there, and it also shows up in the application after compiling, so that’s why I’m baffled about the error. 

 

Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com








From: [email protected] [mailto:[email protected]] On Behalf Of Roger Gonzalez
Sent: Monday, October 24, 2005 3:24 PM
To: [email protected]
Subject: RE: [flexcoders] What is a "transcoding" error in Flexbuilder 2?

 

Transcoding is what happens to convert one form of encoding (i.e. a GIF) to another form of encoding (SWF).  In this case, its really just a "wrap SWF asset up for use inside the application" transcoder.

 

But anyway, the error here is that it couldn't resolve (locate) the file.  Make sure your relative path is correct.

 

-Roger

Roger Gonzalez
[EMAIL PROTECTED]

 

 

 


From: [email protected] [mailto:[email protected]] On Behalf Of Merrill, Jason
Sent: Monday, October 24, 2005 12:16 PM
To: [email protected]
Subject: [flexcoders] What is a "transcoding" error in Flexbuilder 2?

I am getting some errors in the Flexbuilder 2 Alpha which have me perplexed.  I am embedding a .swf file in my application with:

 

<mx:Image source="@Embed('assets/titleBackground.swf')" creationCompleteEffect="{SlowFade}"/>

 

And it works fine.  The .swf displays as expected, and is in the proper asset folder in my project.  However, today I am getting these error messages every time I compile:

 

“Unable to resolve assets/titleBackground.swf for transcoding.”

“Unable to transcode assets/titleBackground.swf”

 

What do those mean?  The only thing I could find in the help docs about transcoding was:

 

“The following example points to an ambiguously typed source property and specifies a MIME type so that Flex uses the proper transcoder to import the resource:

[Embed(source="http://getpic.com/getsvg", mimeType="image/svg")]

var pic:String; “

 

But I don’t see how that would relate to my project.  Just an “Alpha” thing?  Thanks for any insight.

Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com

 

 

 

 

 

 

 

NOTICE:

This message is for the designated recipient only and may contain privileged or confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of this e-mail by you is prohibited.





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS




Reply via email to