RE: [Flashcoders] Buggy Tween

2010-05-12 Thread Lehr, Theodore
List Subject: Re: [Flashcoders] Buggy Tween Lehr, Theodore wrote: The weird thing is that sometimes the tween just stops (sometimes it doe complete) You have a classical garbage collection issue. ___ Flashcoders mailing list Flashcoders

[Flashcoders] https, .load and Error #2048

2010-05-12 Thread Lehr, Theodore
am trying to load some xml via: urlLoader.load(new URLRequest(https://...;)); and I am getting an error #2048... is https an issue? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

RE: [Flashcoders] Buggy Tween

2010-05-12 Thread Lehr, Theodore
Subject: Re: [Flashcoders] Buggy Tween Lehr, Theodore wrote: Sorry - I am unfamiliar with that - can I fix it? You tween objects got garbage collected. Prevent this from happening by storing a reference to them in a non garbage collectible object while they run

RE: [Flashcoders] https, .load and Error #2048

2010-05-12 Thread Lehr, Theodore
: [Flashcoders] https, .load and Error #2048 Lehr, Theodore wrote: am trying to load some xml via: urlLoader.load(new URLRequest(https://...;)); and I am getting an error #2048... is https an issue? Definitely, non secure content may not load secure content

[Flashcoders] changing parent from child

2010-05-11 Thread Lehr, Theodore
I have a container swf - with a child... I want to have a button in the child that will change the child in the parent... so if I have: Parent.swfChild 1.swf Once I click on a button in child 1, I will have Parent.swfChild 2.swf I have tried removeChild(0) to take out the original swf, but

[Flashcoders] Changing CSS of HTML page from swf

2010-05-11 Thread Lehr, Theodore
Is it possible to change the background-image of my HTML page from a .swf? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] Changing CSS of HTML page from swf

2010-05-11 Thread Lehr, Theodore
of HTML page from swf Look into using Javascript to change the background of the page, then use externalInterface to call that Javascript. .m On Tue, May 11, 2010 at 11:31 AM, Lehr, Theodore ted_l...@federal.dell.com wrote: Is it possible to change the background-image of my HTML page from a .swf

[Flashcoders] Sound

2010-05-10 Thread Lehr, Theodore
Say I have a sound that lasts 1.7 seconds. Is there a way to control what plays - for example. if I want to start it .4 seconds in and stop it .2 seconds before the end ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

[Flashcoders] Moving from CS3 to CS4

2010-05-07 Thread Lehr, Theodore
So we are finally getting CS4 (makes sense since CS5 is out now - but that is what working for the govt is like...) What should I look for as far as differences? I know the z axis is now available - what else? ___ Flashcoders mailing list

[Flashcoders] Writing to text file

2010-05-06 Thread Lehr, Theodore
Is it possible to use flash to write to a text file (maybe an xml file)? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] Writing to text file

2010-05-06 Thread Lehr, Theodore
() method http://blog.everythingflex.com/2008/10/01/filereferencesave-in-flash-player-10/ EKA+ :) 2010/5/6 Lehr, Theodore ted_l...@federal.dell.com Is it possible to use flash to write to a text file (maybe an xml file)? ___ Flashcoders mailing

RE: [Flashcoders] Writing to text file

2010-05-06 Thread Lehr, Theodore
, 2010 8:34 AM To: Flash Coders List Subject: Re: [Flashcoders] Writing to text file Use PHP or something like that as middleware. However can more than one app instance run at the same time? On Thu, May 6, 2010 at 8:24 AM, Lehr, Theodore ted_l...@federal.dell.comwrote: Perhaps my methodology

[Flashcoders] passing obj name

