You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@royale.apache.org by GitBox <gi...@apache.org> on 2021/01/29 08:46:33 UTC
[GitHub] [royale-asjs] mzamoun opened a new issue #1067: How to Replace CairngormEvent in Apache Royale ?
mzamoun opened a new issue #1067:
URL: https://github.com/apache/royale-asjs/issues/1067
Hi,
How to replace CairngormEvent in apache royale ?
I have this code witch not compile :
import com.adobe.cairngorm.control.CairngormEvent;
public class RightClickEvent extends CairngormEvent {
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [royale-asjs] carlosrovira commented on issue #1067: How to Replace CairngormEvent in Apache Royale ?
Posted by GitBox <gi...@apache.org>.
carlosrovira commented on issue #1067:
URL: https://github.com/apache/royale-asjs/issues/1067#issuecomment-769761201
Don't remember the implications of CairngormEvent, but in Royale you mostly need to use Royale Event `import org.apache.royale.events.Event;` so just extend from that class. If you need to make the event bubbles, just put that param to `true`
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [royale-asjs] mzamoun commented on issue #1067: How to Replace CairngormEvent in Apache Royale ?
Posted by GitBox <gi...@apache.org>.
mzamoun commented on issue #1067:
URL: https://github.com/apache/royale-asjs/issues/1067#issuecomment-769815476
Ok, thanks
it says that dispatch() doesn't exist ?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [royale-asjs] carlosrovira commented on issue #1067: How to Replace CairngormEvent in Apache Royale ?
Posted by GitBox <gi...@apache.org>.
carlosrovira commented on issue #1067:
URL: https://github.com/apache/royale-asjs/issues/1067#issuecomment-769831652
I think you refer to a method "dispatch()" in CairngormEvent, but that's only Cairngorm.
In Royale is like in Flex you need the host class to be a dispatcher or similar.
I recommend to search in list since I think Greg Dove posted a link with a Cairngorm migration to Royale, maybe it will be of help to you.
Also I recommend you to switch to Crux since is far more potent and easy to use and also I think Greg did a "command" like
Cairngorm class for people coming from Cairngorm. If you want to see Crux in action you can check our examples for the jewel crux version of TodoMVC example that use it.
HTH
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org