AttachMovie Causing Text Blurring
Hello,
i'd be grateful if someone could take a look at this for me.
http://conflictingpixels.com/dropin.html (theres no preloader)
i 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"
i've tried decompiling other sites, to see why their text doesnt blur
but i havent come across anything obvious in the way they use
attach.movie.
im attaching two movieclips, both contain pixel fonts. the one
that is placed at stage.width and stage.height is fine and doesnt
get blurred, only the one at stage center.
any ideas?
my code:
Stage.scaleMode = "noScale";
Stage.showMenu = false;
Stage.align = "TL";
var Logo = this.attachMovie("Logo", "Logo_mc", 999);
Logo._x = Stage.width;
Logo._y = Stage.height;
var Main_mc = this.attachMovie("Main_mc", "Main_mc", 1);
Main_mc._x = Stage.width/2;
Main_mc._y = Stage.height/2;
Logo.onRelease = function ()
{
getURL("http://www.conflictingpixels.com", "_blank");
};
var stageListener = new Object();
stageListener.onResize = function ()
{
Main_mc._x = Stage.width/2;
Main_mc._y = Stage.height/2;
Logo._x = Stage.width;
Logo._y = Stage.height;
};
Stage.addListener(stageListener);
stop ();
ActionScript.org Forums > ActionScript Forums Group > ActionScript 2.0
Posted on: 03-12-2007, 08:01 PM
View Complete Forum Thread with Replies
Sponsored Links:
Attach.Movie Causing Text Blurring
Hello,
i'd be grateful if someone could take a look at this for me.
http://conflictingpixels.com/dropin.html (theres no preloader)
i 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"
i've tried decompiling other sites, to see why their text doesnt blur
but i havent come across anything obvious in the way they use
attach.movie.
im attaching two movieclips, both contain pixel fonts. the one
that is placed at stage.width and stage.height is fine and doesnt
get blurred, only the one at stage center.
any ideas?
my code:
Stage.scaleMode = "noScale";
Stage.showMenu = false;
Stage.align = "TL";
var Logo = this.attachMovie("Logo", "Logo_mc", 999);
Logo._x = Stage.width;
Logo._y = Stage.height;
var Main_mc = this.attachMovie("Main_mc", "Main_mc", 1);
Main_mc._x = Stage.width/2;
Main_mc._y = Stage.height/2;
Logo.onRelease = function ()
{
getURL("http://www.conflictingpixels.com", "_blank");
};
var stageListener = new Object();
stageListener.onResize = function ()
{
Main_mc._x = Stage.width/2;
Main_mc._y = Stage.height/2;
Logo._x = Stage.width;
Logo._y = Stage.height;
};
Stage.addListener(stageListener);
stop ();
View Replies !
View Related
Why Is My Text Blurring?
Please can someone tell me if there is any way to stop my text blurring beyond recognition when I export...., I've seen so many movies with the crispiest of text.
A while back someone mentioned to make sure I dont have anti-aliasing on ..... I dont see that as an option in Flash 4.
Please help.
thanks
chris
View Replies !
View Related
Blurring Text In Flash
Does anyone know if there is a way to blur text in Flash, without using raster images? Another question is how can I get blurred text out of Illustrator 9 and into Flash without making it a raster image?
Any help would be greatly appreciated.
Thanks
View Replies !
View Related
Unwanted Blurring Of Text
Hi,
I'm working on a flash file that is blurring my type for some reason. I want to use verdana with anti-aliasing turned off but for some reason flash is blurring the type.
I am attaching the .fla file to demonstrate. On the left there is a paragraph that's working fine. On the right the paragraph of text blurs as soon as it animates (it's looping over 3 frames). This makes it look like it's flickering when the flash file is run.
Both paragraphs are constructed in the same way (a text block inside a movie clip, inside another movie clip), but the one on the right is blurring and I just can't figure out why.
Can anyone help me with this? I was rushing to meet a deadline and this has really ruined my day!
Thanks
View Replies !
View Related
Blurring Text In Scrolling Mc
i went through this thread: http://www.kirupaforum.com/forums/sh...d=1#post670344
and everything works properly, except for the fact that if i either use static text or embed the text, its blurs no matter what i do, im using verdana at 10, and the text box is lined up on whole pixels... Any suggestions on either how to load a dynamic or system font box or get embedded font to look reasonable in this application.
thanks..
tim
View Replies !
View Related
Blurring Text In Scrolling Mc
i went through this thread: http://www.kirupaforum.com/forums/sh...d=1#post670344
and everything works properly, except for the fact that if i either use static text or embed the text, its blurs no matter what i do, im using verdana at 10, and the text box is lined up on whole pixels... Any suggestions on either how to load a dynamic or system font box or get embedded font to look reasonable in this application.
thanks..
tim
View Replies !
View Related
How To Avoid Text Blurring With Scrollbar?
I've attached an .fla with of a scollbar/scrollpane that I'm working on. It all works fine and sexy, only problem is it blurs the text (I'm using a pixel font) as you scroll down. This is because
Flash prefers to place text in integers of 1.0, 2.0 (it will blur at 1.1, 1.2...). So I need to make the scrollbar scroll at intervals of 1.0, not 1.1, 1.2... Can someone open the .fla and see if they
can solve the problem? Actionscript is definitely not my strength, and I can't find any other 'complete' scrollbars on the internet, apart from Macromedia's ugly component.
Many thanks
View Replies !
View Related
Scrolling Blurring Text List
Hi, i am trying to find a tutorial or example for how to do scrolling bluring text list like shown here http://www.lynda.com/assets/shared/flash/BannerAd.swf
im not sure how to do it but would like to find out. if anyone could help it would be great. looks like a really cool attention grabber to use for ads on my site.
View Replies !
View Related
Text Blurring: Antialias Problem
I have some textfields that I want to blur and unblur depending on the user interactions. They blur correctly, but when they unblur the text looks pixelated.
It happens with static and dynamic textfields, there is no difference. But it happens with textfields that I have applied a textformat to, and not with those which are formatted at the IDE.
Any idea?
View Replies !
View Related
Mask - Text Blurring Issue
Hey Guys,
Just a quick one. I'm not sure if this is normal, but I've never noticed it before. I've noticed that if I mask text, that it blurs the text. I've included an image below to show what I'm talking about. The top text is just regular text on the stage, the second text is the same text with a mask over it. It seems like a pretty drastic difference to be normal.
View Replies !
View Related
Displaying 'and; In A Text Area Causing Probs?
Hi guys
Hope this will be a simple one for someone!
I have a bunch of strings in an array. Some of these strings contain 'and' which I guess is my problem. When I transfer the information to a text area the 'and' seems to cause some kind of return making the rest of the string on a new line.
Can anyone explain this and tell me a solution.
Many thanks in advance
View Replies !
View Related
TextField.text Causing Memory Leak?
I am having a strange problem with a memory leak...
I am filling a TextField with content that displays the frame rate every frame. I have an Event.ENTER_FRAME event listener that handles the update every frame. When I run my code inside the Flex Builder 3 profiler, I encounter memory continually increasing and the "Loitering Objects" tab seems to indicate that it is when I continually update the TextField.text property. Here is a code snippet:
ActionScript Code:
tf = myMovieClip["frameRate_txt"] as TextField;
if (tf)
{
var msec:int = this.mGameBoard.GetAverageFrameTimeMSEC();
var fps:Number = 30.0;
var fpsInt:int;
if (msec > 0)
{
fps = 1000.0 / msec;
}
fpsInt = fps;
frac = (fps - fpsInt) * 100;
tf.text = fpsInt + "." + (frac<10?"0":"") + frac + " fps";
}
The loitering objects tab seems to indicate memory allocated for a String every frame and all Object References point to:
ActionScript Code:
tf.text = fpsInt + "." + (frac<10?"0":"") + frac + " fps";
Every String object reference point to the exact same Allocation trace which points to the above line of ActionScript
View Replies !
View Related
Shape Tween Causing Text Distortion
I've got a piece of text fading in onto the screen. I've broken all the letters up so they have become shapes. On each of the keyframes the text looks fine but when the Shape Tween is taking place the letters get all distorted for example "l" gets cut in half diagonally, same with "A" "E" "F".
I thought it may have been because I was using a different font type, so I swapped to Ariel and am still having the problem.
Does anyone know what I am talking about, and how to fix it?
View Replies !
View Related
SetTextFormat Causing Multiline Text To Shift
I'm not sure if this is a bug or if it's been documented somewhere else, but I haven't been able to find anything.
I built a multiple choice quiz in Flash that loads all of the data from an XML file. Some of the answer options are quite long so they wrap to multiple lines. After all the text is loaded for a question, the movieclip they are in is given onRollOver and onRollOut functions that change the state of a radio button graphic and the color of the text. To change the color I created several TextFormat objects and apply them using setTextFormat().
The problem is that certain multiline blocks of text are shifting a bit on rollover (when the new textformat is applied). In all cases, the first word on a line will shift ahead one space, along with the rest of that line. None of the other text moves. The point at which the shift occurs changes depending on how wide the field is, but no matter what I do I can't totally get rid of it. It's usually happening on just one line (out of 3 or 4) and on some fields not at all.
I can't show the exact example but I can try to recreate the behavior if anyone needs to see what I'm talking about. I was hoping maybe someone else ran into this before or that I'm just overlooking something stupid.
Thanks in advance for any replies.
View Replies !
View Related
Javascript Popup Causing Japanese Text Transformation
I found out that ALL the popup creating javascript (window.open - triggered from swf or HTML code) causes the double to single-byte japanese display transformation.
This happens only on PCs, not on Macs.
You can see the real time exemple on
http://celine.aam-com.com/jp/
Go to COLLECTIONS section (it shows the nav bar on the right with japanese letters). Then click on the HTML link in Japanese which opens a popup window. This slitely modify the japanese text (double to single-byte). On non-Japanese OS, this causes the text turning into little squares.
View Replies !
View Related
Text Links Causing Mouseover On Entire Flash Image. Any Advice?
I have a flash movie that includes a layer containing 4 text links. When I view the movie, however, the entire flash movie causes the curser to turn into the hand icon, or active link icon. I only want the mouseover on the text links. Here's how I created the links:
The text links were converted to buttons, and I have a basic geturl actionscript assigned to each. The links work correctly. Any help is appreciated!
View Replies !
View Related
Papervision Question: Scrollable Text Causing Movie Material To Shrink :(
Hi all,
For some reason when I try to add scrollable text inside of a MovieMaterial, the material takes into account the height of the text being masked.
Heres an example >> http://www.p-m-b.net/mocap/v2
It's the 4th plane called "Workshops & Seminars", don't mind the error message, just continue.
The plane should not be that small, the extra space at the bottom is the text hidden by the mask. A similar example is the 3rd plane, since the photo is larger than the background i created, it shrinks down the background to accomodate the entire photo.
When its applied to a plane, it causes my MovieMaterial to be scaled down vertically to fit within the size of the plane.
I've tried putting the scrollable text inside of a movie clip to act as a container, that still caused problems. I've tried putting the scrollable text into a external swf, and then load it into a movie clip, still no good.
I tried to mimic the steps BlitzAgency took to create this
( http://labs.blitzagency.com/?p=315 ) but I still have the same problem
Can anyone please help me figure out a workaround for this problem??
View Replies !
View Related
Flash Player Caches Old Version Of SWF In Browser, Causing Incorrect XML Text File To
Hello SitePoint,
I'm trying to stop the Flash Player in a browser from caching my movie, I've tried various posted codes for the HTML and Flash SWF file, but nothing seems to work. This is the setup of my movie:
1) When the main movie starts (there is only 1 movie) I have an intro animation followed by text intro copy in the center of the stage. An ActionScript 2.0 created text field loads the text from an array of imported XML files, and places it in the center of the stage. Movie stops.
2) There are 4 buttons on each side of the stage. When you click each button the text in the center is dynamically replaced by passing another item from the array into the text field.
This script works perfectly in authoring mode. When uploaded to a server the text that appears in the single text field is often incorrect. It's as if the script being displayed is randomly selected from the array of XML files. Every reload of the browser produces a different result.
I also have a text preloader in the Flash file, but I wonder if this is creating more problems. Does anyone know where I can find SIMPLE code for loading an array of XML files - that will be preloaded and not cached on the server - plus code for the "Active Content Update - HTTP" version of the generated HTML file?
Thanks
Charles
View Replies !
View Related
Blurring
Hey, Im having quite a bit of trouble trying to figure out how to blur pictures, ive seen in other flash movies they have blurs and streaks. I was wondering how you did that, if you could help that would be awesome, and if you need another program please tell me what program. thanks everyone for your help.
View Replies !
View Related
Blurring
Hello, a newish effect that i've seen done in flash is to 'blur-in' photographs. A photo, at first remains indistinguisable, but gradually becomes more defined until complete clarity of the photo. I've thought about this and the only way i've thought of is by having 10 different images, each slightly less blurred than the previous. I would then animate these to acheive the effect. Obviously, however a great deal more loading time will be required.
Anyone got any more practical solutions to this problem?
Thanks a lot for your help.
Regards
Robert Flack 2003.
View Replies !
View Related
Blurring Everything Else But One MC
I have a punch of movieclips on the stage moving vertically according to mouse position.
When user clicks one of the MCs it zooms to 200% and stops. This far I can manage, but how can I make all the other MCs stop and blur?
I know how to stop and blur the MC that's been clicked but how to do things to everything else without wrinting tons of script since I am planning to have about forty MC's each moving at different speed.
Here's my code on the stage in the first frame:
import mx.transitions.Tween;
import mx.transitions.easing.*;
import flash.filters.BlurFilter;
pic1.onRelease = function() {
if (pic1._xscale == 100) {
new Tween(pic1, "_xscale", Strong.easeOut, 100, 400, 1, true);
new Tween(pic1, "_yscale", Strong.easeOut, 100, 400, 1, true);
new Tween(pic1, "_x", Regular.easeInOut, pic1._x, Stage.width/2, 1, true);
pic1.swapDepths(1000);
}else {
new Tween(pic1, "_xscale", Strong.easeOut, 400, 100, 1, true);
new Tween(pic1, "_yscale", Strong.easeOut, 400, 100, 1, true);
}
}
pic2.onRelease = function() {
if (pic2._xscale == 100) {
new Tween(pic2, "_xscale", Strong.easeOut, 100, 400, 1, true);
new Tween(pic2, "_yscale", Strong.easeOut, 100, 400, 1, true);
new Tween(pic2, "_x", Regular.easeInOut, pic2._x, Stage.width/2, 1, true);
pic2.swapDepths(1000);
}else {
new Tween(pic2, "_xscale", Strong.easeOut, 400, 100, 1, true);
new Tween(pic2, "_yscale", Strong.easeOut, 400, 100, 1, true);
}
}
pic3.onRelease = function() {
if (pic3._xscale == 100) {
new Tween(pic3, "_xscale", Strong.easeOut, 100, 400, 1, true);
new Tween(pic3, "_yscale", Strong.easeOut, 100, 400, 1, true);
new Tween(pic3, "_x", Regular.easeInOut, pic3._x, Stage.width/2, 1, true);
pic3.swapDepths(1000);
}else {
new Tween(pic3, "_xscale", Strong.easeOut, 400, 100, 1, true);
new Tween(pic3, "_yscale", Strong.easeOut, 400, 100, 1, true);
}
}
pic4.onRelease = function() {
if (pic4._xscale == 100) {
new Tween(pic4, "_xscale", Strong.easeOut, 100, 400, 1, true);
new Tween(pic4, "_yscale", Strong.easeOut, 100, 400, 1, true);
new Tween(pic4, "_x", Regular.easeInOut, pic4._x, Stage.width/2, 1, true);
pic4.swapDepths(1000);
}else {
new Tween(pic4, "_xscale", Strong.easeOut, 400, 100, 1, true);
new Tween(pic4, "_yscale", Strong.easeOut, 400, 100, 1, true);
}
}
pic5.onRelease = function() {
if (pic5._xscale == 100) {
new Tween(pic5, "_xscale", Strong.easeOut, 100, 400, 1, true);
new Tween(pic5, "_yscale", Strong.easeOut, 100, 400, 1, true);
new Tween(pic5, "_x", Regular.easeInOut, pic5._x, Stage.width/2, 1, true);
pic5.swapDepths(1000);
}else {
new Tween(pic5, "_xscale", Strong.easeOut, 400, 100, 1, true);
new Tween(pic5, "_yscale", Strong.easeOut, 400, 100, 1, true);
}
}
AND this is the code for each MC:
onClipEvent(load)
{
speed = .08;
}
onClipEvent(enterFrame) {
var vx = _root._xmouse-Stage.width/2;
vx = -vx;
if (this._xscale > 100){
this._x += 0;
}else {
this._x += vx*speed;
}
if (vx > 0 && this._x > Stage.width+this._width) {
this._x = -this._width;
}
if (vx < 0 && this._x < -this._width) {
this._x = Stage.width+this._width;
}
}
View Replies !
View Related
Odd Blurring...
ok i just have a menue... and when i test it on my computer there is no bluring, but when i put it on my server and test it on the web there is an odd blurring going on on the right side of the menue....
www.tdifdesign.com/nav_main.html
www.tdifdesign.com/nav_main.fla
View Replies !
View Related
Blurring
Is there an easy to blurr an image or movie clip on the screen. I would like to do a transition between images and movie clips with one blurring out and then the next one blurring in. Is there a way to do this in actionscript or another way?
View Replies !
View Related
Blurring
Is there an easy to blurr an image or movie clip on the screen. I would like to do a transition between images and movie clips with one blurring out and then the next one blurring in. Is there a way to do this in actionscript or another way?
View Replies !
View Related
Blurring Effect
I have seen a blur effect on several different sites now, yet I can't figure out how it is done. It is like an image streaks across the screen quickly and it is blurred until it stops moving. It is really cool. Check out http://www.gabocorp.com and the entro there to see what I am talking about. Does anyone know how this is done.
Thanks!
View Replies !
View Related
Blurring Effects
Hi there,
does anyone out there have some open source flas with fast motion and blurring effects. I would like to have a look at them so i can learn the concept behind this.
i find a flash site that has these effects looks very good, and i would really like to learn how to do them properly.
If you would like to know what I am talking about, its the effects from the ActionsKit 1.0 intro. If you do not have it, I will gladly mail you the intro, but it is too large to post here.
Thanx in advance....
View Replies !
View Related
Fonts Blurring
I've built a website and I am cool with everything except the fact that my "!!*x*!()ing" body copy fonts are bluring inplaces indiscriminately! I've tried several screen pixel fonts including 04b-03b, standard 0754 and sf pixelate. Is this blurring anything I can avoid?
cheers,
Craig
p.s. the url is
http://www.digitalfield.co.uk
View Replies !
View Related
Blurring In/out Effect
i have noticed on a lot of nice flash sites out there, people blur things in and out. i am sure you have all seen what i am talking about... an item blurs and shrinks or blurs vertically or horizontally outw ards and then fades... or a blurry shape appears and sharpens into an image. does this need to be done with photoshop or aftereffects... or is there a trick to it that i am not aware of that enables one to do it with minimal use of bitmap images?
-lemur
View Replies !
View Related
Blurring With Easing
Hi all:
I am trying to create a blurred effect with easing and have run into a problem. I read the tute on this and it is working properly. My problem is that currently, the blurred image becomes clear only on mouseover but I want it to happen without mouseover as I intend to do several images, one right after another, to have this blurred effect. My actionscript is as follows:
ActionScript Code:
onClipEvent (load) {
dir = 0;
speed = 4;
topImage._alpha = 0;
this.onRollOver = function() {
dir = 1;
};
this.onRollOut = function() {
dir = -1;
};
}
onClipEvent (enterFrame) {
temp = topImage._alpha+speed*dir;
topImage._alpha = Math.min(100, Math.max(temp, 0));
}
I realize that I need to change the onRollover and onRollout statements but I'm not sure what to change them to (newbie obviously). If someone could help me, I would really appreciate it. I hope my explanation is clear enough for someone to help
Thanks in advance,
Sarah
View Replies !
View Related
Blurring The Carrousel
Hey guys!
We're two students from an audiovisual interactive study. We don't get any actionscripting at our school while we were promised to get it anyway. Heh. So we can't really ask anyone at school about this, because no one knows it. =D So we were wondering if you guys at Kirupa could help us
We're trying to make a 3d carrousel menu for our school project and we're basicly following the tutorial on gotoAndLearn.com (great site!). But our concept also tries to add in a blur when the objects are in the back of the carrousel. An example of this can be found at http://www.lays.com/ (go to products).
Our own theory is that the actionscript scales down the products when they go to the back, so if we could somehow attach a blur script to this as well we could simulate the blur effect! So that would mean the magic happens in the mover function. But no matter what we try we can't get it to work. One expert looked at it as well and tried to get it by calculating angles but couldn't figure it out either. So, if any of you guys have an idea and could take their time to explain it to us, we'd be very greatful!
The code now is:
Code:
import mx.utils.Delegate;
import mx.transitions.Tween;
import mx.transitions.easing.*;
var numOfItems:Number;
var radiusX:Number = 250;
var radiusY:Number = 75;
var centerX:Number = Stage.width/2.7;
var centerY:Number = Stage.height/2;
var speed:Number = 0.20;
var perspective:Number = 75;
var home:MovieClip = this;
theText._alpha = 0;
var tooltip:MovieClip = this.attachMovie("tooltip", "tooltip", 10000);
tooltip._alpha = 0;
var Zoom:MovieClip = this.attachMovie("Zoom", "Zoom", 12000);
Zoom._alpha = 0;
var xml:XML = new XML();
xml.ignoreWhite = true;
xml.onLoad = function()
{
var nodes = this.firstChild.childNodes;
numOfItems = nodes.length;
for(var i=0;i<numOfItems;i++)
{
var t = home.attachMovie("item","item"+i,i+1);
t.angle = i * ((Math.PI*2)/numOfItems);
t.onEnterFrame = mover;
t.toolText = nodes[i].attributes.tooltip;
t.content = nodes[i].attributes.content;
t.icon.inner.loadMovie(nodes[i].attributes.image);
t.r.inner.loadMovie(nodes[i].attributes.image);
t.icon.onRollOver = over;
t.icon.onRollOut = out;
t.icon.onRelease = released;
}
}
function over()
{
//BONUS Section
var sou:Sound = new Sound();
sou.attachSound("sover");
sou.start();
home.tooltip.tipText.text = this._parent.toolText;
home.tooltip._x = this._parent._x;
home.tooltip._y = this._parent._y-this._parent._height/2;
home.tooltip.onEnterFrame = Delegate.create(this,moveTip);
home.tooltip._alpha = 100;
}
function out()
{
delete home.tooltip.onEnterFrame;
home.tooltip._alpha = 0;
}
function released()
{
//BONUS Section
var sou:Sound = new Sound();
sou.attachSound("sdown");
sou.start();
home.Zoom._x = 675;
home.Zoom._y = 400;
home.Zoom._alpha = 100;
home.tooltip._alpha = 0;
for(var i=0;i<numOfItems;i++)
{
var t:MovieClip = home["item"+i];
t.xPos = t._x;
t.yPos = t._y;
t.theScale = t._xscale;
delete t.icon.onRollOver;
delete t.icon.onRollOut;
delete t.icon.onRelease;
delete t.onEnterFrame;
if(t != this._parent)
{
var tw:Tween = new Tween(t,"_xscale",Strong.easeOut,t._xscale,0,1,true);
var tw2:Tween = new Tween(t,"_yscale",Strong.easeOut,t._yscale,0,1,true);
var tw3:Tween = new Tween(t,"_alpha",Strong.easeOut,100,0,1,true);
}
else
{
var tw:Tween = new Tween(t,"_xscale",Strong.easeOut,t._xscale,100,1,true);
var tw2:Tween = new Tween(t,"_yscale",Strong.easeOut,t._yscale,100,1,true);
var tw3:Tween = new Tween(t,"_x",Strong.easeOut,t._x,200,1,true);
var tw4:Tween = new Tween(t,"_y",Strong.easeOut,t._y,320,1,true);
var tw5:Tween = new Tween(theText,"_alpha",Strong.easeOut,0,100,1,true);
theText.text = t.content;
var s:Object = this;
tw.onMotionStopped = function()
{
s.onRelease = unReleased;
}
}
}
}
function unReleased()
{
//BONUS Section
var sou:Sound = new Sound();
sou.attachSound("sdown");
sou.start();
delete this.onRelease;
home.Zoom._alpha = 0;
var tw:Tween = new Tween(theText,"_alpha",Strong.easeOut,100,0,0.5,true);
for(var i=0;i<numOfItems;i++)
{
var t:MovieClip = home["item"+i];
if(t != this._parent)
{
var tw:Tween = new Tween(t,"_xscale",Strong.easeOut,0,t.theScale,1,true);
var tw2:Tween = new Tween(t,"_yscale",Strong.easeOut,0,t.theScale,1,true);
var tw3:Tween = new Tween(t,"_alpha",Strong.easeOut,0,100,1,true);
}
else
{
var tw:Tween = new Tween(t,"_xscale",Strong.easeOut,100,t.theScale,1,true);
var tw2:Tween = new Tween(t,"_yscale",Strong.easeOut,100,t.theScale,1,true);
var tw3:Tween = new Tween(t,"_x",Strong.easeOut,t._x,t.xPos,1,true);
var tw4:Tween = new Tween(t,"_y",Strong.easeOut,t._y,t.yPos,1,true);
tw.onMotionStopped = function()
{
for(var i=0;i<numOfItems;i++)
{
var t:MovieClip = home["item"+i];
t.icon.onRollOver = Delegate.create(t.icon,over);
t.icon.onRollOut = Delegate.create(t.icon,out);
t.icon.onRelease = Delegate.create(t.icon, released);
t.onEnterFrame = mover;
}
}
}
}
}
function moveTip()
{
home.tooltip._x = this._parent._x;
home.tooltip._y = this._parent._y - this._parent._height/2;
}
xml.load("grass.xml");
function mover()
{
this._x = Math.cos(this.angle) * radiusX + centerX;
this._y = Math.sin(this.angle) * radiusY + centerY;
var s = (this._y - perspective) /(centerY+radiusY-perspective);
this._xscale = this._yscale=s*75;
this.angle += this._parent.speed;
this.swapDepths(Math.round(this._xscale)+100);
}
this.onMouseMove = function()
{
speed = (this._xmouse-centerX)/4500;
}
Thanks!
View Replies !
View Related
Blurring A Scaled MC?
I'm doing a 'zoom-in' style interface but when I try to apply a blur filter to anything scaled over around 450% it won't play ball, won't blur.
Anyone else come across this problem, or better yet, found a solution?
View Replies !
View Related
Blurring Font
Ok, this thing is driving me nut.
I'm doing a submenu, so i'm inside this movieclip and i have some text for my buttons.
Ok, if i test my movieclip (ctrl+alt+enter) my text is fine, if i test the whole movie the text is totally blurred.
Does anyone have an idea about how to solve this?
By the way i'm just using Arial and the text field has coordinates without the comma (x=15, y=45)
Thanks a lot.
View Replies !
View Related
Blurring Fadeout
Hi there.
First of all this is my 1rst post here. I usually work more on 3D than Web. But now i have the need to build my own WebSite. hihihihi.
Today ive found a very interesting flash effect but i cant understand how to make in flash, can anyone know how it is done? I believe that this type of effect would be very interesting for everyone. Thanks
The Effect type you can see in flashlevel . when you choose to see their Work.
View Replies !
View Related
Arghh Need Some Help With Blurring...
I hope someone can help me, i've seen something similar to this but can't quite get it to do what i want, I have a movie clip playing with a navigation on the left, when the user clicks on an option on the nav i want the movie clip that is playing to blur and the section that has been selected to open over it, so the movie that is blurred can be seen still playing away underneath. All i've found is the bitmapclass blur but this doesn't work with the movie clip i have.
can anyone help me?
Duncan
View Replies !
View Related
AttachMovie Behind Text?
Hi all,
I have an attachMovie-function that works fine... but the problem is that it gets put over everything else... not quite the way I want it... I want it in a perticular layer.. so it´s behind the text.
How..?? =)
Regards Jakob
View Replies !
View Related
|