2010-04-28 Thread Lehr, Theodore
so I have: flower.addEventListener(MouseEvent.ROLL_OVER,jiggle); function jiggle(e:Event):void { var timer:Timer=new Timer(2,100); timer.addEventListener(TimerEvent.TIMER,shakeBtn); timer.start(); } function shakeBtn(e:Event) { flower.main.rotation+=Math.random()*8-4;

RE: [Flashcoders] passing obj name

2010-04-28 Thread Lehr, Theodore
Coders List Subject: Re: [Flashcoders] passing obj name function shakeBtn(e:Event):void { e.target.main.rotation+=Math.random()*8-4; I think that should work On Wed, Apr 28, 2010 at 8:36 AM, Lehr, Theodore ted_l...@federal.dell.comwrote: so I have: flower.addEventListener

RE: [Flashcoders] passing obj name

2010-04-28 Thread Lehr, Theodore
lol - thanks everyone - good stuff From: flashcoders-boun...@chattyfig.figleaf.com [flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Keith Reinfeld [keithreinf...@comcast.net] Sent: Wednesday, April 28, 2010 9:39 AM To: nat...@mynarcik.com;

[Flashcoders] arranging

2010-04-28 Thread Lehr, Theodore
If I have mcs that are put on the same layer in the ide - how can I change their order (i.e. send to back, bring forward) in as3? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] arranging

2010-04-28 Thread Lehr, Theodore
Andersson Sender: flashcoders-boun...@chattyfig.figleaf.com To: Flash Coders List ReplyTo: Flash Coders List Subject: Re: [Flashcoders] arranging Sent: Apr 28, 2010 12:13 PM Lehr, Theodore wrote: If I have mcs that are put on the same layer in the ide - how can I change their order (i.e. send to back

RE: [Flashcoders] arranging

2010-04-28 Thread Lehr, Theodore
Mynarcik [nat...@mynarcik.com] Sent: Wednesday, April 28, 2010 1:51 PM To: Flash Coders List Subject: Re: [Flashcoders] arranging Will getChildIndex and setChildIndex not work either for static objects? -Original Message- From: Lehr, Theodore ted_l...@federal.dell.com Date: Wed, 28 Apr

RE: [Flashcoders] arranging

2010-04-28 Thread Lehr, Theodore
)); var index:int; index = getChildIndex(mc); setChildIndex(mc, index+1); } -Nathan Quoting Nathan Mynarcik nat...@mynarcik.com: Will getChildIndex and setChildIndex not work either for static objects? -Original Message- From: Lehr, Theodore ted_l

RE: [Flashcoders] arranging

2010-04-28 Thread Lehr, Theodore
to get the topmost child, you can do: container.getChildAt(container.numChildren - 1); Cheers Juan Pablo Califano 2010/4/28 Lehr, Theodore ted_l...@federal.dell.com ok - so I am trying this: var curChild=getChildByName(e.currentTarget.namehttp://e.currenttarget.name/ ); var curIndex:int

[Flashcoders] addEventListener - repeat function call

2010-04-23 Thread Lehr, Theodore
How can I have a function called as long as MOUSE_OVER I am trynig: bn1.addventListener(MouseEvent.MOUSE_OVER,func); function func(e:Event) { trace(e.target.name); } I would like it to fire off as long as the mouse is over ___ Flashcoders

[Flashcoders] skew and perspective

2010-04-23 Thread Lehr, Theodore
Any quick ways to skew an image and add some perspective via as3? I have found some stuff online but it looks old ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] addEventListener - repeat function call

2010-04-23 Thread Lehr, Theodore
- repeat function call Hello :) you can try MouseEvent.MOUSE_MOVE or you can use Event.ENTER_FRAME, you run the enterFrame in the mouseOver event and you stop it with the mouseOut. EKA+ :) 2010/4/23 Lehr, Theodore ted_l...@federal.dell.com How can I have a function called as long as MOUSE_OVER I

[Flashcoders] Recursive and e:Event

2010-03-29 Thread Lehr, Theodore
I am having an issue trying to recursively go through some xml... When the xml was local (i.e. var newXml:XML = tag ..;) then a recursive function like: function (parseXML(_xml:*) { ... parseXML(ixml); } worked fine but when I try to pull it in from another file

[Flashcoders] RE: Recursive and e:Event

2010-03-29 Thread Lehr, Theodore
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); }); From: Lehr, Theodore Sent: Monday, March 29, 2010 7:31 AM To: Flash

[Flashcoders] Process issue

2010-03-29 Thread Lehr, Theodore
I have a function that is building some xml through a recursive function... and then call another function once the xml is done how can I tell when it is done being built: I can not do: function buildXML() { buidlXML(); callotherfunction(); } because that would called to

