I think I see a problem with this. I don't know how often GarbageCollection
runs, but if the loader you create has no references to it, and the only
event listener to it is set to have a weakReference, then the loader could
get discarded before it finishes, unless the act of loading doesn't allow
Hi there,
I was working on my class file, but the event didn't get called
successfully. Anyting I am missing something?
Thank you
var mc:MyClass = new MyClass();
mc.addEventListener ( testInitialize , onINIT );
function onINIT ( e:Event )
{
trace(INIT was
You have testInitialize as both a constant value and the name of an
event.
I would follow this format instead:
=
Write the custom event:
package
{
import flash.events.Event;
public class MyEvent extends Event
{
public static var
you call the event on the constructor...
you add the listener to the event after you make a new instance of that
class, so your adding the listener AFTER dispatching the event
On Thu, Jul 9, 2009 at 1:55 PM, Merrill, Jason
jason.merr...@bankofamerica.com wrote:
You have testInitialize as both
Hey T,
Sorry to get back to you so late down the line. Hopefully this
message finds you in a position to where you will not need it.
I had another gentleman ask abut the same question, so I was going to
suggest to you and him to also try adding in error handlers to your
PHP file
that would
T,
What is in this FileList class?
Can you just use an Array instead and still transfer the information,
say...
var files:Array = [];
or
var files:Array = new Array();
?
you may have to use .push( instead of .addItem(
J.A.T.
Karl
On Jul 9, 2009, at 3:58 PM, Karl DeSaulniers wrote:
I have an entire site full of runtime created TextFields. Some are styled
with Stylesheet objects, others with TextFormat objects. That all works fine
but when it comes time to script some tweens on them or their display
parents, the text disappears!
Running the .swf by itself locally tends to
I have a similar issue, runtime created Textfields in a scrolling list.
If the mouse is within the bounds of the list and I use the scrollwheel
to scroll, when the text goes under the cursor it vanishes. I've tried
cache as bitmap, didn't work.
Any ideas to overcome this annoying little bit of
That's good thinking. I'll have to look into it some more. This one is just
hard to test since removeEventListener fails silently if the listener isn't
on the targets listener list.
On Thu, Jul 9, 2009 at 12:53 PM, Ktu ktu_fl...@cataclysmicrewind.comwrote:
I think I see a problem with this. I
Can you set the value of the textBox to a variable in the first state
and specify while tweening or any other function that the textBox =
thatVariable while performing?
Might work. That way, while tweening or other, your specifying that
the text is the same and loaded.
If it was an animation
I considered that Kari but it just too much of a performance hit I'm afraid.
There might be something to combing cacheAsBitmap = true and selectable =
false...
On Thu, Jul 9, 2009 at 5:54 PM, Karl DeSaulniers k...@designdrumm.comwrote:
Can you set the value of the textBox to a variable in the
The performance hit is when you try and animate or tween anything
that is cached as a bitmap. Every time that cached file changes, it
has to set it in cache again.
If the next frame or state of the text box has not had the text set
in it so it can be cached, then it caches an empty text box.
From Adobe LiveDocs: cacheAsBitmap AS2
http://livedocs.adobe.com/flash/8/main/wwhelp/wwhimpl/common/html/
wwhelp.htm?context=LiveDocs_Partsfile=2445.html
Best,
Karl
On Jul 9, 2009, at 5:43 PM, Karl DeSaulniers wrote:
The performance hit is when you try and animate or tween anything
Joel, wondering (seeing as cacheBitmap alone doesn't seem to want to
work for me) if adding a subtle filter to text might encourage it to
stay put?
I'm going to give it a try.
Barry.
-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
14 matches
Mail list logo