Re: [Flashcoders] Re: swf doesn't work the same online

2010-03-10 Thread Glen Pike
From the look of it, the complaint is about mynav not existing on the parent clip - nsprite. Because mynav is not a property of Sprite, you may have to use the DisplayObjectContainer methods to access mynav - again, I was working in AS2 style, so directly accessing may not have worked for the

[Flashcoders] FLVplackback problem

2010-03-10 Thread Cor
Hi list, I have this application which plays MP3 sounds and play FLVs with use of the FLVPlayback component. For every sound and every flv I create a new instance of the according class. I can start as much MP3 as a like without any problem. But when I start the 32th video, it crashes and error

RE: [Flashcoders] FLVplackback problem

2010-03-10 Thread David Hunter
I haven't run into your problem yet but I just finished a website which played video and mp3 and played the video through FLVPlayback and built a separate player for the sounds using Sound and SoundChannel classes. Maybe that might help. From: c...@chello.nl To:

RE: [Flashcoders] FLVplackback problem

2010-03-10 Thread Cor
I do use a separate class for the sounds: http://help.adobe.com/en_US/ActionScript/3.0_ProgrammingAS3/WS5b3ccc516d4fbf 351e63e3d118a9b90204-7d09.html -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of David

RE: [Flashcoders] FLVplackback problem

2010-03-10 Thread David Hunter
sorry. misunderstood your first message and thought you were playing back mp3s through an FLVPlayback. good luck. From: c...@chello.nl To: flashcoders@chattyfig.figleaf.com Subject: RE: [Flashcoders] FLVplackback problem Date: Wed, 10 Mar 2010 11:22:55 +0100 I do use a separate class for

RE: [Flashcoders] FLVplackback problem

2010-03-10 Thread Cor
It seems that after instanciating 32 FLVPlayback my SoundFacade crashes. -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of David Hunter Sent: woensdag 10 maart 2010 12:18 To:

Re: [Flashcoders] FLVplackback problem

2010-03-10 Thread Henrik Andersson
Cor wrote: It seems that after instanciating 32 FLVPlayback my SoundFacade crashes. What a coincidence, the Flash sound mixer only supports 32 sound channels at once. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

[Flashcoders] Passing Call To Child

2010-03-10 Thread Susan Day
Hi; I have this line of code that I need to fix: myFunction(e.currentTarget[aChild].text); That is, I need to target not e.currentTarget but the child of the same (aChild). How do I do that? TIA. Susan ___ Flashcoders mailing list

Re: [Flashcoders] OOP Books (OT)

2010-03-10 Thread Susan Day
On Mon, Mar 8, 2010 at 6:18 AM, Geografiek geograf...@geografiek.nl wrote: Hi Susan, I liked 'The Object-Oriented Thought Process' by Matt Weisfeld (not Actionscript) and of course Colin Moock's 'Essential Actionscript 3.0' I don't find Moock's book helps much on this subject. Thanks for

[Flashcoders] Apparently Doesn't Check Cache

