Total Java newbie - need help using it to rotate some .swf's if it's possible


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: Total Java newbie - need help using it to rotate some .swf's if it's possible

  1. #1
    Join Date
    Feb 2004
    Posts
    2

    Question Total Java newbie - need help using it to rotate some .swf's if it's possible

    Good day everyone, first post of mine here. I'm not much of a coder; my function is graphic design and I'm finishing my studies right now. In a web design class and from what I've been told, I need Java to do something I want.

    Basically the right side of the site I'm building (which will be a personal site) contains a Flash movie that I want to use as a "featurette". Basically just quick links to various items in the gallery, featured items. I want these movies to rotate though, since I'll be having different featured things in there. I understand I could use Java to script this rotation, which should only happen once the page is refreshed. Unfortunately I don't know how to code.

    The one thing I was told is that my movies need to have the same name with a number at the end. So let's suppose my movies are named "right1.swf", "right2.swf", and "right3.swf". What do I need to do now? Will really appreciate help with this!

  2. #2
    Join Date
    Feb 2004
    Posts
    808
    something like this:

    http://javascript.internet.com/misce...slideshow.html

    but with swf?
    The 6th edict:
    "A thing of reference thing can hold either a null thing or a thing to any thing whose thing is assignment compatible with the thing of the thing" - ArchAngel, www.dictionary.com et al.
    JAR tutorial GridBag tutorial Inherited Shapes Inheritance? String.split(); FTP?

  3. #3
    Join Date
    Feb 2004
    Posts
    2
    Similar, but not quite. I don't want the controls. What I want is every page within the website to contain that right side area with the rotating .swf's. These swf's in turn are simply self contained mini-galleries that offer quick jumps to various items if clicked or the opportunity to have a very small compressed version of a movie play should the viewer hit the play button. That's why I want it with swf's - I can get either images or very small movies in there; just don't want to be rotating them myself and hence why I need the script. I may settle for that if I can't find that solution though; I can definitely make use of that script.

  4. #4
    Join Date
    Feb 2004
    Posts
    808
    have a look for a javascript timer, one that simply calls a function every X seconds...
    then call one of the forward swaps...

    you can additionally look at some scripts that have "onclick" events, so that when one of your swf is clicked on, the browser navigates away...
    The 6th edict:
    "A thing of reference thing can hold either a null thing or a thing to any thing whose thing is assignment compatible with the thing of the thing" - ArchAngel, www.dictionary.com et al.
    JAR tutorial GridBag tutorial Inherited Shapes Inheritance? String.split(); FTP?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center