IDE :: Designed A Cylinder Shape In Flash - The Edges Of Cylinders Are Coming Out And Also They Are Looking Blur?

Sep 10, 2009

I have designed a cylinder shape in flash. The edges of cylinders are coming out and also they are looking blur. But the interesting thing is when I see the cylinder on 300% it is clear and lines are not blurred.

View 3 Replies


Similar Posts:


Actionscript 3 :: Bitmap Crop With Feathered Edges (blur Edges)?

Mar 11, 2011

I have been trying to figure out a good strategy to perform a bitmap crop using Actionscript3. For example: I have a picture of a car and I want to crop out the car from the image alone and feather the edges so that they do not look jagged.

I am a flash noob and have only been using it for a couple of weeks. I've tried a couple of options and here is the last one that I have come up with it: I place red dots on stage that are draggable so that you can outline the object you want to crop and the dots are the bounds for a gradientFill that is used as the bitmap's mask. (I am using a radial gradient ... so the results are far from what I want, since the car is not an oval).

[Code]...

1) How can I fade just the edges of this custom-shaped fill outlined by the red dots?

2) I want to save the image out to a file once it's cropped. What strategy would be better for doing this using a BitmapFill or a GradientFill as a Mask (If it's possible with both)?

3) I may be using this strategy to crop faces later on.. anyone know of any good face detection APIs for as3? (also edge detection APIs)

View 1 Replies

Blur Edges Of A MovieClip?

Apr 19, 2010

Is it possible to blur the edges of a movieClip, and only the edges?  If I use the blur filter, It blurs the entire image, not just the edges.

Basically, I have a flv file within a movieClip, and I need the edges of the video to look feathered.

View 5 Replies

ActionScript 3.0 :: Blur Dynamic Mask For Faded Edges?

Jun 27, 2010

Can I put a blur on a dynamic mask to get faded edges like this:

