Re: [Flashcoders] animation memory leak ... please help

2011-10-18 Thread Keith Reinfeld
Keith On Oct 18, 2011 11:03 PM, Karl DeSaulniers k...@designdrumm.com wrote: Just checking, but you don't happen to have save bitmap as cache set to your image being animated do you? As it will be cached every move. JAT Karl Sent from losPhone On Oct 18, 2011, at 4:02 PM, Paul Andrews p

RE: [Flashcoders] quick E4X question

2011-04-22 Thread Keith Reinfeld
var pets:XML = pets t n=moe adog/a /t t n=larry asnake/a acat/a /t t n=curly amouse/a /t /pets var parentT:XMLList = pets..t.(elements().contains(acat/a)).@n; Regards, Keith Reinfeld

RE: [Flashcoders] Re: Help with Image Slideshow - displaying random image

2011-01-25 Thread Keith Reinfeld
Won't the image and corresponding desc both be scrambled in an array since I want to display them together? Christopher, Have you considered adding each textfield as a child of each image container? Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net

RE: [Flashcoders] Keith: Re: Help with Image Slideshow - displaying random image

2011-01-25 Thread Keith Reinfeld
::,e.currentTarget.obj); e.currentTarget.obj.visible = false; //my_image_slides.removeChildAt(0); //my_label_slides.removeChildAt(0); } Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net ___ Flashcoders mailing list

RE: [Flashcoders] Calling a Static Function

2010-11-10 Thread Keith Reinfeld
(e:Event):void{ _assetLib = e.target.loader.contentLoaderInfo.content as MovieClip; trace(_assetLib =,_assetLib); _assetLib.callInitAssets(); } Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net

RE: [Flashcoders] Impossible?

2010-10-04 Thread Keith Reinfeld
, but these are working. If anyone is interested, the original source files can be found here: http://wonderfl.net/c/3g08 Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http

RE: [Flashcoders] Impossible?

2010-10-04 Thread Keith Reinfeld
I can't quite manage to get rid of the black rim around the flames. The problem was with the palette. http://keithreinfeld.home.comcast.net/~keithreinfeld/Demos/Fire/Fire.html Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net

RE: [Flashcoders] Embedded fonts Bug

2010-09-24 Thread Keith Reinfeld
Kerry, I suggest that you try doing the Font.registerFont(Garam3BoldItalicEmbedded) in your 'embedded font swf'. Load the swf into your 'downloader' then simply use it in your showText(). Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net -Original Message

RE: [Flashcoders] Embedded fonts Bug

2010-09-24 Thread Keith Reinfeld
Have you specified a fontWeight and a fontStyle? [Embed( source='../fonts/Garamond3/GaramThrBolItaOsF.ttf', fontName='Garam3BoldItalicEmbedded', fontWeight='bold', fontStyle = 'italic', embedAsCFF='false' )] Regards, Keith Reinfeld Home Page: http

RE: [Flashcoders] Embedding Fonts, it should be easy...., right!

2010-09-15 Thread Keith Reinfeld
on the code you have shown, this discrepancy in arguments should cause an error: addFormatting( treatmentTimeInfo , STD_LABEL_FONT_SIZE , WHITE); function addFormatting(tField:TextField):void{ trace(addFormatting function called); // more code } Progress? Regards, Keith Reinfeld

RE: [Flashcoders] Embedding Fonts, it should be easy...., right!

2010-09-14 Thread Keith Reinfeld
); tField.text = some_text } /code HTH Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http

[Flashcoders] test

2010-08-27 Thread Keith Reinfeld
Am I bouncing? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] test

2010-08-27 Thread Keith Reinfeld
Okay. Flashcoders disabled my account due to excessive bounces. I am just trying to track down the cause. Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders- boun

RE: [Flashcoders] Accessing Fonts

2010-08-11 Thread Keith Reinfeld
font library instead. Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] How to rotate dynamic textfield

