RE: [Flashcoders] stop caching

2010-12-10 Thread Lehr, Theodore
as such. In a http environment (i.e. a server, local or remote), on the other hand, the querystring will not be considered part of the file name. So yes, it's a local / server issue. Cheers Juan Pablo Califano 2010/12/9 Lehr, Theodore ted_l...@federal.dell.com I am trying to prevent caching via: function

[Flashcoders] stop caching

2010-12-09 Thread Lehr, Theodore
I am trying to prevent caching via: function startLoad(dfile:String) { var ran:int = Math.round(Math.random()*10); var dfileb:String = new String(); dfileb = dfile+?ran=+ran; var mRequest:URLRequest=new URLRequest(dfileb); } startLoad(moive.swf); but I get an error 2044:

RE: [Flashcoders] stop caching

2010-12-09 Thread Lehr, Theodore
/in/nathanmynarcik On Thu, Dec 9, 2010 at 1:07 PM, Lehr, Theodore ted_l...@federal.dell.comwrote: I am trying to prevent caching via: function startLoad(dfile:String) { var ran:int = Math.round(Math.random()*10); var dfileb:String = new String(); dfileb = dfile+?ran=+ran; var

[Flashcoders] Finda and Replace

2010-11-15 Thread Lehr, Theodore
Say you have the following string: var s:String = This is a test. Is this a test? Yes.; I am trying: var findAndReplace:RegExp = new RegExp(Is this a test?, gi); s=s.replace(findAndReplace,xxx); I would expect to get back: This is a test. xxx Yes. but there seem to be an issue with the ? -

RE: [Flashcoders] Finda and Replace

2010-11-15 Thread Lehr, Theodore
: http://gskinner.com/RegExr/desktop/ HTH Glen On 15/11/2010 17:26, Lehr, Theodore wrote: Say you have the following string: var s:String = This is a test. Is this a test? Yes.; I am trying: var findAndReplace:RegExp = new RegExp(Is this a test?, gi); s=s.replace(findAndReplace,xxx

[Flashcoders] Scrollbar Component

2010-11-10 Thread Lehr, Theodore
The scrollbar component seems like it should be failry easy to work with - drag it over the dynamic text field and bam - if that textfield has too much text then it will scroll... I have it working that way in another movie that way (I think)... If I hard code text i the textfield - it

RE: [Flashcoders] Scrollbar Component

2010-11-10 Thread Lehr, Theodore
To: Flash Coders List Subject: Re: [Flashcoders] Scrollbar Component Do an if statement checking to see if the textfields height is greater than the scrollbars height. If false, scrollbar.visible = false. Is that what you want to do? On Nov 10, 2010 8:51 AM, Lehr, Theodore ted_l...@federal.dell.com

RE: [Flashcoders] Scrollbar Component

2010-11-10 Thread Lehr, Theodore
On Wed, Nov 10, 2010 at 10:19 AM, Lehr, Theodore ted_l...@federal.dell.com wrote: It is not the visibility of the scrollbar I am trying to fool with - it is having the scrollbar be functional and actually scroll - hoe that makes sense... the visibility I have working - it shows up when it should

[Flashcoders] Counting xml attributes

2010-11-08 Thread Lehr, Theodore
Is there a way to return the attributes name of an xml node? So if I have: tag a=1 b=2 c=3/ I would get back: a, b, c ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] Counting xml attributes

2010-11-08 Thread Lehr, Theodore
attrib:XML; for (var i:int = 0; i noOfAttribs; i++) { attrib = listAttribs[i]; } On 8 November 2010 13:58, allandt bik-elliott (thefieldcomic.com) alla...@gmail.com wrote: yep var listAttribs:XMLList = myxml.t...@*; trace(listAttribs.length()); best a On 8 November 2010 13:42, Lehr

RE: [Flashcoders] Counting xml attributes

2010-11-08 Thread Lehr, Theodore
++) { attrib = listAttribs[i]; } On 8 November 2010 13:58, allandt bik-elliott (thefieldcomic.com) alla...@gmail.com wrote: yep var listAttribs:XMLList = myxml.t...@*; trace(listAttribs.length()); best a On 8 November 2010 13:42, Lehr, Theodore ted_l...@federal.dell.comwrote: Is there a way

