RE: [Flashcoders] AS3 scripting, first try - some Q's

2006-07-28 Thread Mike Mountain
Hi Mike, I didnt know FlashCoders was a place to get one's code reviewed for silly mistakes in logic. Hence I just cleared your way from thinking its an AS3 problem. Anyways glad to know you figured it out. You're right, it's not and I did think it was an AS2 - AS3 translation

Re: [Flashcoders] AS3 scripting, first try - some Q's

2006-07-28 Thread Supriya
Well, I was trying to make a light moment. Hope you saw the smiley in the answer. Again this is also a light moment :) . Chill out buddy :) - Original Message - From: Mike Mountain [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Friday, July 28,

[Flashcoders] FLVPlayback connectionError

2006-07-28 Thread Jerome Cordiez
Hello, I finally decided to expose my problem to this list, after seeking a solution for days... Finding out people had the same issues, but no solutions. The problem : I have an FLVPlayback component on the stage, which is supposed to playback some videos... The tricky part being sometimes the

RE: [Flashcoders] AS3 scripting, first try - some Q's

2006-07-28 Thread Mike Mountain
Well my frustration was stoked by the vague error messages being churned out by the compiler. But no sweat. M -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Supriya Sent: 28 July 2006 09:40 To: Flashcoders mailing list Subject: Re:

Re: [Flashcoders] How to change reference?

2006-07-28 Thread natalia Vikhtinskaya
O! Thank you. This is interesting way. 2006/7/27, Mike [EMAIL PROTECTED]: It's a hack, but you can do: as.func1.apply(_root); Might be better to change func1 so that it takes a MovieClip as a parameter. Then you could just do: as.func1(_root); (Although that's still a bit of a hack.)

RE: [Flashcoders] FLVPlayback connectionError

2006-07-28 Thread Matt Haworth
Hi, I can't test this because I'm at work, but could you try setting up two key frames with an FLV playback component in each on the timeline (with the same name/ref), then flick between them in the hope it will reset the component to a default state? It's a bit of a long shot, but I 'fixed'

Re: [Flashcoders] jigsaw puzzle piece algorithm

2006-07-28 Thread Guntur N. Sarwohadi
Hi Danny, Thanks for the reply.. I'm not quite sure to what you mean, but doesn't it sound similar to my current approach? Rather than using arrays, you suggested objects. Please correct me if I'm wrong. Cheers, Guntur N. Sarwohadi ___

Re: [Flashcoders] FLVPlayback connectionError

2006-07-28 Thread Jerome Cordiez
Hi, thanks a lot! Actually, if not proven wrong, i will believe this is the best work-around :) What I did : embed the flvplayback component in a 3 keyframes movieclip : frame 1 blank frame 2 with the video component and a stop action frame 3 with the default error picture According to the

Re: [Flashcoders] How to change reference?

2006-07-28 Thread Arul Prasad M L
_root.attachMovie(as,as,100); _root.something = _root.as.something; wont this provide u a reference at the root level ? ~Arul Prasad On 7/27/06, natalia Vikhtinskaya [EMAIL PROTECTED] wrote: Hi I attach clip with this code: _root.attachMovie(as,as,100); Is it possible to change reference

[Flashcoders] Video project - advice

2006-07-28 Thread Jason Ross
Hi - I have been asked to create a Flash based application to present a few hundred video clips. The application needs to be delivered on both CD-Rom and Web (standard web server i.e. not Flash Streaming Servers). I am fine with AS but have not used Flash video for a while! The application needs

Re: [Flashcoders] Video project - advice

2006-07-28 Thread Arul Prasad M L
Also - does the FLVPlayback component work with Flash player 7.0? NO. You wont be able to publish the FLA with a FLVPlayback component, to Flash Player 7.0 swf. If you can get ur clients ( or boss ) to agree for Flash player 8, you can use FLVPlayback component. FLVPlayback works well with local

[Flashcoders] Dynamically loading a Shared Library symbol

2006-07-28 Thread Jake Prime
Hi all Is there any way to dynamically set the path for loading a shared library object? I am using a shared library system to have a central store for all fonts in a mulitlanguage site. Unfortunately I'm not permitted to use relative links in the site. I am being given an absolute root path as

[Flashcoders] Decompiler for AS3

2006-07-28 Thread Mike Mountain
We're discussing on the HaXe mailing list whether it would be possible to decompile from Flash 8/AS2 swfs to Haxe, then (when the support is added) recompile to Flash9/AS3 swfs to help speed up AS2 to AS3 conversion. Obvious stumbling block at the moment is nothing decompiles to HaXe, but as a

Re: [Flashcoders] Decompiler for AS3

2006-07-28 Thread eka
Hello :) you can send a message in the flare and flasm website ? http://www.nowrap.de/flare.html in Kontakt ? EKA+ :) 2006/7/28, Mike Mountain [EMAIL PROTECTED]: We're discussing on the HaXe mailing list whether it would be possible to decompile from Flash 8/AS2 swfs to Haxe, then