2010-07-06 Thread Keith
You can try adding true for transparent as the BitmapData's 3rd parameter. var myBitmapData:BitmapData = new BitmapData(tf.width, tf.height,true); myBitmapData.draw(tf); var bmp:Bitmap = new Bitmap(myBitmapData); bmp.smoothing = true; bmp.rotation = 300; addChild(bmp); On 7/6/2010 8:13 AM,

RE: [Flashcoders] How to rotate dynamic textfield

2010-07-06 Thread Keith Reinfeld
; } } } Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] How to rotate dynamic textfield

2010-07-06 Thread Keith Reinfeld
trying to learn! Actually, you are. Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] Animation showing through Text

2010-06-22 Thread Keith Reinfeld
You will need to 'break apart' the text in order to use it as a mask this way. Select the textfield and use Ctrl+B twice. (Modify Break Apart) Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com

RE: [Flashcoders] Upgrading from Master Collection Cs4 - just Flash Cs5?

2010-06-20 Thread Keith Reinfeld
to just Flash CS4. I had to return Flash CS4 and upgrade to a bundled suite. (It would have cost more to buy Flash CS4 alone!) I suggest that you contact an Adobe rep directly to be certain what their current policy is. Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net

RE: [Flashcoders] Upgrading from Master Collection Cs4 - just Flash Cs5?

2010-06-20 Thread Keith Reinfeld
from an individual 'point' product to a bundled product but not from a bundled product to an individual product. Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

RE: [Flashcoders] Upgrading from Master Collection Cs4 - just Flash Cs5?

2010-06-20 Thread Keith Reinfeld
request. It may take a couple weeks but watch your credit card statement to see that they have reversed the charge off your account. Good luck! Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com

RE: [Flashcoders] Upgrading from Master Collection Cs4 - just Flash Cs5?

2010-06-20 Thread Keith Reinfeld
The Adobe rep, with whom I conducted an online chat when I had this issue, said policy. And wouldn't budge. Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders- boun

RE: [Flashcoders] masking issues

2010-06-14 Thread Keith Reinfeld
this is a known issue or a bug or whatever. Good luck! Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] Styling the List component

2010-06-08 Thread Keith Reinfeld
myList.setRendererStyle(textFormat, tfList); Works. Are you sure tfList is a valid TextFormat? Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders- boun

RE: [Flashcoders] Flashing Flash

2010-05-21 Thread Keith Reinfeld
, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders- boun...@chattyfig.figleaf.com] On Behalf Of John Singleton Sent: Thursday, May 20, 2010 7:03 AM To: Flash Coders List Subject: Re

RE: [Flashcoders] Flashing Flash

2010-05-19 Thread Keith Reinfeld
Don't remove container_middle at all. Instead add/remove its children: container_middle.addChildAt(newImage, 0); container_middle.removeChildAt(1); Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net -Original Message- From: flashcoders-boun

RE: [Flashcoders] gotoAndPlay a sorted array

2010-05-12 Thread Keith Reinfeld
in the desired (randomized) order. If you use the if/else block (from the code in my previous post) to manage the index then the animations will repeat, continuously. Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net -Original Message- From: flashcoders-boun

RE: [Flashcoders] gotoAndPlay a sorted array

2010-05-12 Thread Keith Reinfeld
Glad I could help. Good luck! Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders- boun...@chattyfig.figleaf.com] On Behalf Of Donald Talcott Sent: Wednesday, May 12, 2010 11

RE: [Flashcoders] gotoAndPlay a sorted array

2010-05-11 Thread Keith Reinfeld
gotoAndPlay(mOnemTwo); You need to pass just one element of the mOnemTwo array rather than the entire array. So: gotoAndPlay(mOnemTwo[index]); Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net -Original Message- From: flashcoders-boun

RE: [Flashcoders] gotoAndPlay a sorted array

2010-05-11 Thread Keith Reinfeld
, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] passing obj name

2010-04-28 Thread Keith Reinfeld
) { shakable.main.rotation+=Math.random()*8-4; shakable.main.x+=Math.random()*8-4; shakable.main.y+=Math.random()*8-4; } Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com

