[Flashcoders] embedding pixel fonts but using external css versus typical textformat?

2006-03-22 Thread Edward Hotchkiss
If i try and embed fonts when i use css with flash the text does not show. is it possible to embed fonts when using an external stylesheet? i have been embedding and using textformat, but now i am playing with css and nothing seems to work. am i stuck not using pixel fonts with CSS? function cr

[Flashcoders] centering/padding dynamic text

2006-03-22 Thread Edward Hotchkiss
heres my site: http://www.murderdesign.com/ i am trying to pad the forms "submit" text, and align it into the center, and vertically align it into the center also ... any ideas? because the clear/submit look ugly like they are now. also, the input text fields, the same issue: the text is vertica

[Flashcoders] preloader, again (ugh)

2006-03-20 Thread Edward Hotchkiss
So you guys tell me that a single frame, single file site with a preloader 100% dynamic is pretty much impossible, ok i accept that. here is my external preloader, any ideas ... site loads, no progress appearance at all. // begin code // - // text formats section var for

Re: [Flashcoders] percent loaded?

2006-03-16 Thread Edward Hotchkiss
etBytesLoaded returns a value before getBytesTotal has finished. So your condition of bLoaded < tBytes is rendered inadequate. You could add "&& tBytes > 8" to make sure that totalBytes has actually loaded something... Cheers, Kevin -Original Message- From: [EM

Re: [Flashcoders] percent loaded?

2006-03-16 Thread Edward Hotchkiss
Re: [Flashcoders] percent loaded? Are you using a bunch of components? Do you have large assets with linkage set to export on Frame1? I don't think you've given us enough information. - e.dolecki On 3/16/06, Edward Hotchkiss <[EMAIL PROTECTED]> wrote: i guess that my code is

[Flashcoders] percent loaded?

2006-03-16 Thread Edward Hotchkiss
i guess that my code is being deleted on each enter frame. once it loads completely, the text finally shows up, and then the next frame shows up also. why doesnt this one frame preloader, second frame website preloader work??? this is really bugging me, that i have to put code on a movieclip, an

Re: [Flashcoders] gotoAndPlay?

2006-03-15 Thread Edward Hotchkiss
this still does not work. when i simulate download, the text does not appear, then suddenly it pops up, and then it says 100 percent, no in between state, then onto the next frame ... any ideas? // preloader function preloadMe() { ref = _root; // create the preloader mc ref.createEmptyMovieClip

[Flashcoders] gotoAndPlay?

2006-03-15 Thread Edward Hotchkiss
i have my preloader on frame 1. i have my entire site on frame 2. once i finish preloading, i need to delete the first frame, and go to the next frame.. the site just loops, any ideas? // preloader function preloadMe() { // reference to _root ref = _root; ref.onEnterFrame = function() {

[Flashcoders] preloader issue

2006-03-15 Thread Edward Hotchkiss
I am really trying to have my preloader work, with a site that is 100% AS. the entire site resides either in classes or as on the first frame. there has got to be some way to preload a site, with a single function that is entirely dynamic. this is what i have, but it will not even appear on the

Re: [Flashcoders] storing embedded font data in local sharedobjects(LSOs)?

2006-03-14 Thread Edward Hotchkiss
just curious - is there any other requirement to embedding pixel fonts/fonts than importing into an fla's library, linking for as2.0, and specificying a name (which could be referenced via a textFormat? i am curious because i have issues with displaying pixel fonts/any fonts when linking like th

[Flashcoders] duplicateMovieClip() ?

2006-03-14 Thread Edward Hotchkiss
hmm ... // begin code function alot(max) { var basename:String = "circle_mc"; for(var i = 0; i < max; i++) { _root.it_mc.duplicateMovieClip(basename+i, this.getNextHighestDepth() ); _root[basename+i]._x = 100 + i*5; _root[basename+i]._y = 100 + i*5; } } the trace returns "0". why are