Visual effects in ide vs mobile
Posted: Wed Jan 28, 2015 8:34 pm
I have a card with 2 images. Each image covers the whole card.
I am trying to show the Layer 2 image show when the card opens. After about 1 sec I want the image at layer 1 to be uncovered with the iris visual effect.
Then I do some stuff (play a short audio file) and then I show the Layer 2 picture with visual effect.
When I run this in the IDE it all works like a charm. (the audio doesn't work but that's ok)
When I test on the iOS simulator. Everything works fine except the visual effects are completely missing.
Here is the code I am using:
on openCard
wait 1 Second
Hide image"Portal"with visual effect iris open very slowly
put "174.aiff" into tAudio
if the environment is mobile then
mobilePlaySoundOnChannel tAudio,"current", "now"
else
end if
wait 6 sec
show image Portal with visual effect iris close very slowly
go cd 1
end openCard
Am I doing something wrong?
I am using LC 7.0.1 on a Macbook Air with Yosemite OS.
Any help would be appreciated.
Thanks
Tom
I am trying to show the Layer 2 image show when the card opens. After about 1 sec I want the image at layer 1 to be uncovered with the iris visual effect.
Then I do some stuff (play a short audio file) and then I show the Layer 2 picture with visual effect.
When I run this in the IDE it all works like a charm. (the audio doesn't work but that's ok)
When I test on the iOS simulator. Everything works fine except the visual effects are completely missing.
Here is the code I am using:
on openCard
wait 1 Second
Hide image"Portal"with visual effect iris open very slowly
put "174.aiff" into tAudio
if the environment is mobile then
mobilePlaySoundOnChannel tAudio,"current", "now"
else
end if
wait 6 sec
show image Portal with visual effect iris close very slowly
go cd 1
end openCard
Am I doing something wrong?
I am using LC 7.0.1 on a Macbook Air with Yosemite OS.
Any help would be appreciated.
Thanks
Tom