Openfl-legacy can't find lime.app.Application

Hi,

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:

import lime.app.Application;

to my project generates the error:

Class not found : lime.app.Application

How can I use legacy OpfenFl with lime?

Legacy openfl uses legacy lime, which doesn’t have lime.app.Application,

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.