Re: [Flashcoders] Remove elements from Array

2006-12-22 Thread Arindam Dhar
Try this, var myArray1:Array = new Array(); myArray1.push( new Array(A:, -1) ); myArray1.push( new Array(B:, -1) ); myArray1.push( new Array(C:, 0) ); myArray1.push( new Array(D:, 0) ); myArray1.push( new Array(E:, -1) ); myArray1.push( new Array(F:, 1) ); myArray1.push( new Array(G:, 0)

Re: [Flashcoders] AS 3 IDE linux info

2006-12-22 Thread Arul
actionscript.vim http://mannu.livejournal.com/350826.html Flex 2 for Linux http://www.mepis.org/node/11682 Visual Guide.Flex 2: Setting up Flex 2 SDK on Fedora Core 6 - Part 1 - Installing Flash Player 9 http://www.shockwave-india.com/blog/?archive=2006_12_01_archive.xml#116617365373230749

[Flashcoders] Re: Encrypt xml

2006-12-22 Thread Berkay Unal
Anyone has an idea? On 12/22/06, Berkay Unal [EMAIL PROTECTED] wrote: Hi Coders, I have created an application that is working on xml. The swf is secured with an encryptor. My problem is since the application is based on xml if some changes the xml file the content of the swf changes. What i

[Flashcoders] A little AS3 AMFPHP 1.9 HowTo

2006-12-22 Thread Morten Reinholdt
Hey All If it is of any interest I have made a small and simple tutorial about how to connect actionscript 3 whit AMFPHP 1.9 you can find it on my blog at http://flashorbit.com/?page_id=53 -- Morten Reinholdt - Flash Developer - TBWA\PLAY blog: flashorbit.com http://flashorbit.com

[Flashcoders] Job openings in Hilversum, The Netherlands

2006-12-22 Thread Dennis - I Sioux
Hey, The company i work for is searching for new flash (and php) people. There are several job openings, for people with lots of experience but also with acceptable flash knowledge.. experience with FMS is a plus. We are located in Hilversum in The Netherlands. If anyone is intrested for more

Re: [Flashcoders] Encrypt xml

2006-12-22 Thread R�kos Attila
Well, unfortunatelly you cannot encrypt it to be totally secure, since you can use any kind of encryption, by decompiling your swf it can be decrypted, too. However for most of the cases I think there are some solutions, but everything depends on the skills and resolution of those, who are trying

Re: [Flashcoders] Encrypt xml

2006-12-22 Thread Berkay Unal
Hi Thanks for the reply. i was thinking of the 3rd one embedding the xml into a variable in flash. Then use ayemata encrypt it. Have u got any exprience on ayemeta. can it be decrypt in ease? thanks On 12/22/06, Rákos Attila [EMAIL PROTECTED] wrote: Well, unfortunatelly you cannot

Re: [Flashcoders] Drawing pie charts?? (using Flash MX)

2006-12-22 Thread Darren Cook
A month ago, Boyd asked: Anyone know where to find algorythms or code scraps that would let me draw pie graphs using dynamic data? I am using the older Flash 6. And, also a month ago, Eric Dolecki asked: Q: Has anyone seen a dynamic pie chart component that allows one to add slices with code,

Re[2]: [Flashcoders] Encrypt xml

2006-12-22 Thread R�kos Attila
BU i was thinking of the 3rd one embedding the xml into a BU variable in flash. Or may be better to create a structure of objects and arrays instead of an XML string. Once I developed a level designer for a game and it saved its quite huge output as XML and as an ActionScript source file which

Re: Re[2]: [Flashcoders] Encrypt xml

2006-12-22 Thread Berkay Unal
Hi Rakos, I have another question. Is there any encoding that supports nonunicode character like çöşğiü. I have problem in base8 and base64 On 12/22/06, Rákos Attila [EMAIL PROTECTED] wrote: BU i was thinking of the 3rd one embedding the xml into a BU variable in flash. Or may be better to

Re: Re[2]: [Flashcoders] Encrypt xml

2006-12-22 Thread Berkay Unal
Edited: non latin characters i mean like çöşğiü. On 12/22/06, Berkay Unal [EMAIL PROTECTED] wrote: Hi Rakos, I have another question. Is there any encoding that supports nonunicode character like çöşğiü. I have problem in base8 and base64 On 12/22/06, Rákos Attila [EMAIL PROTECTED] wrote:

Re[4]: [Flashcoders] Encrypt xml

2006-12-22 Thread R�kos Attila
Base64 should work with any characters since it processes simple byte streams, so doesn't care any character encoding or such things. Attila ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

Re: Re[4]: [Flashcoders] Encrypt xml

2006-12-22 Thread Berkay Unal
Well it does not ;) On 12/22/06, Rákos Attila [EMAIL PROTECTED] wrote: Base64 should work with any characters since it processes simple byte streams, so doesn't care any character encoding or such things. Attila ___

RE: [Flashcoders] Measuring width of some text

