1

I would like to be able to incorporate a simple game, written in Java as a component within a Flex Application. Am I crazy?

Flex can display HTML, and SWF, it can also call JavaScript - but can I incorporate an applet somehow?

I do NOT mean kludging it in as a sister component within a browser, but actually within the flex application itself, so that it could also run under Adobe Air, for instance.

2 Answers 2

1

No, Flash doesn't have a JVM. You would need to convert your Java to ActionScript somehow.

Sign up to request clarification or add additional context in comments.

1 Comment

Johannes, that just makes me sad.
0

Running a Flex application inside a Java program is possible, not the opposite.
It might be possible to compile a Java Virtual Machine (if it's written in C) using Alchemy... but I don't think you want to go there, converting your code would be easier and cleaner ;)

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.