RE: [Flashcoders] Counting xml attributes

2010-11-08 Thread Lehr, Theodore
and @c rather than a, b, c } best a On 8 November 2010 14:17, Lehr, Theodore ted_l...@federal.dell.com wrote: Thanks - that gives me the values of the attribs - but not the attrib names: if I have: tag a=1 b=2 c=3/ I am getting: 1,2,3 I am trynig to get: a,b,c Anyway to do

[Flashcoders] Saving to clipboard

2010-11-02 Thread Lehr, Theodore
So I have a button that will save a mc as a jpg - what I am wondering is is there a way to save a mc so someone could just cut and past it into, say, powerpoint? No, I have not googled it yet but I will ___ Flashcoders mailing list

[Flashcoders] Printing a datagrid

2010-10-29 Thread Lehr, Theodore
Does anyone know why a datagrid header will only show the bottom half in print? Is there anything to do about it? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

[Flashcoders] Flash Pivot table

2010-10-29 Thread Lehr, Theodore
Anyone have any guidance on doing a pivot table in Flash? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

[Flashcoders] Flash to Powerpoint

2010-10-22 Thread Lehr, Theodore
Anyone have a link to a tutorial or something that gives siome guidance on how to create a powerpoint presentation from Flash - like I want to click a button and then be given a prompt to open or save a pps - and the presentation would be made up of, say, an image (object) on each slide No

RE: [Flashcoders] Flash to Powerpoint

2010-10-22 Thread Lehr, Theodore
11:36 AM To: Flash Coders List Subject: Re: [Flashcoders] Flash to Powerpoint You could always go the oldschool route of taking screenshots and pasting on the slide(s). On Fri, Oct 22, 2010 at 10:40 AM, Lehr, Theodore ted_l...@federal.dell.comwrote: Anyone have a link to a tutorial

[Flashcoders] FileReference

2010-10-21 Thread Lehr, Theodore
I have two files where I use: var file:FileReference(); var jpgSource:BitmapData = new BitmapData(x,y); jpgSource.draw(sprite); var jpgEncoder:JPGEncoder = new JPGENcoder(85); var jpgStream:ByteArray = jpgEncoder.encode(jpgSource); file.save(jpgStream, 'fileName.jpg'); it works fine in one

RE: [Flashcoders] FileReference

2010-10-21 Thread Lehr, Theodore
sorry - error in transmition - I do have it correctly in my file... just wrote it wrong in the email... From: flashcoders-boun...@chattyfig.figleaf.com [flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of C├ędric Muller [flashco...@benga.li] Sent:

RE: [Flashcoders] FileReference

2010-10-21 Thread Lehr, Theodore
Subject: Re: [Flashcoders] FileReference Lehr, Theodore skriver: 1061: Call to a possibly undefined method save through a reference with static type flash.net:FileReference Why would it work in one but not the other? Because only one of them targets FP 10 where the method was added

[Flashcoders] Dynamically Size ComboBox

2010-10-20 Thread Lehr, Theodore
Is there a way to dynamically aize a combo box like a textfirl (i.e. TextFieldAutoSize)? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

[Flashcoders] OT: Resizing AS window

2010-10-05 Thread Lehr, Theodore
My AS window is too tall for my monitor (not sure how that happened) and I can figure out how to resize it? Anyone know? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] OT: Resizing AS window

2010-10-05 Thread Lehr, Theodore
:50 AM, Lehr, Theodore ted_l...@federal.dell.comwrote: My AS window is too tall for my monitor (not sure how that happened) and I can figure out how to resize it? Anyone know? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http

[Flashcoders] correct path

