Re: [Flashcoders] Known memory leaks in FP10

2010-02-02 Thread W.R. de Boer
Yes, I am already using that unloadAndStop()-method but I haven't had much yet. I am experience a rise in cpu usage each time I am switching client SWF files. After it's loaded it drops back to normal 20-30% cpu usage but after running it for a few hours. You can see that the switching between

Re: [Flashcoders] Flash and MySQL

2010-02-02 Thread beno -
On Mon, Feb 1, 2010 at 5:29 PM, Steven Sacks flash...@stevensacks.netwrote: Quite frankly, it boggles my mind anyone ever answers beno's posts with any level of seriousness. He's the love child of a troll and a help vampire. How hard would [building a MySQL equivalent db in AS3] be? Tell

[Flashcoders] Keep getting Error #1009: Cannot access a property or method of a null object reference. at ProfilerAgent/allCompleteHandler()

2010-02-02 Thread W.R. de Boer
Hello, I am currently trying to use the Flex Builder 3 Profiler only I am having trouble with profiling this SWF I am having. The issue is that half the time I am getting the following error: TypeError: Error #1009: Cannot access a property or method of a null object reference. at

[Flashcoders] I Must Be Asking This Question Wrong...

2010-02-02 Thread beno -
Hi; I have posted this question so many times in so many forums and not gotten an answer that I'm simply asking the helpful, mature people of this list to help me understand better how to ask this question in a way that would elicit a helpful response. TIA, beno I have asked this in the newbies

Re: [Flashcoders] I Must Be Asking This Question Wrong...

