yishayw commented on issue #1106: URL: https://github.com/apache/royale-asjs/issues/1106#issuecomment-828131396
I see things like <j:Image src="images2/afericao.png"/> Have you tried <j:Image src="/images2/afericao.png"/> Instead? From: André Thiesen da ***@***.***> Sent: Tuesday, April 27, 2021 10:28 PM To: ***@***.***> Cc: ***@***.***> Subject: [apache/royale-asjs] Help using images and assets from SWC libraries (#1106) Hello everyone We are working on a migration project using Apache Royale and the project contains plenty of SWC files that contains JPG and PNG images. We have been trying to use them directly from the libs but without any success. If we copy the file directly to the source folder it works. But we need to be able to refer and use the images inside the libs. Attached is an example project we setup showing 4 images (2 from libs and 2 from source folder) and the ones from the libs are not shown, not matter the compiler options we set in the asconfig.json. using-images-example.zip<https://github.com/apache/royale-asjs/files/6387102/using-images-example.zip> We are using VS Code with Apache Royal 0.9.8. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub<https://github.com/apache/royale-asjs/issues/1106>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAQBE7IJ2NVKF24RHJMYLSDTK4F47ANCNFSM43VTXPEA>. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org