2010-09-28 Thread Lehr, Theodore
So I have a mc that has another mc inside of it... I have: var holder:Sprite = new Sprite(); holder.name = holderMC; addChild(holder); var childOne:childMC = new childMC(); childOne.name = childOneMC; holder.addChild(childOne); now childOne has a mc inside of it (let's call it

[Flashcoders] accessing variable

2010-09-24 Thread Lehr, Theodore
I am accessing a mc via: for () { parentName.getChildAt(j); } I would like to read a variable in this mc, like: parentName.getChildAt(j).variableName; but it does not work - how would I go about that? ___ Flashcoders mailing list

[Flashcoders] RE: accessing variable

2010-09-24 Thread Lehr, Theodore
I got it: (parentName.getChildAt(j) as MovieClip).variableName From: Lehr, Theodore Sent: Friday, September 24, 2010 2:02 PM To: Flash Coders List Subject: accessing variable I am accessing a mc via: for () { parentName.getChildAt(j); } I

[Flashcoders] Resizing

2010-09-21 Thread Lehr, Theodore
So I have a sprite that is holding a map and some mc's overlaying the map I am trying to resize the sprite (and thus everthing in it...) Something weird happens with the height The sprite is initially resized to, say, 500x500, and that works fine... Then I have a listener set on when

[Flashcoders] RE: Resizing

2010-09-21 Thread Lehr, Theodore
I have tried e.target.width. and it seems to work - but it, obviously, is just affecting the map and not the object overlaying them... I need a affect the Sprite From: Lehr, Theodore Sent: Tuesday, September 21, 2010 8:20 AM To: Flash Coders List

[Flashcoders] RE: Resizing

2010-09-21 Thread Lehr, Theodore
From: Lehr, Theodore Sent: Tuesday, September 21, 2010 8:20 AM To: Flash Coders List Subject: Resizing So I have a sprite that is holding a map and some mc's overlaying the map I am trying to resize the sprite (and thus everthing in it...) Something weird happens with the height

RE: [Flashcoders] RE: Resizing

2010-09-21 Thread Lehr, Theodore
with the images I am overlaying the map... So I have a sprite - that is holding a map I am then overlaying dots on the map via some xml the height of the parent Sprite is getting screwed up in this process From: Lehr, Theodore Sent: Tuesday, September 21

[Flashcoders] Equirectangular World Map

2010-09-14 Thread Lehr, Theodore
After searching and searching I am just seeing if someone here might be able to point me to where I might be able to find an equirectangular map of the world in vector format (free of course :-) ___ Flashcoders mailing list

[Flashcoders] locating point on object

2010-09-14 Thread Lehr, Theodore
Is there a way to tell where you click on an object - for example if you have a square that is 100x100 and you clicked in the middle you could get x:50, y:50 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

RE: [Flashcoders] locating point on object

2010-09-14 Thread Lehr, Theodore
thanks... From: flashcoders-boun...@chattyfig.figleaf.com [flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Henrik Andersson [he...@henke37.cjb.net] Sent: Tuesday, September 14, 2010 11:34 AM To: Flash Coders List Subject: Re: [Flashcoders]

RE: [Flashcoders] Zooming

2010-09-14 Thread Lehr, Theodore
/y/scaleX/scaleY together. Or use the camera suggestions others have offered. Sorry, hope that didn't overwhelm you with options :) Jack -Original Message- From: Lehr, Theodore [mailto:ted_l...@federal.dell.com] Sent: Monday, September 13, 2010 11:14 AM To: Flash Coders List Subject

[Flashcoders] Zooming

2010-09-13 Thread Lehr, Theodore
Is there anyway to zoom into a mc and make sure a certain point on an object (just an image converted to a mc in this instance) is always in the center? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

[Flashcoders] Math help

2010-09-10 Thread Lehr, Theodore
So if I have to line segments: A: 0-799 B: 66.92 - 124.40 Given a point on B (80.6 for example) how can I find the equivalent point on A? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

RE: [Flashcoders] Math help

2010-09-10 Thread Lehr, Theodore
) -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Lehr, Theodore Sent: Friday, September 10, 2010 7:24 AM To: Flash Coders List Subject: [Flashcoders] Math help So if I have to line segments: A: 0-799 B: 66.92 - 124.40

RE: [Flashcoders] Math help

2010-09-10 Thread Lehr, Theodore
-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Lehr, Theodore Sent: Friday, September 10, 2010 11:37 AM To: Flash Coders List Subject: RE: [Flashcoders] Math help Hhmmm I do not think this is working - here is my issue - maybe someone has an idea. I

[Flashcoders] map componment

2010-09-09 Thread Lehr, Theodore
anyone know of a FREE map component? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

[Flashcoders] parsing multi-dimensional array

2010-09-03 Thread Lehr, Theodore
so if I have a multi-dimensional array - how could I break them into their own array? So if I have: arr[0] = [red,0,0]; arr[1] = [red,1,0]; arr[2] = [red,2,0]; arr[3] = [blue,0,0]; arr[4] = [blue,1,0]; arr[5] = [blue,2,0]; What I need to do is break red into it's own array and blue into it's

[Flashcoders] sorting xml

2010-08-31 Thread Lehr, Theodore
Any easy way to sort xml based on an attribute: nodes node aaa=bbb ccc=ddd/ node aaa=eee ccc=fff/ /nodes so if I wanted to sort based on aas or ccc ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

[Flashcoders] RE: sorting xml

2010-08-31 Thread Lehr, Theodore
Hh - maybe if I made it a multidimensional array - how would you sort that? From: Lehr, Theodore Sent: Tuesday, August 31, 2010 10:28 AM To: Flash Coders List Subject: sorting xml Any easy way to sort xml based on an attribute: nodes node aaa=bbb

RE: [Flashcoders] Accessing .fla var

2010-08-30 Thread Lehr, Theodore
Twitter: eric_dolecki XBoxLive: edolecki PSN: eric_dolecki http://blog.ericd.net On Mon, Aug 30, 2010 at 12:58 PM, Lehr, Theodore ted_l...@federal.dell.comwrote: How would I access a variable in my .fla from a .as? I just want to do something like: var++; from the .as where

RE: [Flashcoders] Accessing .fla var

2010-08-30 Thread Lehr, Theodore
http://blog.ericd.net On Mon, Aug 30, 2010 at 1:14 PM, Lehr, Theodore ted_l...@federal.dell.comwrote: In my .fla I have: var countF:int=0; then in the library I have a mc with linkage to an .as file In that .as file, I want to be able to: countF++; hope that makes sense

RE: [Flashcoders] Accessing .fla var

2010-08-30 Thread Lehr, Theodore
On Mon, Aug 30, 2010 at 12:58 PM, Lehr, Theodore ted_l...@federal.dell.comwrote: How would I access a variable in my .fla from a .as? I just want to do something like: var++; from the .as where the var lives in the .fla.. ___ Flashcoders

RE: [Flashcoders] Accessing .fla var

2010-08-30 Thread Lehr, Theodore
-boun...@chattyfig.figleaf.com] On Behalf Of Henrik Andersson [he...@henke37.cjb.net] Sent: Monday, August 30, 2010 1:43 PM To: Flash Coders List Subject: Re: [Flashcoders] Accessing .fla var Lehr, Theodore skriver: In my .fla I have: var countF:int=0; then in the library I have a mc

