RE: [Flashcoders] Multilingual video with Flash

2007-09-14 Thread Chris Foster
For a guaranteed solution I'd recommend using separate videos, each with their own soundtrack. It'll completely remove any sync issues that would surface with separated audio tracks. Chris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Norman

[Flashcoders] REV. How to override or change functions in MovieclipLoader

2007-09-14 Thread julian atienza
Hi, excuse my english again. I made this question in past but i hadn't any answer. I will try to explain it better... How could i change some information on the fly about data received but a MovieclipLoader. I'm programming a stand-alone application in ActionsScript 2 with Flash 8 Pro and MDM

Re: [Flashcoders] test

2007-09-14 Thread Omar Fouad
Copy that! On 9/12/07, Surendar Reddy [EMAIL PROTECTED] wrote: Testing Mail please just ignore Surendar Reddy.K Software Developer [EMAIL PROTECTED] Ocimum Biosolutions ...enabling RD 6th Floor, Reliance Classic, Road No.1, Banjara Hills, Hyderabad - 500 034, A.P, India Business Phone:

Re: [FlashCoders] AS3 TextFields with filters - game performance?

2007-09-14 Thread James Marsden
you'll only get a performance hit if the textfields are updating frequently. As soon as you apply a filter, the image is converted to a bitmap anyhoo (I believe). If your fields rarely change, it shouldn't be an issue. J EECOLOR wrote: I do not know what the performance inpact is of

Re: [FlashCoders] AS3 TextFields with filters - game performance?

2007-09-14 Thread Jon Bradley
On Sep 13, 2007, at 9:52 AM, Dimitrios Bendilas wrote: My major concern is performance, because of the use of filters. By the way, I want to use the filters so that I won't have to make a new Raster Font Engine in Flash (I've already done one for AS2.0) First thought for performance

Re: [Flashcoders] TWeener custom class property tweening

2007-09-14 Thread Jiri Heitlager
Thanks Zeh, that is exactly what I want to achieve. My apologize that I didn't tested the most obvious first :) Jiri Zeh Fernando wrote: Hey Jiri, I'm not sure if I'm getting it right; but if you want to animate a property of a class, you don't need to register anything. The special

Re: [Flashcoders] flash contact form backend

2007-09-14 Thread robert nikolic
Many people replied instantly and many thanks for that because we visited those links and got more ideas. What we eventually implemented is (flash) on submit click --- var my_lv:LoadVars = new LoadVars(); my_lv.Name = ta_firstName.text; my_lv.Surname =

[Flashcoders] Formatting number to 2 decimal places

2007-09-14 Thread Paul Steven
I would be interested to know how people format numbers in AS3 to 2 decimal places. I am currently using the following but it does not always appear to work: var displayPercentageValue:Number = Math.round(percentageValue / .01) * .01; Sometimes it seems to be displaying correctly, sometimes it

[Flashcoders] static vs singleton

2007-09-14 Thread Alan Watts
hi all, I have a model class that contains xml data for a file I am manipulating. What would be the difference between setting it up as a singleton and just accessing it via static vars and methods? myFile.load(file name='oldName'); myFile.setFileName('NewFileName'); with the class

[Flashcoders] Popup blocker triggered

2007-09-14 Thread Michael Trim
Can anyone tell me why this triggers the IE7 popup blocker? Was supplied to me in a banner from a client and was surprised by the behavior. -- Stage.addEventListener(MouseEvent.CLICK, reportClick); function reportClick (myevent:MouseEvent):void

Re: [Flashcoders] Property check works differently in CS3? seems SOLVED

2007-09-14 Thread Gregory N
Well, client reports that all is working properly now (even w/o renaming getters/setters). So, it turns to be a kind of CS3 horror story. However, if someone has any findings about differences between Flash 8 vs. Flash CS3 compilers (AS2), such information is always appreciated :-) On 9/12/07,

[Flashcoders] Array ordering

2007-09-14 Thread Gilles Roquefeuil
Hello, i know it must be simple, but how do i generate a copy of an array of clips, ordered by one of the props of the clip (increasing _x for instance) ? thanx, Gilles ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or