RE: [Flashcoders] String Empowerment

2006-07-28 Thread Bernard Visscher
Maybe you can do something with this. It's an implemenataion of the Damerau-Levenshtein distance. The output is equal to the minimal number of insertions, deletions, substitutions and transpositions needed to transform one string into the other. Could be handy for a spellchecker... It's not

Re: [Flashcoders] AS3 Compiler For MAC OS X

2006-07-28 Thread Mark Winterhalder
On 7/28/06, CK [EMAIL PROTECTED] wrote: Hi, Thanks, found the AS3 Preview (Flash 9 Alpha) release from http:// labs.adobe.com/, this allows use of AS3 in the FLASH IDE. Any advantages to the command line over the IDE. Better integration with third-party editors, automatic builds, etc. Mark

Re: [Flashcoders] AS3 Compiler For MAC OS X

2006-07-28 Thread CK
Hi, How would one go about using the command line compiler in MAC OS X? Return True, CK Principal/Designer/Programmer -Bushidodeep www.bushidodeep.com ___ An ideal is merely the projection, on an enormously enlarged scale, of some aspect of personality.

Re: Re: Re: [Flashcoders] Mac IDE for AS !

2006-07-28 Thread Joeri van Oostveen
I have been working with FDT / Eclipse 3.2 on my Macs now for several months. I used Eclipse with ASDT before that, with Flashout, but found them too buggy. FDT has a more recent release than 1.0.4, using the remote site: http://fdt.powerflasher.com/updateTest/ With the beta releases of 3.2 I

Re: [Flashcoders] FLVPlayback connectionError

2006-07-28 Thread Steve Krichten
One thing to note about the FLV Playback component is that under the hood it uses VideoPlayer Objects. I believe if you use SMIL to make the player play multiple videos, the FLV Playback will use a new VideoPlayer Object for each new video that is requested. If you are not using SMIL, it

Re: [Flashcoders] Known issues with flv playback component in flash 9 player?

2006-07-28 Thread Steve Krichten
I have a couple apps that use the FLV Playback component. They work fine with Flash Player 9. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] Known issues with flv playback component in flash9 player?

2006-07-28 Thread Wouter
Thanx a lot for your reply... Anybody knows about issues with the MediaDisplay and MediaController component not working correctly in Flash 9 Player? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Krichten Sent: Friday, July 28, 2006 3:45 PM To:

[Flashcoders] 5 Star Rating System

2006-07-28 Thread [EMAIL PROTECTED] Ammor
Hi, Can somebody give me a tutorial or a link to fla source of a nice 5 Star Rating System with XML back end... Pliz help ! ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

RE: [SPAM] RE: [Flashcoders] String Empowerment

2006-07-28 Thread Steven Sacks | BLITZ
Just a quick note on capitalize() String.toUpperCase() and String.toLowerCase() are part of ActionScript 1 since Flash 5 Capitalize is different than toUpperCase and toLowerCase. Those convert the entire string, capitalize only uppercases the first character and then lowercases the rest of

RE: [Flashcoders] 5 Star Rating System

2006-07-28 Thread Steven Sacks | BLITZ
http://chattyfig.figleaf.com/pipermail/flashcoders/2006-April/164718.htm l hi hello how do I make a multi-player game in flash its got to have lasers thank you -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Ammor

Re: [Flashcoders] ActionScript Application Framework

2006-07-28 Thread Steve Krichten
I disagree, Arp and Cairngorm are architectural frameworks. Flex is an application framework. From what I understand Rails is primarily an application framework with some architectural elements as well. So I would say... Rails is to Ruby as Flex ( + optinally Arp or Caringorm) is to Flash.

[Flashcoders] load/send XML data | Flash/JavaScript Integration Kit

2006-07-28 Thread Maziak, Peter
I have a flash app that gets populated by parsing data from an external XML file. However, my JSP development team tells me that to keep the XML in a session it would be better to load the XML as a string from the HTML (JSP). Is it possible to put the XML into a hidden input field within a form

[Flashcoders] iRiver Clix

2006-07-28 Thread eric dolecki
Has anyone been able to get an MP3 file external to the SWF load play on the iRiver Clix? I wonder if iRiver is preventing the player from allowing that because its a PlaysForSure device, etc. The player on the Clix is great (FlashLite2/F7), but it seems that if I want to play audio, it has to

Re: [SPAM] RE: [Flashcoders] String Empowerment

2006-07-28 Thread Arul Prasad M L
Those convert the entire string, capitalize only uppercases the first character and then lowercases the rest of the characters. umm... Title Case as MS Word calls it... ~Arul Prasad On 7/28/06, Steven Sacks | BLITZ [EMAIL PROTECTED] wrote: Just a quick note on capitalize()

RE: [Flashcoders] load/send XML data | Flash/JavaScript Integration Kit

2006-07-28 Thread Matthew Simpson
Or is there a better approach to get the XML in and out of Flash (other than an external file)? Yes, load the data dynamically from the servlet and forget the external XML file altogether. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Maziak, Peter