[Flashcoders] image issue

2010-08-16 Thread Lehr, Theodore
I have an image that is getting blurred a bit - is there anyway to prevent this - I want it to be sharp ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] image issue

2010-08-16 Thread Lehr, Theodore
: flashcoders-boun...@chattyfig.figleaf.com [flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Henrik Andersson [he...@henke37.cjb.net] Sent: Monday, August 16, 2010 8:30 AM To: Flash Coders List Subject: Re: [Flashcoders] image issue Lehr, Theodore wrote: I have an image that is getting

RE: [Flashcoders] image issue

2010-08-16 Thread Lehr, Theodore
: [Flashcoders] image issue Make sure its on the stage at even x and y positions, no decimal places. That's gotten me a few times. -- Matt Perkins - http://www.nudoru.com On Aug 16, 2010, at 8:49 AM, Lehr, Theodore ted_l...@federal.dell.com wrote: smoothing is off I tried to fool

[Flashcoders] Saving MC as image

2010-08-16 Thread Lehr, Theodore
I am finding some tutorials for saving a mc as an image - using com.adobe.images.JPGEncoder --- What I am finding seems to show that you need some type of server-side code to actually save the image locally (php, ...) Is there a way to do it all just in Flash?

RE: [Flashcoders] Saving MC as image

2010-08-16 Thread Lehr, Theodore
: flashcoders-boun...@chattyfig.figleaf.com [flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Henrik Andersson [he...@henke37.cjb.net] Sent: Monday, August 16, 2010 1:01 PM To: Flash Coders List Subject: Re: [Flashcoders] Saving MC as image Lehr, Theodore wrote: server-side code ... save

[Flashcoders] Printing multiple objects

2010-08-13 Thread Lehr, Theodore
I am using the code at: http://stackoverflow.com/questions/1422259/as3-using-printjob-to-print-a-movieclip I am using it to print a Sprite that is holding some other objects I am wondering is there a way I can use this code to print multiple sprites - and also be able to move the and lay

RE: [Flashcoders] Querying XML

2010-08-06 Thread Lehr, Theodore
and it will only be the ones you need. Nathan Mynarcik nat...@mynarcik.com 254.749.2525 www.mynarcik.com On Thu, Aug 5, 2010 at 2:18 PM, Lehr, Theodore ted_l...@federal.dell.com wrote: Is there a way to only show certain xml based on a value - for instance - say I have: var aXML:XML = root

RE: [Flashcoders] Querying XML

2010-08-06 Thread Lehr, Theodore
, August 06, 2010 12:40 PM To: Flash Coders List Subject: Re: [Flashcoders] Querying XML Lehr, Theodore wrote: I am trying: buildXML = peopleXML.person.(@group == dd_group.value.toString()) peopleXML.person.(@room == dd_room.value.toString()); I am surprised that it even returns an XMLList

[Flashcoders] drag issues

2010-08-05 Thread Lehr, Theodore
I have a mc that has other mc in it... this mc is hard coded on the stage... in the as I have: mc.addEventListener(MouseEvent.MOUSE_DOWN, drag); function drag(e:MouseEvent):void { e.target.startDrag(); } The problem arises that instead of dragging the mc as a whole - it drags each mc in

[Flashcoders] Querying XML

2010-08-05 Thread Lehr, Theodore
Is there a way to only show certain xml based on a value - for instance - say I have: var aXML:XML = root item title=1 value=a/ item title=2 value=a/ item title=3 value=a/ item title=4 value=b/ item title=5 value=b/ /root So if someone picks a from a drop down - I would

[Flashcoders] Flex not playing in browser

2010-07-29 Thread Lehr, Theodore
I am working on my first flex file - just a simple thing displaying a few components... nothing interacting with data or anything yet... I can open it directly by double clicking on the .swf file and it opens in the player fine... I try to load the .swf file in the browser and it does not

RE: [Flashcoders] Flex not playing in browser

2010-07-29 Thread Lehr, Theodore
yeah - it is the same version as when I load the swf straight into the player From: Deepanjan Das [deepanjan@gmail.com] Sent: Thursday, July 29, 2010 9:15 AM To: Flash Coders List Cc: Lehr, Theodore Subject: Re: [Flashcoders] Flex not playing in browser

[Flashcoders] Flex

2010-07-16 Thread Lehr, Theodore
Any good flex tutorials online for beginners? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

[Flashcoders] Finding text box

2010-07-13 Thread Lehr, Theodore
I have a mc within another... I need to reach out of that mc and into another on the root to give some text to a text box... With the old as I would do: _root.mcName.textboxName.text = ; How do I do it now? TIA! ___ Flashcoders mailing list

[Flashcoders] Communication Sever

2010-07-12 Thread Lehr, Theodore
Does Adobe still offer Flash Communication Server? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] setChildIndex

2010-07-02 Thread Lehr, Theodore
Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Lehr, Theodore Sent: Wednesday, June 30, 2010 4:05 PM To: Flash Coders List Subject: [Flashcoders] setChildIndex How can I change depths of a movie - I found setChildIndex

RE: [Flashcoders] setChildIndex

2010-07-02 Thread Lehr, Theodore
...@chattyfig.figleaf.com] On Behalf Of Lehr, Theodore Sent: Friday, July 02, 2010 9:02 AM To: Flash Coders List Subject: RE: [Flashcoders] setChildIndex These mc are added in the IDE - not code Anyway I can change their layering... ___ Flashcoders mailing list

