Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Strong Sharp Glows.



Hello Everyone,

Please go here:

http://www.realityslip.com/plur2k/hybrid.htm

when you roll over certain text items, (like the change region button). They have really nice glows to their text rollovers.

How are their glows coming out so crisp and clear. I know they did this before flash 8. I know this might be something simple....

Thanks for any help...



Ultrashock Forums > Flash > Flash Professional
Posted on: 2006-03-14


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

AS 2 <strong>FullScreen Flash... Problem With MovieClip Position</strong>
Hey,

I'm currently programming a site available to see at:

http://biddleinc.ca/empiregrill/

The problem i have is that when I load in external .swf files which are bigger than the main centered movieClip (centeredContent_mc)... if you resize the browser it will bump the center section to a new position because it's size has changed. You can see this in the "Take a tour" section.

This is the code im using:


Quote:




Stage.scaleMode = "noScale";
Stage.align = "TL";

var stageListener: Object = new Object();

stageListener.onResize = positionContent;

Stage.addListener(stageListener);


function positionContent():Void
{
centeredContent_mc._x = Stage.width/2 - centeredContent_mc._width/2;
centeredContent_mc._y = Stage.height/2 - centeredContent_mc._height/2;


if ( Stage.height/Stage.width > background_mc._height / background_mc._width )
{
var ratio = background_mc._width/background_mc._height;

if ( Stage.height > 400 )
{
background_mc._height = Stage.height;
background_mc._width = Stage.height*ratio;
}
}
else
{
var ratio = background_mc._height/background_mc._width;

if ( Stage.width > 400 )
{
background_mc._width = Stage.width;
background_mc._height = Stage.width*ratio;
}
}
}

positionContent();






My question is: Is there any way to specify the new movieClip and keep if from changing the size of the mc it's being loaded into?

I would GREATLY appreciate any comments!!!!

Soft Glows In Flash?
I have an existing design that contains a very subtle, almost hairline cross with a small glow behind it. Is there a way to make the glow flash brighter briefly, then return to normal? Can you keep a soft edge in Flash?

Site may be viewed here:
http://standrews.webinternational.net

User agk, password designer.

Thanks,

Angela

How To Make An Item Glows?
i was wondering if anyone could help me on this. i have a picture and on the picture, i need to make an item glows....on and off...with any color. please private msg me or post here. thx in advance.

Dynamic Glows Or Auras?
hi guys,
any idea on how to create a dynamic halo/aura/glow for stuff, like letters? Well, if you need an example, check out the Matrix waterfall. You can see a greenish glow surrounding each letter, and the whole strip.

I think it's related to gradients, but I really have no idea on how to do it. Any help would be greatly appreciated.

Questions About Glows , And Flash Detection
Ok a couple of questions guys, (i tried to do a search but i keeps getting errors) firts question is : i want to make a glow , this type of glow would be like a light in back of the object and you would be able to see streams of light breaking through the sides and the openings of the object. the glow(light) would kinda move across the back and dissappear (alot of scifi movies tend to use this effect on text in opening credits) Sorry i dont have an example of what im explaining.

Second Question: How do make you site(movie) detect what vesion of flash the user has and such, what else can be done along those lines.

Thanks for any and all help, it be very much appreciated.

When Draggable MC Points To Button, It Glows
My draggable arrow MC pivots at a center point, and when the user points the arrow at number button, the number glows. Is there any way I can code this besides with thousands of getproperty scripts?

Text Button Link That Gradually Glows On Mouse Over
Hi,

As the subject says, I'm trying to create a button/movie clip text link where the text gradually glows when the mouse goes over it.

I know how to make a round (for example) button gradually change color, but I'm having trouble with text. I found a page that explains how to make text glow (by softening the edges), but that was for Flash 5, and I can't even get the "soften fill edges" option to become active in MX.

Does anybody have any ideas about how I could accomplish this? I would greatly appreciate it.

Thanks,
Todd

