Hey Velo.
Thanks, that solves the problem when I place the file under
src/main/flex/resources,

but I would really prefer to have the asset under src/main/resources, and I
tried
it there, of course updating the embed source to "/swf/hra.swf", but this
also fails.

Does flex-mojos include the src/main/resources folder as a source folder?



On Tue, Nov 25, 2008 at 2:41 PM, Marvin Froeder <[EMAIL PROTECTED]> wrote:

> Add a slash at begining...
>     upSkin: Embed(source="*/*resources/swf/hra.swf", symbol="buttonUp");
>
> AFIK, if you try to use mxmlc (or compc) you will get the same error.
>
>
> VELO
>
>
> On Tue, Nov 25, 2008 at 10:38 AM, Hennie Louw <[EMAIL PROTECTED]>wrote:
>
>> Hi Guys.
>> I'm have a problem with flex mojos 1.0 and embedding assets contained in a
>> swf into my app.
>>
>> Folder structure is the following:
>>
>> {app root}
>> |-- src
>>     |-- main
>>         |--flex
>>            |-- style.css
>>            |-- main.mxml
>>            |-- resources
>>                |-- swf
>>                    |-- hra.swf
>>
>>
>> Within the style.css I have the following:
>> .myStyle {
>>     upSkin: Embed(source="resources/swf/hra.swf", symbol="buttonUp");
>>     <!-- Etc -->
>> }
>>
>> This compiles without a problem from flex builder, but when compiling via
>> maven I get the dreaded "Unable to resolve 'resources/swf/hra.swf' for
>> transcoding"
>>
>> I have tried moving the folder to {app root}/src/main/resources as well
>> but it doesn't resolve the problem.
>> Any ideas what I've done wrong ?
>>
>>
>>
>>
>>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Flex Mojos" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/flex-mojos?hl=en?hl=en

http://blog.flex-mojos.info/
-~----------~----~----~----~------~----~------~--~---

Reply via email to