[Flashcoders] Adding listener

2010-06-30 Thread Lehr, Theodore
Is it possible to add a listener to a multitude of mcs through a loop? so instead of mc1.addEventListener mc2.add mc3.add ... ... .. maybe I have an array with each mc name and then loop through it to add the event listeners? ___ Flashcoders

RE: [Flashcoders] Adding listener

2010-06-30 Thread Lehr, Theodore
) -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Lehr, Theodore Sent: Wednesday, June 30, 2010 10:36 AM To: Flash Coders List Subject: [Flashcoders] Adding listener Is it possible to add a listener to a multitude

RE: [Flashcoders] Adding listener

2010-06-30 Thread Lehr, Theodore
] On Behalf Of Lehr, Theodore Sent: Wednesday, June 30, 2010 10:36 AM To: Flash Coders List Subject: [Flashcoders] Adding listener Is it possible to add a listener to a multitude of mcs through a loop? so instead of mc1.addEventListener mc2.add mc3.add ... ... .. maybe I have an array

[Flashcoders] setChildIndex

2010-06-30 Thread Lehr, Theodore
How can I change depths of a movie - I found setChildIndex - but they are not children of anything... ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

[Flashcoders] removingChildAt

2010-06-28 Thread Lehr, Theodore
First - let me say that this code may be totally screwed up... that is a possibility! What I am trying to do is remove child mcs and load a new one. My code is: function onCompleteHandler(e:Event) { var pChildren:int = new int(parent.parent.numChildren);

[Flashcoders] Reverse Compiling

2010-06-22 Thread Lehr, Theodore
It's official - I am the biggest moron on the planet... which leads me to this question: Is it possible to take a .swf and turn it into a .fla? I saved all my stuff locally (with no back-ups of course) and my hard drive crashed. ___ Flashcoders

RE: [Flashcoders] Reverse Compiling

2010-06-22 Thread Lehr, Theodore
] Reverse Compiling Lehr, Theodore wrote: It's official - I am the biggest moron on the planet... which leads me to this question: Is it possible to take a .swf and turn it into a .fla? There are a variety of decompilers available. ___ Flashcoders