RE: [Flashcoders] Process issue

2010-03-29 Thread Lehr, Theodore
callotherfunction(); function buildXML(xml:XML) { .. if (something){ buidlXML(someXML); } On 29 March 2010 at 14:13 Lehr, Theodore ted_l...@federal.dell.com wrote: I have a function that is building some xml through a recursive function... and then call another function once the xml

RE: [Flashcoders] Process issue

2010-03-29 Thread Lehr, Theodore
: [Flashcoders] Process issue Why not call your next function inside the buildXML() function after it is all done? Nathan Mynarcik Interactive Web Developer nat...@mynarcik.com 254.749.2525 www.mynarcik.com -Original Message- From: Lehr, Theodore ted_l...@federal.dell.com Date: Mon, 29 Mar

[Flashcoders] Error #2032 Stream Error

2010-03-29 Thread Lehr, Theodore
I am working on a closed network... I am trying to load some xml via load(new URLRequest(https://..;)); but I am getting Error #2032 Stream Error... I can put the url in a browser and I see the xml but for sme reason the player can not load it - any thoughts?

RE: [Flashcoders] Error #2032 Stream Error

2010-03-29 Thread Lehr, Theodore
: [Flashcoders] Error #2032 Stream Error I'm betting this is your issue: https://; Just a guess. --Original Message-- From: Lehr, Theodore Sender: flashcoders-boun...@chattyfig.figleaf.com To: Flash Coders List ReplyTo: Flash Coders List Subject: [Flashcoders] Error #2032 Stream Error Sent

RE: [Flashcoders] Recursive and e:Event

2010-03-29 Thread Lehr, Theodore
); } --Original Message-- From: Lehr, Theodore Sender: flashcoders-boun...@chattyfig.figleaf.com To: Flash Coders List ReplyTo: Flash Coders List Subject: [Flashcoders] Recursive and e:Event Sent: Mar 29, 2010 6:31 AM I am having an issue trying to recursively go through some xml... When

[Flashcoders] xml to xml

2010-03-25 Thread Lehr, Theodore
So I am getting some xml imported that is not formed as I would like - is it possible to parse it into xml that is formed how I would like it to be? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

RE: [Flashcoders] Recursive:Part II

2010-03-23 Thread Lehr, Theodore
So does it make sense to think that it would be easier to create an org chart/flow chart like look if I first put the xml into a multi-dimensional array? Or would I be dealing with the same issues? ___ Flashcoders mailing list

[Flashcoders] Counting xml attributes

2010-03-23 Thread Lehr, Theodore
Is there a way to loop through xml and count how many times an attribute has a given value? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] Recursive:Part II

2010-03-22 Thread Lehr, Theodore
Platform Community and visit our Instructional Technology Design Blog (note: these are for Bank of America employees only) -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Lehr, Theodore Sent: Friday, March

[Flashcoders] xml: counting parents

2010-03-22 Thread Lehr, Theodore
I am still trying to find a way to see where a child is within the xml - on what level... is it possible to count a nodes parents? So if I had: person att=1 person att=2 person att=3/ person att=4/ /person /person 1 would return that it has 0 parents, 2 would

RE: [Flashcoders] xml: counting parents

2010-03-22 Thread Lehr, Theodore
mean ancestors. A node can only have one parent. Parents can have many children. I think you have a bigger issue, though. Why do you need to know the depth of an xml node? I can't think of a single example that I would need that information. On 3/22/2010 9:27 AM, Lehr, Theodore wrote: I am still

RE: [Flashcoders] xml: counting parents

2010-03-22 Thread Lehr, Theodore
To: Flash Coders List Subject: Re: [Flashcoders] xml: counting parents Why not go from the top down instead of the bottom up? On 3/22/2010 10:33 AM, Lehr, Theodore wrote: Perhaps I do have a bigger issue (actually, I have LOTS of issues ;-), but the reason I need to know the depth is my

RE: [Flashcoders] xml: counting parents

2010-03-22 Thread Lehr, Theodore
name and title: you should create unique ID for each person :) -- Kenneth Kawamoto http://www.materiaprima.co.uk/ On 22 March 2010 17:33, Lehr, Theodore ted_l...@federal.dell.com wrote: Perhaps I do have a bigger issue (actually, I have LOTS of issues ;-), but the reason I need to know the depth

