Return to Starling Playback Library

I cannot fire more than one dispatchEvent per frame

Questions related to Starling playback library should be asked here.

I cannot fire more than one dispatchEvent per frame

Postby Gigi Marzullo » July 20th, 2017, 12:02 am

Why can I only dispatch one even per frame?
I wanted to dispatch 2 but it exports only the first when I inspect the actions in as3 code.
User avatar
Gigi Marzullo
 
Posts: 20
Joined: March 10th, 2017, 4:42 pm

Re: I cannot fire more than one dispatchEvent per frame

Postby Gigi Marzullo » July 22nd, 2017, 7:57 am

It seems to me there is no way to do it but I don't get why then actions is defined as Vector.<CFrameAction>.
I tried to define even 2 different layers with the 2 actions, but nothing... and the instructions don't seem to suggest a way:

https://gafmedia.com/documentation/how- ... -animation

I am forced to define the dispatches at different frames. I want to pass some configuration data from flash but first frame is already taken by another dispatchEvent action.

any suggestion?
User avatar
Gigi Marzullo
 
Posts: 20
Joined: March 10th, 2017, 4:42 pm

Return to Starling Playback Library

Who is online

Users browsing this forum: No registered users and 1 guest