Strong Tag?
What is the best way to get Flash to recognize tags like <strong> <em>...etc.? I built a WYSIWYG editor into my admin area, but it's automatically converting Bold, Italic (and hard telling whatelse) into tags that Flash apparently can't understand.

Strong Bad E-Mail
Hey, I'm new and I was just thinking about something. At www.homestarrunner.com, for the sbemails, how do they animate the text that easily? Do they need to animate every single letter seperatly?

Anyways, just wondering.

I Need Strong Critique, Please
http://www.melnicomm.com/blog/images/crazy_flash.gif



I want to go to my bed! I so miss my bed! ... My wife for example, wake up in two hours... She sleeps 9-10 hours -- me 3-4

any way, check please my new layout - now I created many new things:-)

melnicomm.com/lab

Thanks all !!!

Buona notte:-)

Q: What About Strong Typing In AS3?
Hi all, I was wondering about this a while back. Does AS3 make any changes pertaining to the typing of variables? I know next to nothing about how AS3 will work, but I'm wondering if it's gonna be easier to type a lot of vars with it.

For example, now I have to do:
Code:

var eggs:Number = 2,
    flour:Number = 300,
    milk:Number = 50;

Is this going to be easier in AS3? (And prettier?) :?

Maths Not My Strong Point
Okay..I have a mc which has another mc inside it reduced at 25% i then have another mc inside that one again reduced by 25% and so on and so one.

My aim is to scale the main mc by 400% each time to view the next mc inside it...very similiar to websites done before such as sofake.com...its basically a zoom menu system. The basic scipt is as follows:

onClipEvent (enterFrame) {
if (_root.contents._xscale>_global.scale) {
_root.contents._xscale -= (_root.contents._xscale-_global.scale)/5;
} else {
_root.contents._xscale += (_global.scale-_root.contents._xscale)/5;
}
}

then on each button i have:

(btn 1) _global.scale = 100;
(btn 2) _global.scale = 400;
(btn 3) _global.scale = 1600;
(btn 4) _global.scale = 6400;

it all works fine apart from the speed it travels between each scaled mc. if you travel between say btn1 and btn2 it works fine and if you travel back from btn 4 to btn 1 that works fine to. but if you travel from say btn1 to btn 4 it seems to zoom straight into btn 3 then ease properly into btn4.

I basically want it to travel at a nice ease through all the mc until it reaches its scaled mc.

I hope this makes sense...have a look at sofake.com to understand or i may be able to attach a .fla

please help me...i wasn't that good at maths at school...art was for me

Antialias Is Too Strong, How Do I Calm It Down
Okay, here is the site

http://matthewbernardo.com/flash/

If you click on the portfolio section, each page has a small description. My problem is, however, that the text comes up looking really bad, as if the antialiasing worked it over a bit too much. I tried other settings, but antialias for animation was too soft and no aliasing was terrible (I would switch to device fonts, but not everyone has the font I am using). Also the custom anti alias doesnt seem to do anything. How do I get the text to be crisp, but not burnt?

Thanks in advance.

So How Strong Is Flash These Days
Hi all,

What's your oppinion on the strength of Flash these days, i mean compared to .net/java/ruby/haxe/php etc... i mean it's the only decent way we can animate someting cool on the web, 97,7% of all desktops has the flash player plugin installed) and it has major programming capabilities.

But i can read and write files with flash, even write a complete engine if i would like to, and even animate my website wherever i need to, this is not even close to posible on .net or php, java could do animation but isn't that stable imo.

Not even speaking on the new technologies like flex, but that's where my technique knowledge stops, can't know everything these day's

So what's your thought on this...
Let us know..

How Strong Is Type Casting
I have a variable saved in the first frame of my fla file
var question:Number = 0;


I want to make it possible for sombody to jump around in the exersice so I built kind of a jumper and saved it in its own mc. In the mc I have a button called jump with the following code.

_root.question = q.text;

Now that question will work but when I tried to add one to my question variable it did something weird. Say I want to jump to question 2. When it tries to add one to my question variable I get 21. It seems that by saving q.text to my question variable, it gets recasted to a String. Has anybody else bumped into this problem.

