Solved

Call a JAVA Class From ColdFusion to Convert JPG to SWF

Posted on 2003-10-28
2
569 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 500 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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Collapseable list of URLs. 10 142
WEB Service vs ??? 7 125
Grunt No Clean Targets 6 230
Domino Website - Redirection 12 96
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
The purpose of this video is to demonstrate how to automatically show related posts at the bottom of a blog post in WordPress. This will be demonstrated using a Windows 8 PC. Plugin “Yet Another Related Posts Plugin” will be used. Go to your…
The purpose of this video is to demonstrate how to integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchi…

740 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