ActionScript 3.0 :: Glowing Semi Transparent Objects?

Oct 8, 2009

Once I have a semitransparent object (with alpha not equal to 1) and put a glow filter on it, the glowing area is visible not only near edges of an object, but also under the object. It changes the whole look of an object, while it (probably by my logic) only should have changed the look of edges.

how to glow (or drop shadow) only edges of an object?

View 2 Replies


Similar Posts:


Use Semi-transparent Mask On External Swf?

Sep 12, 2009

I want to use semi-transparent mask on external swf for smooth transition. I'm using

clip.cacheAsBitmap = true;
mask.cacheAsBitmap = true;
clip.setMask(mask);[code].....

it doesn't work... what am I doing wrong?

View 7 Replies

ActionScript 3.0 :: Set Alpha On Semi Transparent Png?

May 3, 2009

I've been developing in AS2 for a few years now, and I'm learning AS3 at the moment. I ran into a problem about setting alpha on a PNG image.

I have a movieclip that holds a semi-transparent PNG image which comes straight from the library. Now I want to edit the alpha property of the movieclip. In AS2 it all works fine but when I set the alpha property in AS3 all semi-transparent pixels in the PNG image will fill with black first; then the alpha setting is applied.

Do I need to save my PNG's in particular way or do I need to edit settings in Flash to display correctly?

View 1 Replies

Professional :: Semi - Transparent Box That Can Execute Php Commands?

Feb 10, 2010

I am trying to find out if it is possible to a) create a semi transparent box in flash, b) motion tween that box into place, c) subsequently use it to run forms and PHP scripts (connect to a MySQL instance, ect). I know that an exact answer to c) will be long and complex, so a simple (general) yes or no will suffice... but if someone could point me in more detailed direction with a) and b), If you need to see the actual project I'm working on, or if I need to clarify my questions,

View 1 Replies

Flash - Adding Semi Transparent Grey Rectangle Behind Popup?

Nov 30, 2010

I'm trying to make a modal pop up in my Flash application, not unlike the ASP.NET version seen here. I've already got the dialog box made, but I'm trying to add a semi-transparent gray rectangle over everything behind the pop-up, again like the one used in ASP.NET. Is there a way to do this in ActionScript? It needs to be semi-transparent, not fully, so you can still partially see what's behind it. I'm assuming you could apply this property to a Shape class somehow.

View 3 Replies

ActionScript 3.0 :: Semi-transparent Shape Stopping Mouse Events

Oct 3, 2010

I'm a bit boggled by a MouseEvent/layering problem.

I have a filled Shape, with alpha 0.5, on top of a Sprite. The Sprite has various MouseEvent listeners attached to it.

I'd like the user to be able to click on the Sprite. Unfortunately, Flash doesn't pass the events to the Sprite. (It does, of course, if the shape is unfilled.)

Is there any way to tell Flash to treat this object like an unfilled object, rather than a filled one, for the purpose of MouseEvents?

View 5 Replies

ActionScript 3.0 :: Full Browser Image With A Semi Transparent Background?

Aug 24, 2009

Currently I have link on an HTML page, and when the link is clicked, it opens a flash movie with slideshow and a semi transparent black background. The way I have it set up is as follows

CloseButton.as (the close button for the slideshow)
FullBackground.as (the black background)
MainContent.as (loads the slideshow)

then I have

main.fla (loads the CloseBtn, FullBG, and MainContent)
preloader.fla (loads the main.fla .swf)

View 1 Replies

IDE :: Creating A Glowing, Animated Abstract Shape?

Feb 2, 2009

Can it be done in flash with some of the glow filters? Or is this probably being created in something like After Effects or Motion and then being pulled in as JPEG StillsI've looked through some tutorial sites, but most of the animation tutorials are pretty basic... and I'm not sure what to really call the effect...making searching for tutorials or forum posts a bit tricky

View 5 Replies

Certain Objects Are Transparent In Flash Movie?

Sep 21, 2009

I've been getting reports from users that certain objects are invisible in my flash banner.The browser culprit is IE 8 (but someone also reported seeing this in IE 6). I have been unable to duplicate this and therefore, find it very difficult to troubleshoot. I do have the Wmode set to transparent, but I've made it opaque and still had the "invisible" reports. Here is the site:

View 2 Replies

AS3 :: Mask Objects With Dynamic Transparent PNG Files In Flash?

Feb 7, 2012

i want to mask objects with dynamic transparent PNG files in Flash Action Script 3.0

View 1 Replies

Professional :: Transparent Background Is Not Working With Vmode Transparent?

Oct 17, 2010

I imported a video into flash and have a transparent photoshop layer to create an iPod skin. The video works fine, but I cannot get the "stage" to be transparent so that you do not see the flash background color behind the iPod skin.
 
I've read in the forums and have followed the instructions here from Adobe. If you look at my code, I have

[Code]...

View 6 Replies

Actionscript 3 :: Draw Transparent Graphics Onto Transparent BitmapData?

Feb 5, 2012

I'm trying to draw PNGs onto BitmapData that is transparent.

I create my BitmapData like this (using ARGB for the color):

new BitmapData(width, height, true, 0x00000000);

