Administrator
Last active 6 months ago
You should try to implement a local storage, it's the only way to register events thorugh pages, but needs some advanced coding skills.
Try to put it asynchonously through a setTimeOut with different timings for each, just an attempt:
setTimeOut(function() { $("#obj431").trigger(PubCoder.Events.TouchDown) }, 10); setTimeOut(function() { $("#obj433").trigger(PubCoder.Events.TouchDown), 20); setTimeOut(function() { $("#obj435").trigger(PubCoder.Events.TouchDown), 30);
Sì, usando l'oggetto contatore! Ogni volta che l'oggetto è trascinato, aggiungi uno all'oggetto contatore. Sull'oggetto stesso, al raggiungimento dell'obbiettivo (che gli definisci tu) fai scatenare le azioni che vuoi.
Hi CL,
we've noticed there is one case on ID duplication, that's when you use more than one audio file per page (not Audio OBJECTS). Is this your case?
Ciao Davide,
l'abbiamo notato anche noi, vogliamo passare a JSON ma ci vorrà un po' di tempo.
Infatti, è così. Bisogna trovare un modo diverso, e noi non lo abbiamo ancora trovato.
Actions are tied to - and triggered by - events. A workaround is to insert an object outside the visible area, add actions to the touch up event, and trigger the touch up event actions attached to that object from outside. Touch will never be triggered by the user, it's just a way to trigger those actions. Hope this is clear.
1- Yes, in the Example project at page 31 "Run Javascript Action" there is an example on how to use the code editor's snippet in combination with PubCoder events' namespaces.
2- Interesting, have to look into it.