|
-
Ivor1
Colour Changing
I can change the colour of a movie clip by clicking on a button but how do I program it to continually change colours through the spectrum e.g. yellow through to blue, preferably fading in each colour, say every five seconds?
Please see my attached fla.
Last edited by ivor1; 01-09-2008 at 05:55 AM.
-
Senior Member
hi ivor1, i think this would help you, is not exactly what your are looking for but i hope it gives you an idea on how to do it.
Last edited by ilive; 06-26-2008 at 05:16 AM.
-
Flashmatics
-
Ivor1
Thanks to you both.
Braingiants' colourshifter app. is interesting but what I am after is a continually changing background without user interaction. It strikes me that this thread deals with a popular but tricksy subject, (I have posted it before in a slightly different form), judging from the number of times it is viewed. Certainly, it provides a number of possibilities for creative use ( constantly changing colours in variously sized clips etc.).
Ilve's code seems to be something of a breakthrough for me. I can tween the changing_bg fla's movie clip to include all the spectrum's colours, but I'm still wondering how all this could be generated in Actionscript, possibly by adding to Ilive's code.
Many thanks again for your help.
-
Flashmatics
 Originally Posted by ivor1
Thanks to you both.
Braingiants' colourshifter app. is interesting but what I am after is a continually changing background without user interaction.
If the functionality is already there to change colour on user-interaction then it will be quite simple to modify the code to make it automated using setInterval and an array of colours (or simply random colours)
-
Ivor1
Thanks for once again pointing me back in the right direction. Will investigate this setInterval/array solution.
-
Senior Member
you're welcome ivor1
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|