Hi,

I have been developing a air application for quite some time and
currently trying to mavenize it. I have almost got it right. The only
part i dont understand is the embedding of images and fonts. I have
read in many posts about this being a issue and tried almost all
solutions. To check things
-  I have embedded the fonts and images the right way which is e.g.
   [Embed(source='../resources/fonts/SomeFont.TTF',fontName="Times New
Roman",mimeType='application/x-font', embedAsCFF='true')]  and have
similar embedding for images. I have checked the documents on how you
could add jars from the FAQs but all that i have is the font file
embedded and not using any adobe given ones.

I have also read that adding relative paths is not a good idea, but
wanted to keep the images and fonts under resources and needed it to
build in flash builder. Would be helpful if you could suggest any
other solution if there is one, for this too.

But the major reason of this happening according to me is that the
resources directory not getting copied into target, but contents
within it is getting copied. Thus the file structure doesnt remain the
same. So does that mean i would have to keep changing the code.

But my main question is how do i get this to build with all the
resources in the resources folder instead of moving it into the flex
folder.

I know that i might be missing out on something crucial and simple. I
also want to know if there is any article i could rely on as the
latest, because most of it it outdated or the maven plugins are new
which i cant use.

BTW I am using flash builder 4 and maven 2.2.1.

thanks in advance
harish







-- 
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

http://flexmojos.sonatype.org/

Reply via email to