Scroll Pixelfonts
hi again!!
i´m going insane about a scrollable movieclip (which content are duplicated clips generated by a xml file) as i'm using pixelfonts and I want'em to fit in the pixel to avoid blurring. took the script from here(flashkit):
-----------------------------------------------------------------------------
// Define the Scroll Area top = _level4.fitx.movMask._y; bottom = _level4.fitx.movMask._y+_level4.fitx.movMask._heig ht-_level4.fitx.movScroller._height; left = _level4.fitx.movMask._x; right = _level4.fitx.movMask._x+_level4.fitx.movMask._widt h; // Bring all objects to the Scroll Area _level4.fitx.tema._y = top; _level4.fitx.tema._x = left; _level4.fitx.movScroller._y = top; _level4.fitx.movScroller._x = right+10; // When the Scroller is Dragged _level4.fitx.movScroller.onMouseDown = function() { if (_level4.fitx.tema._height>=_level4.fitx.movMask-_height) { if (hitTest(_root._xmouse, _root._ymouse)) { startDrag("_level4.fitx.movScroller", false, right+10, top, right+10, bottom); } } else { mouse.hide(); } }; // when the Scroller is Released _level4.fitx.movScroller.onMouseUp = function() { stopDrag(); }; // Update Position every 10 milliseconds setInterval(Update, 10); function Update() { var ratio = (_level4.fitx.tema._height-_level4.fitx.movMask._height)/(_level4.fitx.movMask._height-_level4.fitx.movScroller._height); _level4.fitx.tema._y = ((_level4.fitx.movMask._y-_level4.fitx.movScroller._y)*ratio)+_level4.fitx.m ovMask._y; }
--------------------------------------------------------------------------------
tried with math.round() didn't work
all clips(also masks...) are into the pixel, 100% sized (no decimals) and still not working...
so...
what is it? any alternative?!?!?
thanx in advance once again!!
(mx2004 on macOS X panther)
FlashKit > Flash Help > Flash ActionScript
Posted on: 10-06-2005, 11:03 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Pixelfonts
Hello
I've downloaded some pixel fonts now i want to have them in FlashMX. Can somebody tell me what i have to do?
Thanks
Flavor
* Pixelfonts *
anybody have a good pixelfont they might be willing to share with me?
feels like i've searched the whole internet, and all the pixelfonts i find are excellent, but you have to pay for them, and i've never bought anything on the internet, i don't like giving out creditcard numbers etc. plus, who wants to pay 50 dollars when all you need is one font? if you know any links or have one installed that you could e-mail, i would really appreciate it! thanks!
Centering Pixelfonts Possible?
In a menu I am using pixelfonts for the caption. The caption needs to be centered, but when centering the pixelfont doesn't align to a whole pixel anymore (example _x of pixelfont = 1.3 instead of 1.0 as is necessary). As a result the text gets blurred.
Any Ideas on how I can center the text and still having pixelfont advantages?
Loading Pixelfonts To Appear Clearly
Brief question, and to all you pro's out there, should be quick to answer. I'm using a pixelfont (vary between Kroege and some freebie fff fonts). Problem is that when I'm loading an mc into my main movie, the text appears blury, not crisp as it should.
What's the sweetest way to get text to appear crisply?
Any help would be greatly apprecitated.
Thanks
--fabman--
Question About Pixelfonts...
Is there a pixelfont available which is really close to Verdana HTML text 9px?
FFF Alias is to wide, so is Standard 07_54...
Does anyone knows if there is a pixelfont closer to Verdana 9pts HTML...or knows a clean, easy readable Pixelfont with both Capitals and undercast letters????
Thanks!
Using Pixelfonts In Combobox....
When I use a pixelfont in a combobox, the text in the "dropdown" seems a litle blurry (like they´re not on a whole pixel) Does anyone know a way to fix this?
Pixelfonts+flashMX
hi folks,
i am wondering if flash is just a tool for insane freaks, who don't need to earn money, have a lot time to spend, believing in miracles and so on. maybe some companies hiring people for some bucks and let them do the flash. globalization.
ok.
who likes to make my flash animation? just kidding.
i read them all, the tutorials about the fonts (also fff-fonts) and embedding and x/y coordination fixing and breaking apart and and and. BUT it don't work every time. Who the hell has the nerves to make this nice flashs out there?
importing gifs from firework doesn't work, also after deleting the source fork, flash recognizes the font and displaying it wrong....
i have two buttons of the same kind (act. duplicating the first one) after changing the text it get displayed blurry? why?
maybe someone likes to look at it:
http://www.sizematters.at/zefa/flash/flash_zefa.html
sorry guys+girls for beeing so rude, but you know...
respect
jns
ok. ok. now, after 17 hrs i found a clue, but anyway it' s still ...
Pixelfonts Still Look Blurry
why does my pixlefonts still look blurry? is there any other way to control anti-aliasing? i tried the _highquality property but it affects all texts. i just want the pixelfonts to be aliased, like the fonts here in ultrashock...
im finishing a site right now.. hope u can help me guys.
What Makes Pixelfonts Blurry?
minor problem: i am using pixelfonts for my new flash site and it looks really sharp and crisp and nice and all. but there is this one place where a couple of links are placed and they come out all blurry, they have _x and _y that are whole numbers, and i used links just like them in other places and they look fine... just can't figure it out...
thanks
Pixelfonts Anti-aliased ?
Hey! I've tried absolutely everything found here, but the blasted fonts are still anti-aliased. (FLASH MX)
The font is FFF Galaxy (from fontsforflash/freebies) or any other pixel font, for that matter, its size is 8, its x & y positions are whole numbers, it's a dynamic text, line type is "Single line", text is left-justified.
problem #1: If I embed characters, text gets anti-aliased. If I don't embed, nobody will see it properly.
problem #2: if I break text apart, using CTRL+B command, text gets anti-aliased again. I know that I should set the "publish" quality to "low", but I want to keep the anti-alias on other objects.
Can anybody help, please? How do I anti-alias background (which was made in AdobeIllustrator), but keep the text crisp?
Pixelfonts, Publishing And Margins
Okay...
I'm designing a new website in Flash MX. So far, so good.
A little while ago, I learned that to use pixel fonts in a good way, you need to always position them on ,0 values. Like 100,0 instead of 100,3.
When I preview my movie in Flash MX itself, everything looks fine. It's all great. But when I watch the .swf on internet, the text is blurry! How does it DARE!!!
And especially, how does it come? Is it because I'm looking at the .swf file right away on the internet? ( I mean, like http://www.mydomain.com/index.swf) instead of in an html file?
I'm soooooooo frustrated!!! GRAAA!
Burry Pixelfonts When Swf Displayed In Browser?
How can this be? when i just open the swf or test it from flash mx everything is fine, when i embed it into html and view it from my browser some of the writing is blurred and some isn't! anybody?
thanks!
Strange Behaviour Of Pixelfonts When Loaded Into Mc
Hi,
I'm having an swf with pixelfonts. When rendered, they are sharp.
When I load this swf in another it gets blurry. Into a level or an empty mc, doesn't mather, they become blurry. No scaling going on, round positioning etc...I use them for years...Is this flash 8?
Don't understand it but freaky annoying :s
Anyone experienced this / work around?
thanks in advance
H
My Pixelfonts Aren't Clear In Flash.
Whenever I try using my pixel fonts in Flash (mx 2004) they blur, even though I have bold off. The only way to keep it from blurring is to zoom in once...... Does anyone know how to solve this problem?
Autosize "center" Blurs Pixelfonts..?
I'm trying to create buttons which create a txtfld within themself, and I'd like to center the txt.. it's working but the txt is blurring..
This is the code inside the but_mc..
ActionScript Code:
_parent.createTextField("but_txt", 1, 0,0, 1, 1);
tekst = new TextFormat();
tekst.font = "standard 07_51";
tekst.size = 8;
tekst.color = 0x000000;
_parent.but_txt.autoSize = "center";
_parent.but_txt.embedFonts = true;
_parent.but_txt.border = 0;
_parent.but_txt.background = 0;
_parent.but_txt.selectable = 0;
_parent.but_txt.text = "Home";
_parent.but_txt.setTextFormat(tekst);
Is there any way to stop the txt from blurring...or another easy way to center the txt in the middle of the button?
this._x=Math.Random(this._x)
this._y=Math.Random(this._y) isn't the problem..
Scroll Bar Show Up If Needed And Only Scroll To Dynamic Text Input Bottom... HOW
I have attached a copy of my scroll bar that i am currently using how can i make the scroll bar not show up unless needed (really not all that important but would be nice.)
The important thing is that i can setup a dynamic text box inside my item_holder movie clip but my scroller always scrolls to the bottom of the scroll box not matter if inside my scroll box i have on line of text loaded dynamicly or i have 100. So if i have 1 line of text and a large dynamic text box the scroll bar will scroll to the bottom of the scroll box even though it only has one line. See attachment and see if anyone can help. Thanks in advance. Brian
Scroll Text > Button > Load Txt File > Reset Scroll Bar...?
Hi i am looking for a tutorial or an explanation of how you can load an external text file into a text field and have...let's say 3 buttons that load the .txt files...when they are loaded...i want the scroll bar to be reset to the top of the text field/box....
any help...welcome...
ta...tiger...
Linking Text Buttons In Scroll To Image Outside Scroll Area
Hi,
I am desperately hitting my head against a brick wall - so please help me!
I have created a flash area that is divided up with an image on top and a scroll area under.
I am trying to get the text buttons in the scroll area to each change the image above and cant seem to get it to work because of the masking.
I have tried heaps and heaps of different ways and am going crazy!
PLEASE HELP ME!!!!
thanks,
kova
Change Vert Scroll Script To Horiz Scroll
I found this tutorial for a scrollbar. It works great for vertical scrolling (ex:http://www.matthewterry.net/safetyguide.html click any section), but I want to change it to scroll horizontally, for another project.
Can someone help me change it to affect horizontal scrolling?
On the content's movie:
onClipEvent(load){
goY = this._y;
myY = this._y;
ySpeed = 0;
clicked = false;
delay = 2;
barDis = 380;
barPercent = 0;
}
onClipEvent(enterFrame){
if(math.round(myY) != math.round(goY) || clicked == true){
barPercent = (_parent.scroller.scrolllever._y/barDis)*100;goY = 116.7 - ((340/100)*barPercent);
myY = this.setonescroll._y;
ySpeed = (myY-goY)/delay;
this.setonescroll._y -= ySpeed;
}
}
On the scroller:
on(press){
startDrag(this,0,0,0,0,_parent._parent.setone.barD is);
_parent._parent.setone.clicked = true;
}
on(release, releaseOutside){
stopDrag();
_parent._parent.setone.clicked = true;
}
Thanks,
Matt
Please Help Me Place The Arrows Of My ScrollPane Scroll Bar Together On One End Of The Scroll Track
I have a scrollpane component with a movie clip of some thumbnail images.
I just want to have its scrollbar arrows together on one end of the track (or together ANYwhere) instead of having them at opposite ends of the scroll track.
I have been able to customize the appearance of the scrollpane and its scrollbar using the HaloTheme library, but that approach has so far been of no use in getting the arrows together.
I cannot tell you how deeply any help will be appreciated. I will probably sob and mewl with gratitude, the way I imagine someone lost in a vast rain forest for many weeks mewls when rescued. I am desperate. I am going insane. Please, please help me.
Modifying Position Of Scroll Arrows In Scroll Pane
Does anyone out there know how to modify the code of the standard Flash component scroll pane to allow you to place the arrows anywhere you want on the page? I was able to go in and assign x and y coordinates for them, but they seem to be linked to the bounding box somehow and whenever I raise or lower them the box follows suit, which ends up cutting of the content inside the box...
I didn't post any code because there is so **** much of it and I can't figure out where it is that the position of the arrows is linked to the position of that ****ed box (this is what I suspect the problem is, but please tell me if you know different!)!!!
HELP!!!!
Modifying Position Of Scroll Arrows In Scroll Pane
Does anyone out there know how to modify the code of the standard Flash component scroll pane to allow you to place the arrows anywhere you want on the page? I was able to go in and assign x and y coordinates for them, but they seem to be linked to the bounding box somehow and whenever I raise or lower them the box follows suit, which ends up cutting of the content inside the box...
I didn't post any code because there is so **** much of it and I can't figure out where it is that the position of the arrows is linked to the position of that ****ed box (this is what I suspect the problem is, but please tell me if you know different!)!!!
HELP!!!!
Scroll Bar Component Doesn't Scroll When Dynamic Txt Is Used?
I have a dynamic text box with the Flash UI component "Scroll Bar" attached to it. It works and scrolls fine when you enter text directelly into the dynamic box but when you use the loadVariables command to load an external txt file into it, it fails to scroll the text?
Is there a way to get it to scroll?
thx Bk9
Text + Image Scroll Function With Scroll Bar. Help
Hi, tring to create a scrollable text window that can also include different text colours, styles, links and images. I have tried a few tutorials but they only seem to work with dynamic text without different colours, styles, links and images. is there an easier solution i can use..
Please help
Scroll Gallery [doesn't Scroll After Particular Point]
Hello guys,
I have got this script from one of the opensource files on flashkit and want to use it for one of my requirements. Basically all I want to do is, scroll images vertically based on mouse movement. I've done that already but the issue is that when I have over 10-15 images, it doesn't scroll as there is no place left for the mouse to go further down. If you have a look at the attached file, you'll know what exactly I am talking about. Ideally, if mouse is held downwards, the images should keep scrolling untill it reaches it's end.
Can anybody have a look at the fla and help me out.
Cheers,
D
Scroll Wheel - Control Page Scroll?
Alrightly... So I have a flash file that is 750 x 1000 px and is embedded into an html page. Since it's height is a 1000px in order to see the whole flash file one needs to scroll down on the page. This is fine except that when people are working with the flash file (have clicked on it) and then want to use the scroll wheel it won't scroll the html page..
I realize this is because in flash you can assign your own properties to the scroll wheel. But is there a way to have the scroll wheel perform it's normal function of scrolling the html page?
I'm not sure if there is an easy way or if I would have to write some code for flash to call javascript to scroll the page? I know people must have run into this problem before and probably have some good solutions.
Thanks in advance
Scroll Text With Image In Scroll Panel ? Help
Hi,
I m trying scroll pannnel to show image and dynamic text both in scroll panne but when i select dymanic text in text option it comes outer from scroll pannel but static text is coming.
I need help to show dynamic text also in scroll pannel.
Thanks
Changing Quality On Scroll :: Scroll Plane
Hi There,
Does anyone know a easy way of getting the flash movie to change quality when a scroll plane is scrolling... I have loads of content in the plane and need to set the quality to low whilst scolling to improve performance....
at the moment I have this code.
Code:
var dragQual:Object = new Object();
dragQual.scroll = function(eventObj){
_quality = "LOW"
}
tDragObject.addEventListener("scroll", dragQual);
but it only sets the quality to low, once the user has finnished scolling I want the quality to go back to best....
Any Ideas?
Change Horizontal Scroll To Vertical Scroll
Hi,
I've flash source code that is having a horizontal scrolling. Anybody can help me to change this to a vertical scroll.
Pls check the attached file.
thanks in advance...
Scroll Text With Image In Scroll Panel ? Help
Hi,
I m trying scroll pannnel to show image and dynamic text both in scroll panne but when i select dymanic text in text option it comes outer from scroll pannel but static text is coming.
I need help to show dynamic text also in scroll pannel.
Thanks
Changing Quality On Scroll :: Scroll Plane
Hi There,
Does anyone know a easy way of getting the flash movie to change quality when a scroll plane is scrolling... I have loads of content in the plane and need to set the quality to low whilst scolling to improve performance....
at the moment I have this code.
Code:
var dragQual:Object = new Object();
dragQual.scroll = function(eventObj){
_quality = "LOW"
}
tDragObject.addEventListener("scroll", dragQual);
but it only sets the quality to low, once the user has finnished scolling I want the quality to go back to best....
Any Ideas?
[scroll] Scroll That Reacts To The Mouse Wheel
Hy guys,
Do you know how can I make a scrollable text that reacts to the mouse wheel. Here you can see an example: link here
Look at the news section, or at the about us section.
The majority oh the text scrollers on the web didn't react at the mouse wheel. I found this site and I was surprised when I found that I can scroll with my mouse wheel.
Hope some one knows how they do that.
Thx.
Scroll Box Buttons - Constant Scroll?
Yo,
I've made a scrolling text box, but I cant figure out how to have it so when I simply hold my cursor over the up or down scroll button the text box will constantly scroll in the corresponding direction. I've tried while/for/do loops and I'm stuck, how would you do this utterly simple task?
Also, does anyone know how to make a working scroll bar? One that a user can click like a real windows environment window?
Scroll Bar With Buttons To Pics That Don't Scroll
Hi, I'm trying to make a scroll bar that has buttons in it, so that when you click on one of the buttons a pic shows up in the back ground...Trouble is that My pictures scroll also with the bar and I would like for them to stay stationary behind the scroll bar...Does this make any sense?
Thx Ezekiel
Scroll Pane Scroll Speed.
Can anyone tell me how to change the speed of scrolling for the scroll pane in MX? I have looked all over for it, but find nothing. When I am scroll it moves like half a line at at time...I'd like to see it faster.
Thanks
OnRollover Scroll Down...ondrag Scroll Up
Hey guys,
I was wondering if you guys could help me create a flash component for a site I'm working on right now. What I need is a scrollpane type thing, where when the user rolls over the content area, the content will begin to scroll down, and when the user rolls out, the content stops scrolling. Also, the user will be able to drag the content up (not down, they will only be able to drag the content up, they will rollover to make the content go down).
Could you please help me with this?
Thanks.
Nick
HELP: Trying To Add A Scroll Bar To So User Can Scroll Text
HELP
Hi Guys!
I am in need of help! I am using Macromedia Flash MX 2004 pro, and trying to create on online portfolio for my work.
I have a section which has a large amount of text and would like to know how to set up a 'scroll' bar. So the user can scroll the text like at the side of the a word document. I have set up a mask so the text is contained but thats as far as i have got!
If you know how or know anyone who could help me PLEASE REPLY!!
MANY THANKS PHIL
Scroll Bar - Scroll Pane Issue
I have a scroll pane issue that I can't seem to solve. The issue is, if I load my scroll pane with an image and then on mouseover of the scroll pane change my cursor, I can no longer use the scroll panes scroll bars with my new cursor. If I remove all of my zoom code and just change the cursor the result is the same.
this is my code:
Code:
this.zoom_in.onPress = function() {
var zoomin = false;
pictures.onRollOver = function() {
zoomin = true;
Mouse.hide();
this.attachMovie("mag_in", "cursor_mc", this.getNextHighestDepth(), {_x:this._xmouse, _y:this._ymouse});
};
pictures.onMouseMove = function() {
this.cursor_mc._x = this._xmouse;
this.cursor_mc._y = this._ymouse;
};
pictures.onRollOut = function() {
zoomin = false;
Mouse.show();
this.cursor_mc.removeMovieClip();
};
pictures.onMouseDown = function() {
if (zoomin=true) {
if (pictures.content.myLoader.scaleX>=1600) {
this.zoom_in.enabled(false);
bgSound.start();
} else {
pictures.content.myLoader.scaleX *= 1.5;
pictures.content.myLoader.scaleY *= 1.5;
trace(Math.floor(pictures.content.myLoader.scaleX));
}
pictures.invalidate();
}
};
};
Help Me Turn A Pele Scroll Into A X And Y Scroll
ive built a site using a " pele scroll" and im wanting to create a site similar but it moves on an x and y axis. (see www.skichute4.com.au for site built)
can anyone point me in the direction of a tutorial or reference to help me out
thanks
Mouse Scroll Instead Of Drag Scroll
Hello everyone,
i want to change my scroll effect from a drag to a mouse scroll.
i have an example of the drag scroll, anyone know what bits of the code I have to change?
I Want The Mouse Scroll For My SCroll Pane
Hey all,
This one is my favorites that Ive found, but you can't scroll with your little scroller on the mouse.
Is there something I need to set to true to allow this, I was going to post the code for this but it was too long, so I attached the file.
Scroll Pane Scroll Bars
I would like to know the action script that I can use to simulate pressing the up and down arrows on the scroll bars within my scroll pane. Does anyone know how to do this. This code would go inside another button I have outside the scrollpane.
And if possible how to simulate the scroll bar too.
thanks
Mouse Scroll Instead Of Drag Scroll
Hello everyone,
i want to change my scroll effect from a drag to a mouse scroll.
i have an example of the drag scroll, anyone know what bits of the code I have to change?
|