ActionScript 3.0 :: Shape Covering JPG Creates Black Blocks
Mar 22, 2011
The SWF in question is on this page: [URL]
The problem arises in the reflection. It's a duplicate MC of the main text. Once the faces spin to show letters, green boxes of text appear on top of the letters. In the reflection, once these boxes disappear the letters that were behind them do too.
View 1 Replies
Similar Posts:
Jul 30, 2009
How would I make it if I wanted a function (that happens to run on event MouseEvent. MOUSE_DOWN)to run while mouse is down, not just once. For example, I have this code:
ActionScript Code:
stage.addEventListener(MouseEvent.MOUSE_DOWN, keepCreating);
My keepCreating function creates a random shape on the stage. But since it runs once during mouse_down, only one shape is created until you activate mouse_down again (by lifting the mouse button and pressing down again).
What I want it to do is keep creating shapes over and over again, instead of creating one shape per mouse_down.
View 6 Replies
Aug 26, 2009
I need to have a shape (black rectangle) that will cover the stage. It should resize with the stage when needed. I'm trying it with the following code, but when it's resizing, there is a clipping effect that is visible and it is not fluid. How can I prevent this?
Code:
Select all
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.align = StageAlign.TOP_LEFT;
stage.addEventListener(Event.RESIZE, resizeHandler);
var blinder:Shape = new Shape();
[Code] ......
View 4 Replies
Nov 2, 2010
Is it possible to convert an image (runtime) in Actionscript 3.0 from black/white to black/*color* ...Does someone know a solution? Matrix? Blending methods maybe? Pixel bender?
View 1 Replies
Jun 22, 2009
i have my buttons connected to loaders which bring in swf files......and these swf files are the same size as my project......i want to set the X, Y coordinates to 0,0 so that the swf will line up perfectly in the project, but every time i do this, the swf ends up covering the buttons... how do i bring in the swf, so that it sits beneath the buttons?
View 2 Replies
Jan 13, 2008
I've been working on an xml menu since thurs. and have tried every which way and still can't seem to get it working. I'd like to have it totally in actionscript 2, one level and able to do multiline with wordwrap. Right now i'm just trying to get it to display correctly. The buttons I think i have figured out once i can get the first part.
I think I'm close, very close, but something's happening. It's either replacing or covering up the previous menu item. I'm suspecting replacing because even larger textfields don't show under the last menu item. Here's my actionscript:
[Code]...
View 3 Replies
Dec 1, 2011
I have a CSS drop-down menu and just below is a Flash Video (embeded with YouTube code). The Flash video covers my drop down, but only in Safari.
I have played around with the z-index, and I have tried both "opaque" and "transparent" for wmode (which has always fixed this for me in the past).
how to stop the video from covering my drop-downs?
View 1 Replies
Jan 15, 2010
I have create a TextField over a button inside a movieclip and when I roll over the part of the button where the TextField is the rollover is not registered. Is there a way to prevent the mouse from seeing the TextField so the rollover just happens? I've set the selectable parameter to false, but that hasn't fixed it.
View 3 Replies
May 13, 2011
I'm having a problem with a finished flash piece where, in the most simple scenario, if the user screen size is very small, the background html comes up over the bottom of the flash movie and covers a portion of it. The effect can also be seen if you resize the browser window down fairly small. I want the user the be able to see all the content fine, even if they have to scroll a lot to achieve it. I have my flash set up with:
Code:
stage.align = StageAlign.TOP_LEFT;
stage.scaleMode = StageScaleMode.NO_SCALE;
[code]......
View 0 Replies
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
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
Oct 11, 2011
need to draw the shape of a existing movieclip which is irregular shape.
View 2 Replies
Oct 11, 2011
need to draw the shape of a existing movieclip which is irregular shape.
View 1 Replies
Jun 30, 2010
I have a piece of Flash on an HTML page that when you hover over it, it expands out to reveal more information.There are text links that it expands over, however in everything but IE, when it's not expanded those links are still covered by the Flash making them unclickable.I have the Flash piece in a separate DIV wmode set to transparent.
View 1 Replies
Jul 9, 2009
Id like to know if there is a way to do a shape hitTest.Not as the normal hitTest would do, but shape colliding another shape, not the rectangleof a movieclip.It can be in a movieclip.
View 23 Replies
Apr 2, 2010
On a game we just completed in Flash Builder 4, there are a couple of links like this:
var sponsorLink:String = http://www.plantersplace.com/;
navigateToURL(new URLRequest(sponsorLink), _blank);
IE 7 in some installations is treating this as a popup. Firefox 3.6, Chrome 5, Safari 4 all fine.
The game in question is at [URL]
Click "continue without logging in, then click "show hint". Click the hint. This should fire the above code and open a new window.
Several users in IE report this gives them a pop up alert. I am trying to find out why and what can be done about it. I have tried the solution I found at Zorked but people STILL say they are getting popup alerts.
View 1 Replies
Feb 17, 2006
I'm doing a few tests to it, and i am wondering, how can you create blocks in the air that you can hit, that won't allow the ball to pass through it, so when you hit it you bounce back down the the ground?
View 2 Replies
Aug 28, 2003
How do I center the blocks in my AS?
[AS]fscommand ( "allowscale", false );
myMap = [ [0,0,0],
[0,0,0],
[0,0,0] ];
[code]...
View 3 Replies
Sep 24, 2011
i am accessing flash content in IE.I am getting this error all the time.Error - Alternate HTML content should be placed here. This content requires the Adobe Flash Player. Get Flash
View 1 Replies
Mar 14, 2011
I need to build a series of blocks, (red, orange, yellow, green, purple). When the user clicks a block, that block changes color). (and each block color on is stored as a boolean, isClicked = TRUE/FALSE).
What is the best way to accomplish this in a "block" class? Below is my code.
Here is Main.as
ActionScript Code:
package
{
import flash.display.Sprite;
[Code].....
View 3 Replies
Oct 19, 2010
using the shape tool you can draw basic shapesthen using the subselection tool you can re-shape them by relocating certain points
What i want to do is create a tween whereby one of the points is movedthe problem is you have to convert to a symbol first and after you have done that you cant change the shapes shape.so how do i go about using a motion tween to change the shape of a shape?
View 1 Replies
Jun 24, 2009
so I have buttons that launch a new html page via: getURL("xxxx.html", "_blank");but users have to approve Internet Explorer (and the like) to approve popups.. when they do it restarts the flash movie - namely restarting the whole site. Are there any workarounds? do i have any options?
View 2 Replies
Apr 6, 2007
i have a number of movieclips. let's say 20. every movieclip contains one black block - and they're all different in size.
i want to put them one by one in random order on the stage until the space on the stage is filled like this: [URL]
in other words: when only 4 movieclips fits on the stage it shows 4 movieclips, when 8 movieclips fits... etc etc
View 1 Replies
Jun 25, 2009
We have a Flash swf object embedded in an html page. When the user sees the page it's just a small button, but on the rollover state the area of the object expands and covers more of the page. This is how it was designed. The problem seems to be that the maximum size of the swf object, even though it's transparent and "invisible" unless the user rolls over the button, blocks out all the underlying html so you can't access any of the links. It's as if the object is covering that part of the page even when it's not expanded. I've tried every publish setting I can imagine to compensate and make the item truly transparent so the "hidden" underlying links will still be clickable, but just can't get it.
View 1 Replies
Jan 13, 2009
I installed the mc_tween2.as in the Flash extensions.I need to make the background color blocks move to the stage when I click on the buttons above.
View 0 Replies
Dec 7, 2010
I want a transparent movie clip that displays a tool tip when you roll over it. Beneath that movie clip I have other movie clips that I want to be clickable. Unfortunately having the "onRollOver" event on the top layer movie clip blocks the "onRelease" events of the lower movie clips. If I move the smaller movie clips on top it will work but I have to setup a tool tip for each of them (and it disappears and reappears when I move from one MC to another). I also thought about using the "onMouseMove" event and doing a hit test, but that seems less efficient.
View 4 Replies
Aug 8, 2002
how to make a fade effect from blocks to images [URL]. I am not reffering to the text effect but the image effects he has on his site.
View 1 Replies
Dec 22, 2003
Im trying to use a loop to set up 4 rows of 10 "blocks" in flash. I have a movieclip with an idName of "Block". My idea was to imbed the singular row of blocks loop within the loop of rows so that it generates the four rows quickly and all at once. I was trying to use the following code but it doesn't work. It seems to show only the last block in the loop and I did some echo checking at the end and found that after the loop completes, there are no activated blocks. I found this by doing another loop and tracing all the blocks _x properties which all returned undefined.....even the last one which was still visible...:
Code:
/* Constants Section */
var NumBlocks = 10;
var NumRows = 4;
var StageWidth = Stage.width;
var StageHeight = Stage.height;
var BlockWidth = StageWidth/NumBlocks;
[Code] .....
View 3 Replies
Apr 2, 2004
I'm trying to make a maze that's not made of square blocks,The little guy in the left-hand side moves when the user presses an arrow button, but when he can't walk through the lines (walls)I'm guessing that I can't use the usual "hitTest" command, so is there any way i can achieve this without finding every point where the lines cross and do a specific hitTest (hitTest (x,y,true) )?
View 3 Replies
Jan 8, 2010
Many people install an add on to their browser - such as Flashblocker, or FlashOff - in order to stop annoying advertisements from auto-running. Is it possible to detect that this has been done, and then (obviously) use JScript to put up an alternative if this is the case?
If you cannot do this, then there is really no point to using Flash's higher functions, because the majority of users will see them only if they click a gray panel with a hopeful button in the middle of it. Flash becomes merely a decorative bolt on for web applications.
View 3 Replies