An in-depth white paper on building HTML5 advertising with CreateJS and Flash Pro. Includes supporting materials, sample banner ad, and helper classes.
73
stars
58
forks
source link
If not using setSleep, ad.sleep/ad.wake functions do not work #3
If we do not use ad.setSleep(15, [...]), then the manual functions ad.sleep and ad.wake do nothing. Presumably this is because setSleep doesn't only set a sleep timer, it also sets sleepEnabled = true. Is there a way to set sleepEnabled without setting the sleep timer?
If we do not use
ad.setSleep(15, [...])
, then the manual functionsad.sleep
andad.wake
do nothing. Presumably this is becausesetSleep
doesn't only set a sleep timer, it also setssleepEnabled = true
. Is there a way to setsleepEnabled
without setting the sleep timer?