Embed fonts.
Or if you set the blendMode of the TextInput and fade the TextInput
itself instead of container MovieClip, you shouldn't get those side effects.
Kenneth Kawamoto
http://www.materiaprima.co.uk/
Preston Parris wrote:
I have a MovieClip with a text input component on top of a white
Like everytime - a communication problem. Sometimes a developer is not
capable of explaining all that stuff to a client because he stucks in
details a
client should not be confronted with - then he needs a middle man.
Sometimes the middle man itself has to less ideas what development
means so h
Regarding using a try/catch for this, in your catch you can check the
errorID, if it's 1006, it's a method not found. You can catch all the
run-time errors listed in the appendixes of the flash help. Not knowing
everything going on in your code, you might want to check it in case
something else thr
Hi again,
My client is saying his client is going to back out of the deal now if
he doesn't get all of his revisions to the interface by the weekend; not
a difficult request, but I will never work for my client again. You
need paper between you and your client, and if you don't get that paper
I have a MovieClip with a text input component on top of a white box with
grey border. In order to get the text inside of the Text Input component to
be able to fade in and out I had to set the entire movie clip to blend mode
layer. After doing this, when I click on the text input field the text
cu
Are you allowed to put html tags in an attribute? Like a tag? I would
think that < in the attribute would screw it up.
Why not just taking some of those longer string attributes and make them
nodes and wrap them in CDATA?
Just a thought
greg
On 10/30/08 11:42 AM, "Matt S." <[EMAIL PROTECTED]
No, its definitely in the loading, i've got it tracing out in the
flash and all the delay is happening during the initial load of the
XML, not during the parsing. But the actual live load is from php, eg
"../tommunro_v2_xml.php" so it may be when the php is parsing the XML
and generating it.
.m
O
Hi,
its only 60kb?
That shouldn't take too long.
Can you see what is taking up the time? Might be parsing instead of loading.
regards,
JC
On Thu, Oct 30, 2008 at 4:00 PM, Matt S. <[EMAIL PROTECTED]> wrote:
> So I know this is kind of a mammoth XML file to load all at once, but
> it doesnt seem
Thanks Juan ;)
On Thu, Oct 30, 2008 at 10:42 AM, Juan Pablo Califano <
[EMAIL PROTECTED]> wrote:
> Use isNaN instead. For some reason I don't really get, this evaluates to
> false in AS 3.0.
>
> trace( (NaN == NaN) );
>
> Cheers
> Juan Pablo Califano
>
> 2008/10/30, Eric E. Dolecki <[EMAIL PROTEC
So I know this is kind of a mammoth XML file to load all at once, but
it doesnt seem THAT big, but its taking longer than expected. Can
anyone look at this XML and suggest any ways to optimize it, that dont
involve breaking it up into multiple files?
http://knowawall.com/dev/tommunro/tommunro_xml2
Use isNaN instead. For some reason I don't really get, this evaluates to
false in AS 3.0.
trace( (NaN == NaN) );
Cheers
Juan Pablo Califano
2008/10/30, Eric E. Dolecki <[EMAIL PROTECTED]>:
>
> if( Number(loc[0]) == NaN || Number(loc[1] == NaN )return;
>
> Warning: 1098: Illogical comparison
Try the isNaN() method:
if (isNaN(Number(loc[0])))
however, shouldn't you be using parseInt() or parseFloat() instead of
Number()? Casting a String as a Number is a risky thing to do at the
best of times!
So try:
if ((isNaN(parseInt(loc[0]))||(isNaN(parseInt(loc[1])))
return;
HTH,
Ian
On
if( Number(loc[0]) == NaN || Number(loc[1] == NaN )return;
Warning: 1098: Illogical comparison with NaN. This statement always
evaluates to false.
Okay, so I have also tried
if( loc[0] == NaN || loc[1] == NaN )
return;
I get the same error. loc[0] 99.9% of the time is a string value of
I mean use bitmapdata's draw method , with last parameter (smoothing) setted
to true.
mc1 = original image
mc2 = target empty bitmap
mc2.draw(mc1,null,null,null,null,true);
It's just a pseudo-code, but it may works well with dynamic loaded bitmaps.
Best,
Pinatti
On Thu, Oct 30, 2008 at 11:21 A
What do you mean copy the bitmapdata to another movieclip?
do you mean create a new bitmap using the bitmapdata, set smoothing to true
and add that to a displayobject?
cheers,
MaTT
On Wed, Oct 29, 2008 at 1:40 PM, Fabio Pinatti <[EMAIL PROTECTED]> wrote:
> copy the loaded image content with
http://help.adobe.com/en_US/Flash/10.0_UsingFlash/WSd60f23110762d6b883b18f10cb1fe1af6-7d29a.html#WSd60f23110762d6b883b18f10cb1fe1af6-7d1ea
"For static text, font outlines are exported in a published SWF file. For
horizontal static text, you can use device fonts instead of exporting font
outlines."
Never encountered it; but try compiling a reference to FocusManager
into swf A. This sometimes solves that sort of odd problem with Adobe
code.
i.e. in SWF A, something like:
import fl.managers.FocusManager;
:
// in class def
private static var _dummy:FocusManager;
On Thu, Oct 30, 2008 at 4:19
Hi Steven,
Thanks for the explanation.
If you mean Moock's Essential Actionscript, I've had a read of that
section and AFAICS it doesn't mention a bug.
The only real issue I know of in try/catch do with return is that
you shouldn't put a return in a finally clause, because finally gets
e
18 matches
Mail list logo