ActionScript 2.0 :: Mask Causing Text Under It To Appear To Move?
Mar 21, 2011
Mask causing text under it to appear to move...I have a mask that scrolls to the right over text.Before the mask comes on stage the same text is on a different frame before it in the exact same coordinates. But when the mask appears it makes the text under it seem to slightly move to the left. I've realized it is the mask that makes this seem to happen.I'm probably not doing something right with the mask, but I'm not sure.
View 1 Replies
Similar Posts:
Jun 2, 2011
For some reason when the mask fully reveals the art, the waves stutter (frame 26) and restart their animation from frame 1. I've included a link to download the CS4 flash file. [URL]
View 1 Replies
May 8, 2009
I have a text field component that I am dynamically populating with text. The words appear one letter at a time in a teleprinter style fashion. I also have rendered certain words with HTML to make style changes within the text.Now all this works fine, except because the HTML text is larger than the body of the other text, I am losing theteleprintereffect at the bottom of the text field. In other words, after a set amount has been printed, users are not seeing the letters printed out one at a time, but instead just get a printed line of text appear from beneath the visible section of the text window.
View 2 Replies
Aug 27, 2009
I've got a script that let's me drag the mask with by clicking and dragging it with with my mouse. Currently the mask will move along x and y axis. I would like it to move only on the x axis.[code]...
View 3 Replies
Sep 5, 2009
I try to move a map in a mask with an Event; I have a drag move that works perfectly but I want move automaticly the map on an Event: I make this without success
ActionScript Code:
var my_tween:Tween = new Tween(myMask,"x",Strong.easeOut,0,400,3, true);
The mask move but I don't want : just the map inside ...
map.mask = myMask // the mask is apply with this !
View 2 Replies
Apr 29, 2010
i have a problem in moving the mask with mouse
what is the right code
here is the code i use
// myImage is bakground image
// myMask is masking
stop();
myImage.setMask(myMask);
[Code]....
View 2 Replies
Dec 5, 2011
I want to move an image and it's keyframed animated mask to a new position.
What steps do I need to undertake to accomplish the seemingly impossible task?
View 2 Replies
Oct 9, 2005
I was wondering how you could move an empty movieclip that is set as a mask?
PHP Code:
this.createEmptyMovieClip("mask", 1);
mask.setMask(square);
[code]......
View 8 Replies
Aug 11, 2010
I have tried everything I can think of but I just can't get my mask to move with my content when my stage is resized.
I am using flex and I embed symbols/assets in an assets class then instantiate them in my main class and call addChild on them.
I have a Sprite (maskSprite) that is the same size as the content, and I use this as a mask, calling
Code:
this.mask = maskSprite in my main.
This works fine but when I resize the swf it stays at the top left of the window when my content moves (I am using stage.scaleMode = StageScaleMode.NO_SCALE). I have used maskSprite as a non-mask and it moves with the content fine, but when it is a mask it doesn't.
View 1 Replies
May 25, 2011
I have a question, and I find it hard to find resources on it. I have two layers, and another layer with an image of a broom on it. I want to use the broom to move over layer2, and reveal the layer beneath it. Kind of making a sweeping game. Frankly my search efforts on google have only come up with alot of masking, but I am sure you need actionscript to make the broom move with the mouse.
View 1 Replies
Jan 28, 2010
I have a small mask that I need to animate across the stage in response to clicking various buttons. It has to go a different distance each time depending on which button is clicked along the x axis. I can get at the starting and ending x co-ordinates. I need to develop a set of x coordinates so that the mask starts moving fast and slows down as it gets nearer - kind of like the easing effect. I figured using some sort of simple 1/x^2 expression and have spent an hour or so fiddling in excel. Trouble is its a LONG TIME since I did maths, and I can't remember what formula to use. Have tried google with "parabola", "simple curves" etc.
View 2 Replies
Sep 22, 2009
Why would this happen?
I've added Helvetica to my Library. I've set it to export for Actionscript. I've given it the name 'Helvetica'. I'm setting the defaultTextFormat. Then I tell it to embedFonts, and the bloody textfield doesn't show up.
var tf:TextField = new TextField();
tf.defaultTextFormat = new TextFormat('Helvetica Neue', 13, 0xFFFFFF);
tf.embedFonts = true;
View 3 Replies
Mar 24, 2011
I am trying to make scrolling text appear on a few screens, so that when I click on a button to go to the next frame the characters of a sentence will appear one after another as if someone is talking. This works a few times however when I go back to the first frame the following error occurs and the text no longer appears?
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at rollingtext_fla::MainTimeline/runthree()
at Function/[URL]::apply()
at SetIntervalTimer/onTimer()
at flash.utils::Timer/_timerDispatch()
[Code] .....
View 5 Replies
Mar 24, 2011
I have a FLA file that when I open it and I rollover any title in a palette window all the text in that and every window disappears. For instance the title "Timeline" will vanish. And most of the text in the palette vanishes, for instance all the text in the properties panel disappears like "Position and Size". This does not occur with any of my many other FLA files. I have had some issues with fonts lately. After deleting some bad fonts, my FLA ask me to remap some fonts, which I do. Everything in the FLA appears to be working fine.
View 2 Replies
Dec 9, 2009
I have run into a small graphics glitch in Flash.It seems to be both in FP9 - Exported via Flash CS3, and FP10 Exported via the Flex 4 beta SDK.The glitch /problem manifests itself as embedded text at a small point size "blooming" under certian conditions.It basically looks like the antialiasing becomes fatter at some level of text brightness. I have made a small test case below. (Obviously) You will need to embed the Arial font in your compiled SWF for the below code to work.[code]You can see an example of the problem by rolling over the graphical element here: url..It's not really an option to change to AntiAliasType.NORMAL as it makes the text way less readable at this point size.
View 1 Replies
Mar 12, 2007
[url]... am attaching a movie clip containing pixel fonts. i have a stage listener that places the movieclip at stage.width/2 and stage.height/2.
if i publish the movieclip that gets attached on its own, its perfect, i can resize any way i like but if i resize the browser window when i attach it the text can get blurred. im assuming the movie clip may be placed on a decimal point rather than a whole pixel and this is causing the blurring.
is there any way that you can set the attach movie function to place a movieclip at stage center "to the nearest whole pixel"[code]...
View 1 Replies
Sep 26, 2009
This is weird - thought I'd done this before but for some reason it's giving me an error now.
Importing XML text, setting as textField HTMLText:
<a href="mailto:bob@domain.com">foo</a>
- gives me "XML error: Mismatched tag at line 432" in the browser (it works fine when previewed out of Flash).
View 2 Replies
Aug 7, 2005
i am facing a problem with dynamic text and mask,when i use a dynamic text and i am trying to mask the text area it's not showing in swf
View 7 Replies
Jun 27, 2009
i wasn't sure whether to post this in CS3 or AS2,I know it's possible to make the text of an Input Box glow, i have seen it here:
View 1 Replies
Apr 6, 2010
I am trying to do some text effects by using a text mask but I can't get the mask to work. I can successfully mask a circle over a rectangle, and even mask a rectangle over text, but text over a gradient rectangle just doesn't work - I end up with the rectangle moving across the stage, but no text mask.
View 2 Replies
Apr 5, 2010
I want to add a line of text to a small mask - the mask reveals a portion of an image underneath - the user drags the mask around the stage
2 movie clips
1. an image that fills the 900x700 stage
2. a 200x200 rect with blur that acts as a "window" to the image
The code below works fine (almost - see comment) but how do I add text to the mask?
img_mc.mask = mask_mc;mask_mc.buttonMode = true;img_mc.cacheAsBitmap = true; // for the blur
mask_mc.addEventListener(MouseEvent.MOUSE_DOWN, dF);
mask_mc.addEventListener(MouseEvent.MOUSE_UP,
[Code].....
View 8 Replies
Oct 28, 2004
i have a dynamic text block which is inside a movie clip, is i grouped with other elements.This movie clip sits behind a mask. when i am in the movie clip i can see the text field, when i am on the root level (and the mask is disabled) i can see the text, but when i preview the movie the text IS GONE or I CAN'T SEE IT.
View 1 Replies
Mar 27, 2007
I'm working on making a news scrollpane thingamagig. I have a movieclip called "entry" with textfileds (basically it's just a header bar and a bottom border bar with two textfields). These are dynamically attached based on the number of xml nodes into a holder clip and I have that holder clip masked and for some reason the entry movieclips will show, but the actual text doesn't. when I get rid of the mask then the text shows.
View 3 Replies
Apr 18, 2008
I was planning on making a scrollable blog thing within a mask. But when I setMask, the text in the blog items disappears.
View 2 Replies
Apr 7, 2009
Hello Flash World, Ok, I may have posted this question before but I am still confused. I have a Master Movie Clip that has a Mask over it. By having that mask I can't view my dynamic text box that is scrollable. How do I embed a font so I can view my dynamic text box? (Im using AS2) attach is a file that explains my problem.
View 1 Replies
May 12, 2009
I'm trying to set a mask on a mc containing dynamic text. But, the only thing that are visible, are graphics, not text.
When i remove the mask, the text comes back.
i heard that i have to embed my fonts for that, but how can i do it?
View 6 Replies
Oct 28, 2004
i have a dynamic text block which is inside a movie clip, is i grouped with other elements. This movie clip sits behind a mask. when i am in the movie clip i can see the text field, when i am on the root level (and the mask is disabled) i can see the text, but when i preview the movie the text IS GONE or I CAN'T SEE IT.
View 1 Replies
Jan 25, 2005
I've been trying to dynamically change some text for a titlebar that is behind a mask
However, I find that when I change the text of the dynamic text field (whose containing movieclip is masked by a graphic), the text no longer appears at all.
When i remove the masking, the text changes properly when asked, but when it it masked, the text does not show at all.
View 3 Replies
Aug 25, 2009
I have made a top 10 module for my site that loads variables dynamicly in text fields, it works pretty fine, but i have a problem. The text inside the text fields is scaling on move.I don't want the text inside to scale.Here you have the link:xample of text field creation in my as:
Code:
private function createTextField(x:Number, y:Number, width:Number, height:Number):TextField {
[code]........
View 1 Replies
Sep 15, 2011
I've had this problem even in AS2 - what is going on? Why does text in a dynamic text box jump up a line when you click on that text box?
Is there no way to have selectable dynamic text without the text jumping around when clicked?
View 0 Replies