RE: [Flashcoders] xml: counting parents

2010-03-22 Thread Lehr, Theodore
nice... is vector do-able in cs3 - because I am egtting an error on that... From: flashcoders-boun...@chattyfig.figleaf.com [flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Steven Sacks [flash...@stevensacks.net] Sent: Monday, March 22, 2010 3:19

[Flashcoders] Recursive:Part II

2010-03-19 Thread Lehr, Theodore
So I have this xml: allPeople person personFirstNameBob/personFirstName personLastNameSmith/personLastName person personFirstNameTimmy/personFirstName personLastNameSmith/personLastName /person person

RE: [Flashcoders] Recursive:Part II

2010-03-19 Thread Lehr, Theodore
Platform Community and visit our Instructional Technology Design Blog (note: these are for Bank of America employees only) -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Lehr, Theodore Sent: Friday, March

RE: [Flashcoders] Recursive:Part II

2010-03-19 Thread Lehr, Theodore
...@chattyfig.figleaf.com] On Behalf Of Lehr, Theodore Sent: Friday, March 19, 2010 3:54 PM To: Flash Coders List Subject: [Flashcoders] Recursive:Part II So I have this xml: allPeople person personFirstNameBob/personFirstName personLastNameSmith/personLastName person personFirstNameTimmy

RE: [Flashcoders] Recurisve Functions

2010-03-18 Thread Lehr, Theodore
On 16/03/2010 23:49, Paul Andrews wrote: On 16/03/2010 20:19, Lehr, Theodore wrote: Any good tuts on recursive functions in as3? I am basically making an org chatr and would love to have one function to run through some xml to build the org chart (import a pic and name) and place them

[Flashcoders] Recurisve Functions

2010-03-16 Thread Lehr, Theodore
Any good tuts on recursive functions in as3? I am basically making an org chatr and would love to have one function to run through some xml to build the org chart (import a pic and name) and place them in the right position based on the xml. My xml would look something like: person pid='5'

[Flashcoders] Perfroming Math in DataGrid

2010-03-11 Thread Lehr, Theodore
I have a datagrid that is populated with xml that looks like: this that fieldA=one fieldB=45 fieldC=78/ that fieldA=two fieldB=133 fieldC=456/ that fieldA=three fieldB=786 fieldC=454536/ /this I have this being put into a datagrid with: var groupcol:DataGridColumn=new

[Flashcoders] DataGrid and style

2010-03-11 Thread Lehr, Theodore
Is it possible to set the style of a datagrid cell based on the content? For example, say the cell either had a positive or negative number - if positive, I want the number to be green, if negative, I want it to be red... How would you go about this?

[Flashcoders] DataGrid - Height - Scrollbar

2010-03-11 Thread Lehr, Theodore
I can not seem to get a vertical scrollbar - my datagrid sets it's height to the content... I would like a height I set and have scrolling if neccessary... what am I doing wrong? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

[Flashcoders] Manipulating and Removing loaded swf