[Flashcoders] searching a string

2010-06-21 Thread Lehr, Theodore
If I had a string: Leadership And I was comparing a word: Leader How could I have the comparison show it as true since the string Leader is in Leadership? Does this even make sense?? So if I was comparing Swim and Leadership it would be false but Leader and Leadership would be true... kind

[Flashcoders] Dynamic Math in Datagrid

2010-06-18 Thread Lehr, Theodore
So I have a datagrid that I am populating via some xml like: var thisCol: DataGridColumn: new DataGridColumn(fieldFromXML); How can I create a column that's value is the reult of something like thisCol/thatCol? ___ Flashcoders mailing list

[Flashcoders] date modified

2010-06-17 Thread Lehr, Theodore
Is it possible to grab the date a file was modified? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

[Flashcoders] Naming a loaded swf

2010-06-15 Thread Lehr, Theodore
I am loading a swf via something like: var loader:Loader = new Loader(); function startLoad(dfile:String) { var nRequest:URLRequest = new URLRequest(dfile); loader.contentLoaderInfo.addEventListener(Evenet.COMPLETE.onComplete); loader.load(nRequest); } function

RE: [Flashcoders] Naming a loaded swf

2010-06-15 Thread Lehr, Theodore
it to a DisplayObject then give that a name? var obj:DisplayObject = loadEvent.currentTarget as DisplayObject; obj.name = my instance; ... On 15/06/2010 14:28, Lehr, Theodore wrote: I am loading a swf via something like: var loader:Loader = new Loader(); function startLoad(dfile:String) { var

RE: [Flashcoders] Naming a loaded swf

2010-06-15 Thread Lehr, Theodore
to find out Ktu On Tue, Jun 15, 2010 at 10:49 AM, Lehr, Theodore ted_l...@federal.dell.comwrote: Actually - both ways are giving me the same error: Error #2078: The name property of a Timeline-placed object cannot be modified From: flashcoders-boun

RE: [Flashcoders] Naming a loaded swf

2010-06-15 Thread Lehr, Theodore
: [Flashcoders] Naming a loaded swf Okay - can you store a reference to the loaded content that you can use to access it later, either as an instance variable or in an array? On 15/06/2010 15:49, Lehr, Theodore wrote: Actually - both ways are giving me the same error: Error #2078: The name

[Flashcoders] html in textfield

2010-06-15 Thread Lehr, Theodore
I have bold tags causing line returns - the text is coming from xml any idea why that would be? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

[Flashcoders] Dynamically Creating an XML Request

2010-06-15 Thread Lehr, Theodore
I need to create a dynamic XML request (not sure that is the right terminology). I've put a sample of what I need below. I need to turn XMLdata.test[0].elements(myTest); into var req:String = test[0].elements('myTest'); XMLdata[req]; anyone ever try that? Thanks for any help

[Flashcoders] Math in a Datagrid

2010-06-14 Thread Lehr, Theodore
I am populatibng a datagrid via xml - Numbers... How could I do some match on these numbers and the populate a cell with the results? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

[Flashcoders] targeting mc

2010-06-11 Thread Lehr, Theodore
So I am rolling over one mc to impact another and I am trying: function showDetails(e:Event):void { this[details+e.currentTarget.name].visible=true; } why does this not work? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

RE: [Flashcoders] targeting mc

2010-06-11 Thread Lehr, Theodore
I thought so - but I am getting: Error #1010: A term is undefined and has no properties. From: flashcoders-boun...@chattyfig.figleaf.com [flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Henrik Andersson [he...@henke37.cjb.net] Sent: Friday, June

RE: [Flashcoders] targeting mc

2010-06-11 Thread Lehr, Theodore
I think it is a matter of scope the mc I am trying to affect (this[details+e.currentTarget.name]) is a texfield created in a function - so I am guessing it is not accesible outside of that function... there are multiple instances of these textfields... they are created in a loop like: var

RE: [Flashcoders] targeting mc

2010-06-11 Thread Lehr, Theodore
in the first place. .m On Fri, Jun 11, 2010 at 10:43 AM, Lehr, Theodore ted_l...@federal.dell.comwrote: I think it is a matter of scope the mc I am trying to affect (this[details+e.currentTarget.name]) is a texfield created in a function - so I am guessing it is not accesible outside

RE: [Flashcoders] targeting mc

2010-06-11 Thread Lehr, Theodore
] Sent: Friday, June 11, 2010 11:01 AM To: Flash Coders List Subject: Re: [Flashcoders] targeting mc Can you post more of your code? Specifically the code that creates the intended target in the first place. .m On Fri, Jun 11, 2010 at 10:43 AM, Lehr, Theodore ted_l...@federal.dell.comwrote: I think

