ActionScript 3.0 :: Vision Of Field, Overlapping Alpha?
Dec 2, 2009i can do the top two by drawing circles. but i want to do the bottom one. any known method would be great to know.
View 2 Repliesi can do the top two by drawing circles. but i want to do the bottom one. any known method would be great to know.
View 2 RepliesI have two sprites with a yellow ring around them, of alpha 0.4. The sprites move around, and when they come in contact with each other, the overlapping portions of the rings gets darker (I guess its alpha 0.8?). Is there a way to prevent this? I would like the overlapping parts to look the same as the rest, ie, alpha 0.4.
View 3 RepliesI need a way to blend two movieclips each with an alpha between 0% and 100%, and instead of adding the two overlapped parts together, i need the colour to be an average of the two overlapped parts.
Ive been looking for a few different ways to manage this. The reason I need this effect is to do a realistic motion blur for a moving ball (which can be in any direction).
I have imported an object "DD_dropdown_clip" from the stage with this code:
[Code]...
The object is a black field. The fn "setup" writes text on this field. The problem with the code commented out is that it changes the alpha of both the black field and the text, whereas I simply want to change the alpha of the black field. How can I do this? Can I do it in the IDE?
I have run into this problem multiple times and never been able to find an answer, but this time rather than doing a work around, I wanted to try once-and-for-all to see if anyone has an answer.With actionscript I'm creating a new movieclip, then having that movieclip create a text field. I'm populating this text field with content pulled from an XML file, and also controlling its color, size, ect. with the same XLM document.I'm trying to set its alpha to 0, then have Tweener tween it in to 100, but have never been successful.Has anyone run into this and found a way to do it?
View 10 RepliesI am trying to make my game character(fishes) go to a new generated destination only on what their current cone of vision is able to "see", therefore i have drawn a triangle MC to make it their cone of vision and from there generate random points within the area of the cone, and the code i have used is shown below, and it kept returning the top coords of my stage why is that so? [code]...
View 2 RepliesDoes anybody have a plugin, filter, or some as3 code to achieve this effect? I can easily achieve it using layers/opacity/tints etc but its bulky. Im looking for a smoother way of doing it.
View 2 RepliesI am trying to integrate 3D video into Adobe air.I see that youtube has 3D videos [URL] and displaying them with a flash player. Is there any documentation on this? I can't seem to find any.
View 1 RepliesI am loading objects in a paper-vision gallery through xml. I have a footer with some links in them, but the problem is the XML stuff is being loaded on top, how do I get the links and such to be on top so they are not underneath?
View 4 RepliesIve been trying to find a way to play 3 photos and stop when I click on The vision page on my site. I have the site laid out like this Home Vision Contact when I click on the VISION i need the photos fade in and out and stop to show the vision statement...
View 1 Replies[URL] i want the object to fade out but in the object there's a lot of overlapping pictures and each becomes half transparent. how to make the movieclip to change the alpha as it was without objects?
[Code]....
just spotted this curious trick. If you want to flip something to go invisible on a click, and then reappear on another click (etc etc), try this:
create the sprite, setting alpha to either to 1 OR -1
mySprite.alpha=1; //OR
mySprite.aplha=-1;
[code]....
using AS, on loading a movie a solid shape is there with alpha at 100% then over a period of 5 secs its alpha is reduced to 0.
i'm new to this......please help if you want to if you don't have a good weekend but think of me struggling onwards and upwards...
I want to do aplpha = .5 for the whole app, but then have a MC display at full alpha, is there any way to do this?
View 6 RepliesI have 3 buttons slightly overlapping each other, all on one layer. What i'd like to happen, is for whichever button is rolled over with the mouse to show up on top of the other buttons..
View 2 RepliesI'm working on a game where clicking an object causes cartoon animals to appear. The animals stick around and do a little animation for about 5 seconds, before disappearing. I'm having a problem where if I click the object before the animal disappears, another appears on top of it.This is my code:
on (release) {
i = Math.ceil(Math.random()*3);
if (i == 1) {[code]...........
I'm trying to find a way to make it so "on release" is disabled for a set period of time once it executes, enough time to ensure the animal movie clip playing has disappeared.
using 'drag and drop' in flash without overlapping?
For example - I have a list of buttons i drag to an area on the stage. I do not want my buttons to overlap.
I am facing the problem in showing Ajax Modal Popup Extender over Flash.when Popup comes out it will overlap by flash(Its giving me problem in IE 8,its work fine with the Firefox).
View 3 RepliesI want to make a search button on my site. I have a bunch of pdf files in a specific location on my site. I want to create a search field where the end user inputs text into a field and flash locates and opens the corresponding pdf file.
View 1 RepliesAs far as I know theres in no way to cahnge the alpha of a dynamic text box. I put one in a movie clip and when i try to change the alpha of it everything else in it changes its alpha but the not the DT box. Could someone plz verify for me that u can't change alpha and help me find a component that allows alpha control with a dynamic text box. thx in advance.
View 5 RepliesI have a movie clip with hit zones over buttons. It looks like a cam corder and when you roll over them a thumb moves to that button and when you click. The thumb presses on the button. That all works great. I want to put buttons in the main scene over top of these that will change things on the screen when you click it. And get urls of the videos that I have on my website. But when I put the hitzones over other hitzones the ones in back dont work. Is there a way to make them both work or am I going to have to make everything contained in the movie clip? So in short can I have two buttons on top of each other that do two different things?
View 8 RepliesI'm trying to randomly position images on the stage without having the images overlap?
View 3 RepliesThis seems like such an easy thing to do but it's driving me crazy. Sorry if this is a simple question. In a site I am building it is necessary to have a large movieclip overlaid over an image gallery. This movieclip controls scrolling so has a rollover listener attached, but of course the gallery pictures also need to have button actions. I cannot get them both working at the same time. How can I make it so that rolling over a movieclip doesn't disable the rollover for any movieclips underneath it? Here is a very simple example of the problem. Where the two buttons intersect, I want for the rollover to trigger them both: [URL]
View 1 RepliesI'm using the drawing API features to do the following: I created two different squares and want to use them as two different canvas to draw on, they should be on top of each other so for testing purpose I overlap them partially here, but somehow I'm having trouble when trying to draw on the overlapped areas. Has any one encountered this problem or know how to solve it?
View 1 Repliesis there a way I can have my flash content visible outside the swf area and have it overlap HTML content?
View 4 RepliesI'm having some performance issues in certain areas of a flash game Im making.
Here's the situation: I have big movieclip containing a map that can be scrolled and scaled. There are some pannels with a bunch of MC buttons, controls, etc. on the right side of the stage. These are seperate from the map and stay in the same place.
Everything runs fine untill the large map is zoomed in and/or scrolled such that the right side buttons and stuff are overlapping them map. Then the framerate jumps down from a nice smooth 30 fps to about 3 fps while the map is moving. There are no issues with the map moving when they don't overlap.
Now the thing is, is that's there's no real interaction between the buttons and the map. No transparency or anything, in fact I'm perfectly happy with the map dissapearing behind a side pannel. There are only about 3 pannels that the screen drawing routine would have to worry about, as all the buttons rest on top of the pannels, so why is my performance taking such a hit?
(Hmmm. Actually I do have a lot of transparency, but each is on top of a solid background, and none interact with the map.)
I wanted to know how to write As3 so that the sound that I place on a timeline doesn't overlap? Or is it best off the timeline? I've tried putting each song into it's own place on the timeline but there are labels and when a new song plays, the old one continues. If I just have one song on the entire timeline, whenever I move across different labels, the song overlaps.
View 4 RepliesI've created a banner and made the whole area clickable with an invisible button. But there's one small element in that banner I'd like to give a roll over state for extra fun. This element doesn't need a link hooked to it just to change colour when moused over. When I put the invisible button on top, it blocks the element on top the invisible button is not working either. Since it's a banner I have the document set up in as2.
View 4 RepliesThis only happens if I've just launched IE after being restarted and goes away once I refresh the page. I even added a jQuery $(document).ready function that sets a margin between the html and the flash content to add 1px of space when the page is loaded. It's so hard to figure out, because once I refresh the page, it goes away.########### SOLVED ###################### SOLVEDI set the flash output as a javascript var (actually json_encoded PHP output) and on document load inserted the object into the "flashContent" div with the jQuery.(document).ready event.
View 3 RepliesHow to stop MCs from overlapping each other?
[Code]...
This doesn't seems to be working cause the amount of it checking whether MC is overlapping is about the amount of MC on stage. how to make it keep checking till everything's fine?