2010-03-09 Thread Lehr, Theodore
Given the code below that I found on the web - I have 2 questions: 1) How would I manipulate the swf (i.e. change it's placement on the stage) 2) How would I remove it? TIA Ted import flash.net.URLRequest; import flash.display.Loader; import flash.events.Event; import

[Flashcoders] Simulated load time and preloading XML

2010-03-08 Thread Lehr, Theodore
Can I put a pre-loader on XML? Also, is there a way to slowdown load time to test a preloader? I looked at a movie on another machine and it loaded slowly causing things to go ascue... I want to be able to test it on my machine - mine is faster so I am finding it hard to duplicate

RE: [Flashcoders] Simulated load time and preloading XML

2010-03-08 Thread Lehr, Theodore
You just have to make sure everything you need is preloaded before you start running How would I do that? From: flashcoders-boun...@chattyfig.figleaf.com [flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Kerry Thompson [al...@cyberiantiger.biz]

[Flashcoders] addChildAt

2010-03-05 Thread Lehr, Theodore
Why can I (seemingly) not do: parentSprite.addChildAt(childSprite,6); seems like I can only do: parentSprite.addChild(childSprite) or addChildAt(childSprite,6); ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

[Flashcoders] Tween Issues

2010-03-04 Thread Lehr, Theodore
I have a bar graph where the bars are tweened the do no alway finish tweening... They are being drawn from the top down, so they do not alway make it to the bottom - and sometimes they do not get drawn at all... What could be causing this? ___

[Flashcoders] Can u combine....

2010-02-26 Thread Lehr, Theodore
..how to combine: function loadXML(dfile:String):void { urlLoader.load(new URLRequest(dfile)); urlLoader.addEventListener(Event.COMPLETE, parseXML); } function parseXML(e:Event):void { xmlFile:new XML(e.target.data); totalBars = xmlFile.children().length(); } My goal is to send the

RE: [Flashcoders] Using parent Sprites coordinates

2010-02-25 Thread Lehr, Theodore
, February 23, 2010 4:03 PM To: Flash Coders List Subject: Re: [Flashcoders] Using parent Sprites coordinates Lehr, Theodore wrote: Is there a way to have a child sprite reference the parent sprite when seeting it's x and y say I have a Sprite: You must have missed localToGlobal

[Flashcoders] finding x of sprite

2010-02-25 Thread Lehr, Theodore
given the following: var msprite:Sprite = new Sprite(); mSprite.graphics.beginFill(0x00,.1); mSprite.graphics.drawRect(15,337,646,207); mSprite.graphics.endFill(); addChild(mSprite); trace(mSprite.x = +mSprite.x); I would think that I should be tracing mSprite.x = 15 instead I get mSprite

RE: [Flashcoders] finding x of sprite

2010-02-25 Thread Lehr, Theodore
; -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Lehr, Theodore Sent: donderdag 25 februari 2010 13:29 To: Flash Coders List Subject: [Flashcoders] finding x of sprite given the following: var msprite:Sprite = new

RE: [Flashcoders] finding x of sprite

2010-02-25 Thread Lehr, Theodore
is 0 and IN there, there is the rectangle at 15 px. trace(mSprite.width); // //set mSprite's x mSprite.x = 15; -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Lehr, Theodore Sent: donderdag 25 februari 2010

RE: [Flashcoders] finding x of sprite

2010-02-25 Thread Lehr, Theodore
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Lehr, Theodore Sent: donderdag 25 februari 2010 14:27 To: Flash Coders List Subject: RE: [Flashcoders] finding x of sprite yeah - but the goofy thing is that when I trace the height and width I get the height and width of the rectangle

[Flashcoders] drawing lines

2010-02-25 Thread Lehr, Theodore
I would like to draw a line that fluctuates color. For instance - the line would be 6px think and it would go along 30px with a 0x262e3b color and then 3px of 0xff and the repeat for a gven width... is it possible to make such a customized dashed line?

[Flashcoders] targeting sprite

2010-02-25 Thread Lehr, Theodore
How would I do the following: function fname(sparent:Sprite) { sparent.addChildAt(childSprite,2); } fname(spriteParent); It does not seem to like this ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

RE: [Flashcoders] Using parent Sprites coordinates

2010-02-24 Thread Lehr, Theodore
: [Flashcoders] Using parent Sprites coordinates Lehr, Theodore wrote: Is there a way to have a child sprite reference the parent sprite when seeting it's x and y say I have a Sprite: You must have missed localToGlobal and globalToLocal

[Flashcoders] Finding and Removing a Sprite

2010-02-23 Thread Lehr, Theodore
I am trying to remove a Sprite via: removeSchild(mySprite); but I get the error: 1120: Access of undefined property mySprite); The Sprite is created ina function and is not neccessarily the child of anything - although it is created via addChild(mySprite) so I guess it is the child of

RE: [Flashcoders] Finding and Removing a Sprite

2010-02-23 Thread Lehr, Theodore
null if mySprite is not a child of anything, traces the parent if mySprite is added as a child) parentName.removeChild(mySprite) does the trick then. HTH Willem van den Goorbergh On 23-feb-2010, at 14:23, Lehr, Theodore wrote: I am trying to remove a Sprite via: removeSchild(mySprite); but I

RE: [Flashcoders] Finding and Removing a Sprite