Side note: I did fix this with parseInt. I am just curious why this happened in the first place, is type casting really not that strong?

Strong Typing Variables
Hey guys.

Does anyone know if strong typing variables in Flash does in fact increase performance? I've read and heard both versions.

Also, is there a way to strong type a variable that you set this way:


ActionScript Code:
var newClip:MovieClip = this.createEmptyMovieClip("newClip", 100);// this will return an error during compile?newClip.myNewVar:Number = 100;


Cheers!

Strong Push In The Right Direction
Goal:
To create movieclips in a for loop. Each movieclip will contain 2 dynamic textfields, and one movieclip which will pull in an image.

Issues:
- Making the textfield the child of the movieclip, thus assigning a value to that textfield.
- Doing this with all around best practices. Other than just getting it working, I want to learn best practices on the way.

Extra Info if you want it:
The content will be pulled in via swfObject from an html file, which will reference a div by its ID and pull in the information. It is kinda like referencing an xml file.

AS2 isn't my forte, but I just happen to be the guy who understands AS2 in any way. Websites, tutorials, wise words are greatly appreciated.

As2 Replace <strong> To <b> Function
Hello. I have an AS3 class I found some time ago. I do not know where I found it on the net at this point and wish i could give the developer credit.

I need to use it as a function in AS2 (or another way someone suggests). Below is what is not working for me. I was thinking this must be a popular thing to do but can't find an example. I hope to get this working and believe many people will find it useful like in a CMS using TincyMCE. I realize someone might prefer to just make TinyMCE output <strong> instead of <b> or convert with php but I believe this will be more powerful . I can bring in xml from any source. What's wrong here (besides s-u-c-e-s-s, ha):


