all groups > flash actionscript > june 2005 >
You're in the

flash actionscript

group:

Transparent graphics


Transparent graphics [AtomiK]
6/20/2005 8:41:39 PM
flash actionscript:
Hi,

I am making a presentation which will be re-used with many kinds of graphics.
I am currently slammed by 1 limitation: That only images in JPG format can be
loaded dynamically into a movie. This would be fine, but that problem is that
these graphics need to have transparent areas in them (so flash effects can be
seen behind the loaded image).

Am I going down an impossible road? Or is there a way to achieve this?...
Maybe some improved functionality in Flash MX 2004?

The only reason I have to load the images this way, is becasue the graphics
are all uploaded from a PHP script, and somebody making a presentation cannot
use the flash author-time environment (meaning they do not know how to edit
..fla).

I would greatly appreciate any help on this
Thanks in advance.
Re: Transparent graphics sly one
6/20/2005 9:08:08 PM
No can do.
Re: Transparent graphics knut_einar_skjær
6/20/2005 9:33:12 PM
[quoted text, click to view]

It should be easy enough to use those logos as masks then. Load the jpg
in to one mc, the logo in another, and use setMask() to accomplish your
goal ...

--
Knut Einar Skjær
Re: Transparent graphics Jeckyl
6/21/2005 12:00:00 AM
How would you define areas in your image anyway?

I think there are some utilities yo can get that will convert an image into
a SWFfile .. if those utilities support PNG or GIF (with alpha/transparency
settings) then that would solve your problem ... you could save your images
as PNG or GIF with transparency defined and then you could run them thru the
utility to convert to a SWF with transparency and dynamically load that swf.
Then there is no need for Flash in the process.
--
Jeckyl

Re: Transparent graphics [AtomiK]
6/21/2005 12:00:00 AM
What I meant by areas of the image (sorry for my vague description) was, that
each presentation would have a unique logo, with various effects taking place
behind it. So, the logo would have to have a transparent area wherever there
are no graphics.

Thank you for your reply, I will definetly check out some of those utilities.

Thanks!
AtomiK
AddThis Social Bookmark Button