Sie sind nicht angemeldet.

Lieber Besucher, herzlich willkommen bei: krpano.com Forum. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.

1

Dienstag, 30. Dezember 2008, 01:20

Blendmode Question

I'm trying to convert the following from a basic alpha tween/hover to a blendmode hover (with either add, screen, multiply, etc.), so from this:

Quellcode

1
2
3
4
5
6
<action name="overeffect"> 
tween(plugin[%1].alpha,0.5,distance(0.4,0.3)); 
</action> 
<action name="outeffect"> 
tween(plugin[%1].alpha,1,distance(0.4,0.3)); 
</action>

to this:

Quellcode

1
2
3
4
5
6
<action name="overeffect"> 
set(plugin[%1].blendmode,screen); 
</action> 
<action name="outeffect"> 
set(plugin[%1].blendmode,normal); 
</action>

It doesn't seem to work and in the debugger it displays: ERROR unknown blendmode "1"

What am I doing wrong? And how would I tween the blendmode?

2

Montag, 5. Januar 2009, 11:38

the code seems okay, do you have a online example?

tweening the blendmode is not possible,
only numberic values can be tweened,

3

Montag, 5. Januar 2009, 21:05

tweening the blendmode is not possible,
only numberic values can be tweened,

Okay, I'll just use the basic alpha for tweening then.

4

Freitag, 9. Januar 2009, 18:24

Would "tweening the blendmodes" be a future feature or is this a limitation of Flash 10 ?

I know in FPP you can tween the glow, blur, etc; but not sure about screen, overlay and so on...

5

Samstag, 10. Januar 2009, 17:32

no, blendmodes can't be tweened, they are fixed states

see here for more informations about the blendmodes:
http://livedocs.adobe.com/flex/201/langr…/BlendMode.html
http://livedocs.adobe.com/flex/201/langr….html#blendMode


glow, blur and so are effects (or in actionscript language - "filters"),
I have planned to add them for the pano/hotspot and plugins for the final 1.0.8 version,
should be ready soon

best regards,
Klaus