RE: [Flashcoders] passing obj name

2010-04-28 Thread Keith Reinfeld
100 There's a whole lotta shakin' goin' on... Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] Recursive and e:Event

2010-03-29 Thread Keith Reinfeld
I need to find a way to get around this can I call the function without e:Event? Yes: function (parseXML(e:Event=null) { ... parseXML(ixml); } Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net

RE: [Flashcoders] RE: Recursive and e:Event

2010-03-29 Thread Keith Reinfeld
sorry - jumped the gun - I worked it out with: xmlLoader.addEventListener(Event.COMPLETE, function(e:event):viod { var xml:XML = new XML)e.target.data); function(xml); }); Interesting... How are you able to removeEventListener with that syntax? Regards, Keith Reinfeld Home

RE: [Flashcoders] Passing Call To Child

2010-03-13 Thread Keith Reinfeld
I think Susan has gone back to the boat with Victor. Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] Passing Call To Child

2010-03-13 Thread Keith Reinfeld
).backgroundColor = 0x0E778A; // Navigate.to(e.currentTarget.linkURL); } Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com

RE: [Flashcoders] Problem Importing Class

2010-03-04 Thread Keith Reinfeld
(); } } } Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders- boun...@chattyfig.figleaf.com] On Behalf Of Susan Day Sent: Thursday, March 04, 2010

RE: [Flashcoders] how to reduce CPU usage

2010-03-03 Thread Keith Reinfeld
What's odd to me is that all of this CPU is getting used even though these movie clips are completely invisible. Invisible as in visible = false, or alpha = 0? Rendering alpha at anything under 100% is quite cpu intensive. Regards, Keith Reinfeld Home Page: http

RE: [Flashcoders] Error 1009

2010-02-25 Thread Keith Reinfeld
Yes, except instead of referencing a problem with the preloader, it references a problem with the *.as that will load after the preloader. I think you need to examine '*.as' then. Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net -Original Message- From

RE: [Flashcoders] Error 1009

2010-02-25 Thread Keith Reinfeld
'addChild(l)' anywhere. This omission could very well be the cause of a null reference error. Try that. If that doesn't work then I guess you have more digging to do. Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net -Original Message- From: flashcoders-boun

RE: [Flashcoders] Error 1009

2010-02-24 Thread Keith Reinfeld
); // do stuff } } } HTH Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] Event.COMPLETE Question

2010-02-23 Thread Keith Reinfeld
= BitmapFilterType.OUTER; bf.distance = 10; bf.highlightColor = 0xFF; bf.shadowColor = 0x00; bf.blurX = 20; bf.blurY = 20; return bf; } // apply Bevel filter displayObject.filters = [myBevel]; Regards, Keith Reinfeld Home Page: http

RE: [Flashcoders] Finding and Removing a Sprite: PART II

2010-02-23 Thread Keith Reinfeld
); { } This way at least you know where they live. Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders- boun...@chattyfig.figleaf.com] On Behalf Of Lehr, Theodore Sent

RE: [Flashcoders] Event.COMPLETE Question

2010-02-23 Thread Keith Reinfeld
' once and just use that? displayObject.filters = [myBevel]; Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo

RE: [Flashcoders] Finding and Removing a Sprite: PART II

2010-02-23 Thread Keith Reinfeld
addChildAt(child:DisplayObject, index:int) So: this.addChildAt(barMom, 0); Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders- boun...@chattyfig.figleaf.com] On Behalf

RE: [Flashcoders] Finding and Removing a Sprite: PART II

2010-02-23 Thread Keith Reinfeld
(barMom.numChildren =,barMom.numChildren);// 8 eightySixBrats(barMom); trace(barMom.numChildren =,barMom.numChildren);// 0 Jason: Doesn't storing them in an array create a set of references that will need to be cleaned up? Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net

RE: [Flashcoders] Event.COMPLETE Question

