Re: [Flashcoders] Found an AS3 RegExp Bug.

2007-06-09 Thread Isaac Rivera
Thank you benny. I can see how this works, but why does my pattern(/[^ \\]'/) does not? Isaac Rivera Technology Director :: Experience Design Group America Online :: New York City p 212 652-6308 :: c 347 342-2195 On Jun 9, 2007, at 1:30 PM, Benny wrote: var code:String = "

Re: [Flashcoders] Found an AS3 RegExp Bug.

2007-06-09 Thread Isaac Rivera
Let me correct a paste mistake there: THE FOLLOWING CODE: var pattern:RegExp = /[^\\]'/; var code:String = "alert('foo');"; code = code.replace(pattern, "\\'"); code = code.replace(pattern, "\\'"); traces: "alert\'fo\&#

[Flashcoders] Found an AS3 RegExp Bug.

2007-06-09 Thread Isaac Rivera
The following code: var pattern:RegExp = /[^\\]'/; var code:String = "alert(\'foo\');"; code = code.replace(pattern, "\\'"); code = code.replace(pattern, "\\'"); traces "alert\'fo\');" instead of "alert(\'

Re: [Flashcoders] Is AS2Unit a joke?

2006-04-21 Thread Isaac Rivera
never mind... adding a methodName:String arg to the constructor solved the issues. Isaac On Apr 21, 2006, at 1:19 PM, Isaac Rivera wrote: I have not been able to get AS2Unit to report anything useful other than the number of tests. It always reports "OK" no matter how impossibl

[Flashcoders] Is AS2Unit a joke?

2006-04-21 Thread Isaac Rivera
I have not been able to get AS2Unit to report anything useful other than the number of tests. It always reports "OK" no matter how impossible or bogus my test is. It never finds anything wrong or fails. Case in point are the simple Name class below and its companion tester (NameTester) clas

[Flashcoders] ScrollPane wont load contentPath ?

2006-04-12 Thread Isaac Rivera
_sp.contentPath); // http://www.helpexamples.com/flash/ images/image1.jpg Any insights? Isaac Rivera ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcode

Re: [Flashcoders] File Exists - a better way?

2006-03-18 Thread Isaac Rivera
Alright... I have a minute now... This may be an issue of semantics, but if what we want to know is whether the file exists or not on an HTTP connection, then the only way is to wait for the success boolean. HTTP servers do respond when a requested resource is not available. This is the cl

Re: [Flashcoders] File Exists - a better way?

2006-03-17 Thread Isaac Rivera
I backtracked on this thread... I guess the questions are: 1) what are you trying to load? 2) what onLoad(success:Boolean) are you using? Are you using the XML or LoadVars? Assuming you are using the LoadVars, a more reasonable "timeout" approach would be something like: //---

Re: [Flashcoders] File Exists - a better way?

2006-03-17 Thread Isaac Rivera
Theres no "reasonable" amount of time on networked connections of unknown hardware specs... Have you looked into onData instead? I believe it will allow you to know if the file exists bases on the first packet of the response. Isaac Rivera Senior Flash Developer Audience P

Re: [Flashcoders] updating the ide-players

2006-03-16 Thread Isaac Rivera
You are assuming the player is updated and the IDE is miss-reporting the version. How do you come to this conclusion? Assuming the players are the same inside and outside the IDE, why do they report the correct version when run outside the IDE (i.e. clicking on a swf on the desktop and ru

Re: [Flashcoders] updating the ide-players

2006-03-16 Thread Isaac Rivera
That has nothing to do with this issue. The uninstaller removes the internet player, not the stand alone players. Running the uninstaller and then checking for the stand- alones confirms it. However, just to prove myself wrong and solve the issue. I did. Then re-installed. In any case, t

[Flashcoders] More Player update problems...

2006-03-16 Thread Isaac Rivera
Ok, not only I cant get the player in the authoring environment to update (it continues to trace "8,0,22,0"), but after replacing the projector players included in the macromedia downloads for mac: http://download.macromedia.com/pub/flashplayer/updaters/8/ sa_flashplayer_8_all_release.hqx

[Flashcoders] Updating the authoring player.

2006-03-15 Thread Isaac Rivera
change a string and it reports incorrectly) or is there a player somewhere beyond the scope of Spotlight that needs updating as well? Isaac Rivera ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chatty