2010-02-23 Thread Lehr, Theodore
is actually a child of an instance? (traces null if mySprite is not a child of anything, traces the parent if mySprite is added as a child) parentName.removeChild(mySprite) does the trick then. HTH Willem van den Goorbergh On 23-feb-2010, at 14:23, Lehr, Theodore wrote: I am trying to remove a Sprite

RE: [Flashcoders] Finding and Removing a Sprite

2010-02-23 Thread Lehr, Theodore
Developer nat...@mynarcik.com 254.749.2525 www.mynarcik.com -Original Message- From: Lehr, Theodore ted_l...@federal.dell.com Date: Tue, 23 Feb 2010 09:31:19 To: Flash Coders Listflashcoders@chattyfig.figleaf.com Subject: RE: [Flashcoders] Finding and Removing a Sprite I tried: removeChild

RE: [Flashcoders] Finding and Removing a Sprite

2010-02-23 Thread Lehr, Theodore
); } } function clearBar():void { removeChild(mySprite); } From: Nathan Mynarcik [nat...@mynarcik.com] Sent: Tuesday, February 23, 2010 10:17 AM To: Lehr, Theodore; Flash Coders List Subject: Re: [Flashcoders] Finding and Removing a Sprite Ok, I'm

RE: [Flashcoders] Finding and Removing a Sprite

2010-02-23 Thread Lehr, Theodore
-2010, at 15:31, Lehr, Theodore wrote: I tried: removeChild(root.mySprite); and I get another error: 1119: Access of possibly undefined property mySprite through a reference with static type flash.display:DisplayObject From: flashcoders-boun

RE: [Flashcoders] Finding and Removing a Sprite

2010-02-23 Thread Lehr, Theodore
(mySprite); } } You declared mySprite inside the function, so it's not accessible outside that function. Declaring mySprite outside the function makes it accessible to other functions. HTH Willem On 23-feb-2010, at 16:21, Lehr, Theodore wrote: I can not paste it but this should

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

2010-02-23 Thread Lehr, Theodore
So here is my next issue... One of the functions creates a dynamic amount sprites based on an xml feed, like so function createBars():void { for (var i:int=0; itotalbars; i++) { var bar:Sprite = new Sprite(); ... addChild(bar); {

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

2010-02-23 Thread Lehr, Theodore
...@chattyfig.figleaf.com] On Behalf Of Lehr, Theodore Sent: Tuesday, February 23, 2010 10:55 AM To: Flash Coders List Subject: RE: [Flashcoders] Finding and Removing a Sprite: PART II So here is my next issue... One of the functions creates a dynamic amount sprites based on an xml feed, like so

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

2010-02-23 Thread Lehr, Theodore
- boun...@chattyfig.figleaf.com] On Behalf Of Lehr, Theodore Sent: Tuesday, February 23, 2010 10:55 AM To: Flash Coders List Subject: RE: [Flashcoders] Finding and Removing a Sprite: PART II So here is my next issue... One of the functions creates a dynamic amount sprites based on an xml feed

RE: [Flashcoders] Finding and Removing a Sprite

2010-02-23 Thread Lehr, Theodore
awesome - thanks From: flashcoders-boun...@chattyfig.figleaf.com [flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Kerry Thompson [al...@cyberiantiger.biz] Sent: Tuesday, February 23, 2010 12:36 PM To: Flash Coders List Subject: Re:

[Flashcoders] Line graph tutorial

2010-02-23 Thread Lehr, Theodore
Anyone know of any goods examples of how to do a line graph using xml data? I am looking through google now... ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

[Flashcoders] Using parent Sprites coordinates

2010-02-23 Thread Lehr, Theodore
Is there a way to have a child sprite reference the parent sprite when seeting it's x and y say I have a Sprite: var bgDad:Sprite = new Sprite(); then I add a child: var bgSon:Sprite = new Sprite(); bgSon.graphics.lineStyle(1,0x00); bgSon.graphics.moveTo(0,0);

[Flashcoders] 2.0 = 3.0

2010-02-22 Thread Lehr, Theodore
how would I translate: _root[but_+pArray[i]].gotoAndStop(1); from 2.0 to 3.0? The error I am getting is Access of undefined property _root. TIA! Ted ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

RE: [Flashcoders] 2.0 = 3.0

2010-02-22 Thread Lehr, Theodore
Sorry - I am way new to 3.0 - this is code I am trying to convert to help me learn why would this not work: var pArray = new Array(); pArray[0].gotoAndStop(2); or is there a better way to do it in 3 Thanks From:

[Flashcoders] AS 3: Pie Chart

2010-02-19 Thread Lehr, Theodore
Anyone know of a good tutorial on creating pie charts with data via xml? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] Image and Alpha

2010-01-22 Thread Lehr, Theodore
22, 2010 12:42 AM To: Flash Coders List Subject: Re: [Flashcoders] Image and Alpha can you write some of your codeto get a better understanding of the problem - Original Message - From: Lehr, Theodore ted_l...@federal.dell.com To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent

[Flashcoders] Image and Alpha

2010-01-21 Thread Lehr, Theodore
I know I asked this before but I can not remember if there was ever a resolution proposed and I am still having the issue... I have an image inside a mc - that mc (mc1), by default, is set to have an alpha of 0... that mc is inside another mc (mc2) that is also alpha=0 by default... Then,

[Flashcoders] Clearing Cache

2010-01-14 Thread Lehr, Theodore
Is there a way to clear the browsers cache via Flash? I have a movie that is very dynamic in the data it shows - I want to make sure the users are not getting an old view Thanks! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

RE: [Flashcoders] Clearing Cache

2010-01-14 Thread Lehr, Theodore
...@engineeredarts.co.uk] Sent: Thursday, January 14, 2010 12:34 PM To: Flash Coders List Subject: Re: [Flashcoders] Clearing Cache Use the cache killer method when loading in dynamic data - if you are using a URL to load the data, append a ?tm= + new Date().getTime() to it or similar. Lehr, Theodore wrote