2006-12-22 Thread Van De Velde Hans
Just a txt.textWidth should do the trick -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Perdue, Blake Sent: donderdag 21 december 2006 22:28 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Measuring width of some text I need to measure

Re: [Flashcoders] Embed text Problem

2006-12-22 Thread kamal Priyashantha
I think we can this code for avoid the problem,Thank you all for HELP TextField.prototype.setOnPixel = function () { this._y = Math.round(this._y); this._x = Math.round(this._x); this._height = Math.round(this._height); this._width = Math.round(this._width); }; On 12/21/06,

[Flashcoders] Flash Game - Post Encrypted Score to server side script

2006-12-22 Thread JulianG
Hello: I'm developing a small flash game for a website. Users must register and log-in before they're allowed to post their scores to the back-end. Nevertheless I don't want to have the scores posted in a simple way, because someone could easily, sign up, log-in, and then post a higher score

RE: [Flashcoders] Flash Game - Post Encrypted Score to server sidescript

2006-12-22 Thread Danny Kodicek
I'm developing a small flash game for a website. Users must register and log-in before they're allowed to post their scores to the back-end. Nevertheless I don't want to have the scores posted in a simple way, because someone could easily, sign up, log-in, and then post a higher score

Re: [Flashcoders] form

2006-12-22 Thread kamal Priyashantha
i think this will one be help, http://proto.layer51.com/d.aspx?f=101 Kamal. On 12/21/06, Pablo PARRADO [EMAIL PROTECTED] wrote: I have // get message remplimsg=1; vmsg = monclip.msg.text; I need a function to fill the text with letters, not spaces

[Flashcoders] Q:AS2 AS3 and loop speed

2006-12-22 Thread moveup
I know this has been discussed ad nauseam for as1, but what's the scoop on loop speed differences for as2, and as3? Is there as much of a difference between for, do while loops etc? [e] jbach at bitstream.ca [c] 416.668.0034 [w] www.bitstream.ca

[Flashcoders] asfunction problem