2010-02-23 Thread Keith Reinfeld
Steven, Thanks for the backup. Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders- boun...@chattyfig.figleaf.com] On Behalf Of Steven Sacks Sent: Tuesday, February 23

RE: [Flashcoders] Event.COMPLETE Question

2010-02-23 Thread Keith Reinfeld
-catch block. It seems unnecessary since, presumably, this code would be called within an onLoadComplete function and the URLStream would no longer be open. Is there a scenario where this would not be the case? Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net

RE: [Flashcoders] Event.COMPLETE Question

2010-02-22 Thread Keith Reinfeld
= e.currentTarget.loader.content; Your images are unlikely to load in the same order indicated by the switch statement. Your images are likely to display one top of the other, making it seem like you are only getting one. Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net

RE: [Flashcoders] Event.COMPLETE Question

2010-02-20 Thread Keith Reinfeld
Loader object is preserved in a separate element of the array. Don't forget to remove your listeners. Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http

RE: [Flashcoders] Matrix Transformation Problem

2010-02-18 Thread Keith Reinfeld
: import DesertSands; var ds:DesertSands = new DesertSands(); addChild(ds); or Set DesertSands.as as the fla's Document Class. In the fla Properties Panel Class field type: DesertSands HTH Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net

RE: [Flashcoders] Matrix Transformation Problem

2010-02-17 Thread Keith Reinfeld
') but has not, itself, been added to the display list. Your original post said that certain vars were defined outside the function. I guess I assumed that 'addChild(target)' fell into that category. My bad. Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net -Original

RE: [Flashcoders] Matrix Transformation Problem

2010-02-17 Thread Keith Reinfeld
{ var m:Matrix = new Matrix(); m.b = Math.tan(x * Math.PI / 180); m.c = Math.tan(y * Math.PI / 180); return m; } } } Regards, Keith Reinfeld Home Page: http

RE: [Flashcoders] Matrix Transformation Problem

2010-02-15 Thread Keith Reinfeld
Remove the line 'addChild(fontContainer);' Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Susan Day Sent: Monday, February 15

RE: [Flashcoders] Matrix Transformation Problem

2010-02-15 Thread Keith Reinfeld
Sorry, you will also need 'coName.embedFonts = true;' Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Keith Reinfeld Sent: Monday

RE: [Flashcoders] making a repeating effect

2010-02-05 Thread Keith Reinfeld
if(e.currentTarget.currentCount == e.currentTarget.repeatCount){ e.currentTarget.removeEventListener(TimerEvent.TIMER, onTimer); } } Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net ___ Flashcoders mailing list Flashcoders

