royale-asjs icon indicating copy to clipboard operation
royale-asjs copied to clipboard

question: drag and drop in Royale

Open jgomer2001 opened this issue 2 years ago • 3 comments

Hi there, this is a general question. Any insight appreciated.

I used to be skilled at as3 + mxmlc back in those times of Flash/Flex glory and I'm happy to find there exists a high quality project that brings this knowledge to the scene again

I'm trying to figure out the capabilities that Royale offers regarding drag and drop. I found issue #1114 so it seems there is basic supported. My target is creating a webapp that allows building flowcharts (somewhat like a BPMN editor), so drag and drop is key.

There are several diagramimng libraries that would help, they are all Javascript-based but I don't want to mess with JS.

Do you consider I can get any far in a project like this using Apache Royale? does it sound like a tremendeous challenge or something rather manageable for a single dev?

Thanks in advance

jgomer2001 avatar May 26 '22 12:05 jgomer2001

Hi, my experience with D&D is small but it was satisfactory (let's wait for other users to comment their experiences).

As for the diagramming libraries, if they are in js, they can be consumed by Royale without problems (at this point "I'm not an expert" but I currently consume several js libraries in my projects: Apache ECharts, jsCalendar, Inspire-Tree, Virtual-Select, ...)

Consulta la documentación de @externs [1]

mjesteve avatar May 26 '22 14:05 mjesteve

I would like other contributors to comment as well, thank you all @joshtynjala @greg-dove @piotrzarzycki21 @yishayw @Harbs

jgomer2001 avatar May 31 '22 12:05 jgomer2001

DragAndDrop is a library that helps drag items in a list to a target list (including DG etc.). DragBead can be attached to controls to make them draggable.

I agree with @mjesteve about using 3rd party libs.

yishayw avatar May 31 '22 14:05 yishayw