- Joined
- Apr 7, 2009
- Messages
- 647
- Reaction score
- 26
How can I make a content rotator like ones on the MS website, or the Warrock website in flash?
-Thanks
-Thanks
yes silverlight is greatits extremely easy to use too, the only downside is you have to hope that the user's viewing your website either have silverlight or they are willing to install it.
Yeah but it's way better than flash... The ONLY downside is it hasn't penetrated the market to like 95% or more yet![]()
So is there like an IDE for silverlight?
Turns out i already have it.
right now... flash > silverlight
in 3 years silverlight owns and sh!t on flash.
2 reasons.
1. silverlight is better
2. it is from microsoft ^^
what gives u an idea that i would say Microsoft FTW....Lol.. Microsoft can't do **** unless they steal an idea from someone else. Since Adobe is working on flash, and Sun is working on Java, well Microsoft has to wait until the technology comes out before they can improve it. By then, there's already a few frameworks that improve the system, and most certainly would be more coordinated then the .NET framework.. At least allot more lean. But idk.. if you feel like "microsoft ftw!", there's probably no hope for you anyway.. :*:
I'll save my breath next time...
Those examples don't prove **** except that the person who made that is better with Flash than Silverlight. I'd much rather use Silverlight. But for this content rotator I would just rip it of where I found it, or look for open-source on it.
// AS3
// create the mask
var imageMask : Shape = new Shape();
imageMask.graphics.beginFill(0x000000);
imageMask.graphics.drawCircle(0, 0, radius);
// position the mask to the center of the image
imageMask.x = image.width / 2;
image.Mask.y = image.height / 2;
// mask the image
image.mask = imageMask;
addChild(image);
addChild(imageMask); // you must add the mask into the stage, too
// move the mask
var mask:DisplayObject = image.mask;
if(mask){
mask.x = newX;
mask.y = newY;
}
// C#
// create the mask
// You may use RectangleGeometry as well
EllipseGeometry ellipseGeometry = new EllipseGeometry();
ellipseGeometry.Center = new Point(0 , 0);
ellipseGeometry.RadiusX = radius;
ellipseGeometry.RadiusY = radius;
// mask the image
image.Clip = ellipseGeometry;
LayoutRoot.Children.Add(image);
// move the mask
EllipseGeometry ellipseGeometry = (EllipseGeometry)image.Clip;
if(ellipsGemoetry != null){
Point center = ellipseGeometry.Center;
center.X = newX;
center.Y = newY;
}
I'd love to see them keep "GFX Rendering" as "OK" on Silverlight once it has XNA.Learn Flex 3.0Silver light is weak on design
adobe Air Kick Ass!
Check it out
http://www.irrlicht3d.org/pivot/entry.php?id=678