 |
| Other Programming Languages If you have a coding issue to discuss about another language that really isn't provided for in any other forum here (not ASP.NET C#, C++, VB, PHP, JavaScript, Python, Java, Perl, Applescript, XML or any of the other forum topics we have), post it here. Enough discussion on a language we don't have covered could prompt a new forum. |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Other Programming Languages section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
|
|
|

October 9th, 2008, 09:01 PM
|
|
Friend of Wrox
|
|
Join Date: Jan 2005
Posts: 108
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Image animation that move in a round circle
Hi, all,
Please help me for this issue, I have no idea how to do it.
I don't know if this is the right place for my question, but I wish to get some help and idea from you.
we will create a website using java GUI, in the login page, I want to create a image that it will contain several images that is organized in a round belt, and this belt will move a vertcal line in the center, just like a ring that will run along the finger,and the surface of the ring is the collection of the images.
How can I do it? do I need some software to create it? any idea will be very appreciate.
thank advance!
Andraw
|

October 10th, 2008, 07:11 PM
|
|
Wrox Author
|
|
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
|
|
You could *probably* write an applet that would do this, however this is going to be heavy and would require the user to have some sort of Java run-time on their pc.
This type of application, I think, would be better suited using Adobe Flash since most modern browsers support flash from the get go and Flash Movies tend to be considerably lighter then Java Applets.
Unfortunately, I can't help you outside of this since I am no Flash guru so you may want to try posting in one of those threads.
hth.
================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
.: Wrox Technical Editor / Author :.
Wrox Books 24 x 7
================================================== =========
|

October 10th, 2008, 07:38 PM
|
|
Friend of Wrox
|
|
Join Date: Jun 2008
Posts: 1,649
Thanks: 3
Thanked 141 Times in 140 Posts
|
|
You mean something like this:
http://www.bishopimage.com/
That site belongs to a friend of mine, and he used a commercial Flash script. He said it wasn't very expensive and it was easy to set up and use.
Now...
I looked at this, and I *could* do the same thing in JavaScript. No need for Java. Making it work cross-browser is a little bit of a challenge, but it's not impossible. Probably a lot more code than it would be in Flash, though.
The fade-in, fade-out is a bit tricky, but you can see it working (cross-browser) at this site that I did in June:
http://www.artsofsnohomish.org/index_july2008.html
|

October 10th, 2008, 11:13 PM
|
|
Friend of Wrox
|
|
Join Date: Jan 2005
Posts: 108
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi, old pedant and dparsons, thank you both for your response.
old pedant, what I want is similar to your friend's flash create image, just that the image keep moving, not stop. but if the image on the flash dynamically change according to different login user, can I use this way? I think the flash should be pre-created, am I right?
Can I dyanmically create flash in javascript or java program?
Thanks!
|

October 10th, 2008, 11:39 PM
|
|
Wrox Author
|
|
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
|
|
You can certainly pass variables into the flash movie but you can not create the flash movie on the fly via javascript no.
hth.
================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
.: Wrox Technical Editor / Author :.
Wrox Books 24 x 7
================================================== =========
|

October 12th, 2008, 12:40 AM
|
|
Friend of Wrox
|
|
Join Date: Jun 2008
Posts: 1,649
Thanks: 3
Thanked 141 Times in 140 Posts
|
|
Yeah, that particular flash .swf file is pre-set to use his images. I think you can see why the vendor he used does it that way: If they allowed you to just pass in XML (say) to specify the set of images, then anybody could rip off copies whenever and wherever they wanted to.
If you had the source code for that .swf, you could surely modify it to accept the parameters. But good luck getting the company to part with the source code.
|

October 12th, 2008, 10:36 PM
|
|
Friend of Wrox
|
|
Join Date: Jan 2005
Posts: 108
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
To create a .swf file, do I need to install flash software? is it free? when I create the .swf file, can I pass the array of images dynamically to the .swf file to decide what will be shown in the flash?
I am new to flash.
|
|
 |