[Flashcoders] Passing Var value to loaded swf

2010-06-07 Thread Lehr, Theodore
I found this code: in the parent swf gameLoader.contentLoaderInfo.addEventListener(Event.INIT, onInit); function onInit(e:Event) { MovieClip(gameLoader.content).userId = 100; } In the loaded swf public class Game extends MovieClip { public var userId:int = 0; function

[Flashcoders] RE: Passing Var value to loaded swf

2010-06-07 Thread Lehr, Theodore
a property or method of a null object As if my path is not right From: Lehr, Theodore Sent: Monday, June 07, 2010 8:12 AM To: Flash Coders List Subject: Passing Var value to loaded swf I found this code: in the parent swf

[Flashcoders] setting variable

2010-06-04 Thread Lehr, Theodore
So I am loading a swf - How can I set a value of a variable in that swf from the parent? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] setting variable

2010-06-04 Thread Lehr, Theodore
, June 04, 2010 12:39 PM To: Flash Coders List Subject: Re: [Flashcoders] setting variable Lehr, Theodore wrote: So I am loading a swf - How can I set a value of a variable in that swf from the parent? Same as if it was a mc that you hadn't loaded separately

[Flashcoders] buttonMode and textfield

2010-06-01 Thread Lehr, Theodore
Is there anyway to make it so the whole area of a textfield will register if the buttonMode is set to true... as it now, the hand cursor only shows if I roll over the text - I would like it to act more like a link where you do not have to be exactly over the text...

