Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 08-14-2004, 04:52 PM   #1
Xeef
Off-Line
 
Xeef's Avatar
 
Join Date: Aug 2004
Location: Ibiza/Spain language :Hungarian/German/ abit English
Posts: 6,539
Default _Alpha JPEG custom MASK ?

hi to all

i have a brordgame something like Chess bild up from MovieClips now i place the figure on it which are also movieclips PNG because i need the Alpha chanel else it show a black box aruond it

now the problem :
players shoud be able to make their figures mean if ther is a Local file like "King" then this shud be placed on the bord instead the one from the server but there seams to be no way to load PNG files from AS.
Loadmovie just work on jpeg an swf files jpeg has no Alpha to Mask it is also no way because the mask woud need to be also a jpeg (is there a way to take the Black(white) or one RGB chanel as the Mask?)Mean a Box whit a White spot in it as mask and from the masked movie shud just the spot be visible ?

or it is just Impossible what i want ?

Last edited by Xeef; 08-15-2004 at 12:05 AM.
Xeef is offline   Reply With Quote
Old 08-16-2004, 01:14 PM   #2
emergency_pants
Today I smell of toast
 
Join Date: Dec 2002
Location: London, UK
Posts: 1,053
Default

Xeef,

There is an extension available, by Stromberg Larsen, called "img2swf".

http://www.img2swf.com/

It will allow you to imports png files with transparency straight from the server.

I haven't used it myself, so I am unable to give you a review of it, but I believe it is a payware extension ($99 I think).
__________________
Cheers,

Simon.
emergency_pants is offline   Reply With Quote
Old 08-16-2004, 09:47 PM   #3
Xeef
Off-Line
 
Xeef's Avatar
 
Join Date: Aug 2004
Location: Ibiza/Spain language :Hungarian/German/ abit English
Posts: 6,539
Default

thanks for the Anser but its not reali what i searching for not wan a use anithing else then Flash so no aditional komponents (if then the one i made)
Xeef is offline   Reply With Quote
Old 11-16-2004, 10:17 PM   #4
xxlm
Meuh? MMeuh!
 
xxlm's Avatar
 
Join Date: Sep 2001
Location: Auckland - New Zealand
Posts: 3,050
Send a message via ICQ to xxlm Send a message via AIM to xxlm Send a message via MSN to xxlm Send a message via Yahoo to xxlm
Default

Perhaps this thread could help:
http://www.actionscript.org/forums/s...light=jpgtoswf
__________________
I'm a froggy, so excuse me for my poor english
Blog - Dev By MX
For any jobs go on my blog on the contact page...
xxlm is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:51 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.