[Flashcoders] Authoring Test player version update?

2006-03-15 Thread Isaac Rivera
change a string and it reports incorrectly) or is there a player somewhere beyond the scope of Spotlight that needs updating as well? Isaac Rivera ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chatty

[Flashcoders] clicking through an iframe on mozilla-based browsers ?

2006-03-07 Thread Isaac Rivera
I happen to be trying to make this work for a flash movie behind the transparent iframe, but it could be anything interactive behind the iframe the problem is the same. On mozilla based browsers, the iframe prevents a click through it to whaever is behind, not so on IE/PC where the interact

Re: [Flashcoders] When singletons go bad

2006-02-20 Thread Isaac Rivera
I do not understand your implementation of this pattern. Classically, in single-threaded environments like the flash player, Singleton is implemented as below (using your nomenclature): class MyManager { private static _myManager: MyManager = null; public static function getI

Re: [Flashcoders] Flash player 8.5 and ActionScript 3.0

2005-10-09 Thread Isaac Rivera
But we CAN see how it has so far gone with .NET. No official port for Mac. And that has been out for several years. Avalon will probably not be implemented for Mac at all. Nor other platforms (OSes) which means it will not be a realistic platform for web, as opposed to Flash... or Java. I

Re: [Flashcoders] Flash player 8.5 and ActionScript 3.0

2005-10-09 Thread Isaac Rivera
I was answering a specific statement. Read Ryanm's entry, I believe it was quoted in my response. It stated that all platforms with IE7 would be able to consume Avalon web apps. Apparently IE7 will carry the .NET runtime as part of the application. There is no IE7 for Mac. Isaac On Oct 9,

Re: [Flashcoders] Flash player 8.5 and ActionScript 3.0

2005-10-09 Thread Isaac Rivera
Microsoft officially abandoned IE development for the Mac with version 5.0.3, so Avalon apps will not be "consumable" from a mac. You PC developers need to be up to date on your own news. Isaac On Oct 8, 2005, at 7:48 PM, ryanm wrote: Yes, .NET web applications running on MS can be consumed

Re: [Flashcoders] Flash player 8.5 and ActionScript 3.0

2005-10-08 Thread Isaac Rivera
I would say all too common... when it comes to MS... On Oct 8, 2005, at 7:17 PM, Weyert de Boer wrote: :-) Always possible. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders __

Re: [Flashcoders] Flash player 8.5 and ActionScript 3.0

2005-10-08 Thread Isaac Rivera
I know that MS has stated that they would port .NET to ALL platforms. Let's see. Until there is an official, up to date, fully capable, Darwin port, there is an even better alternative than mono... JVM can be developed and deployed everywhere with community-approved products. Isaac On Oc

Re: [Flashcoders] Flash player 8.5 and ActionScript 3.0

2005-10-08 Thread Isaac Rivera
Yes, .NET web applications running on MS can be consumed from any platform, But I believe the point he was making was regarding Avalon apps. Isn't Avalon for developing desktop apps? That is the point I was talking about. Isaac On Oct 8, 2005, at 1:38 PM, ryanm wrote: I fail to see the r

Re: [Flashcoders] Flash player 8.5 and ActionScript 3.0

2005-10-07 Thread Isaac Rivera
ze user who makes windoze apps only for windoze desktops and servers, I would definitely be using C# and .NET, but then again... Isaac Rivera Although, MS has actually come up with quite a compelling tool. You basically get a flash-like tool with timelines and graphics (plus 3D), but with

Re: [Flashcoders] Flash player 8.5 and ActionScript 3.0

2005-10-07 Thread Isaac Rivera
windoze user who makes windoze apps only for windoze desktops and servers, I would definitely be using C# and .NET, but then again... Isaac Rivera Although, MS has actually come up with quite a compelling tool. You basically get a flash-like tool with timelines and graphics (plus 3D), but

Re: [Flashcoders] Scroll pane first-click bug?

2005-10-07 Thread Isaac Rivera
That might be true, but ScrollPane worked fine for me before and now it has at least 3 related bugs that are notorious and annoying. What did I do to get them? I reexported an application as version 7 in Flash 8! On Oct 6, 2005, at 4:39 PM, Michael Stuhr wrote: Isaac Rivera schrieb