2010-03-10 Thread Victor Subervi
Hi; I have this code: public class Preloader extends MovieClip { var loader:Loader = new Loader(); var loader2:Loader = new Loader(); var loader3:Loader = new Loader(); private var myTextField:TextField = new TextField(); var imgFlag1:Boolean = new Boolean(false); var imgFlag2:Boolean = new

Re: [Flashcoders] Passing Call To Child

2010-03-10 Thread kennethkawam...@gmail.com
If aChild is a public property of your currentTarget, your code would work. If not you can use getChildByName()/getChildAt() -- Kenneth Kawamoto http://www.materiaprima.co.uk/ On 10 March 2010 12:05, Susan Day suzieprogram...@gmail.com wrote: Hi; I have this line of code that I need to fix:

Re: [Flashcoders] Apparently Doesn't Check Cache

2010-03-10 Thread mark . jonkman
Every request for a file will go back to the server at some level. For example, despite the fact that have a file preloaded' into cache when another request is made for the file it will look at the cache then send a request to the server to see if the file has changed or whether the file in

Re: [Flashcoders] Apparently Doesn't Check Cache

2010-03-10 Thread Nathan Mynarcik
I actually have experienced the reverse of this issue. Flash caches the dynamic content so hard that I have reverted to using no_cache meta tags in my HTML. Not to OT the topic, but are meta tags the best way to prevent this? I have even though of adding a variable at the end of my dynamic urls

Re: [Flashcoders] Apparently Doesn't Check Cache

2010-03-10 Thread Victor Subervi
On Wed, Mar 10, 2010 at 9:46 AM, mark.jonk...@comcast.net wrote: Every request for a file will go back to the server at some level. For example, despite the fact that have a file preloaded' into cache when another request is made for the file it will look at the cache then send a request to

Re: [Flashcoders] Passing Call To Child

2010-03-10 Thread Susan Day
On Wed, Mar 10, 2010 at 9:31 AM, kennethkawam...@gmail.com kennethkawam...@gmail.com wrote: If aChild is a public property of your currentTarget, your code would work. If not you can use getChildByName()/getChildAt() It isn't, so I tried this code:

Re: [Flashcoders] Passing Call To Child

2010-03-10 Thread Susan Day
On Wed, Mar 10, 2010 at 10:20 AM, Susan Day suzieprogram...@gmail.comwrote: On Wed, Mar 10, 2010 at 9:31 AM, kennethkawam...@gmail.com kennethkawam...@gmail.com wrote: If aChild is a public property of your currentTarget, your code would work. If not you can use

RE: [Flashcoders] Apparently Doesn't Check Cache

2010-03-10 Thread Karina Steffens
Hi Nathan, The urls are the best way IMHO. Check out my blog entry on the subject: http://neo-archaic.ie/blog/2006/08/nocache-for-javascript-and-flash/ Cheers, Karina -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-

Re: [Flashcoders] Passing Call To Child

2010-03-10 Thread Geografiek
Hi Susan, The error means that 'e.currentTarget.getChildByName(aChild).text' dies not exist. I think the syntax should read e.currentTarget.getChildByName (aChild).text (quotes around aChild as the name of an object is a string) HTH Willem van den Goorbergh On 10-mrt-2010, at 15:22, Susan

Re: [Flashcoders] Apparently Doesn't Check Cache

2010-03-10 Thread mark . jonkman
Really quick answer because I need to run to a meeting: Safari - I assume you are on Mac then. Safari open the activity monitor and you can see the requests. Validate that the urls for the image are the same. Download either Charles or another monitor type utility - if you have FireFox use

RE: [Flashcoders] Passing Call To Child

2010-03-10 Thread Merrill, Jason
That is, I need to target not e.currentTarget but the child of the same (aChild). How do I do that? Personally, I think this is the wrong approach. Dispatch events with event bubbling or a design pattern like MVC with events instead. You should not couple your code so tightly to parent/child

[Flashcoders] AS3 thousand child objects in a container, but only 1 listener in parent

2010-03-10 Thread Anthony Pace
if I have a thousand objects in in a container, and each object is on the layer stack of the display list, what is the best way to find out which child object is being rendered as the top most layer at a given x,y position? I don't want to have a thousand contained objects with a thousand

Re: [Flashcoders] Passing Call To Child

2010-03-10 Thread Geografiek
Yes I sent that to the wish list, to make AS4 fairer. ;-) Did you try the quotes? Willem On 10-mrt-2010, at 15:58, Susan Day wrote: On Wed, Mar 10, 2010 at 10:38 AM, Geografiek geograf...@geografiek.nlwrote: Hi Susan, The error means that 'e.currentTarget.getChildByName(aChild).text'

RE: [Flashcoders] OOP Books (OT)

2010-03-10 Thread Mattheis, Erik (MIN - WSW)
I got AS 3 w/Design Patterns right when I delved into AS3 and I found the examples too long and complicated to follow. I would not recommend it as an introduction to OOP. _ _ _ Erik Mattheis Senior Web Developer Minneapolis T  952 346 6610 C 612 377 2272 Weber Shandwick Advocacy starts here.

[Flashcoders] Error in externally loaded SWF

2010-03-10 Thread Fahim Akhter
hi, I have a class loadSWF which is responsible for loading SWF's when a swf load is completed it triggers a custom event. Which the parent class catches and adds it in the appropriate place. Now apart from this the main as of my project needs to use this swf e.g transform a perticular movieClip

Re: [Flashcoders] Passing Call To Child

2010-03-10 Thread Susan Day
On Wed, Mar 10, 2010 at 11:23 AM, Merrill, Jason jason.merr...@bankofamerica.com wrote: That is, I need to target not e.currentTarget but the child of the same (aChild). How do I do that? Personally, I think this is the wrong approach. Dispatch events with event bubbling or a design