Re: [Flashcoders] load/send XML data | Flash/JavaScript Integration Kit

2006-07-28 Thread Telmo Dias
Hi Peter, I'm not sure this is what you are looking for, but I have used this approach several times and it works great for me. I usually connect flash to PHP, but it should be the same way for JSP. This is PHP code. Have your JSP process whatever it has to process in order to get the data.

[Flashcoders] How to declare an instance in a MovieClip in a AS3 class

2006-07-28 Thread Fumio Nonaka
In a ActionScript 3.0 class how is an instance placed in a MovieClip symbol with which the class is associated declared? In ActionScript 2.0 an instance can be simply declared with 'var'. // ActionScript 2.0 class definition: ButtonTest.as // This is associated with a MovieClip symbol class

RE: [SPAM] RE: [Flashcoders] String Empowerment

2006-07-28 Thread Steven Sacks | BLITZ
umm... Title Case as MS Word calls it... Title Case in Word is different than capitalize. Title Case capitalizes every word in a string. Capitalize only capitalizes the first character of the string. However, toTitleCase() would be a handy method. I'll code it.

RE: [Flashcoders] load/send XML data | Flash/JavaScript Integration Kit

2006-07-28 Thread Merrill, Jason
Is it possible they can send you an XML string through a webservice? I was in a similar situation and my team developed a SOAP webservice I call from Flash which is just an XML string. Jason Merrill Bank of America Learning Organization Effectiveness - Technology Solutions

RE: [SPAM] RE: [Flashcoders] String Empowerment

2006-07-28 Thread Mike
If you REALLY wanted to be fancy, you could have it accept an array of words *not* to capitalize (unless they are the first word). For example: var lowerCaseWords:Array = [a, an, and, of, the]; trace(a tale of two cities.toTitleCase(lowerCaseWords)); trace(THE PRINCE AND THE

[Flashcoders] Date Empowerment

2006-07-28 Thread Steven Sacks | BLITZ
The next in my Empowerment series of scripts tackles the Date object. Rails introduced a ton of great shortcuts and methods to their Time object, the equivalent to the Date object in Flash (though much easier to use). I've appropriated all their methods and added a few more. There are some great

RE: [Flashcoders] Date Empowerment

2006-07-28 Thread Steven Sacks | BLITZ
BLITZ | Steven Sacks - 310-551-0200 x209 -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Steven Sacks | BLITZ Sent: Friday, July 28, 2006 12:22 PM To: Flashcoders mailing list Subject: [Flashcoders] Date Empowerment The next in my

RE: [Flashcoders] Date Empowerment

2006-07-28 Thread Steven Sacks | BLITZ
Oops that last message got messed up: - A quick fix to two methods that should have used weeks not days in their change methods. // Sets date representing the start of the given day in next week (default is Monday). Date.prototype.nextWeek =

RE: [SPAM] RE: [Flashcoders] String Empowerment

2006-07-28 Thread Steven Sacks | BLITZ
Here's toTitleCase: String.prototype.toTitleCase = function() { var a = this.length; if (a == 0) return ; var c; var w; var s = ; while (--a -(-1)) { c = this.charCodeAt(a); w = this.charAt(a - 1); w =

Re: [Flashcoders] How to declare an instance in a MovieClip in a AS3 class

2006-07-28 Thread Fumio Nonaka
I am sorry for invalid data typing. _ Fumio Nonaka wrote: However, ActionScript 3.0 yields a compile error to the class definition below. // ActionScript 3.0 class definition: ButtonTest.as // This is associated with a MovieClip symbol package { import flash.display.MovieClip;

[Flashcoders] Job Opening in Seattle

2006-07-28 Thread Keldon Rush
Hello Flashcoders, We have a job opening for a Software Developer mainly on Flash Lite, mobile, and other non-PC platforms where Flash is or is becoming viable. We need a very strong developer with full understanding of OOP and ideally with experience developing in mobile or other memory

RE: [Flashcoders] 5 Star Rating System

2006-07-28 Thread Dave Watts
Hi, [EMAIL PROTECTED] I'm the list admin. Hi, Can somebody give me a tutorial or a link to fla source of a nice 5 Star Rating System with XML back end... Pliz help ! This is not the appropriate place to ask this question. I don't know where the appropriate place would be, but I do know

[Flashcoders] Get embed page URL with Actionscript?

2006-07-28 Thread kbaker
I am trying to find a way to get the URL of the embedded page with ActionScript. We are providing embed code for users to embed a player on remote sites... sort of the way people are embedding videos on MySpace right now. I'd like to be able to know which sites/web pages are embedding the

[Flashcoders] skinning the DataGrid component

2006-07-28 Thread Tyson Tune
I'm trying to skin the DataGrid component in Flash 8. All I really want to do is turn the background of the grid transparent. I've been able to skin other components by passing an object to the component as I create it. However, I'm having some trouble with DataGrid. Has anyone had any