Flash CS3 - Flash CS4

Free tutorials and scripts for all.
Actionscript 3.0

png con alpha da photoshop

This is a discussion on png con alpha da photoshop within the Actionscript 3.0 avanzato forums, part of the Flash CS3 generale category; ciao ho un'immagine (non mia) in photoshop e la importo in flash come livelli. e, di ogni symbol bitmap ...


Go Back   Forum Flash CS3 Flash CS4 > Flash CS3 e Actionscript 3.0 > Flash CS3 generale > Actionscript 3.0 avanzato

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  1 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 11-06-08, 17:04
Senior Member
 
Join Date: Jan 1970
Posts: 130
Rep Power: 39
nootropic.kint is on a distinguished road
png con alpha da photoshop

ciao
ho un'immagine (non mia) in photoshop e la importo in flash come livelli.
e, di ogni symbol bitmap su flash ho fatto un mc.

actionscript non riesce a "bucare" l'alpha dei livelli

nel senso che ad un listener su mouse_move sugli mc
mi traccia solo quello più esterno..

come posso fare?
cacheAsBitmap non mi è di alcuna utilità...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #2 (permalink)  
Old 12-06-08, 19:38
tem's Avatar
tem tem is offline
Moderator
 
Join Date: Jan 1970
Posts: 455
Rep Power: 39
tem is on a distinguished road
Re: png con alpha da photoshop

Ciao!
quando le importi, flash considera la trasparenza come immagine e l'mc che crei sarà un rettangolo o un quadrato.. quindi in questo momento è come se avessi più mc uno sopra l'altro e puoi interagire solo con quello di livello superiore..

puoi risolvere dando ad ogni mc una hitArea disegnata ad hoc o disabilitando mouseEnabled e mouseCildren per l'immagine.. ma così non potrai più interagirci.. dipende cosa devi ottenere..

es:

Code:
my_mc.hitArea=area_mc;
my_mc.addEventListener(MouseEvent.MOUSE_OVER,my_method);
Code:
my_mc.mouseEnabled = false;
my_mc.mouseChildren = false;
__________________
http://www.thetconcept.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Bookmarks

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
Forum Jump

Similar Threads

Thread Thread Starter Forum Replies Last Post
Actionscript 3 caurina > NO alpha per testi dinamici ehijon Actionscript 3.0 base 4 03-07-08 17:21
Accelerata con alpha theboss280489 Actionscript 3.0 avanzato 2 11-02-08 13:32
alpha su testo nextframe Actionscript 3.0 base 9 08-01-08 08:42
alpha ereditata da parent nootropic.kint Actionscript 3.0 base 2 30-11-07 07:36
Mc alpha effect persistent freesoul Actionscript 3.0 base 2 24-11-07 06:17


All times are GMT. The time now is 09:16.


Powered by vBulletin versione 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC4
Forum SiteMap


FlepStudio
by Filippo Lughi
P.IVA 03605860406