Integrating Flash With Java Game
hi guys,
i'm doing the final touch up for my RPG, i plan to put flash animation as intro before my game starts, is it possible to call .swf file directly from java itself, how am i gonna make it possible??Please advice~
Thanks~
here's that dhtml trick I was telling you about:
<html>
<head>
<title>Example</title>
<style type="text/css"><!--
#tagArea {
font: 10pt tahoma,verdana,serif;
--></style>
<script language="javascript"><!--
/* edit the next two variables to your swf/applet tags
* after trying this example out
var swfTag = "[your swf tag here] pretend this is a <a href=\"javascript:flipTags();\">link</a> in your swf object";
var appletTag = "[your applet tag here]";
var swf = true;
/* when this gets called, the switch of tags is made */
function flipTags() {
var tagArea = document.getElementById("tagArea");
if (swf) tagArea.innerHTML = appletTag;
else tagArea.innerHTML = swfTag;
swf = !swf;
//--></script>
</head>
<body>
<div id="tagArea">
<script language="javascript"><!--
document.write(swfTag);
//--></script>
</div>
</body>
</html>if you're too lazy to slap all that into an html file, go ahead and jsut view it here :P
Similar Messages
-
i have a form made with flash, and form handlers made with java. So how can i make it work. i have couple java packages that make the calculations from the values given in flash form.any good websites that have info about java and flash?
hey, try getting both communicated with XML
-
Flash and java games not working
hi,
when i try to play online games that uses flash or java, they wont load, flash games just show the red F, IVE TRIED DOWNLOADING FLASH FROM ADOBE, but that didnt work, ive tried updating my software to the latest version, that didnt work either. ive also tried the update app, but none were found.
the phone is a nokia 5800 music express,
any help would be apppriciated,
many thanks ,
wayne.The flash app you're trying to play has to support Flash Lite, otherwise it won't work. Flash content has become pretty demanding in terms of hardware required to run it smoothly, or run it at all for that matter...
The question here is, did the content you're trying to view/play work before, and on which mobile phone? If you never had success in using the same flash/java apps/applets on any phone, then trying to solve your problem is feasible. If not - most likely you've run into a demanding app(let) which simply needs the full Java RE or Flash, and it won't work with mobile Java or Flash Lite.
Careful what you wish for... You just might get it. -
Hi,
How can Excel be integrated with Java such that if a user is working on an Excel , my Java application should be able to capture all the events from Excel Sheet.
I have looked into POI, but it seems to me , it can read and wriite to Excel from Java, but i would like that if a user is making changes to a spredsheet then my Java Application should be notified about those changes
In short, i would like to expose front end of a web application in Execl!
Is there any open source package that can help in doing the integration
Kindly share your views/ suggestionsjschell wrote:
If you just want most of what is occuring in Excel only then there are probably events in the Excel API (OLE >probably) that allow you to modify and react to changes. In my experience figuring out how to do that is very >difficult even for small bits of functionality.Can u please explain a little more on this.
Can i use JNI to listen to COM server, probaly if i create some proxies for Excel that use JNI to listen to COM Server.
I found a link on the internet http://www.ibm.com/developerworks/java/library/j-bridge/
This Java bridge can integrate COM objects into their applications. But i am not sure if i can capture the live stuff from an Excel file when somebody is editing it.
Also i would like to know, what should be the best stratergy when i would like to expose the Front end of an application in Excel , since the application involves a lot of numbers and users are more comfortable with Excel interface, and the rest of the application you want in Java.
Kindly share your views on this! -
Hi,
Im looking to integrate flash with swings. This is for a desktop application, not a web based application. I was looking for some help on this, if someone could help me with it.
Regards,
Ghost RiderFlash is proprietary technology and they don't play nice with others. Same reason why you can't load an MSWord doc in a Java GUI. If Flash WAS an open technology, then perhaps someone would/could build a plugin or some way to do it.
-
any ideas on dynomite-like games??
where can i find online tutorials on how to make java games??honestly, it depends on your level! what can you program? can you use double-buffering? can you load and display images? i have a few classes i could supply you to help you make a game ( DoubleBufferedPane , SoundClip, MusicClip, Sprite, etc. ) owever i dunno where you are in leraning java...
-
Integrating Flash with Lectora 2006
Dear all,
Does anyone know how I can create a variable in Flash AS 2.0
that can communicate with a SCORM wrapped Lectora course on an LMS
(the Flash movie would be within the course as an external HTML
object)?
Also, how do I do the reverse and create a varible in Lectora
(i.e. QuestionPoints) and be able to write to and increment its
value from within the embedded Flash movie?
Much appreciated.
Ant.Flash is proprietary technology and they don't play nice with others. Same reason why you can't load an MSWord doc in a Java GUI. If Flash WAS an open technology, then perhaps someone would/could build a plugin or some way to do it.
-
Connecting Flash with Java inside a mobile phone
Hello,
I'm working on a TBOT project that is running on Java on
mobile phones, and we have been pondering the possibilities of
making the UI with Flash Lite 2.0. Currently we are thinking of
using XML / textfiles to get the data to FL from the java, but
sending data back to the Java client inside the mobile phone is
something I have no experience of, and was wondering if it is
possible even?
Basically can a FL application connect with / contact other
applications / services in the same mobile phone? EG. Sending data
to somewhere in a mobile phone? Or can the Java somehow intercept
stuff Flash lite sends out for example?
Thank you for all your help.
Cheers
NiiloI think you will be happier if you go about it through Bluetooth. I had a dongle for my Ibook 1.2 and now my Ibook 1.33 is bluetooth enabled.
I use Verizon and have a Motorola V710 (bluetooth) . The connection works perfect everytime! I am disappointed that this new model Verizon phone does not support Isync. To sync data from the computer to the phone. I did find that Verizon was not very helpful as they don't seem to know much about Macs. I had to find out on how to connect via Google. Good luck! Geof -
Need help integrating flash with asp
i am creating a dynamic site that pulls all of its content
from and access database. i would like to make the entire page in
flash. i have never used flash to pull any content from a datbase
before. does any one know how to do this ? or know of a good
tutorial? i can only seem to find tutorials for flash 8 or flash 5,
nothing for mx2004.
it seems like every thing i try doesnt work and no one knows
how to help me.
feeling very discouraged,
-furleyFlash has nothing to do with getting data from an Access
database.
You need to focus on either ASP or ASP.Net, a scripting
language for the
server script either JScript or VBScript, middleware usually
ADO or ADO.Net
and finally SQL. All of these items go together in a server
side script that
could work with non-Flash or Flash client interfaces. You
should find many
tutorials on the internet with these items as it has been
done for nearly a
decade.
You also can use ColdFusion.
For Flash, you need to learn LoadVars Actionscript class if
you plan to
communicate data in the URL Variables format or XML
Actionscript class if
you want to use XML data format. It will not really matter to
Flash what is
on the server side as it will only be sending and receiving
data in either
of those two data formats (URL Variables or XML).
If you want to look at some Using VBScript, ASP, ADO and an
OLEDB Connection
examples I use for seminars in Web database you can take a
look here:
http://www.hosfordusa.com/ClickSystems/courses/webdb/.
However they lack
Flash example but would work "as is" with a Flash example.
Once you look at some of those options, you can then form
more specific
questions for this forum and especially with using the
LoadVars and XML
Actionscript classes or the XML connector Flash component.
Lon Hosford
www.lonhosford.com
Flash, Actionscript and Flash Media Server examples:
http://flashexamples.hosfordusa.com
May many happy bits flow your way!
"professorfurley" <[email protected]> wrote
in message
news:[email protected]...
i am creating a dynamic site that pulls all of its content
from and access
database. i would like to make the entire page in flash. i
have never used
flash to pull any content from a datbase before. does any one
know how to do
this ? or know of a good tutorial? i can only seem to find
tutorials for
flash
8 or flash 5, nothing for mx2004.
it seems like every thing i try doesnt work and no one knows
how to help
me.
feeling very discouraged,
-furley -
Integrating Flash With Captivate 4
I wonder if anyone can help me. I have searched the net and these forums but I can't seem to find any answers to my problems. I am attempting to create a quiz in Flash and put it into Captivate, (using the course builder section, I have the e-learning package). I can do this but the quiz just seems to play through and not stop. Does anyone know how to do this correctly? Is there anything I should add into the scripting? And should this be done in Flash or Captivate? Would greatly appreciate any help.
Also is Flash the best way to try to modify or enhance Captivate? The person I'm creating this for wants something like a Raptivity Quiz in a Captivate program. So far I seem unable to create anything in Flash that will work correctly in Captivate. Again I'd be greatful if anyone could shed any light.Hi there
Sure, lots of folks here create Flash Widgets and Gizmos and use them with Captivate. So it does actually work. Likely you just need to figure out the relationship. (I'm not a Flash savvy person, so I don't mix the two)
Question here though. Captivate has its own quizzing built into the product. Why Flash? Does it do quizzing better? Or was this just someone's requirement without having any knowledge Captivate does quizzing?
Cheers... Rick
Helpful and Handy Links
Captivate Wish Form/Bug Reporting Form
Adobe Certified Captivate Training
SorcerStone Blog
Captivate eBooks -
SSO Integration problem with Java version in 10g
Hi,
I'm following the instructions to integrate my HTML DB with 9iAS 9.0.2 SSO. The instructions tell me to download the SSO PDK and extract the file SSOHash.class then load it into my FLOWS_xxxx schema. My database version is 10g, and the loadjava fails with the following message:
Error while testing for existence of dbms_java.handleMd5
ORA-03113: end-of-file on communication channel
The reason is that the function handleMD5 is no longer in the dbms_java package in 10g, it is in this package in 9i. Has anyone got a workaround to this?
Thanks,
SteveScott,
Actually I'm wrong about the function not being there, it is. But someone else is having the same issue, please look here:
loadjava hangs
Steve -
Hi
Is it possible to retrieve the session attributes in PHP, that are set in JSP?
My requirement is as i login ,i shud be redirected to a PHP page and in that page i need to access the session attributes which i set on authentication.
Any help is greatly appreciated.I think you'd have to have a back door to do that. Basically the only thing that your PHP and Java will have in common is the session id that will come back in a cookie or a URL rewrite. Something on the Java side would have to present a page or an API or something to allow the PHP to get all of the variables.
But this sounds like a horrible hack. I'd encourage something easier like have the Java side put the stuff you need into a database or a flat file or something that is more naturally shared. I could see a database table that has the session id as the primary key and has all of the other things you need in it. -
How can I download java game?
Hi everyone, sorry for my english, it is not my native language.
I have Game.Jar file, which is java game for Nokia ,and I uploaded this file into database.
Now I have a filed, type of byte[] (array of bites)
next, I generate URL like http://site.com/getfile.xxx?id=10, and then user go to this URL via WAP, and trying to send him byte[] array with java game data.
But I don't know which Content-Type i must send :(
I trying to send Content-Type: application/jar , but after downloading game into mobile phone, the game doesnt open :(((
please help me!excuse me, it's actually application/java-archive
This works for me (PHP) but unfortunately you have to rename the downloaded file to .jar:
<?php
$file = fopen("MimeTest.jar","r");
header("Content-Type: application/java-archive");
$text = fread($file,filesize("MimeTest.jar"));
print $text;
fclose($file);
?>You can try it out here: http://woogley.net/misc/MimeTest.php
Download that and rename it to .jar and see if the data stayed in tact.. -
Integrating Flash into Dreamweaver
Hello All,
I am a newbie and just finished a Flash class. However we
didn't hardly talk at all about integrating Flash with Dreamweaver.
What I want to do is create an intro page that has Flash and
then you have to click on a Button to go into the main site. I
understand a little of Behaviors and Actionscripting so thought
that I would do the GetURL Behavior (going off memory here) to get
me from the Intro page to the main Dreamweaver site.
Question is... do I export an SWF file, put that in a
index.html page for the Intro page and then link to the main
Dreamweaver site but have the main site not an "Index" file but
another name...maybe main.html.
Is this what people do? Or do they take the generated .html
file from Flash (its published) and just use that as their intro.
Naming it index.html. And then linking to another *.html created
with Dreamweaver but that is not saved as index.html.
Also, how often are people doing a PURE Flash website and not
mixing the Flash and Dreamweaver together? Just curious.
Thanks for clarifying.
ComputerkittenHmm... looks ok to me. You should be able to place it in a
folder without
problem. I'd try using SWFObject to put the Flash on the page
though - that
_might_ fix your problem. Odd one.
http://blog.deconcept.com/swfobject/
Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ -
I have installed few java games like prince of persia... but there is no sound coming out of it even after checking twice that i have the sound switched on... there is vibration but no sound...
this is **bleep**... how come the warning tones is connected with java game sound... grrrrrrr
Maybe you are looking for
-
Still unable to open gmail from a webpage in Firefox 4
I reset the toolbar mailto gmail no change
-
Getting an error while installing oracle 10g release 2 on CentOS 5 (Linux Distribution) Installed prerequisite RPM's: -compat-db-4.2.52-5.1.i386.rpm - sysstat-7.0.2-1.el5.i386.rpm - libaio-devel-0.3.106-3.2.i386.rpm - libXp-1.0.0-8.1.el5.i386.rpm And
-
I'm using NT, Labview 5.0 and NI-DAQI 6.8.1. also LV 6.1 w/NI-DAQ 6.9.2 and would like labview to determine the current SCXI gain settings. How can I parcel the ni-config.daq file into text?
-
Support of SHA-2 256 in Windows Embedded Standard 7 SP1
Is there support for SHA-2 256 in Windows Embedded Standard 7 SP1 OS? If so, is there any possibility of setting it through registry settings?
-
Hi everyone, I am confused by wait function in LabVIEW. I have a while loop and the calculation time duration for each iteration is about 0.1ms without using wait funtion inside of the loop. However when I tried to add wait function and set the wait