[Flashcoders] protecting graphics

2007-09-14 Thread Stanford Vinson
I am looking for a way to make it very difficult for a user who downloads my flash APP to extract the graphics. Can anyone help? Here is my situation: I am making a project that allows its users to download very complex maps as swfs. They are vector based created orignally from illustrator.

Re: [Flashcoders] Flash 9 Not importing fl.data.DataProvider.

2007-09-14 Thread Muzak
You'll need to add a component that uses it to your fla, or add the folder that has the classes to the AS3 classpaths. Default on Win XP is: C:\Program Files\Adobe\Adobe Flash CS3\en\Configuration\Component Source\ActionScript 3.0\User Interface If you go the component route, you don't have to

Re: [Flashcoders] Isometic game - zdepth managing for multiple movable characters

2007-09-14 Thread Jiri Heitlager
Thanks everybody for their explanation. I am going to try to implement the z-depth manager as discussed. Jiri Ian Thomas wrote: Hi Jiri, The key here is that you can have 'empty' depth levels i.e. an object at depth 5 and an object at depth 8 with nothing at depth 6 and 7. You can make

RE: [Flashcoders] Prevent Enter Key Playback?

2007-09-14 Thread Hairy Dog Digital
You need to determine where the Enter key is causing this. Is it the event on the Object element in your HTML page or the Flash SWF. Capture the Enter key via an event.keyDown on the Object element in JavaScript in the HTML page and see if the problem still happens. -Original Message-

Re: [Flashcoders] AS3 Sound = wtf

2007-09-14 Thread Robert Brisita
Yeah sound was a bit of code, test, re-read documentation, trail, and error process. I ended up creating an internal class called tSound (light class with 2 members) that contained a Sound and a SoundChannel that is used in a SoundManager for individual sounds. I used the SoundMixer to

Re: [Flashcoders] Reliable way to split a string into an array of lines?

2007-09-14 Thread jtgxbass
I find this fast and reliable... var lines:Array = str.split (\r\n).join(\n).split(\r).join(\n).split(\n); On 9/13/07, Mark Winterhalder [EMAIL PROTECTED] wrote: var lines : Array = (str.indexOf( \r\n ) -1) ? str.split( \r\n ) : str.split( \n ); Or, if you want to take MacOS 9 into

Re: [FlashCoders] AS3 TextFields with filters - game performance?

2007-09-14 Thread Dimitrios Bendilas
Hi James and Erik, I too was thinking that since a textfield will use cacheAsBitmap whenever filters are applied, there will be no performance issues. They won't change often, as James says. I think I'll go with it and there will be no problem. It just sounded too good to be true :) Thanks for

Re: [Flashcoders] static vs singleton

2007-09-14 Thread T. Michael Keesey
On 9/13/07, Alan Watts [EMAIL PROTECTED] wrote: hi all, I have a model class that contains xml data for a file I am manipulating. What would be the difference between setting it up as a singleton and just accessing it via static vars and methods? I wouldn't use either of those solutions,

[Flashcoders] flash remoting msi

2007-09-14 Thread [p e r c e p t i c o n]
anyone besides me experience a problem installing the flash remoting msi from the adobe site... it keeps telling me that i don't have the installshield engine but every other msi seems to work... thanks p ___ Flashcoders@chattyfig.figleaf.com To change

RE: [Flashcoders] static vs singleton

