[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"); System.security.allowInsecur

[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"); createFMSConn.sharedW

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 ___ Flash

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("Home")@href); // traces "index.html" ...therefore if your e.currentTarget.getChildAt(0).htmlText is giving you "Home" you can do: trace(new XML(e.currentTarget.getChildAt(0).htmlText)@hre

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 wrote: On Wed, Mar 10, 2010 at 2:32 PM, Nathan Mynarcik wrote: If you are putting the sprite in an MC and then doing mc.

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] OOP Books (OT)

2010-03-10 Thread Nathan Mynarcik
Antivirus, versie van 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/li

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 C

RE: [Flashcoders] OOP Books (OT)

2010-03-10 Thread Benny
ght Process? Susan ___ 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 gecontroleer

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] Passing Call To Child

2010-03-10 Thread Susan Day
On Wed, Mar 10, 2010 at 2:32 PM, Nathan Mynarcik wrote: > 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 then I discover

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

Re: [Flashcoders] Passing Call To Child

2010-03-10 Thread Susan Day
On Wed, Mar 10, 2010 at 2:20 PM, Susan Day wrote: > 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

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 indee

[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 Matth

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 some

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 wrote: > On Wed, Mar 10, 2010 at 10:38 AM, Geografiek wrote: > >> Hi Susan, >> The error means that 'e.currentTarget.getChildByName(aChild).text' dies not >> exist.

Re: [Flashcoders] Apparently Doesn't Check Cache

2010-03-10 Thread Victor Subervi
On Wed, Mar 10, 2010 at 11:15 AM, 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 you can look for thin

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); B

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 rem

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){ trace(e.target.name)

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 bei

Re: [Flashcoders] Passing Call To Child

2010-03-10 Thread Susan Day
On Wed, Mar 10, 2010 at 12:04 PM, Geografiek wrote: > 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 Flashcoders@chattyfig.figleaf.com http://chat

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

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

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 wrote: Hi Susan, The error means that 'e.currentTarget.getChildByName(aChild).text' dies not exist. But it d

[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 activ

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/ch

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 Susan Day
On Wed, Mar 10, 2010 at 10:38 AM, Geografiek wrote: > Hi Susan, > The error means that 'e.currentTarget.getChildByName(aChild).text' dies not > exist. > But it does too exist! Not fair! :( > I think the syntax should read > e.currentTarget.getChildByName("aChild").text (quotes around aChild as

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 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- > boun...@chattyfig.figleaf.

Re: [Flashcoders] Passing Call To Child

2010-03-10 Thread Susan Day
On Wed, Mar 10, 2010 at 10:20 AM, Susan Day wrote: > 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() >> > >

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: trace(e.currentTarget.getChildBy

Re: [Flashcoders] Apparently Doesn't Check Cache

2010-03-10 Thread Victor Subervi
On Wed, Mar 10, 2010 at 9:46 AM, 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 the server to see if

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

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 wrote: > Hi; > I have this line of code that I need to fix: > > myFunction(e.curren

[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 Boolea

RE: [Flashcoders] FLVplackback problem

2010-03-10 Thread Cor
Yes, I know. But how do I free them?? -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Henrik Andersson Sent: woensdag 10 maart 2010 12:49 To: Flash Coders List Subject: Re: [Flashcoders] FLVplackback problem

Re: [Flashcoders] OOP Books (OT)

2010-03-10 Thread Susan Day
On Mon, Mar 8, 2010 at 6:18 AM, Geografiek 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 your recommendation, a

[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 Flashcoders@chattyfi

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 http://chattyfig.f

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: flashcoders@chattyfig.figleaf.co

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 clas

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
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: flashcoders@chattyfig.figle

[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 on

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