Re: [Flashcoders] Type Coercion Failed: Odd behavior.

2007-06-21 Thread khair
Thanks too! This works more elegantly for me too. --Keith H-- You should always use the new as operator. This article might help: http://www.darronschall.com/weblog/archives/000211.cfm regards, Muzak - Original Message - From: Amir T Rocker [EMAIL PROTECTED] To:

[Flashcoders] named while loops in AS3

2007-04-11 Thread khair
I seen this kind of syntax for loops where you can use break to break out of a specific loop that you named. Is it possible to do this in AS3? If so, please give an example with proper syntax. Thanks -- Keith H -- //Not sure if my syntax is right. //Use identifier LOOP_B to break out of the

[Flashcoders] AS3 replacement for: XMLNode_Instance.removeNode();

2007-04-06 Thread khair
What is the E4X in AS3 for removing a child in an AS3 XML object? I don't want to use XMLNode_Instance.removeNode() or anything from XMLNode class ever again. ;) --Keith H-- ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or

[Flashcoders] UITextField and MouseEvent.CLICK not responding

2007-03-30 Thread khair
Is there any gotchas to cause a MouseEvent.CLICK to not respond? I've got other MouseEvents to work but not CLICK on UITextField. //= import mx.events.MenuEvent; import flash.events.*; private function initApp():void { var tf:UITextField=new

Re: [Flashcoders] UITextField and MouseEvent.CLICK not responding

2007-03-30 Thread khair
I figured it out. try and catch are my friends. It was a undefined property. Sorry for the brain fart. --Keith H-- - Original Message - Is there any gotchas to cause a MouseEvent.CLICK to not respond? I've got other MouseEvents to work but not CLICK on UITextField.

[Flashcoders] select the current whole line in a multiline textfield

2006-08-24 Thread khair
For a textfield with multiple lines of text and wordWrap set to true, I want to select the whole line of the current caretIndex. Is there a script or a tutorial? How could I do this? --Keith H-- ___ Flashcoders@chattyfig.figleaf.com To change your

Re: RE: [Flashcoders] select the current whole line in a multiline textfield

2006-08-24 Thread khair
I need to a script way to find the start index and end index in a multiline textfield. This would be a peice of cake if multiple lines where not involved. Currently i'm selecting the index for \n to the next \n.This technique is useless for wrapping text though.

[Flashcoders] view swfs in file folder window (windows os)

2006-05-26 Thread khair
Anyone know of tweak or program that lets you preview SWFs the same way you can preview jpgs, gifs etc as you click on them in the window? --Keith H-- ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

[Flashcoders] good JSFL Newsgroup or Message Forum?

2006-05-12 Thread khair
I'm looking for a good JSFL Newsgroup or Message Forum. Please give me good recommendations. --Keith H-- ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

Re: [Flashcoders] Question for XML Style Junkies

2006-03-16 Thread khair
??? CDATA tag inside attribute ??? --Keith H-- - Original Message - From: Merrill, Jason [EMAIL PROTECTED] Date: Thursday, March 16, 2006 12:08 pm Subject: [Flashcoders] Question for XML Style Junkies My XML file takes the following form: ?xml version=1.0 encoding=iso-8859-1?

Re: [Flashcoders] Question for XML Style Junkies

2006-03-16 Thread khair
You shouldn't use the CDATA tag in an XML attribute. But if you are really desparate to put HTML formatting in XML attributes You can use URL Encode the attribute values with an escape() function... then have Flash unescape() the attributes when you load it back into flash However this is only

[Flashcoders] Test if an library item exist (without JSFL)

2006-01-27 Thread khair
Is there a smooth pimp daddy way to test if an library item with linkage ID assigned to it exists by using Actionscript 2.0? --Keith H-- ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

[Flashcoders] XML 2 UI oncommand attribute

2006-01-04 Thread khair
I'm XUL script in my command folder that works but the oncommand attribute does not work with functions I create myself in my JSFL file. It seems only functions that belong to the JSFL API work but not with user-created functions that are scoped within the JSFL file. button

Re: [Flashcoders] Re: Qauternions for avoiding gimbal-lock in 3D?

2005-11-28 Thread khair
All I've see online is Quaternions from a Mathematician's view that only a mad-scientist would understand. (Don't understand all the mathmatical notations, I rather see code.) I'm looking for more explainations of Quaternions from an Actionscript code point of view. (C would be too confusing, but

[Flashcoders] FileReference class [Get path of a selected file]

2005-10-24 Thread khair
Is there a way to get the actual path of a file you selected after useing browse method? -- Keith H -- ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

[Flashcoders] Manually opening the Flash Security Settings Manager

2005-10-19 Thread khair
Is there a way to manually open the Flash Security Settings Manager inside of Flash SWF instead of opening Macromedia's web-based Flash Security Settings Manager page? -- Keith H -- ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com