RE: [Flashcoders] Space filling Algorithm help

2012-01-05 Thread Keith Reinfeld
Matt, There was a thread back in 2006 that may be helpful: http://www.mail-archive.com/flashcoders@chattyfig.figleaf.com/msg14071.html The code is AS2 but looks to be easily converted to AS3. HTH Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net

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

2011-10-18 Thread Keith Reinfeld
Keith On Oct 18, 2011 11:03 PM, "Karl DeSaulniers" 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

RE: [Flashcoders] quick E4X question

2011-04-22 Thread Keith Reinfeld
var pets:XML = dog snake cat mouse var parentT:XMLList = pets..t.(elements().contains(cat)).@n; 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
; my_tweens_array[2] = new Tween(my_label,"alpha",Strong.easeOut,1,0,1,true); */ } function onFadeOut(e:TweenEvent):void { trace("\nonFadeOut::",e.currentTarget.obj); e.currentTarget.obj.visible = false; //my_im

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.ho

RE: [Flashcoders] Calling a Static Function

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

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

RE: [Flashcoders] Impossible?

2010-10-04 Thread Keith Reinfeld
the threshold values, 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 __

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&

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 >

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

2010-09-15 Thread Keith Reinfeld
before but, based 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

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

2010-09-14 Thread Keith Reinfeld
tField.defaultTextFormat = format; tField.embedFonts = true; tField.setTextFormat( format ); tField.text = "some_text" } HTH Regards, Keith Rei

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-

[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] Accessing Fonts

2010-08-11 Thread Keith Reinfeld
st you use a shared 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 Reinfeld
h. > Always 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] How to rotate dynamic textfield

2010-07-06 Thread Keith Reinfeld
addChild(tf); tf.rotation = 300; } } } 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] 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- > Fro

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:flashcod

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

2010-06-20 Thread Keith Reinfeld
de to approve your 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- >

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

2010-06-20 Thread Keith Reinfeld
products. You can upgrade 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 li

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

2010-06-19 Thread Keith Reinfeld
x27; product, i.e. Studio 8 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 Pag

RE: [Flashcoders] masking issues

2010-06-14 Thread Keith Reinfeld
;ve no idea whether 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:fla

RE: [Flashcoders] Flashing Flash

2010-05-21 Thread Keith Reinfeld
dren > 1){ container_left.removeChildAt(1); } trace(" - container_left.numChildren =",container_left.numChildren); } // load the first image doNext(); Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net > -Original Mess

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: flash

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: Wedne

RE: [Flashcoders] gotoAndPlay a sorted array

2010-05-12 Thread Keith Reinfeld
ation 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: flash

RE: [Flashcoders] gotoAndPlay a sorted array

2010-05-11 Thread Keith Reinfeld
he structure of your file. 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] 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: flashco

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] 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.figle

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? Regard

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.comca

RE: [Flashcoders] Passing Call To Child

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

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.

RE: [Flashcoders] Problem Importing Class

2010-03-04 Thread Keith Reinfeld
_star = new Star(); } } } 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 D

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 Reinfel

RE: [Flashcoders] Error 1009

2010-02-25 Thread Keith Reinfeld
thread, you do not have '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 > -Origi

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 &

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
s from loader > Steven, I'm curious about the try-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 Hom

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,

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

2010-02-23 Thread Keith Reinfeld
ankABrat(barMom, "barBrat3"); trace("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

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]

RE: [Flashcoders] Event.COMPLETE Question

2010-02-23 Thread Keith Reinfeld
dly when you can set 'myBevel' 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://chattyfi

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

2010-02-23 Thread Keith Reinfeld
You could parent them. Var barMom:Sprite = new Sprite(); addChild(barMom); function createBars():void { for (var i:int=0; ihttp://keithreinfeld.home.comcast.net > -Original Message- > From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders- > boun...@chattyfig.figleaf.co

RE: [Flashcoders] Event.COMPLETE Question

2010-02-23 Thread Keith Reinfeld
bf.type = 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

RE: [Flashcoders] Event.COMPLETE Question

2010-02-22 Thread Keith Reinfeld
ayObject = 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.com

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

RE: [Flashcoders] Matrix Transformation Problem

2010-02-18 Thread Keith Reinfeld
Actions Panel: 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://keithreinfel

RE: [Flashcoders] Matrix Transformation Problem

2010-02-17 Thread Keith Reinfeld
er, y:Number):Matrix { 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 Rein

RE: [Flashcoders] Matrix Transformation Problem

2010-02-17 Thread Keith Reinfeld
g your transform to 'target' which not only no longer has 'fontContainer' as a child (along with its child 'coName') 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 assu

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 Se

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, F

RE: [Flashcoders] AS2 SWFs with pageFlipper component

2010-02-05 Thread Keith Reinfeld
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 Of

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

2010-02-05 Thread Keith Reinfeld
Your xml is malformed. an artist Should be: an artist 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 Mendelsohn, Michael

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

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 ma

RE: [Flashcoders] making a repeating effect

2010-02-05 Thread Keith Reinfeld
(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] 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] [beno's eyes only] I Must Be Asking This Question Wrong...

2010-02-04 Thread Keith Reinfeld
humbBottom. I hope I haven't made it too easy for you. Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net Character.as (document class) package { import flash.events.Event; import flash.display.

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
. 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] 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] Weak eventListener Problem

2009-11-08 Thread Keith H
te picking up 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 misunderstan

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] 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

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] 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

Re: [Flashcoders] localconnection in as2

2009-09-19 Thread Keith H
orums/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. Mostl

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

2009-09-19 Thread Keith Reinfeld
trace("\nthumbFinished() called",mc.name,mc2.name); //Remove the preloader mc.removeChild(mc2); } Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net ___ Flashcoders mailing list Flashcoders@chat

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
paste 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: Action

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 obj

Re: [Flashcoders] maintainable code

2009-08-18 Thread Keith H
if (Number(bool) == 0) { return false; } } if (bool == "true") { return true; } if (bool == "false") { return false; } return false; } return bool; } -- Keith H -- www.keith-hair.net

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. P

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

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

2009-08-17 Thread Keith H
catch (e:Error) { trace(e.message); } -- 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

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

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

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. --

RE: [Flashcoders] UK time clock

2009-04-22 Thread Keith Reinfeld
ermine whether DST is in effect. 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
Elsewhere 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] ?: 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 > -Or

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

2009-03-28 Thread Keith Reinfeld
trace("customTA.selectable =",customTA.selectable); } } } HTH Regards, -Keith http://keithreinfeld.home.comcast.net > -Original Message- > From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders- > boun...@ch

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

2009-03-28 Thread Keith Reinfeld
st to just use 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] 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.fi

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...@..." wrote: > > This *is* possible. > > In your html-template

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, Februar

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, Fe

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.h

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: Wedn

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

2009-01-27 Thread Keith Reinfeld
ing:String = "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/mailman/listinfo/flashcoders

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

2009-01-27 Thread Keith Reinfeld
Matt, You need to set the img tag's id attribute: var tString:String = "Lorem ipsom yadda yadda..."; Then it's: myTextField.htmlText = tString; myTextField.DC0.txt.text = "Z"; HTH 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 1

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.h

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:flashcoder

RE: [Flashcoders] ComboBox + Custom Cursor , AS3

2008-11-14 Thread Keith Reinfeld
n - 1); 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

  1   2   3   >