RE: [Flashcoders] [beno's eyes only] I Must Be Asking This Question Wrong...

2010-02-05 Thread Keith Reinfeld
I do and do and do for you kids, and this is the thanks I get. - David Letterman catchphrase candidate, circa: back in the day. Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net ___ Flashcoders mailing list

RE: [Flashcoders] making a repeating effect

2010-02-05 Thread Keith Reinfeld
heart.name = heart+timer.currentCount; Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Matt S. Sent: Friday, February 05, 2010 9

RE: [Flashcoders] E4X, it's just not my day.

2010-02-05 Thread Keith Reinfeld
Your xml is malformed. artistBio f=Peter s=Agrafiotisan artist/artist Should be: artistBio f=Peter s=Agrafiotisan artist/artistBio Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com

RE: [Flashcoders] AS2 SWFs with pageFlipper component

2010-02-05 Thread Keith Reinfeld
or else the next pageflip you load the mouselistener will not work. Worth knowing? Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf

RE: [Flashcoders] [beno's eyes only] I Must Be Asking This Question Wrong...

2010-02-04 Thread Keith Reinfeld
, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net Character.as (document class) package { import flash.events.Event; import flash.display.MovieClip; import flash.utils.Timer; import

RE: [Flashcoders] making a repeating effect

2010-02-04 Thread Keith Reinfeld
var timer:Timer = new Timer(5000, 1000); The second param limits the number of times it can fire. Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun

RE: [Flashcoders] I Must Be Asking This Question Wrong...

2010-02-03 Thread Keith Reinfeld
Naw... The bobblehead and googlie-eyes was something I did for fun. beno has been trying to work out the business with the hands. Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com

RE: [Flashcoders] I Must Be Asking This Question Wrong...

2010-02-02 Thread Keith Reinfeld
beno, Is this anything like what you are after? http://keithreinfeld.home.comcast.net/~keithreinfeld/Testing/Main.html Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net ___ Flashcoders mailing list Flashcoders

RE: [Flashcoders] Still Infinitely Looping

2009-11-21 Thread Keith Reinfeld
The problem must be with some other code that you are not showing. Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of beno - Sent

RE: [Flashcoders] Still Infinitely Looping

2009-11-21 Thread Keith Reinfeld
. Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] Weak eventListener Problem

2009-11-08 Thread Keith H
my garbage after I put it outside for them. -- Keith H -- www.keith-hair.net Steven Sacks wrote: No, it's not true. You're misunderstanding how weak listeners work, how anonymous functions work (you shouldn't use those anyway), and you're also misunderstanding how the garbage collector

RE: [Flashcoders] How many weeks remaining from a given fixed date?

2009-10-30 Thread Keith Reinfeld
May = 4 not 5. January = 0, February = 1, etc. Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of ACE Flash Sent: Friday, October 30

RE: [Flashcoders] swf behaving differently in different domain and other issues loading swf

2009-09-23 Thread Keith Reinfeld
Isaac, http://clientes.agenciahive.com.br/acoriana/index.php the swf gets loaded but the links doesn´t work Check the xml file(s) for proper LINK attribute values. Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net

RE: [Flashcoders] RE: swf behaving differently in different domain and other issues loading swf (Isaac Alves)

2009-09-23 Thread Keith Reinfeld
That's the third time you've ignored me... I'm done. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] RE: swf behaving differently in different domain and other issues loading swf (Isaac Alves)

2009-09-23 Thread Keith Reinfeld
Thanks Hans, I'm not saying a given OP needs to respond to every post in a thread, but this was so blatant. Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun

RE: [Flashcoders] trouble with adding/removing multiple preloaders on thumbs

2009-09-19 Thread Keith Reinfeld
, preloader]}); } function thumbFinished(mc:MovieClip, mc2:starPreloader):void { trace(\nthumbFinished() called,mc.name,mc2.name); //Remove the preloader mc.removeChild(mc2); } Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net

Re: [Flashcoders] localconnection in as2

2009-09-19 Thread Keith H
/actionscript/40k-byte-size-limit-on-localconnection-56395.html ...hope that leads you in the way you want to go. -- Keith H -- www.keith-hair.net Hans Wichman wrote: Hi list, as I understand it, there is a send/receive limit of 40k to the localconnection object in actionscript2. Mostly

RE: [Flashcoders] Hello. FLVPlayback as3 3.0

2009-09-03 Thread Keith Reinfeld
It seems you need to place the SkinUnderAllNoFullNoCaption.swf skin file on the server as well. Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com

RE: [Flashcoders] a function tells to move to a frame and then update content in that frame

2009-08-28 Thread Keith Reinfeld
the code into frame 1 of the actions layer. /* FrameLabelNav.fla Example Author: Keith Reinfeld FlashPlayer 9, AS3 Structure: Main Timeline: Three layers: actions buttons textfields actions layer: five blank keyframes frame 1: Actionscript

Re: [Flashcoders] Weird htmlText line break behavior

2009-08-21 Thread Keith H
Maybe the lettercase of a property is causing an error. myTF.wordwrap = true; //Need to be wordWrap -- Keith H -- www.keith-hair.net Joel Stransky wrote: I'm encountering an odd problem in as3/fp9-10 when dealing with embedded fonts, condensed whitespace, style sheet objects and br

Re: [Flashcoders] How to add a DisplayObject into a container without using addChild() method.

2009-08-18 Thread Keith H
Back when I was using AS2 and Javascript || operator was useful to me. I was so glad when AS3 brought default parameters. var value:String = foo || bar; -- Keith H -- www.keith-hair.net Steven Sacks wrote: Dave, come on. Take a stand on the issue. Stop straddling the fence. Pick a side

Re: [Flashcoders] maintainable code

2009-08-18 Thread Keith H
) { return false; } } if (bool == true) { return true; } if (bool == false) { return false; } return false; } return bool; } -- Keith H -- www.keith-hair.net Juan Pablo Califano wrote: This remainds me of a utility

Re: [Flashcoders] How to add a DisplayObject into a container without using addChild() method.

2009-08-17 Thread Keith H
); } -- Keith H -- www.keith-hair.net Steven Sacks wrote: I don't understand why you would not want to write a single line of code in the class where it would provide the most clarity, and instead write MORE code in another class obscuring the behavior that is going on. In other words, you're

Re: [Flashcoders] How to add a DisplayObject into a container without using addChild() method.

2009-08-17 Thread Keith H
Thanks. That is a better way to write the check. (Clever! you escaped from using null once again LOL) BTW I just put the try/catch there to demonstrate error. -- Keith H -- www.keith-hair.net Steven Sacks wrote: Here's the best way to write that. No try catch required. if (myDO

RE: [Flashcoders] buttons not able to control movieclip's timeline

2009-08-13 Thread Keith Reinfeld
(); //container.gotoAndStop(2); } if (e.target.name == btn_next){ trace (next. cf: + container.currentFrame); //container.gotoAndStop(container.currentFrame + 1); container.nextFrame(); //container.gotoAndStop(5); } } - Keith

Re: [Flashcoders] array.indexOf problem

2009-06-16 Thread Keith H
trace (buttonsArray.indexOf(e.target.name)); Looking at the aboveyour buttonsArray is an Array containing Objects. And you are using the indexOf method looking for a String. Take off the .name property and you should see a difference. -- Keith H -- www.keith-hair.net Isaac

RE: [Flashcoders] UK time clock

2009-04-22 Thread Keith Reinfeld
currently in DST? Regards, -Keith http://keithreinfeld.home.comcast.net ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] UK time clock

2009-04-22 Thread Keith Reinfeld
. Regards, -Keith http://keithreinfeld.home.comcast.net ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] ?: how to prevent users to copy text from aTextArea?

2009-03-29 Thread Keith Reinfeld
is already written, where's the hassle? Muzak, So it's not really a bug, just a (very) bad decision. How is 'a (very) bad decision' not a bug when it impacts functionality like this? Regards, -Keith http://keithreinfeld.home.comcast.net -Original Message- From: flashcoders

RE: [Flashcoders] ?: how to prevent users to copy text from aTextArea?

2009-03-28 Thread Keith Reinfeld
a TextField with a UIScrollBar. Regards, -Keith http://keithreinfeld.home.comcast.net ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] ?: how to prevent users to copy text from aTextArea?

2009-03-28 Thread Keith Reinfeld
=,customTA.selectable); customTA.selectable = false; trace(customTA.selectable =,customTA.selectable); } } } HTH Regards, -Keith http://keithreinfeld.home.comcast.net -Original Message- From: flashcoders-boun

RE: [Flashcoders] Duplicate Bitmap and scale question

2009-03-05 Thread Keith Reinfeld
How to create img2 correctly? The same way you created img: duplicateMovieClipImage(mc,img2); img2._xscale=50; img2._yscale=50; Regards, -Keith http://keithreinfeld.home.comcast.net -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com

RE: [Flashcoders] InputTextField issue

2009-02-28 Thread Keith Reinfeld
Cor, A recent thread on the Flexcoders list had this to say: (see below) What the heck, give it a try. Regards, -Keith http://keithreinfeld.home.comcast.net --- In flexcod...@yahoogroups.com, huu...@... huu...@... wrote: This *is* possible. In your html-template directory, locate

RE: [Flashcoders] InputTextField issue

2009-02-27 Thread Keith Reinfeld
Hi Cor, Which key presses does it not accept? Regards, -Keith http://keithreinfeld.home.comcast.net -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders- boun...@chattyfig.figleaf.com] On Behalf Of Cor Sent: Friday, February 27, 2009 4:46 AM

RE: [Flashcoders] really help needed here.

2009-02-04 Thread Keith Reinfeld
You're welcome, Gus. No problem. Regards, -Keith http://keithreinfeld.home.comcast.net -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders- boun...@chattyfig.figleaf.com] On Behalf Of Gustavo Duenas LRS Sent: Wednesday, February 04, 2009 1:09

RE: [Flashcoders] really help needed here.

2009-02-03 Thread Keith Reinfeld
Gustavo, In your for loop: // The item's name property needs to be set var itemNames:String = names[i]; item.name = itemNames; Then in your rollOverHandler: trace(event.target.name =,event.target.name); HTH Regards, -Keith http://keithreinfeld.home.comcast.net

RE: [Flashcoders] inserting an MC in a TextField (and speaking to it)

2009-01-28 Thread Keith Reinfeld
Interesting, I'll have to give it a whirl. Thanks. Regards, -Keith http://keithreinfeld.home.comcast.net -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders- boun...@chattyfig.figleaf.com] On Behalf Of Matt S. Sent: Wednesday, January 28, 2009

RE: [Flashcoders] inserting an MC in a TextField (and speaking to it)

2009-01-27 Thread Keith Reinfeld
:0px'/Lorem ipsom yadda yadda...; myTextField.htmlText = tString; myTextField.DC0.txt.text = Z; Regards, -Keith http://keithreinfeld.home.comcast.net ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com

RE: [Flashcoders] ComboBox + Custom Cursor , AS3

2008-11-14 Thread Keith Reinfeld
){ updateCursor(); } Give it a try! I think it works quite well. Regards, -Keith http://keithreinfeld.home.comcast.net -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Karim Beyrouti Sent: Thursday, November 13, 2008 6:24

RE: [Flashcoders] ComboBox + Custom Cursor , AS3

2008-11-14 Thread Keith Reinfeld
); still produces the desired result. If this is a bug then 'stage.numChildren - 1' would be the safe way to go. Regards, -Keith http://keithreinfeld.home.comcast.net -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Joel Stransky

RE: [Flashcoders] ComboBox + Custom Cursor , AS3

2008-11-14 Thread Keith Reinfeld
Hi Cor, Right. I know all that. The question is why doesn't stage.addChildAt(customCursor, stage.numChildren); trigger a RangeError? Regards, -Keith http://keithreinfeld.home.comcast.net -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL

RE: [Flashcoders] ComboBox + Custom Cursor , AS3

2008-11-14 Thread Keith Reinfeld
Cor, addChildAt() -- Tested: Any index 0 thru numChildren (inclusive) = No RangeError. Any index greater than numChildren = RangeError. That's why I thought 'bug'. Just an observation. Just trying to help. So, Cor, howyabin? Regards, -Keith http://keithreinfeld.home.comcast.net

RE: [Flashcoders] ComboBox + Custom Cursor , AS3

2008-11-14 Thread Keith Reinfeld
Joel, Ah, yes, of course. Well that clears it up for me. Thanks. Regards, -Keith http://keithreinfeld.home.comcast.net -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Joel Stransky Sent: Friday, November 14, 2008 3:33 PM

Re: [Flashcoders] XML transformation

2008-11-13 Thread Keith
; } transformXML(cnode) n++; } return node; } -- Keith H -- www.keith-hair.net Glen Pike wrote: Hi, I have a load of data loaded from a server as XML which is essentially a flat list. Nodes in the list have a child node defining a target and many nodes have the same target

  1   2   3   >