Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Call a JAVA Class From ColdFusion to Convert JPG to SWF

Posted on 2003-10-28
2
Medium Priority
?
573 Views
Last Modified: 2013-12-24
Got this JAVA class http://www.orgdot.com/javaopensource/JpegToSwf.java from this question http://www.experts-exchange.com/Web/WebDevSoftware/ColdFusion/Q_20778800.html  I'm just starting out with Cold Fusion, know basic design layout coding, if I can figure this one out with your help, it would be a huge step for me.  Can someone show me an example of how to  call the jpgtoswf java class with cold fusion to convert a jpg to swf.  Any help would greatly be appreciated and 500 points to the expert with the solution.
0
Comment
Question by:madasczik
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 11

Accepted Solution

by:
hart earned 1500 total points
ID: 9639374
call java class like this

<CFOBJECT ACTION="CREATE" TYPE="Java" CLASS="ImageDimensions" NAME="ImageObj">

<CFSET THUMBNAIL = ImageObj.setImage("#PHOTONAME#")>

now the thumbnail variable will have the dimensions of the image.


Thats it basically. :-)

NB: do remember to set the path of the class in the cf administrator

go to server settings > Java and JVM
and in the class path text box give the physical path of the java class file. [where ver u have kept it on the server]

Regards
Hart

0
 
LVL 11

Expert Comment

by:hart
ID: 9737223
but why the B ??
if my answer was not appropriate enough
then u could have asked what ever doubts u had

anywayz just wanted to know why a grade B was given

Regards
Hart
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction In this tutorial, I'll explain how to create an animated progress meter in a wireframe prototype developed using Axure RP 7.0 - a leading prototyping tool for designing web sites and software. (For more information about Axure and gett…
When it comes to security, close monitoring is a must. According to WhiteHat Security annual report, a substantial number of all web applications are vulnerable always. Monitis offers a new product - fully-featured Website security monitoring and pr…
The purpose of this video is to demonstrate how to integrate Mailchimp with Facebook. This will be demonstrated using a Windows 8 PC. Mailchimp and Facebook will be used. Log into your Mailchimp account. : Click on your name. Go to Account Setti…
The purpose of this video is to demonstrate how to set up an RSS Feed on a WordPress Website. This will be demonstrated using a Windows 8 PC. Feedburner will be used for this demonstration. Go to your WordPress login page. This will look like the…

671 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question