Return to Starling Playback Library

Code logic inside flash in AS3

Questions related to Starling playback library should be asked here.

Code logic inside flash in AS3

Postby Gerry Kaute » February 20th, 2018, 7:59 am

I have read that we can dispatch Events etc... from the timeline
Can we use some logic too to dispatch an event from USER INPUT - not just TOUCH
Example: movieclip1 is dragged to moveiclip2 hitTest - if movieclip1 intersects movieclip2 - DISPATCH an EVENT.

Can we do this?
User avatar
Gerry Kaute
 
Posts: 3
Joined: February 18th, 2018, 2:10 am

Re: Code logic inside flash in AS3

Postby Gerry Kaute » February 20th, 2018, 8:48 am

OK I have just seen the slot machine code. You can create instances from the GAF objects.
So answered myself. :lol:
User avatar
Gerry Kaute
 
Posts: 3
Joined: February 18th, 2018, 2:10 am

Return to Starling Playback Library

Who is online

Users browsing this forum: No registered users and 2 guests