2006-12-22 Thread natalia Vikhtinskaya
Hi I have xml file with with asfunction ?xml version=1.0 encoding=utf-8? content information desc![CDATA[text text a href=\'asfunction:showScript, script1\'link/atext text ]]/desc /information /content and function showScript(script) { } in the clip with text box on the layer. Clip has

[Flashcoders] Tween.onMotionChanged question

2006-12-22 Thread Mendelsohn, Michael
Hi list... I have a class that has a movie clip mc in it that when clicked, rotates another movie clip mc2. As the tween progresses, I want it to also affect some other things within the class, but I can't seem to correctly reference instances of this class from within the onMotionChanged

Re: [Flashcoders] Flash Game - Post Encrypted Score to server side script

2006-12-22 Thread john
Quoting JulianG [EMAIL PROTECTED]: Hello: I'm developing a small flash game for a website. Users must register and log-in before they're allowed to post their scores to the back-end. Nevertheless I don't want to have the scores posted in a simple way, because someone could easily, sign up,

Re: [Flashcoders] Flash Game - Post Encrypted Score to server sidescript

2006-12-22 Thread JulianG
Thanks Danny! There is a prize involved, but no money. I mean users do not pay for this. I'll take a look at the SHA-1 algorithm. Of course hackers will be able to find the encryption string by decompiling the SWF. So I might need some code obfuscation, which I'm not a big fan of. Thanks,

RE: [Flashcoders] asfunction problem

2006-12-22 Thread INK
Hi there! Truncate a CDATA text a little like this ![CDATA[text text a href=asfunction:showScript, script1link/atext text ]] and check this out. Working for me just great. var aaa = new XML(); aaa.ignoreWhite = true; aaa.load(in.xml); aaa.onLoad = function() { str= new

Re: [Flashcoders] asfunction problem

2006-12-22 Thread natalia Vikhtinskaya
THANK YOU! 2006/12/22, INK [EMAIL PROTECTED]: Hi there! Truncate a CDATA text a little like this ![CDATA[text text a href=asfunction:showScript, script1link/atext text ]] and check this out. Working for me just great. var aaa = new XML(); aaa.ignoreWhite = true; aaa.load(in.xml); aaa.onLoad

[Flashcoders] Flash on Wii

2006-12-22 Thread Josh Santangelo
The Wii's Internet Channel launched today, which is basically a downloadable version of Opera. Of course the first thing I did after getting it was check out what version of Flash was included. getVersion() returns WII 7.0.70.0. Kind of lame that it's only Flash 7. It looks like

Re: [Flashcoders] Flash Game - Post Encrypted Score to server side script

2006-12-22 Thread JulianG
Thanks John! ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and

Re: [Flashcoders] Flash Game - Post Encrypted Score to server side script

2006-12-22 Thread Mick G
You can also try checking the HTTP referrer in PHP to make sure people can only post data to your PHP script from your page on your site. On 12/22/06, JulianG [EMAIL PROTECTED] wrote: Thanks John! ___ Flashcoders@chattyfig.figleaf.com To change your

RE: [Flashcoders] Remove elements from Array

2006-12-22 Thread Steven Sacks | BLITZ
That's a fantastic example of over-architecting if I ever saw one. Put away your epeen! ;) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Arindam Dhar Sent: Friday, December 22, 2006 12:10 AM To: Flashcoders mailing list Subject: Re:

[Flashcoders] setFocus problem

2006-12-22 Thread natalia Vikhtinskaya
Hi I have form in separate swf file with Selection.setFocus(name_txt); When I test this file this text box has focus and everything works well. When this swf loads to main file I don't see a focus and I can not enter a text to any of the text box. What kind of problem can be with this

Re: [Flashcoders] AS 3 IDE linux info

2006-12-22 Thread Dustin Krysak
great! Thanks for the links! Dustin On 12/21/06, Arul [EMAIL PROTECTED] wrote: actionscript.vim http://mannu.livejournal.com/350826.html Flex 2 for Linux http://www.mepis.org/node/11682 Visual Guide.Flex 2: Setting up Flex 2 SDK on Fedora Core 6 - Part 1 - Installing Flash Player 9

Re: [Flashcoders] ActionScript switch/default syntax and interpretation

2006-12-22 Thread Mark Lapasa
Good question. Great thread. -mL T. Michael Keesey wrote: On 12/21/06, Wagner Amaral [EMAIL PROTECTED] wrote: The last break on default is considered by some to be a coding standard, by which you explicitly say you wanted to leave the default block empty, and not just simply forgot. Also, if

Re: [Flashcoders] Flash Game - Post Encrypted Score to server sidescript

2006-12-22 Thread Ron Wheeler
There was a long discussion about this a while ago. You might try searching the archives or using Google. One of the suggestions was to track the progress of the game rather than just the final score. If you build a small Finite State Machine on the server side and have the client report

Re: [Flashcoders] Q:Simulate HTML anchors in html text

2006-12-22 Thread vipin chandran
I have also faced same issue, where i wanted to put anchors in html display of one of my projects, and i could not do it. If you can be little more specifics, that will be geat! On 12/21/06, Jason Lutes [EMAIL PROTECTED] wrote: I made a couple of glossary-type applications that use the same

Re: [Flashcoders] A little AS3 AMFPHP 1.9 HowTo

2006-12-22 Thread T. Michael Keesey
One of the comments was asking how to set credentials. You can do it like so: gateway.addHeader(Credentials, true, {userid: xxx, password: xxx}); I've actually developed a little AS3 package for AMFPHP remoting. It includes these classes: Credentials, RemoteCall, RemoteMethod, RemoteService.

Re: [Flashcoders] A little AS3 AMFPHP 1.9 HowTo

2006-12-22 Thread slangeberg
Are you going to post the PHP code for 'Phonebook.getAll'? I know what webservices look like in CF, but not PHP. Thanks, -Scott On 12/22/06, Morten Reinholdt [EMAIL PROTECTED] wrote: Hey All If it is of any interest I have made a small and simple tutorial about how to connect actionscript

Re: [Flashcoders] A little AS3 AMFPHP 1.9 HowTo

2006-12-22 Thread eka
Hello :) You can try to use my OpenSource AS2/AS3/SSAS Framework who contains a remoting package : - http://vegas.riaforge.org/ 1 - install the sources in your system with subversion or the zip file in RIAForge 2 - use Vegas in your flex AS3 or MXML project 3 - use the package

Re: [Flashcoders] Q:AS2 AS3 and loop speed

2006-12-22 Thread greg h
Hi jbach, You ask about differences for as2, and as3. But you preface it with I know this has been discussed ad nauseam for as1. I think any performance comparisons of AS1 to AS3 would be the same for AS2 to AS3. fwiw, my understanding is that *at runtime* AS1 and AS2 are one-and-the-same.

[Flashcoders] Help with custom button (AS3)

2006-12-22 Thread Reid Priedhorsky
Hi folks, I am trying to create a custom Button in AS3 using the Flex 2 SDK. It is pretty simple; I just want it to be a wedge shape that I can rotate to point in an arbitrary direction. My code is attached below, but I'm stuck on two issues: 1. Making it behave as regular buttons do in

RE: [Flashcoders] Remove elements from Array

2006-12-22 Thread Brake, Stephen
I have a Flex question. I have been considering FLEX 2.0, but when I spoke with the guy at Adobe, the first thing he told me was that FLEX could not consume web services without Flex Data Services and the price he quoted me for the Departmental License was (well, lets not say). Is this true,

[Flashcoders] problem with combobox within another clip

2006-12-22 Thread natalia Vikhtinskaya
Hi to all Can anybody help me with this problem? I have combobox in swf file. This loading works well _root.loadMovie(movie.swf); but with this _root.holder.loadMovie(movie.swf); combobox does not work I need to load this swf in holder clip and don't know how to solve the problem. Thank you for