Openfl-legacy can't find


I added <set name="openfl-legacy" /> to the project.xml, in order to use v2 OpenFl functionality.
Unfortunately after adding that line, I can’t import lime modules any more. For example adding:


to my project generates the error:

Class not found :

How can I use legacy OpfenFl with lime?

Legacy openfl uses legacy lime, which doesn’t have,

if you want the old openfl but with the new lime you need to use hybrid instead of legacy.
-Dhybrid or <set name="lime-hybrid" />

Thx for the fast reply, <set name="lime-hybrid" /> solved the issue.