2007-09-14 Thread Norman Cousineau
Seems like using a singleton is a good way to load the xml only once. Calling getInstance() will return the info you need each time. The getInstance function can be static. Norm -Original Message- From: Alan Watts [mailto:[EMAIL PROTECTED] Sent: Thursday, September 13, 2007 6:47 PM To:

Re: [Flashcoders] protecting graphics

2007-09-14 Thread [p e r c e p t i c o n]
i can always do a screen capture... On 9/14/07, Stanford Vinson [EMAIL PROTECTED] wrote: I am looking for a way to make it very difficult for a user who downloads my flash APP to extract the graphics. Can anyone help? Here is my situation: I am making a project that allows its users to

Re: [Flashcoders] protecting graphics

2007-09-14 Thread T. Michael Keesey
On 9/14/07, Stanford Vinson [EMAIL PROTECTED] wrote: I am looking for a way to make it very difficult for a user who downloads my flash APP to extract the graphics. Can anyone help? Here is my situation: Do all you want, but you'll never prevent anyone from taking screenshots. I've heard (and

[Flashcoders] [ANN] F-ab 2.3.0 released and available for download

2007-09-14 Thread Jiro Harada
Hello, F-ab 2.3.0 is now available for download. F-ab is a simple browser for Flash movies. This application is a free- ware. In this version, you can register YouTube movies by drag drop and play them. About F-ab F-ab is a simple browser for Flash movies. In F-ab a Flash movie is

[Flashcoders] cs3 remoting...

2007-09-14 Thread [p e r c e p t i c o n]
hi all, can anyone tell me how remoting is accomplished using cs3...the domponents download won't even install without flash 8 installed it appears thanks p ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

Re: [Flashcoders] cs3 remoting...

2007-09-14 Thread Muzak
There's no remoting for cs3. If you want to use remoting for AS2 in Flash CS3, you have to copy it from a Flash 8 install. regards, Muzak - Original Message - From: [p e r c e p t i c o n] [EMAIL PROTECTED] To: flashcoders flashcoders@chattyfig.figleaf.com Sent: Friday, September 14,

Re: [Flashcoders] Array ordering

2007-09-14 Thread Steven Sacks
Array.sortOn(_x, Array.NUMERIC); Gilles Roquefeuil wrote: Hello, i know it must be simple, but how do i generate a copy of an array of clips, ordered by one of the props of the clip (increasing _x for instance) ? thanx, Gilles ___

RE: [Flashcoders] cs3 remoting...

2007-09-14 Thread Palmer, Jim
If you're starting a new project in AS3 just use the NetConnection classes included... http://www.oscartrelles.com/archives/as3_flash_remoting_example -- Jim Palmer ! Mammoth Web Operations -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of [p e r c e

[Flashcoders] LocalConnection class as3

2007-09-14 Thread Patrick Lemiuex
What did somebody forget to drop it into a folder for CS3. It's silly that this wasn't included by default Patrick ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

Re: [Flashcoders] cs3 remoting...

2007-09-14 Thread eka
Hello :) Use my asgard.net.remoting.RemotingService class : project : http://code.google.com/p/vegas/ install : http://code.google.com/p/vegas/wiki/InstallVEGASwithSVN Use the AS3 package in the AS3/trunk/src directory Read this tutorial in french (the end chapter : Remoting AS3 with ASGard)

Re: [Flashcoders] cs3 remoting...

2007-09-14 Thread [p e r c e p t i c o n]
thanks guys! On 9/14/07, Palmer, Jim [EMAIL PROTECTED] wrote: If you're starting a new project in AS3 just use the NetConnection classes included... http://www.oscartrelles.com/archives/as3_flash_remoting_example -- Jim Palmer ! Mammoth Web Operations -Original Message-

Re: [Flashcoders] Formatting number to 2 decimal places

2007-09-14 Thread Andrei Thomaz
and this Math.round(number * 100) / 100; ? []'s andrei On 9/14/07, Paul Steven [EMAIL PROTECTED] wrote: I would be interested to know how people format numbers in AS3 to 2 decimal places. I am currently using the following but it does not always appear to work: var

Re: [Flashcoders] Formatting number to 2 decimal places

2007-09-14 Thread Rich Shupe
function roundToDecimal(val:Number, places:int):Number { var factor:int = Math.pow(10, places) return Math.round(val * factor) / factor; } trace(roundToDecimal(Math.random(), 1)); trace(roundToDecimal(Math.random(), 2)); trace(roundToDecimal(Math.random(), 3));

[Flashcoders] how are they doing this? Papervision3d or pre-rendered 3d?

2007-09-14 Thread Carl Welch
Hi All, Does any one know how this site achieved its card flipping effect? Papervision3d or pre-rendered 3d? http://www.tripleslanguage.com/?CMP=BAC-1TO1Q3TP7042 Thanks. -- Carl Welch [EMAIL PROTECTED] 805.403.4819 ___