cancel
Showing results for 
Search instead for 
Did you mean: 

How to create a par file that includes an image and a .swf file

Former Member
0 Kudos

Hi everyone,

I have a requirement to create a <b>.par file which will contain a .swf file and a .gif file</b>.

Can anyone please tell me the steps to do so.

Thanks in advance

Accepted Solutions (1)

Accepted Solutions (1)

Ranjeet0702
Active Participant
0 Kudos

You need to create a Portal Project. Then store these files under the image folder of the project. Then depoy the project on server which will give you a par file. Whenever you try to unzip it, you will get the .swf & .gif files. If you have further issue then revert back.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hey everyone, I have found the solution to it.

All u need to do is save the .swf file in the images folder. In code

use : <% String image1 =

componentRequest.getWebResourcePath() + "/images/PARTest.swf"; %>

Then use : <<b>embed src</b>="<%=image1%>" /> and not img src.

Former Member
0 Kudos

Thanks Ranjeet for the quick reply.

I have created a portal project and placed the .swf file and the .gif file in the images folder and deployed it to the server. I downloaded the .par file and chked that it contained the .swf and .gif files. But when i run the application it <b>does not show me the .swf file</b> . An icon with a cross mark appears instead. I have flash player installed on my PC .The .gif file when run works fine but not the .swf file.

Can anyone tell me a workaround for this ?

Ranjeet0702
Active Participant
0 Kudos

I never came across this type of case. I will try to search out.

Please award points for previos answer if it helped.

thanks...