[Flashcoders] OT: finding where a web site lives

2010-01-11 Thread Lehr, Theodore
I am helping take over a web site formy HOA. Is there a way to fuind out where a web site lives? I can not tell if it is on server or where it is... hope this makes sense... ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

RE: [Flashcoders] OT: finding where a web site lives

2010-01-11 Thread Lehr, Theodore
where a web site lives You can search WhoIs to get info on the domain. www.whois.net --Original Message-- From: Lehr, Theodore Sender: flashcoders-boun...@chattyfig.figleaf.com To: Flash Coders List ReplyTo: Flash Coders List Subject: [Flashcoders] OT: finding where a web site lives Sent

[Flashcoders] Bizarre Issue

2009-12-15 Thread Lehr, Theodore
I have a weird issue that I will attempt to explain - if no one gets it and does not reply - I understand So I have the same MC that is used say 50 times - each on their own layer These MC have dynamic text boxes and images... they ALL start out with alpha = 0... Some have their

RE: [Flashcoders] Bizarre Issue

2009-12-15 Thread Lehr, Theodore
of the images gets NaN, they may be invisible. Images can be wrongly resized (width of height is NaN or 0 and the image disappears)... the bizarre thing to me is that it is the same MC - just different instances... g Tuesday, December 15, 2009 (2:55:13 PM) Lehr, Theodore wrote: I have a weird

RE: [Flashcoders] Minimizing Code: Logic Issue

2009-12-08 Thread Lehr, Theodore
; } } _root.mc1[nm].onRollout = function() { _root[this.nm]._alpha = 0; } } Lehr, Theodore wrote: OK - imagine: _root.._alpha = 0; _root.mc1..mc2.onRollOver = function() { if (findValue(, arrayName) == 1) { _root.._alpha = 100; } } _root.mc1

RE: [Flashcoders] Minimizing Code: Logic Issue