Re: [Flashcoders] Passing Call To Child

2010-03-10 Thread Susan Day
On Wed, Mar 10, 2010 at 12:04 PM, Geografiek geograf...@geografiek.nlwrote: Yes I sent that to the wish list, to make AS4 fairer. ;-) Did you try the quotes? Yes, to no avail :( Other ideas? Susan ___ Flashcoders mailing list

Re: [Flashcoders] AS3 thousand child objects in a container, but only 1 listener in parent

2010-03-10 Thread Anthony Pace
I guess I should have noted that I also need to know which objects are underneath too. On 3/10/2010 10:38 AM, Anthony Pace wrote: if I have a thousand objects in in a container, and each object is on the layer stack of the display list, what is the best way to find out which child object is

Re: [Flashcoders] AS3 thousand child objects in a container, but only 1 listener in parent

2010-03-10 Thread Anthony Pace
it is damned obvious that I have to use something like to find out which one is at the top... but how am I to tell which ones are underneath? I remember there was a way, but I can't remember what that way was. import flash.events.MouseEvent; function eMH(e:MouseEvent){

Re: [Flashcoders] AS3 thousand child objects in a container, but only 1 listener in parent

2010-03-10 Thread Glen Pike
http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/DisplayObjectContainer.html#getObjectsUnderPoint%28%29 Anthony Pace wrote: it is damned obvious that I have to use something like to find out which one is at the top... but how am I to tell which ones are underneath? I

Re: [Flashcoders] AS3 thousand child objects in a container, but only 1 listener in parent

2010-03-10 Thread Anthony Pace
I meant to say that: it is damned obvious that you should use something like the code beneath if all I am interested in is the top most child: import flash.events.MouseEvent; function eMH(e:MouseEvent){ trace(e.target.name); }; mainContainer_mc.addEventListener(MouseEvent.MOUSE_OVER,eMH);

Re: [Flashcoders] Apparently Doesn't Check Cache

2010-03-10 Thread Victor Subervi
On Wed, Mar 10, 2010 at 11:15 AM, mark.jonk...@comcast.net wrote: Safari - I assume you are on Mac then. Affirmative. Download either Charles or another monitor type utility - if you have FireFox use FireBug extension. You can then see the actual requests and the detailed headers. Then

Re: [Flashcoders] Passing Call To Child

2010-03-10 Thread kennethkawam...@gmail.com
If you trace e.currentTarget what do you get? -- Kenneth Kawamoto http://www.materiaprima.co.uk/ On 10 March 2010 14:58, Susan Day suzieprogram...@gmail.com wrote: On Wed, Mar 10, 2010 at 10:38 AM, Geografiek geograf...@geografiek.nlwrote: Hi Susan, The error means that

Re: [Flashcoders] AS3 thousand child objects in a container, but only 1 listener in parent

2010-03-10 Thread Anthony Pace
Awesome... Thank you Glen. I knew I wasn't imagining things. On 3/10/2010 11:48 AM, Glen Pike wrote: http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/DisplayObjectContainer.html#getObjectsUnderPoint%28%29 Anthony Pace wrote: it is damned obvious that I have to use

[Flashcoders] Convert Flex to FLA

2010-03-10 Thread Mattheis, Erik (MIN - WSW)
Is there a way to convert a Flex 3 project to Flash? Tried decompiling the SWF with FlashDecompiler, but it decompiles it back into a Flex project. I inherited a complex Flex project and have to deliver major edits to it in 2 weeks ... things is, I've not worked in Flex before! _ _ _ Erik

Re: [Flashcoders] Passing Call To Child

2010-03-10 Thread Susan Day
On Wed, Mar 10, 2010 at 1:21 PM, kennethkawam...@gmail.com kennethkawam...@gmail.com wrote: If you trace e.currentTarget what do you get? [object Sprite] 1 The 1 is from this line, which follows: trace(e.currentTarget.numChildren); So lo and behold, apparently currentTarget does indeed

Re: [Flashcoders] Passing Call To Child

2010-03-10 Thread Susan Day
On Wed, Mar 10, 2010 at 2:20 PM, Susan Day suzieprogram...@gmail.comwrote: On Wed, Mar 10, 2010 at 1:21 PM, kennethkawam...@gmail.com kennethkawam...@gmail.com wrote: If you trace e.currentTarget what do you get? [object Sprite] 1 The 1 is from this line, which follows:

Re: [Flashcoders] OOP Books (OT)

2010-03-10 Thread Susan Day
On Wed, Mar 10, 2010 at 12:23 PM, Mattheis, Erik (MIN - WSW) ematth...@webershandwick.com wrote: I got AS 3 w/Design Patterns right when I delved into AS3 and I found the examples too long and complicated to follow. I would not recommend it as an introduction to OOP. Noted. And your

Re: [Flashcoders] Passing Call To Child

2010-03-10 Thread Nathan Mynarcik
If you are putting the sprite in an MC and then doing mc.name = myName it should then return the name of the mc. Sprite however does not have the name property. --Original Message-- From: Susan Day Sender: flashcoders-boun...@chattyfig.figleaf.com To: Flash Coders List ReplyTo: Flash

Re: [Flashcoders] Passing Call To Child

2010-03-10 Thread Susan Day
On Wed, Mar 10, 2010 at 2:32 PM, Nathan Mynarcik nat...@mynarcik.comwrote: If you are putting the sprite in an MC and then doing mc.name = myName it should then return the name of the mc. Sprite however does not have the name property. The plot thickens. So I changed my Sprite to an MC and

Re: [Flashcoders] Convert Flex to FLA

2010-03-10 Thread Kerry Thompson
Erik Mattheis wrote: Is there a way to convert a Flex 3 project to Flash? Tried decompiling the SWF with FlashDecompiler, but it decompiles it back into a Flex project. I inherited a complex Flex project and have to deliver major edits to it in 2 weeks ... things is, I've not worked in

RE: [Flashcoders] OOP Books (OT)

2010-03-10 Thread Benny
___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders __ Informatie van ESET NOD32 Antivirus, versie van database viruskenmerken 4932 (20100310) __ Het bericht is gecontroleerd door ESET NOD32 Antivirus

RE: [Flashcoders] OOP Books (OT)

2010-03-10 Thread Mattheis, Erik (MIN - WSW)
I'm just getting the hang of AS 3 - I learn more from looking at examples than reading books front to back, but it was using Foundation Actionscript 3.0 Animation: Making Things Move! when I felt like things started clicking. _ _ _ Erik Mattheis Senior Web Developer Minneapolis T  952 346 6610

Re: [Flashcoders] OOP Books (OT)

2010-03-10 Thread Nathan Mynarcik
database viruskenmerken 4932 (20100310) __ Het bericht is gecontroleerd door ESET NOD32 Antivirus. http://www.eset.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] OOP Books (OT)

2010-03-10 Thread Benny
http://www.adobe.com/devnet/actionscript/articles/oop_as3.html ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] Passing Call To Child

2010-03-10 Thread Karl DeSaulniers
Can u give the text box a variable name and reference that instead of the .text or .htmlText value? Karl Sent from losPhone On Mar 10, 2010, at 12:47 PM, Susan Day suzieprogram...@gmail.com wrote: On Wed, Mar 10, 2010 at 2:32 PM, Nathan Mynarcik nat...@mynarcik.comwrote: If you are

Re: [Flashcoders] Passing Call To Child

2010-03-10 Thread Kenneth Kawamoto
If I understand you correctly you want to trace index.html? One funky way is... trace(new XML(a href='index.html'Home/a)@href); // traces index.html ...therefore if your e.currentTarget.getChildAt(0).htmlText is giving you a href='index.html'Home/a you can do: trace(new

Re: [Flashcoders] Passing Call To Child

2010-03-10 Thread Paul Andrews
On 10/03/2010 12:05, Susan Day wrote: Hi; I have this line of code that I need to fix: myFunction(e.currentTarget[aChild].text); That is, I need to target not e.currentTarget but the child of the same (aChild). How do I do that? TIA. Susan ___

[Flashcoders] SharedObject slot seems to be inaccessible

2010-03-10 Thread ktt
Hello, I use the same applet to connect to FMS. If I login as admin, create two slots: createFMSConn.sharedWObject.data[adminactive] = Admin active; createFMSConn.sharedWObject.data[guestactive] = Guest nonactive; createFMSConn.sharedWObject.setDirty(admina ctive);

[Flashcoders] banner click tracking code problem

2010-03-10 Thread Amol
Hi list, I have a problem with banner tracking code I am using flash banner with player 6.0 and as 1.0 and the code is System.security.allowDomain(test.com); System.security.allowInsecureDomain(test.com); System.security.allowDomain(test.com);