And clean it by using the same ARGB value:

bitmapData.fillRect(bitmapData.rect, 0x00000000);

When I use copyPixels() to draw graphics onto the cleaned BitmapData, I get this result:

If I don't use ARGB for the BitmapData color, it works fine:

But I have to specify a solid fillColor, meaning I can't render what's behind the Bitmap.

How can I make my BitmapData transparent, but not have the above occur?

View 1 Replies

Professional :: Make A Semi Trasparent .swf?

Mar 25, 2010

Can you export a semi transparent .swf? I need to send a .swf file with 70 percent opacity that will eventually be an overlay over a video.

View 1 Replies

Actionscript 3 :: How To Draw A Semi Circle

Jul 27, 2010

using action script how to draw a semi circle...i need to add tha semicircle in another circle the circle looks like this ![alt text][1] how to draw a semi circle inside that circle

View 1 Replies

ActionScript 3.0 :: Semi-idle Question About For Each Instances?

Jun 15, 2009

when you iterate through an array using for / each, assuming the elements in the array are primitive types, the looping var takes on the type and value of each item, but is not a reference to the item.

Code:
var arr:Object = {a:1,b:2,c:3};
for each (var a:int in arr) {
a++;

[code]...

This differs from the behavior of PHP5, for example, where even though most objects are passed by reference automatically, objects within foreach loops are treated as copies unless specifically passed as &references like

PHP Code:

foreach ($arr as $key=>&$b) {}

Is there any way to get AS3 to do the decent thing and give you a choice whether subarrays are passed as references or not, without resorting to making ByteArray copies of your objects for every iteration of a loop?

View 4 Replies

Professional :: Create A Semi Circle Swipe?

Dec 9, 2010

I am quite experienced in Photshop and other elements however I am an absolute novice when it comes to flash.
 
What I am trying to create is an effect for a logo in which the motif in a semi circle shape which i want to appear in a wipe fashion starting left to right so that in wipe across and the shape appears in full at the end.
 
The shape in a rainbow....this would also have the company name below the logo which would be visible from start to finish. I have attached the picture of the logo. I would like the gold pot to also appear in the swipe of the rainbow.

View 3 Replies

ActionScript 2.0 :: Creating Semi - Random Movement?

Aug 4, 2009

I'm trying to make a simplegame in which you have to avoid a bunch of angry looking circles as they move across the screen. What should happen is that they all spawn outside of the stage and move across it then when they reach the other side they appear from somewhere else outside the stage So far I have managed to only make them come from one side of the screen by using this script on the enemy

[Code]....

I've tried using a switch() function with a random number to choose which side the enemy comes from but that didn't work it just skipped to default

View 0 Replies

ActionScript 2.0 :: Breaking Up A String By The Semi Colon

Nov 19, 2007

I have a string that looks something like this: 00110; book1,book2,book3,: 6 What I need to do it spilt it up into sperate values by the semi colon. so in the end it would be like

[Code]...

View 13 Replies

ActionScript 3.0 :: Irregular Semi-Perfect Collision?

Jul 15, 2011

I have a bunch of different Movieclips from about 10 different classes moving about the stage. What would be the fastest/most efficient way to detect collisions between two of them? They can overlap each other a bit before the collision is detected, so I thought the easiest way would be to draw a couple rectangles that take up a majority of the object for each class and use hitTestObject to see if any of the invisible rectangles of one instance are colliding with the invisible rectangles of another. Is this a good method? I figured that since a bit of overlapping is okay and actually preferred, that two or three rectangles can easily take up all the room I need for each object.

View 2 Replies

ActionScript 2.0 :: [FMX] Semi-Dynamic Masking Gallery?

Jul 1, 2004

I'm loading 10 jpg images into _root.content.section_4.mc_anim, each is placed into its own movieClip.

Code:
_root.content.section_4.mc_anim["gall_img_"+img_view_index]
These movieclips are hidden and then have the images from an array loaded into them.

[code].....

View 1 Replies

ActionScript 3.0 :: Remove Transparent Pixels From Transparent Png?

Feb 27, 2010

I am creating a map in flash cs4 with all the countries on it. I used photoshop for creating the map and separated countries. Now I imported all pngs in Flash and I want to give Mouse CLICK event and Mouse Hover on all pngs, but as the transparent pixels are overlapping the other states, it is getting difficult. So, I converted all pngs in movieclips and now then I broke up pngs. Now I want to delete all pixels having alpha 0 using eraser tool, as per the borders. And I have to do it manually for individual countries. So is there a way to remove transparent pixels from the bitmap data?

View 2 Replies

ActionScript 1/2 :: Animating A MC In A Random Semi Circle Path?

Jul 15, 2010

I try to animate a Movieclip (box or circle) thru a half ellipse path. Circle or ellipse path will be random.

View 1 Replies

ActionScript 3.0 :: Referencing Library Items Semi-dynamically?

Aug 16, 2010

I'd like to add a couple of different MC's to the particle stream. I'd like to do that by referencing different items in the library.So I have 12 different particles in the library exported with classes named from Bubble0 to Bubble10 now as I run through my for loop I'd like it to use a different particle each time. first time I tried:

ActionScript Code:
var bubbleArray:Array = new Array();
bubbleArray.push(Bubble0,Bubble1,Bubble2,Bubble3,Bubble4,Bubble5,Bubble6,Bubble7,Bubble8,Bubble9,Bubble10,Bubble11)
for (var j:uint = 0; j < NUMBER_OF_BUBBLES; j++) {

[code]...

Scene 1, Layer 'actions', Frame 1, Line 871086: Syntax error: expecting semicolon before leftbracket.Is what I'm trying to do possible without some clunky switch statement?

P.S. I tried searching the forum for an answer but the terms are so common I couldn't find what I'm looking for.

View 6 Replies

ActionScript 2.0 :: Semi Colons Ever REQUIRED After Function Definitions?

Nov 22, 2003

are semi colons ever REQUIRED after function definitions? From my experience Flash's parser doesn't seem to be too picky.

View 9 Replies

ActionScript 3.0 :: (1086) Expecting Semi Colon Before Left Bracket

Apr 25, 2010

This is a snippet of my code which is giving me
1086: Syntax error: expecting semicolon before leftbracket.
What I'm trying to do is create a an array from the amount of "players" and then for each player in the array, add another array into each level of the array that has 3 levels which are all set to '0'. When I remove: var scoreArray[i]:Array = [0, 0, 0]; the error stops.

ActionScript Code:
public var players;
public var playerScoreArray:Array;
public function gameSetup() {
var playerScoreArray = new Array(players);
for (var i = 0; i < players; i++) {
var scoreArray[i]:Array = [0, 0, 0];
playerScoreArray[i] = scoreArray[i];
}}

View 1 Replies

ActionScript 3.0 :: Increased CPU Load On Running Semi Or Full Auto-modes?

Oct 6, 2010

I have an app. in which I have placed a ViewStack with (16) Tabs, and Im using a Timer set up to cycle every five (5) seconds through these VS Tabs automatically.

Each VS Tab has an IFrame included to load a particular web site, and I use the auto cycling to not need to go to each Tab manually and wait each time until the page loads before I can use it.

(Note: The IFrame does not need to do anything else other than to show the page nothing else)

All works very well on the work computer running the app. with CPU activity of around 20 to 30%, but when I address the app. on the sever I have increased CPU activity starting with around 30% on the first sequence, and running the second Tab sequence it is going up to around 90% in Semi-auto or Full-auto modes with five (5) seconds beak in between Tab switches and between each sequence.

To explain more in detail I do have six (6) sequences and an arrangement which uses Semi-auto or Full-auto mode (Looping).

I do use (timerName.reset) instead of (timerName.stop) and have also have used (timerName.removeEventListener .) as each Timer sequence get called separately.

View 1 Replies

ActionScript 3.0 :: Transparent Png Not Acting Very Transparent?

Oct 6, 2009

I have two png's that kind of look like paint brush strokes. they have some transparency in them that lets the stage colour bleed through a bit.

I am adding two of these images to the stage in AS 3. One adds quite fine - looks as expected. The second one however doesn't have any transparency other than around its edges. What i mean is it looks more like GIF than a PNG. Rough around the edges, no transparency "inside" the image itself (where there should be)

i have tried re-creating the image (yes it IS a PNG) which did nothing. I ensured the library item is not being treated as a JPEG. I also even tried externally calling the PNG to see if that made a difference. Unfortunately it did not.

why this second PNG doesn't seem to have a transparency set?

View 8 Replies

ActionScript 3.0 :: CurveTo - Poor Alising - Draw A Basic Shape Outline With A Semi-circle At The Top

Nov 30, 2009

I'm just starting out with AS3, so I'm trying my hand as some of the more basic drawing functions, to try and get a handle on them. The problem I've hit is using 'curveTo' to create a smooth curve is creating some very poor aliasing results. Here is an example: [URL]

The first part (which is actually on the right) is a very simple curve from 50,50 to 100,100, through 100,50. I would have expected the end points of the line to be single pixel width, but it's aliased over two pixels.

The second part (on the left) shows why this is a problem for me. I'm trying to draw a basic shape outline with a semi-circle at the top, but it really doesn't look great (it looks shifted half a pixel to the left relative to the rest of the shape).

[Code].....

View 2 Replies

Carousel & Transparent Video - Add A Transparent Video In The Center

Oct 30, 2007

there are few comments i hear from other people. some say the axis of the carousel crooked and the icons are pixelated when they are scaled down. i m trying to add a transparent video of myself in the center but when i mask the carousel the embeded swf files also get the mask so i was wondering if there was a way to make the icons have alpha 0 when they are back all the way.. here s the link for the regular website [URL] and below is my actionscript

[Code]....

View 9 Replies

Flex :: Objects Drawn By Flash Graphics Class Exist As Objects?

Jan 16, 2011

Internally Flash obviously keeps a list of the primitives drawn using Graphics so I wondered if you have many such primitives in a Sprite, can you re-position/remove/alter individual items rather than clear and re-draw everything? Or is this deeper into the bowels of Flash than you're allowed (or recommended) to go?

View 4 Replies







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