[Flashcoders] XML and htmlText

2010-06-01 Thread Lehr, Theodore
To me, at least, this seems very weird... I have a textfield I am creating in as... I am doing something like this: main_txt.htmlText = Question: +xmlData.children()[i].children()[0]+br/; If I have a line break br/ IN the xml - it shows up... but the line break that is hardcoded in that

[Flashcoders] ticker

2010-05-28 Thread Lehr, Theodore
I am trying to make a simple ticker... my thinking is to tween it (in as) right to left... how would I make that tween repeat endlessly? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

RE: [Flashcoders] ticker

2010-05-28 Thread Lehr, Theodore
: Friday, May 28, 2010 10:57 AM To: Flash Coders List Subject: Re: [Flashcoders] ticker On 28/05/2010 15:45, Lehr, Theodore wrote: I am trying to make a simple ticker... my thinking is to tween it (in as) right to left... how would I make that tween repeat endlessly

RE: [Flashcoders] ticker

2010-05-28 Thread Lehr, Theodore
a bit more ;) On 28/05/2010 16:04, Lehr, Theodore wrote: That's what I love about this list - there is ALWAYS help available but it is often cryptic... ;-) From: flashcoders-boun...@chattyfig.figleaf.com [flashcoders-boun...@chattyfig.figleaf.com

[Flashcoders] Papervision 3d help

2010-05-25 Thread Lehr, Theodore
Sorry for being such a newbie, but if I want to use papervision 3d (i.e. something like: import org.papervision3d.core.effects.view.ReflectionView) what do I need to do? Is there a component I need to download? ___ Flashcoders mailing list

[Flashcoders] Astra chart issue

2010-05-24 Thread Lehr, Theodore
I am trynig to use the astra pie chart. It works fine locally - but when I upload it to a server, I get a #2007 error: Parameter must be non-null. Am I suposed to upload something else to the server? ___ Flashcoders mailing list

[Flashcoders] Astra Components

2010-05-18 Thread Lehr, Theodore
Does anyone know of any good documentation for the Astra components? The stuff that comes with it is not very thorough... I am trying to figure out how to customize the charts ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

RE: [Flashcoders] Buggy Tween

2010-05-13 Thread Lehr, Theodore
be fine, John on 5/12/10 2:44 PM, Lehr, Theodore at ted_l...@federal.dell.com wrote: thanks - I'll look into how to do that John R. Sweeney Jr. Interactive Multimedia Developer OnDemand Interactive Inc 945 Washington Blvd. Hoffman Estates, IL 60169 Office/Fax: 847.310.5959 Cellular

RE: [Flashcoders] Buggy Tween

2010-05-13 Thread Lehr, Theodore
...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Lehr, Theodore Sent: Thursday, May 13, 2010 6:11 AM To: Flash Coders List Subject: RE: [Flashcoders] Buggy Tween Thanks - for to need such hand holding I tried what you said but get the same results... What should

[Flashcoders] Buggy Tween

2010-05-12 Thread Lehr, Theodore
I have a CLICK event listener - the function it calls does two things: 1. Loads a .swf 2. creates a tween like: var mouseToTween:Tween = new Tween (mc,x,Strong.easeOut,mc.x.-159,3,true); The weird thing is that sometimes the tween just stops (sometimes it doe complete) and it seems to

  1   2   3   >