2009-12-08 Thread Lehr, Theodore
) { //hey presto, you can still access stuff! _root[this.nm]._alpha = 100; } } _root.mc1[nm].onRollout = function() { _root[this.nm]._alpha = 0; } } Lehr, Theodore wrote: OK - imagine: _root.._alpha = 0; _root.mc1..mc2.onRollOver

RE: [Flashcoders] Minimizing Code: Logic Issue

2009-12-08 Thread Lehr, Theodore
value - that will break it / not work. You could always use the _name value of the clip to find out what to change. Lehr, Theodore wrote: ALSO: (and this might be impacting my results... when I used this.nm it did not work at all... so I took this. out and just used nm, while it works

RE: [Flashcoders] Minimizing Code: Logic Issue

2009-12-08 Thread Lehr, Theodore
); if(findValue(this.nm, arrayName) == 1) { //hey presto, you can still access stuff! _root[this.nm]._alpha = 100; } } _root.mc1[nm].onRollout = function() { _root[this.nm]._alpha = 0; } } Lehr, Theodore wrote: OK

RE: [Flashcoders] Minimizing Code: Logic Issue

2009-12-08 Thread Lehr, Theodore
... fButtonOff(this); } } Also, when you rollover and it traces - does each clip have the same nm value - that will break it / not work. You could always use the _name value of the clip to find out what to change. Lehr, Theodore wrote: ALSO: (and this might be impacting my results... when I

RE: [Flashcoders] Minimizing Code: Logic Issue

2009-12-08 Thread Lehr, Theodore
...@engineeredarts.co.uk] Sent: Tuesday, December 08, 2009 9:10 AM To: Flash Coders List Subject: Re: [Flashcoders] Minimizing Code: Logic Issue That's the _name parameter Lehr, Theodore wrote: OK - I think I MAY have found a way - which leads me to another question: how can I grab the FULL name of an object (ie

RE: [Flashcoders] Minimizing Code: Logic Issue

2009-12-08 Thread Lehr, Theodore
: [Flashcoders] Minimizing Code: Logic Issue That's the _name parameter Lehr, Theodore wrote: OK - I think I MAY have found a way - which leads me to another question: how can I grab the FULL name of an object (ie _level0.mc1.mc2.mc3) and substring it - like in the example, I want to extract mc2

RE: [Flashcoders] Minimizing Code: Logic Issue

2009-12-08 Thread Lehr, Theodore
for rollover colours... fButtonOff(this); } } Also, when you rollover and it traces - does each clip have the same nm value - that will break it / not work. You could always use the _name value of the clip to find out what to change. Lehr, Theodore wrote: ALSO

[Flashcoders] Array in loop

2009-12-07 Thread Lehr, Theodore
Seems like this should be simple: how do I replace x with arrayName[i] in the following: _root.x._alpha = 0; it is in a for loop... ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

RE: [Flashcoders] Array in loop

2009-12-07 Thread Lehr, Theodore
07, 2009 12:32 PM To: Flash Coders List Subject: Re: [Flashcoders] Array in loop _root[ arrayName[i] ]._alpha = 0; Leandro Ferreira On Mon, Dec 7, 2009 at 15:28, Lehr, Theodore ted_l...@federal.dell.comwrote: Seems like this should be simple: how do I replace x with arrayName[i

[Flashcoders] Minimizing Code: Logic Issue

2009-12-07 Thread Lehr, Theodore
OK - imagine: _root.._alpha = 0; _root.mc1..mc2.onRollOver = function() { if (findValue(, arrayName) == 1) { _root.._alpha = 100; } } _root.mc1..mc2.onRollOut = function() { _root.._alpha=0; } Now, I have to repeat this code like 50 times for 50

[Flashcoders] Flash, XML and Domino

2009-11-24 Thread Lehr, Theodore
ok - so I am trying to ingest some xml create by a view in Domino. When viewed in a browser, the xml looks fine and when I put the xml into a page such as temp.xml it works fine... it is when I try: x.load(https://stuff.stuff/stuff.nsf/view?ReadViewEntries;); that I am registering

RE: [Flashcoders] Flash, XML and Domino

2009-11-24 Thread Lehr, Theodore
great - that may very well be it... thanks From: flashcoders-boun...@chattyfig.figleaf.com [flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Henrik Andersson [he...@henke37.cjb.net] Sent: Tuesday, November 24, 2009 9:55 AM To: Flash Coders List

[Flashcoders] Flash and Video

2009-06-01 Thread Lehr, Theodore M (N-SGIS)
I have a .mov file that I want to import into a movie and then slow it down (slow motion). Any way to do this? Ted ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

<    1   2   3   >