Code:
// xml object / ignorewhite
xml = new XML();
xml.ignoreWhite = true;
//load object for parsing
xml.onLoad = function(sucess) {
if (sucess) {
theText = xml.childNodes[0];
format(theText);
var theTitle:String = xml.firstChild.attributes.pageTitle;
trace(theTitle);
trace(theText);


myContent.texto.page.htmlText = "<body>"+theText+"</body>";
myContent.title_mc.myTitle.text = theTitle;
trace(myContent.title_mc.myTitle.text);

function replace(sValue:String, sToReplace:String, sWith:String):String {
return sValue.split(sToReplace).join(sWith);
}
function format(sValue:String):String {
//add your text that needs replacing here
//sValue = replace(sValue, <text that needs replacing>,<text that needs to be inserted>)
sValue = replace(sValue, "<strong>", "<b>");
sValue = replace(sValue, "<STRONG>", "<b>");
sValue = replace(sValue, "</strong>", "</b>");
sValue = replace(sValue, "</STRONG>", "</b>");

sValue = replace(sValue, "<em>", "<i>");
sValue = replace(sValue, "<EM>", "<i>");
sValue = replace(sValue, "</em>", "</i>");
sValue = replace(sValue, "</EM>", "</i>");

return sValue;
}


My xml file is simply 1 tag of text and the title is an attribute. Looking at my output, the <strong> tags remain. Can i not directly apply it to theText or something?

Strong Typing A Function?
I've made the full transition to AS2 in the last months, and I'm curious wether I should strict declare the functions as well or not, like this:


ActionScript Code:
var myFunction:Function = function(param1:Function):Function{
return param1;
}

I mean, I havent seen that in any script so far, is that necessary or even right to do?

AS2.0 Strong Typing And Global Variables
In order to use strong typing in Flash MX04 you have to use:

var myVar:String;

My question is. How can you use strong typing with global variables. You cannot do this:

var _global.myVar:String;

or this:

_global.myVar:String;

so how is it done? I like to make all my timeline variables _global in scope so that I don't have to keep using _parent._parent etc etc all the time and all globally defined values can be reached no matter where you are by just adding _global. to the variable name.

Please enlighten me!

Thanks!

Strong Data Typing Questions
I'm trying to use strong data typing and abosolute paths to make my code as clean as possible I've used what i know below but an wondering if there is more that i need to do also i need a website or resource that lists all the strong data types....the only ones i know are String,Number, and Object are there more where do i find information about strong data typing and making my code clean? I'd appriciate any insight you have on this subject.

Code:

output_txt.htmlText = "";
function output(arr){
var len:Number = arr.length;
for( i:Number=0; i<len; i++){
output_txt.htmlText += "Element " + i + ": " + arr[i] + "<br>";
}
output_txt.htmlText += "<br>";
}


var help:Array = new Array();
help[0]= "Help!";
help[1] = "The Night Before";
help[2] = "You've Got to Hide Your Love Away";
help[3] = "I Need You";
help[4] = "Another Girl";
help[5] = "You're Going to Lose That Girl";
help[6] = "Ticket to Ride";
help[7] = "Act Naturally";
help[8] = "It's Only Love";
help[9] = "You Like Me Too Much";
help[10] = "Tell Me What You See";
help[11] = "I've Just Seen A Face";
help[12] = "Yesterday";
help[13] = "Dizzy Miss Lizzie";
output(help);

Very Strong ActionScript Obfuscation Tool
hi all
i have found a new actionscript obfuscation tool
i have test it on all powerful decompilers.
it is confuse all of them
but i haven't test it on ASV latest version yet.
i have tested it on ASV 5.01 and ASV has Confused
but i am looking for some one to test my protected swf against ASV 6
thx
btw : i think it is not against the forum rules

Flash Project: Security Strong Enough?
Hi,

I recently made a flash AS2 application which loads an external config.XML file. This xml file contains the URL's needed for AMFPHP (php files) and the URL for a Flash Media Server 2.

I use this xml file in favor of hardcoding all the URL's in the flash application so when it's decompiled they get nothing. The only thing hardcoded is the relative URL to the config.XML file.

Now, if I deny directory access for the xml file (with the control panel of the internet host) will this be enough so the public can't see these files (php en xml files) and will it make everything secure?

If you think not, how can I make this more secure?

-- krikke

3DMLW Technology As An Strong Alternative To Fla
Hi Expertz,
i found a new platform which can be replaced with Flash 10 Platform for Designing cool stunning applications...Can anybody let me know if they have tested it??

I saw that its open-source and free to use, so i just wanted to let you all know about it and test it { if you haven't done yet } and let me too know if it should be used as an alternative to Flash 8 or i should stick with current Flash versions only??

Mods, I request you to not delete this as i am not advertising anything here, i am just informing all other users about this new platform..Everybody is invited to visit the site here at :: www.3dmlw.com .

Have a nice day all,
regards,
Core2Quad :: A decent technology

Strong Typing (not The Usual 'why' Thread)
So i did see the post about typing in the sticky above, but my question isnt as to why i should use it. I had heard that with as3 it was Required that you give a type to all your variables or it wouldn't compile. I have found this to be false which gave rise to my question. Did i just mishear it altogether or is there perhaps an option that can be switched so that the typing is required? This was born out or curiosity than anything else, any insight would be appreciated. thanks.

How To Strong-typing Object Property?
var obj :Object = new Object();
obj.name = "James";

trace(typeof(obj.name)); // object

How to force the object type to string?
It cause me problem when my function only take String input

function whatever(name :String):Void
{
....
}

Would Someone Mx.transitions.easing.Strong.easeOut Explain For Me?
what is this mysterious line?

im done with mouserecord (talking about my physical fitness)

mx.transitions.easing.Strong.easeOut make me into nebula, here is a screenshot from what part i mean (didn't see it working yet)



and the hole program, thanks

Strong Typing XML Data In Settings Class
Hi,

I have a Settings class which loads an XML file. The XML file contains nodes with 3 attributes - type, value and key. For example:


Code:
<myNode type="String" key="copyright_txt" value="This is copyright of somebody somwehere" />
In my Settings class I have a public function:
Code:
getSetting(key:String):Object{
//Match key and return value;
}
It runs through the XML and returns the value of the node with the matching key.

My problem is that the returned item is always Typed as Object. Is there any way I can Strongtype the returned value without having to have separate getter functions for separate types?

Thanks

Creating A Strong Typed Variable Inside Of A MC
If you can dynamically create a movie clip on the fly and can set a variable simply by typeing 'myMc.newVarName = 22', how can you create a strong typed variable inside of that movie clip?

3DMLW Technology As An Strong Alternative To Flash 10
Hi Expertz,
i found a new platform which can be replaced with Flash 10 Platform for Designing cool stunning applications...Can anybody let me know if they have tested it??
I saw that its open-source and free to use, so i just wanted to let you all know about it and test it { if you haven't done yet } and let me too know if it should be used as an alternative to Flash 8 or i should stick with current Flash versions only??
Mods, I request you to not delete this as i am not advertising anything here, i am just informing all other users about this new platform..Everybody is invited to visit the site here at :: www.3dmlw.com .

Have a nice day all,
regards,
Core2Quad :: A decent technology

3DMLW Technology As An Strong Alternative To Flash 10
Hi Expertz,
i found a new platform which can be replaced with Flash 10 Platform for Designing cool stunning applications...Can anybody let me know if they have tested it??

I saw that its open-source and free to use, so i just wanted to let you all know about it and test it { if you haven't done yet } and let me too know if it should be used as an alternative to Flash 8 or i should stick with current Flash versions only??

Mods, I request you to not delete this as i am not advertising anything here, i am just informing all other users about this new platform..Everybody is invited to visit the site here at :: www.3dmlw.com .

Have a nice day all,
regards,
Core2Quad :: A decent technology

Doesn't Make Sense: Var Strong Typed As Color
I've declared a variable as such


Code:
private var baseColor:Color;

used an init function to set it:

Code:
public function initElasticNav(navWidth, navHeight, navArray, baseColor){
this.navWidth = navWidth;
this.navHeight = navHeight;
this.navArray = navArray;
this.baseColor = baseColor;
createNavLevel(this, navArray, navWidth);
}
and then tried to change it later on down the line

Code:
baseColor = 0x000000;
and get this error
Type mismatch in assignment statement: found Number where Color is required.

I can't reset it as a hex value, or a number that falls in the hex range.

I can declare the var as a Number and it works fine, but then what's the point of being able to strictly declare a var as a Color?

<strong> Tags Forcing Line-breaks In Flash
So I have created a textField that has a CSS style applied to it using embedded fonts. I have in-line <a href= > links that display fine - and even <strong> works - but, it creates a line-break after it.

I thought maybe the closing tag had a line-break character ('
') after it, so i tried replacing it if it existed:

ActionScript Code:
text.split('</strong>
').join('</strong>');

but no success.

I have a feeling this might be an actual Flash flaw. Does anyone know?

Trigger Code Hinting On Strict (or Strong) Data Types
Hey!

I've seen Lee get back the code hints whenever his is typing some code on the timeline. For instance

var bmp:BitmapData = new BitmapData(foo._width, .... get back code hints here!, ...... );

What is the command/key stroke to get those back? I tried hitting control-spacebar like the livedocs say, but that only works if no params have been entered.

Any help?
cheers.
:)

Sharp Edges
i'm having trouble getting my edges to look sharp in flash. i've drawn a small box, and when i go to preview it it looks blurry. i've got some boxes that were drawn within my background in fireworks, and those looks clean when my background is saved as a jpg and imported into flash. not sure what the problem is....anyone got any ideas??

thanks in advance

Sharp Type
I am using different type faces in Flash MX, and the problem is they are blurred slightly, is there anyway around this I have tried so called pixel fonts, flash fonts ect, yet they all seem slightly blurred.

thanks in advance

Graphics Are Not Sharp. Why?
I working on a project where I use these little mc's only 1 px in height (7 px width).

I want them to have sharp edges at all times. They have sharp edges but only until I start animating them. Then the mc's start to blur out. I have tried with both bitmap graphics (imported from Photoshop) and Flash-drawn graphics but it's all the same. So I have a feeling it has to do with some kind of property or something inside of Flash.

I'm sure someone else has experienced the same type of problem - and it has probably been posted on this board before too. I've tried searching the board with no luck so help would be greatly appreciated.

Thanks!

Sharp Jpegs
Hello flashers......... Is there a way to keep jpegs looking very sharp???. When I work on my site, I size my images in photoshop to the final size they will appear in my site and save them as jpegs ( should they be safe as PNG). Then I import the jpegs to the library then I open the Bitmap Properties window and I uncheck the allow smoothing box and the Use imported JPEG data box and set Quality to 100. I do this for all the images that I import. Once I finish that, I convert each image into a graphic so I can manipulate the image, like changing the alpha or create a tween. All looks great until I publish the file. This is when the images look shoft, sometimes have lines or look pixalate. Please take a look a this website whose images look amazing.
http://www.zoozoom.com/magazine.aspx
If anybody has any ideas of how to make jpegs look as sharp as this site I will appreciate your info. If you have questions about what I'm talking about, please take a look a this website I did for a friend
http://www.jeffstephens.com

Flash Within C Sharp
I have a Flash demo that is going to be used with C Sharp as the container.

The Flash demo has the usual mcs within mcs.
Can a C# button communicate within the movie clips?
When Flash is playing and is running the ball_mc and comes to a "stop" frame action, can C# use a button to tell it to continue onto the next frame within that movie?

I'm not the programmer on this but the C# dude can't find a call to continue within the movie, it only jumps to the next frame on the main timeline.

Any help will be appreciated.

P

I'm As Sharp As A Wet Mouse
I'm controlling an external SWF and this works fine:

on (press) {
this._parent.prevframe();
}

Does anyone have any suggestion how to jump back two frame instead of previous frame.

Sorry new to actionscript.

How Do You Keep The Graphics Looking Sharp?
Whenever I export a project the graphics always end up looking pretty bad. How can you maintain the crisp lines you get with vectors?

Sharp Fonts
can't get clean sharp fonts, I've followed a few tutorials, kept sizes at intervals of 8 etc,etc but still seems blurry when published.

a font size of 8 is also way bigger than i want to be using!!!!

what am i doing wrong??
how can i fix this???

Sharp Problem
cheack this link www.eikon.gr/main/main.htm

for some reason the buttons is not so sharp and the circles isnt 100% cicle..Why??? the quality is 100% and not compresed... Can Enyone Help?

Image Not Sharp, Why?
Hi,

May I know why everytime when I insert picture(jpeg) to the stage it seems ok but when I involve timeline, like text animation the picture will blur & not sharp when I preview(alt+enter)? I tried to change the picture to either movie, button or graphic but doesn't help too.

ANyone knows wht's wrong?

Thanks!

Sharp Pictures
when ever i import a picture i blurs

can i stop this

Sharp Corners
Hi there,
I have a pretty old version of Flash, MX I think and I'm simply trying to draw a box with a 5px outline that has sharp corners. I've checked the 'sharp corners' check box in the custom settings for the outline but I keep ending up with a box that has slightly rounded corners! It's driving me mad, can anyone tell me where I'm going wrong???
Thanks.

DrawRoundRect Is Too Sharp :(
Don't you guys think the drawRoundRect needs a "smoothing=true" or something to make the rounded corner better?

The default mode is toooo sharp

I tried for a few times and finally find the effect is rather poorer than using a bitmap instead.

Or anytips for that?

Thanks in advance

How Make It Sharp
Hi,

i am developing a gallery for a client , which you people could see here.
Gallery Link

he says that the control bar is smooth , its not sharp,,,, how could i make it sharp any ideas
if some one can be help i will be great full

Regards

Sharp Problem
cheack this link www.eikon.gr/main/main.htm

for some reason the buttons is not so sharp and the circles isnt 100% cicle..Why??? the quality is 100% and not compresed... Can Enyone Help?

Copyright © 2005-08 www.BigResource.com, All rights reserved