Code:
var square:Sprite = new Sprite();
square.graphics.beginFill(0xFF0000);
square.graphics.drawRect(target.x, target.y, target.width+5,

[Code].....

I have a scrollbar that I want faded edges on the content mask. The content is all dynamic loaded from xml.

View 2 Replies

Rounded Edges For His Page Vs. The Typical Square Edges?

Feb 26, 2007

Recently a client of mine decides he wanted rounded edges for his page vs. the typical square edges. This was after the initial design and at the point where it is almost complete.I told the client that in order to do this we would have to go to a full Flash web page meaning a full browser Flash page (everything is already flash).Now I told him that we could do this but because it was a new design and as you know that there is much involved in doing something like this i.e. all the paths will have to be changed because it will have to reside inside a mc etc.if there is an actual way to make the stage rounded only for future knowledge.I know I can make a round edge square or rectangle but it still has square edges at outer edge of the stage.

View 5 Replies

Play HTTP Live Streaming Video Within Flash Platform Designed For IOS?

Sep 9, 2011

We're using HTTP live streaming service designed for Apple's iOS devices. It's working well with iOS devices currently.

Source video fragments are stored in server formatted in H.264 and with MPEG2(.ts) container. Is there a way to play these video in Flash platform?

[Code]...

View 2 Replies

ActionScript 3.0 :: Draw Cylinder And Cone Through Flash?

Feb 7, 2011

How to draw cylinder and cone through flash action script.

View 1 Replies

Actionscript 3 :: Create 3D Cylinder - Sphere And Cone Using Flash 10?

Dec 6, 2010

I want to create a 3D cylinder, sphere, cone using Actionscript for Flash Player 10. Is there any available class? I also want to know how to paint gradient, wrap text and texture around them. It would be nice if these class have these functions. I can't use non DisplayObject in this project so PV3D is not an option

View 2 Replies

ActionScript 3.0 :: Blur In Blur Out Text Animation?

Jun 21, 2011

I am looking for some help on a specific effect. I was pretty good in the old days in flash but I have fallen behind badly and the new action script and such is making my head spin a bit. The effect I am looking to do is like the FETblur,first one on the page, [URL]...

View 1 Replies

Designed Some Thing Within Adobe Illustrator(vector Images)?

Feb 6, 2010

I have designed some thing within adobe illustrator(vector images), and my project im doing for myself is being able to add these vector images in, and be able to modify them, colours, add stuff to them and so on. I've seen things done on the net before with these used, but can't seem to find any tutorials regarding this.

View 1 Replies

ActionScript 3.0 :: Move The Designed Chain Continuously On Stage?

Jun 19, 2011

I draw a designed chain in the middle of my stage (the width of designed chain is exactly the same of my stage width). I want this designed chain to be moved continuously (From right to left) as long as the .swf file is playing.

I am using Actionscript 3. The designed chain movie name is Chain_mc.

View 3 Replies

Actionscript 3 :: Wrap A Drawing Around A Cylinder?

May 12, 2011

I have drawings (arrays of points with x and y coordinates) that are rotated in 3d space: [URL]

As it is now, the drawing looks as if wrapped around a cube, with a nasty 90° degree in the corner. Instead it should look as if it were wrapped around a cylinder. Before starting the rotation I call a function (in ActionScript) 'bendDrawing' that for each point sets an initial z-value:

for (var j = 0; j < numPoints; j++ ) {
// drawings are centered - points left of center are < 0
var distFromCenter = Math.abs(shape[i].points[j].x);

[Code]....

View 1 Replies

Flex :: Mapping Pictures To A Sphere Or Cylinder?

May 14, 2010

i am developing an application where client can add his photos to appear on a sphere or ball or coffee cup and able to save them and give it for printing using flex. like itasveer.com site. i tried to use away3D but if the image is small it is stretched and added to sphere. i dont want it to strech instead the original image shud appear on the sphere. if it is added to cup it shud cover only the circular part it shud not add this to top and bottom.

View 1 Replies

Actionscript 3 :: Combine A Texture On A Cylinder In Papervision3d?

May 27, 2010

I would like to combine bitmaps to one texture and apply it to a cylindric primitive. The cylinder will be rotating or better: the texture should moving along the cylindric-surface and therefor you should see only one (up to 3 textures at the same time). For better understanding: it's my intention to create somehow a poster-pillow with a undefined number of posters on it. By clicking on the pillow, it should rotate to the next poster but you will see always parts of the previous/next poster.

My question is: How can I load the texture dynamically but also how to combine, load/unload posters on the run ?

View 1 Replies

ActionScript 3.0 :: Papervision Cylinder - Two Different Materials For Each Side?

Dec 12, 2008

I want to create a cylinder, but with different sides (front and back). At the minute I have a mc on the stage and link in that as the material, but it repeats that all over the cylinder?

[Code]...

View 4 Replies

ActionScript 1/2 :: Flash Detect The Edges Of Transparent Artwork?

Aug 28, 2009

way programmically in flash to detect the edges of imported artwork (artwork that has transparent background)? I am hoping to build something that detects the edges (or boundaries) of artwork and then place other objects around those boundaries. (so they dont touch too much or overlap).

View 4 Replies

ActionScript 3.0 :: Flash Fade Flicker On Button Edges?

Oct 13, 2011

I'm working on a project where I need to make a picture of a building fade darker on mouse over, while sections of the building get brighter. The sections rise up when you hover over them and will load a pdf when you click.

Everything works fine so far except that when the mouse goes over the edges of the buttons the background and the buttons fade back in and out again.

I only want them to fade out when the mouse leaves the stage.

Code:
import fl.transitions.Tween;
import fl.transitions.easing.*;
import flash.events.MouseEvent;

[Code]....

View 1 Replies

ActionScript 3.0 :: Dynamically Displaying Text On A Cylinder Surface?

Jun 20, 2011

Basically I need to have;

- interface where a user can choose a font (from pre determined font sets) and input a text string

- This text is then displayed engraved on a ring (jewellery)

I'm not sure the best way to achieve this or if there is a module somewhere that does similar.

My best guess would be to

- using mathematics (sin, cos) to be able to plot the oval (where the text need to be displayed on the ring) on an imaginary graph.

- From here there will be a centre , start and end point. The text will need to be limited as it will eventually following the curve of the ring until it can't be see as it is masked by the angle of the ring

- If using dynamic font then the width of each letter should be possible to obtain with AS.
Then mathematically it should be possible to determine how far away from the centre point on the oval each letter is.

- Following this, dependant on the letters distance from the centre, transformations can be applied to each letter. IE stretch, skew and an emboss filter via the convolution filter.

- Hence this will provide the illusion that the text is following the curve of the ring and the look like it is engraved via the emboss.

View 6 Replies

ActionScript 3.0 :: Attribute Only XML Not Coming Through To Flash?

Aug 19, 2010

'm building a very dynamic app in flash that gets all UI values from XML. Everything's been working fine and then I start having trouble accessing an XML object that only contains attributes. For some reason I can only get it to work if the XML object has content within the opening and closing object tags.Here's the basic AS3 code:

ActionScript Code:
this._uiXML = new XML(this._xml.elements('tag'));
I've also tried...

[code].....

View 6 Replies

Professional :: Broken Hide Edges Function - Flash Crashing Randomly

Feb 15, 2012

I'm having some trouble with my Flash Professional CS5.5. When I'm doing freehand drawing it shows the edges around every stroke I make. I have tried going to the menu, View -> Hide Edges and also pressing Ctrl+H. It does make the edges go away from the most recent stroke, but at the next stroke it reappears. Flash also started to crash from time to time, kinda randomly starting with not showing me the layers and then crashing completely giving me an error message talking about some file. This started about the same time as the edge thing. How to reset the settings? (I'm doing simple frame by frame animations in a ActionScript 3.0 document, if it's of any importance).

View 1 Replies

ActionScript 2.0 :: Animate Movement Of Cylinder Going Non Stop Up And Down And With Possibility To Change Speed

Apr 8, 2009

I tried with AS2 to animate the movement of a cylinder going non stop up and down and with possibility to change speed. I managed the sliding down and the acceleration of the cylinder but it does not recognize the limit where it has to stop and make the movement backwards to starting position.[code]

View 1 Replies

ActionScript 2.0 :: Format Records In Flash Mx Coming From Mysql

Feb 23, 2005

i have results from my mysql coming to flash mx and im trying to format it in rows like:[code]and i want about 10 records to show in flash at a time.[code]

View 1 Replies

Actionscript 3 :: Find Where Size Is Coming From In Flash's Bandwidth Profiler?

Feb 21, 2012

I'm working on a Flash CS5/AS3 pre loader, and the bandwidth profiler is telling me that my frame 1 size is massive - about 850kb. Frame 2 is 128kb. This results in a white screen during the bulk of loading, followed by the brief and now-unecessary preloader, and then the rest of the swf.

I have a setup of two frames, the first being the preloader with the following code:

stop();
addEventListener(Event.ENTER_FRAME, preLoad)
function preLoad(event:Event):void{
var bytestoLoad:Number = loaderInfo.bytesTotal;

[Code].....

The .as file associated with the fla has tons of other information, a full game.

I've already gone through my library and on all the symbols with Linkage, unchecked the "Export in Frame 1". Also the pre-loader is small, only a text box and a shape.

How can I get more detail of it's loading in frame 1 so that I can move it to frame 2?

View 2 Replies

ActionScript 3.0 :: Flash AddEventListener In A For Loop And Value Keeps Coming Back The Same For The Function

May 31, 2011

This code keeps coming back with the same value for i when the button is clicked. It is looping through but only the last value gets passed.

[Code]...

View 1 Replies

ActionScript 3.0 :: Game That Populates User-designed Cards Into The Game Using An External Xml File

Apr 24, 2011

I'm making a game that populates user-designed cards into the game using an external xml file. My main class loads the xml file and then calls to the "Card" class, which wants to use the xml file. I've tried using this.parent and it just gives me a null object reference error. This is what I have so far: Main.as

[Code]...

View 2 Replies

ActionScript 3.0 :: New Shape - 1046: Type Was Not Found Or Was Not A Compile-time Constant: Shape

Nov 30, 2009

ActionScript Code:
package {
import flash.display.MovieClip;
public class Base extends MovieClip {
public var baseHP:int = 50;
var newRect:Shape = new Shape();

1046: Type was not found or was not a compile-time constant: Shape. 1180: Call to a possibly undefined method Shape. What does it mean by "undefined method"? I am somewhat of a newby, so sorry if there are any stupid errors

View 1 Replies

Professional :: Adding Shape Hints Makes Shape Disappear In Between Frames

Jun 22, 2010

Whenever I add shape hints to a shape tween the shape disappears in the between frames. I am using CS5 on Vista. I using files from [URL]to practice.

View 2 Replies

ActionScript 3.0 :: Designed An E-card - Add A "Play Again" Button?

Dec 1, 2009

I've designed an E-card and decided to add a "Play again?" button. Addmittedly with a lot of help from the Net and drawing on my basic coding skills I have managed to get the ActionScript nearly complete and the compiler is only unhappy with one line. I have just spent ages trying to find the correct but of code but time has beaten me for tonight. Here's what I've got so far:

import flash.display.MovieClip;import flash.events.IEventDispatcher;stop();replay_btn.addEventListener(MouseEvent.CLICK,replay_ecard);function replay_ecard(event:MouseEvent):void {}replay_btn.gotoAndPlay();

It's not happy with the "replay_btn" in the final line and I also need to re-enter the Scene and Frame variables. I would like the playhead to return to Scene 1 : Frame 1.

View 2 Replies

ActionScript 3.0 :: Draw The Shape Of A Existing Movieclip Which Is Irregular Shape?

Oct 11, 2011

need to draw the shape of a existing movieclip which is irregular shape.

View 2 Replies

ActionScript 3.0 :: Draw The Shape Of A Existing Movieclip Which Is Irregular Shape

Oct 11, 2011

need to draw the shape of a existing movieclip which is irregular shape.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved