JosephG
JosephG

Reputation: 3253

Possible to use flash in java application?

I am writing an application in java and have a question. Is it possible for me to make buttons, etc... In flash, and make them call functions in my java application? If so, how can I do this?

Upvotes: 0

Views: 3723

Answers (3)

Sardtok
Sardtok

Reputation: 448

If you are working on an applet, Flash can communicate with the applet via JavaScript, which has an interface for calling methods in Java Applets. It's also possible for an applet to call JavaScript functions, so it can work as a two-way wrapper. Invoking Applet Methods from JavaScript, and Invoking JavaScript from Applets.

Upvotes: 0

agodinhost
agodinhost

Reputation: 391

First of all we need to know what kind of java application you are talking about: A web application, a client server (swing, awt, swt, other gui framework), a mobile app, other kind?

Adobe Flex Builder already does it for web/ajax applications. Your view tier is flex/flash specific while your model, controller and database tiers are still java.

If you are talking about a client/server application I would say no - you can't - unless you use some kind of flash container at your view tier.

Upvotes: 1

BigMike
BigMike

Reputation: 6873

I think that a SOA based java solution can be called via ActionScript, alike Servlets can be called too via common HTTP POST (Flash or Javascript)

Upvotes: 0

Related Questions