2010-02-02 Thread Glen Pike
So you are adding the myThumb and Tweening it somewhere? You might want to make myThumb do the Tween again from other frames in your movie? Maybe define a function in your class that is not depending on the ENTER_FRAME event? public function doTween():void { addChild(myThumb):

Re: [Flashcoders] I Must Be Asking This Question Wrong...

2010-02-02 Thread beno -
On Tue, Feb 2, 2010 at 8:54 AM, Cor c...@chello.nl wrote: /* Without knowing what you exactly trying to do, maybe this helps. */ package { import flash.events.Event; import flash.events.ProgressEvent; import flash.events.Event; import flash.events.MouseEvent;

Re: [Flashcoders] I Must Be Asking This Question Wrong...

2010-02-02 Thread beno -
On Tue, Feb 2, 2010 at 9:03 AM, Glen Pike g...@engineeredarts.co.uk wrote: So you are adding the myThumb and Tweening it somewhere? You might want to make myThumb do the Tween again from other frames in your movie? Maybe define a function in your class that is not depending on the

Re: [Flashcoders] I Must Be Asking This Question Wrong...

2010-02-02 Thread Glen Pike
Hi, Colon was a typo, sorry. Also, I think the /onComplete/ bit is a pasting problem... It should say onComplete - no slashes: TweenMax.to(myThumb, .4, {shortRotation:{rotation:60}, ease:Back.easeOut,onComplete:onFinishTween}); If you want your thumb to yoyo or repeat

Re: [Flashcoders] I Must Be Asking This Question Wrong...

2010-02-02 Thread beno -
On Tue, Feb 2, 2010 at 9:24 AM, Glen Pike g...@engineeredarts.co.uk wrote: Hi, Colon was a typo, sorry. Also, I think the /onComplete/ bit is a pasting problem... It should say onComplete - no slashes: TweenMax.to(myThumb, .4, {shortRotation:{rotation:60},

Re: [Flashcoders] I Must Be Asking This Question Wrong...

2010-02-02 Thread beno -
On Tue, Feb 2, 2010 at 9:31 AM, Cor c...@chello.nl wrote: When not using the timeline, you don’t have current frames! You have to pick another trigger! Thanks for your help on this! Glen Pike solved it, however. Thanks again! beno ___ Flashcoders

Re: [Flashcoders] I Must Be Asking This Question Wrong...

2010-02-02 Thread beno -
OOPS! I spoke too soon!! Here's the revised code: package { import flash.events.Event; import flash.events.ProgressEvent; import flash.events.Event; import flash.events.MouseEvent; import flash.display.MovieClip; import com.greensock.*; import com.greensock.easing.*;

Re: [Flashcoders] I Must Be Asking This Question Wrong...

2010-02-02 Thread beno -
On Tue, Feb 2, 2010 at 9:48 AM, Cor c...@chello.nl wrote: Notice this: public function checkFrame(e:Event):void { if (e.target.currentFrame== 10) { trace( checkFrame +

Re: [Flashcoders] I Must Be Asking This Question Wrong...

2010-02-02 Thread Geografiek
Hi Beno, What fails? Is checkFrame never called? or doTween? Do you get any error messages? Put some traces in your code to see what's actually happening. Willem On 2-feb-2010, at 14:38, beno - wrote: OOPS! I spoke too soon!! Here's the revised code: package { import flash.events.Event;

Re: [Flashcoders] I Must Be Asking This Question Wrong...

2010-02-02 Thread Glen Pike
Are you trying to see if the current frame of myThumb is 10, or the current frame of the Main clip? If you are looking at the current frame of the Main clip, then e.target.currentFrame should be changed to this.currentFrame. If these don't have 10 or more frames, then your code won't work.

Re: [Flashcoders] I Must Be Asking This Question Wrong...

2010-02-02 Thread Matt S.
beno don't do traces. traces are for pussies. .m On Tue, Feb 2, 2010 at 8:58 AM, Geografiek geograf...@geografiek.nl wrote: Hi Beno, What fails? Is checkFrame never called? or doTween? Do you get any error messages? Put some traces in your code to see what's actually happening. Willem

Re: [Flashcoders] WIRED hates Flash

2010-02-02 Thread Paul Andrews
William Chadwick wrote: Apple's decision is irritating, but they're going to loose out. Apple is the one who will suffer. They are suffering so badly the appstore is empty, nobody buys iPhones and revenue is tiny.. ..I don't think so. Jobs did a smart thing keeping flash off the iPhone.

Re: [Flashcoders] I Must Be Asking This Question Wrong...

2010-02-02 Thread beno -
On Tue, Feb 2, 2010 at 10:14 AM, Glen Pike g...@engineeredarts.co.ukwrote: Are you trying to see if the current frame of myThumb is 10, or the current frame of the Main clip? If you are looking at the current frame of the Main clip, then e.target.currentFrame should be changed to

[Flashcoders] 9-Slice scaling strange behaviour... - Flash CS3

2010-02-02 Thread Glen Pike
Hi, I am running into a bizarre problem with Flash CS3 - when I enable 9-slice scaling for a clip, it suddenly becomes transparent if it is placed on stage... 1. Create a shape, convert to a symbol, enable 9-Slice scaling - disappears??? It's still there on stage as it has the

Re: [Flashcoders] I Must Be Asking This Question Wrong...

2010-02-02 Thread Nathan Mynarcik
Lmao. I now have a whole train car of people looking at me from bursting out with laughter! --Original Message-- From: Matt S. Sender: flashcoders-boun...@chattyfig.figleaf.com To: Flash Coders List ReplyTo: Flash Coders List Subject: Re: [Flashcoders] I Must Be Asking This Question

Re: [Flashcoders] I Must Be Asking This Question Wrong...

2010-02-02 Thread Glen Pike
Try adding the ENTER_FRAME listener to Main instead of myThumb... //myThumb.addEventListener(Event.ENTER_FRAME, checkFrame); addEventListener(Event.ENTER_FRAME, checkFrame); beno - wrote: On Tue, Feb 2, 2010 at 10:14 AM, Glen Pike g...@engineeredarts.co.ukwrote: Are you trying to see

RE: [Flashcoders] 9-Slice scaling strange behaviour... - Flash CS3

2010-02-02 Thread David Hunter
no such problem on my mac running CS3 and creating a movieclip with 9-slice scaling in AS3. maybe restart the program or begin a new project. Date: Tue, 2 Feb 2010 15:02:01 + From: g...@engineeredarts.co.uk To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] 9-Slice scaling

Re: [Flashcoders] 9-Slice scaling strange behaviour... - Flash CS3

2010-02-02 Thread Glen Pike
Hi, Seemed that a restart of the IDE sorts it out - I think I have a corrupt FLA that seems to cause the issue - when I open it again, it breaks my 9-slice stuff. Great, now have to weed that FLA and see if I can rescue it... Cheers Glen David Hunter wrote: no such problem on

RE: [Flashcoders] Preloader error (AS3)

2010-02-02 Thread Paul Steven
Thanks for the replies - I did have a COMPLETE event already. Henrik - with your comment about the only line of code mentioning an object, I worked out a solution by calling the following code once it was complete: this.loaderInfo.removeEventListener(ProgressEvent.PROGRESS, PL_LOADING0);

RE: [Flashcoders] I Must Be Asking This Question Wrong...

2010-02-02 Thread Merrill, Jason
beno don't do traces. traces are for pussies. Well, including me as well, call me that off-list, not here. And preferably somewhere outside where we can settle it like men. Jason Merrill Bank of America Global Learning Learning Performance Soluions Join the Bank of America Flash

Re: [Flashcoders] I Must Be Asking This Question Wrong...

2010-02-02 Thread beno -
On Tue, Feb 2, 2010 at 11:12 AM, Glen Pike g...@engineeredarts.co.ukwrote: Try adding the ENTER_FRAME listener to Main instead of myThumb... //myThumb.addEventListener(Event.ENTER_FRAME, checkFrame); addEventListener(Event.ENTER_FRAME, checkFrame); The following code: package { import

Re: [Flashcoders] I Must Be Asking This Question Wrong...

2010-02-02 Thread Glen Pike
Aww, I wanted to see a girl-fight ;) preferably somewhere outside where we can settle it like men. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] I Must Be Asking This Question Wrong...

2010-02-02 Thread Merrill, Jason
However he wants to roll. Jason Merrill Bank of America Global Learning Learning Performance Soluions Join the Bank of America Flash Platform Community and visit our Instructional Technology Design Blog (note: these are for Bank of America employees only) -Original Message-

Re: [Flashcoders] I Must Be Asking This Question Wrong...

2010-02-02 Thread Kerry Thompson
Beno wrote: I have this code: package {  snip      public var myThumb:CloseThumb;   snip      public function theThumb():void       {               myThumb = new CloseThumb();               myThumb.x = 365;               myThumb.y = 355;

Re: [Flashcoders] I Must Be Asking This Question Wrong...

2010-02-02 Thread Paul Andrews
Merrill, Jason wrote: beno don't do traces. traces are for pussies. Well, including me as well, call me that off-list, not here. And preferably somewhere outside where we can settle it like men. I think there was just a smiley missing from the post. He probably call his statements

Re: [Flashcoders] I Must Be Asking This Question Wrong...

2010-02-02 Thread Matt S.
school parking lot. behind the school buses. 4pm. and dont try to sneak a wireless mouse in, thats just dirty fighting. .m On Tue, Feb 2, 2010 at 10:26 AM, Merrill, Jason jason.merr...@bankofamerica.com wrote: Well, including me as well, call me that off-list, not here.  And preferably

RE: [Flashcoders] 9-Slice scaling strange behaviour... - Flash CS3

2010-02-02 Thread David Hunter
copy and paste all the code into a new document and then paste all the library assets into the new document and you should be fixed. unless you have lots of timeline animations or assets on the stage... Date: Tue, 2 Feb 2010 15:17:48 + From: g...@engineeredarts.co.uk To:

RE: [Flashcoders] I Must Be Asking This Question Wrong...

2010-02-02 Thread Merrill, Jason
dont try to sneak a wireless mouse in, thats just dirty fighting. LOL Jason Merrill Bank of America Global Learning Learning Performance Soluions Join the Bank of America Flash Platform Community and visit our Instructional Technology Design Blog (note: these are for Bank of America

RE: [Flashcoders] Keep getting Error #1009: Cannot access a property

2010-02-02 Thread Mattheis, Erik (MIN - WSW)
It means you're trying to manipulate an object represented by a variable with a null value. For instance, var mc:MovieClip; mc.x = 9; will generate that error as you've just defined that mc will be a movieclip and its initial value is null. var mc:MovieClip = new MovieClip(); mc.x = 9; Will

[Flashcoders] RE: Drop shadow behavior

2010-02-02 Thread Mattheis, Erik (MIN - WSW)
A clus - setting cacheAsBitmap to true for both the mask and bitmap makes the dropshadow only appear *outside* of what would be the sprite's rectangular hit area. Puzzled. _ _ _ Erik Mattheis Senior Web Developer Minneapolis T  952 346 6610 C 612 377 2272 Weber Shandwick Advocacy starts here.

Re: [Flashcoders] I Must Be Asking This Question Wrong...

2010-02-02 Thread beno -
On Tue, Feb 2, 2010 at 11:42 AM, Paul Andrews p...@ipauland.com wrote: Beno is the most expensive developer on the planet. I can't stop laughing! I'm sorry it's too true! beno ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] I Must Be Asking This Question Wrong...

2010-02-02 Thread Nathan Mynarcik
If you count all of our hours and rates, yes...he is quite expensive! --Original Message-- From: Paul Andrews Sender: flashcoders-boun...@chattyfig.figleaf.com To: Flash Coders List ReplyTo: Flash Coders List Subject: Re: [Flashcoders] I Must Be Asking This Question Wrong... Sent: Feb 2,

Re: [Flashcoders] I Must Be Asking This Question Wrong...

2010-02-02 Thread Henrik Andersson
Matt S. wrote: traces are for pussies. Traces are for morons. Professionals uses breakpoints. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] I Must Be Asking This Question Wrong...

2010-02-02 Thread Henrik Andersson
Nathan Mynarcik wrote: Lmao. I now have a whole train car of people looking at me from bursting out with laughter! Uhm, are we degrading into irc now? I had this idea that this was a serious list. ___ Flashcoders mailing list

Re: [Flashcoders] Keep getting Error #1009: Cannot access a property

2010-02-02 Thread W.R. de Boer
Yes, I am aware what the error means but it is in the profiler agent something that's getting loaded while profiling. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] I Must Be Asking This Question Wrong...

2010-02-02 Thread Paul Andrews
Henrik Andersson wrote: Nathan Mynarcik wrote: Lmao. I now have a whole train car of people looking at me from bursting out with laughter! Uhm, are we degrading into irc now? I had this idea that this was a serious list. Probably more twilight zone when trace is verbodden by the coding

Re: [Flashcoders] I Must Be Asking This Question Wrong...

2010-02-02 Thread beno -
Frankly I'm glad things have slowed down. Let me play Devil's Advocate and state explicitly I don't want you to do my work for me. I want you to help me understand what it is I need to do. This morning, two very kind people reached out to help me simultaneously. Their methodology was completely

Re: [Flashcoders] strange Text Rendering Bug : SOLVED + BUG found

2010-02-02 Thread artur
seems like the standard wmode=”gpu is BUGGY! only for Mac 10.5 (Leopard) on either FF or Safari with Flash 10 “GPU” is full hardware accelerated composing. turn that shit off people! *Artur Maklyarevsky | CEO * folio: *design2dev.com*

Re: [Flashcoders] I Must Be Asking This Question Wrong...

2010-02-02 Thread Gustavo Duenas
from an artist to another, explain me what are you trying to do in plain english and maybe the people in the list would start seeing things your way...I don't know, but when I ask for help (a lot of times in the past, present and the future) I've always explained what am I looking to

RE: [Flashcoders] I Must Be Asking This Question Wrong...

2010-02-02 Thread Cor
That's a buck to me! -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Gustavo Duenas Sent: dinsdag 2 februari 2010 22:41 To: Flash Coders List Subject: Re: [Flashcoders] I Must Be Asking This Question

Re: [Flashcoders] I Must Be Asking This Question Wrong...

2010-02-02 Thread Henrik Andersson
Gustavo Duenas wrote: Gus call me pussy or moron I use to trace , but if you want to teach me breackpoints, no problem, i'll bring my sharpest pencil to defend myself ;) Hit ctrl-b to set them, use ctrl-shift-enter to start debugging mode so that they actually are used. Then use the classical

[Flashcoders] XMLList question

2010-02-02 Thread Alexander Farber
Hello, I'm parsing following XML: var lobby:XML = lobby info idDE2/id nameAlex/name avatar2_1211369175.jpg/avatar /info info idDE55/id nameVasja/name avatar55_1232308551.jpg/avatar /info /lobby; var _people:Array = new Array();

Re: [Flashcoders] XMLList question

2010-02-02 Thread Henrik Andersson
XMLList implicitly converts to XML resulting in either the only XML object in the list or a runtime error. XML in turn implicitly converts to String. There is little you can do to fix your issue that you have not already done. The toString method does the same thing as the implicit

RE: [Flashcoders] I Must Be Asking This Question Wrong...

2010-02-02 Thread Keith Reinfeld
beno, Is this anything like what you are after? http://keithreinfeld.home.comcast.net/~keithreinfeld/Testing/Main.html Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net ___ Flashcoders mailing list

Re: [Flashcoders] I Must Be Asking This Question Wrong...

2010-02-02 Thread Glen Pike
Hi Beno, Okay - I tried to use the FLA you posted, but don't have CS4, so I can't open it, but I have got my example to run okay. That's probably the limit of my generosity for now as I am going to be too busy to help over the next few days and now it's your turn :) So please digest some

Re: [Flashcoders] I Must Be Asking This Question Wrong...

2010-02-02 Thread Gustavo Duenas
Keith I don't know what is this for, but surely it looks good to me. Gus On Feb 2, 2010, at 6:04 PM, Keith Reinfeld wrote: beno, Is this anything like what you are after? http://keithreinfeld.home.comcast.net/~keithreinfeld/Testing/Main.html Regards, Keith Reinfeld Home Page:

Re: [Flashcoders] I Must Be Asking This Question Wrong...

2010-02-02 Thread Steven Sacks
beno gets so much free work out of everyone on this list it's insane. he's not learning anything because everyone else is doing all his work for him. and that's exactly how he likes it. http://slash7.com/2006/12/22/vampires/ suckers. ;) ___

OT Re: [Flashcoders] I Must Be Asking This Question Wrong...

2010-02-02 Thread Glen Pike
OT I see your point, but I am a masochist/sucker in some ways - I will help often more than is necessary - but yes, I agree beno has got do do his homework too - which is what I said in a previous post when I was feeling a bit narky - don't we all sometimes ;) I started helping beno and

RE: [Flashcoders] XMLList question

2010-02-02 Thread Merrill, Jason
This is how I would traverse that XML, seems more natural to me to do it this way: Given your XML: var lobby:XML = lobby info idDE2/id nameAlex/name avatar2_1211369175.jpg/avatar /info info idDE55/id nameVasja/name avatar55_1232308551.jpg/avatar

Re: OT Re: [Flashcoders] I Must Be Asking This Question Wrong...

2010-02-02 Thread Steven Sacks
I think you made a very good point right here: Surely we all get a lot of free work out of you too - by using Gaia. Yes, what I provided for free benefits more than just one person, it benefits the community. The only person benefiting from free work here is beno. There's nothing to be

Re: [Flashcoders] XMLList question

2010-02-02 Thread Steven Sacks
As a rule, I only put string values that never contain special characters in attributes, otherwise you end up with XML validation errors (like putting ampersands in attributes). Also, I generally put parsing code inside the constructor of the VO class (well, I call deserialize() because code

Re: [Flashcoders] XMLList question

2010-02-02 Thread Taka Kojima
I'm siding with Steven on this one. Beno seems to be the worst offender, but it's not just him. It's quite clear that he doesn't understand the fundamentals and basics -- that's his main problem. He's working off of a very shallow and glib understanding of things, thus it's a recurring issue

Re: [Flashcoders] XMLList question

2010-02-02 Thread Taka Kojima
whoops, sorry wrong thread :) On Tue, Feb 2, 2010 at 5:38 PM, Taka Kojima t...@gigafied.com wrote: I'm siding with Steven on this one. Beno seems to be the worst offender, but it's not just him. It's quite clear that he doesn't understand the fundamentals and basics -- that's his main

RE: OT Re: [Flashcoders] I Must Be Asking This Question Wrong...

2010-02-02 Thread Merrill, Jason
Regarding the beno problem. Yeah, I came here from Flashnewbies a long time ago, and when I first started, I really didn't even know what 90% of what anyone was saying. But I kept listening - after about 6 months of listening, trying things on my own, reading, trying, experimenting, reading just

Re: [Flashcoders] WIRED hates Flash

2010-02-02 Thread Peter B
Now this is interesting too. Wired, through their 'Top Stories' feed ( http://feeds.wired.com/wired/index ) say this: A Swiss startup has created a sleek video player that looks like Flash Player and works in multiple browsers, but uses only HTML5 and web standards. They then link to a Webmonkey

Re: [Flashcoders] I Must Be Asking This Question Wrong...

2010-02-02 Thread Bill Napier
Ok, I give, reading beno's posts have become something of a guilty pleasure. Steven's hamster computer comment actually did make me laugh out loud. Dave, I wish that you would just ban beno from the list. Clearly, while he is generating a lot of traffic, it's all just OT crap. As a

Re: [Flashcoders] I Must Be Asking This Question Wrong...

2010-02-02 Thread Taka Kojima
+1 to banning. Although, I am an active AS3 developer, unlike Bill. beno generates way too much garbage to have to sort through when I actually want to look through the topics and see if there is anybody I can help with my knowledge, or if I can learn anything from the things people have been

Re: [Flashcoders] WIRED hates Flash

2010-02-02 Thread William Chadwick
Paul, If I remember correctly, Apple is the little company that has the Mac- it's like a PC only expensive and the software you use probably doesn't work on it. Apple had a good thing way back when and they decided not to let other companies build their hardware. Now they have a hobby market for

Re: [Flashcoders] XMLList question

2010-02-02 Thread Alexander Farber
Thank you all! And, On Wed, Feb 3, 2010 at 2:21 AM, Steven Sacks flash...@stevensacks.net wrote: As a rule, I only put string values that never contain special characters in attributes, otherwise you end up with XML validation errors (like putting ampersands in attributes). I was actually

RE: [Flashcoders] XMLList question

2010-02-02 Thread Cor
I always use ![CDATA[My text]] in xml. Is that a bad habbit? -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Alexander Farber Sent: woensdag 3 februari 2010 7:23 To: Flash Coders List Subject: Re: