Click to See Complete Forum and Search --> : Dynamic Background?


mark4man
09-06-2003, 04:11 PM
Gang,

Here's what I need:

I created an animated rocket ship image, for which I wanted to look like it was traveling through space.

The animation itself has nice movement, but it needs to be placed on a background of stars that moves laterally behind it.

I exhausted a number of possibilities with a Java Applet of a dynamic star field, only to find out that applets always occupy the top layer, obscuring everything else in their wake.

The only thing left for me to do is either learn Flash . . .

. . . or animate a space background I already have.

Is there any way, through Java Scripting (or otherwise), to move a page background image horizontally, in a continually repeating motion?

If I could accomplish that, I could place my animated space ship on top of the background; & all would be well.

Thanks for any help,

mark4man

GavinPearce
09-07-2003, 10:36 AM
You could try and do this with just a big animated gif.
But if your looking for doing it in code it would be more dhtml than JavaScript. A few scripts nearly like what your after at http://dynamicdrive.com

Flash is easy lol. I'm 14, view http://www.gavinnet.com intro to see what I mean. Ok so I've had about 2 years practise but even so...

mark4man
09-07-2003, 11:45 AM
gavinnet,

I'm quite impressed!

Tell me something . . . can Flash movies have a transparent background?

The reason I ask is . . . I'm in the process of putting together a Splash Page for my site [please take a look at the basics: go to -> http://www.moonjams.com. At the base of the home page is a link to my test page (which is the splash page, under construction.)]

I would want to keep the dynamic space background; & the animated space ship . . . but the welcome title, slogan & enter link . . . I would like to animate those similar to what you have done on your splash page (not as complex . . . but with some basic cool converging dynamic movement.)

Can this be done (so as to appear on top of the moving space background, above the ship?)

Or would the animated stars & ship have to be part of the movie?

How much would it cost me to have something like that put together?

Thanks,

mark4man

GavinPearce
09-07-2003, 12:02 PM
Hang on about 30 mins, and I'll play around in Flash a bit and see what I can come up with.

mark4man
09-08-2003, 07:14 PM
gavinnet,

Cool.

mark4man

bigal
09-09-2003, 12:59 PM
Yes it is possiable to have transparrent flash, i se it as i have a background colour changing script, and lots of flash text, i use SWiSH 2.1, and if you put the parameter:
<param name="wmode" value="transparent">
in the embed string, the background becomes transparent!

In your lines of param's for the flash, you need to insert this one.

E.G:

Change:



<param name="movie" value="swf/index_logo_top.swf">
<param name="quality" value="high">
<embed src="swf/index_logo_top.swf" quality="high"

to:


<param name="movie" value="swf/index_logo_top.swf">
<param name="quality" value="high">
<param name="wmode" value="transparent">
<embed src="swf/index_logo_top.swf" quality="high"


Then you just need the flash, which i am only 4 weeks into!
;)

GavinPearce
09-09-2003, 03:52 PM
u've ashmed me :D