Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-02-2004, 12:08 PM
Member
 
Join Date: May 2004
Posts: 78
Default SWFGen Image replace

Just two questions as I'm getting more used to your brilliant software.

My project involves producing a .swf using SWFGen. I want users to be able to add their own logo and include this in the finished .swf file.

I've been able to do this - and I'm delighted - apart from two things.

1. The quality of the uploaded image. No matter what settings I use - for the original .jpg or for the .swf file where the image is replaced - the image quality is always poor. Is there a way of making the image quality better?

2. The SWFGen onSubImage command uses:
ID Integer. Read-only. Represents the identifier of the image.

Is there a quick way to find out the ID Integer of an image? I literally kept trying out different numbers until it replaced the correct image.

Thanks very much. Aside from these two issues I am amazed at what this software can do. Thank you.
__________________
:)
Reply With Quote
  #2 (permalink)  
Old 08-03-2004, 01:35 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:SWFGen Image replace

1. If the size of the new image is different from the size of the original image, SWFGen will stretch the new image to fit the original one. If you want to keep the image quality, please use an image with the same size of the original one.

2. We have a new tool "SWFImg", it can extract images from SWF files. We will send it to you.
Reply With Quote
  #3 (permalink)  
Old 08-03-2004, 02:34 PM
Member
 
Join Date: May 2004
Posts: 78
Default Re:SWFGen Image replace

Ok - thank you. This doesn't quite solve my issues though.

1. When I replace an image the published swf with new jpg always has a poor .jpg quality - even if the jpg file is of good quality and the same size.

2. 'ID Integer' - how do I find the ID Integer of an image in my flash file?

The tool you sent me was really impressive, but it doesn't tell me the ID Integer. I thought there would be a way of simply doing this via the Flash authoring program, but I cannot find it. :P
__________________
:)
Reply With Quote
  #4 (permalink)  
Old 08-04-2004, 02:57 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:SWFGen Image replace

1. in the handler of event "onSubImage", you can set the iamge quality
Code:
function onSubImage(object)
{
    object.quality = 100;
    object.needSub = true;
}
"quality" can be 1..255

2. The "swfimg" tool can extract images in a swf movie. The file name of the extracted image is the id of it.
Reply With Quote
  #5 (permalink)  
Old 08-05-2004, 06:39 PM
Member
 
Join Date: May 2004
Posts: 78
Default Re:SWFGen Image replace

Superb - this is fantastic.

You guys should win some prize for having the best supported software on the internet. Thank you.
__________________
:)
Reply With Quote
  #6 (permalink)  
Old 09-30-2004, 09:45 AM
Member
 
Join Date: Jan 2003
Posts: 56
Default Re:SWFGen Image replace

Awesome! I wonder if the quality feature is new, but it sure is nice!
Reply With Quote
Reply

Was this information helpful?    Yes No



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 11:27 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.