Flash components › Flash files › Flash Effects
Magic Stars Effect
|
Posted on 2009 Apr 14 |
Hi
I have just downloaded your magic stars effect. Is it possible to have the effect stay in one area rather than move across the screen. I need the effect to stay in an area while a unicorn magically appears.
Your help would be very much appreciated. By the way, Awsome effect, thank you.
I have just downloaded your magic stars effect. Is it possible to have the effect stay in one area rather than move across the screen. I need the effect to stay in an area while a unicorn magically appears.
Your help would be very much appreciated. By the way, Awsome effect, thank you.
|
Posted on 2009 Apr 14 |
To martyn1970:
Hi martyn1970,
Yes. What you need to do is to remove some of the actionscripts inside the Movieclip named "mc_magic_stars_moving" under the layer. Below is the changes.
'
'
'
// if(degrees < 520){ <--- Remove this
if(degrees > 160){
ang = 35;
}
radians = degrees * Math.PI/ 180;
angX = Math.sin(radians);
angY = Math.cos(radians);
// }else { <---- remove this
//angY = Math.sin(counter); <---- remove this
//angX = 1; <---- remove this
//} <---- remove this
'
'
Hope this what you are looking for....
Hi martyn1970,
Yes. What you need to do is to remove some of the actionscripts inside the Movieclip named "mc_magic_stars_moving" under the layer. Below is the changes.
'
'
'
// if(degrees < 520){ <--- Remove this
if(degrees > 160){
ang = 35;
}
radians = degrees * Math.PI/ 180;
angX = Math.sin(radians);
angY = Math.cos(radians);
// }else { <---- remove this
//angY = Math.sin(counter); <---- remove this
//angX = 1; <---- remove this
//} <---- remove this
'
'
Hope this what you are looking for....
|
Posted on 2009 Oct 07 |
Hello, Petertang! Thank you so much for such a great effect. I'd like to lay it over part of an image on my website, and I could insert the image as a background, but it would be much easier for me to just make the background of the file transparent. I used the standard "wmode=transparent" command in my html, but then the entire effect disappears. I'm guessing this relates to how the alpha channels are used in the flash file, but I'm pretty inexperienced with that. Is there something I should adjust in the file so that it can be seen with a transparent background?
Thank you!
Thank you!
|
Posted on 2009 Oct 23 |
Hi fairdathm,
You may tried to play around the color of the stars by changing the color code in the actionscript. Go to the actionscript in the "mc_magic_star_obj" Movie clip and look for the the below code:
var starColors = new Array("0x56DDFE","0xFFFFFF","0xFFFF00","0xFF0000","0x99FF00");
Change the color to be more contrust for your image. Hope this could help you. I have tested the matter you descripted and no problem. I also have this effect used it for one of my ecard design, you may also like to check this up on my website "http://www.mediasquare.com.sg/ms08r1/e-cards.asp?subpg=1&cat=-1&itm=1&pgnos=1"
Thanks
You may tried to play around the color of the stars by changing the color code in the actionscript. Go to the actionscript in the "mc_magic_star_obj" Movie clip and look for the the below code:
var starColors = new Array("0x56DDFE","0xFFFFFF","0xFFFF00","0xFF0000","0x99FF00");
Change the color to be more contrust for your image. Hope this could help you. I have tested the matter you descripted and no problem. I also have this effect used it for one of my ecard design, you may also like to check this up on my website "http://www.mediasquare.com.sg/ms08r1/e-cards.asp?subpg=1&cat=-1&itm=1&pgnos=1"
Thanks
|
Posted on 2011 Nov 21 |
HI Petertang, thanks for the really magic effect :)
Can I modify the stars direction as to flow from top to bottom?
Can I modify the stars direction as to flow from top to bottom?






















Able to set nos of times for repeating. The deflaut value is 0 for none stop.
Able to change the color of the Magic Stars to suit your design.
Instruction is in readme.txt will be provided.