blackedout blends on mobile? [solved]
Posted: Sun Jul 07, 2013 6:40 pm
I am attempting to fade a transparent field of white text. My script fires off messages to the card to incrementally increase the transparency blend from 0 to 100. On desktop/IDE this works fine. On mobile the entire field immediately becomes opaque and black. Are blends not designed to work on mobile? Is there something wrong with this?
Code: Select all
command fadeText theField
put 2000 into effectTime
put 20 into effectSteps
set the blendLevel of field theField to 0
set the ink of field theField to "blendClear"
repeat with i = 1 to effectSteps
put the round of (i * (100 / effectSteps)) into theFade
send "fadeIt theField, theFade" to this card in ((effectTime/effectSteps) * i) milliseconds
end repeat
end fadeText
command fadeIt theField theFade
debugIt (" effect fadeIt acting upon field " & theField & tab & " with blendlevel " & theFade)
set the blendLevel of field theField to theFade
end fadeIt