RE: [Flashcoders] Multilingual content

2007-05-11 Thread Durai Raj
I have tried out the strings panel and locale class. But here the problem is I cant get the text assigned inside the movie Clip. User can also change the language manually by clicking on the button. But I run into a problem assigning the text inside a movieClip. Is there any samples for

Re: [Flashcoders] making movie clips tranparent

2007-05-11 Thread nik crosina
Wow, thanks, all! I'll look into all of these possibilities. Because of deadline pressures I had to stretch my assets on the timeline now, and not use much actionscripting, which sure is not very elegant and I hope there are no bugs in it (luckily just a quick demo). But for the final version

Re: [Flashcoders] level issue

2007-05-11 Thread nik crosina
Thanks, another thing learned! And it cleared up some questions. I think I will use container movie clips, as they are more customisable anyway, isn't it. Levels can't be controlled as such by scripting, can they? NIk On 5/10/07, Latcho [EMAIL PROTECTED] wrote: if swf3 loads into level_1 then

[Flashcoders] Load flash content - version 9.0.45

2007-05-11 Thread Chris McCarthy
Hi everyone, Been working with flash a while now but recently been confused with something. It may be IE7 causing me probs or my flash knowledge fading away. I have a simple image loader below: //---CODE --- var loadingBar_mc:MovieClip; var loadBar_mc:MovieClip =

RE: [Flashcoders] Creating a text highlight tool

2007-05-11 Thread Danny Kodicek
Hi Danny, it would be multi line text and I don't know if it will be center aligned. Maybe some parts will be. I didn't really get the technique you described. Can you please try and describe it again? Or is it possible that you share the code that you have? I can even compensate it

Re: [Flashcoders] wedging in a preloader -- lazy developer alert!

2007-05-11 Thread Ian Thomas
A simple fix - create a wrapper Flash movie, and load the bulky movie in as a child. As long as it doesn't use _root all the time, it should work fine. (And even if it does, you could use _lockroot to fix that). Ian On 5/11/07, Hairy Dog Digital [EMAIL PROTECTED] wrote: Hi all, Wasn't sure

RE: [Flashcoders] wedging in a preloader -- lazy developer alert!

2007-05-11 Thread Hairy Dog Digital
I'll give that a whirl! Thanks! -Original Message- From: Ian Thomas [mailto:[EMAIL PROTECTED] Sent: Friday, May 11, 2007 5:43 AM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] wedging in a preloader -- lazy developer alert! A simple fix - create a wrapper Flash

Re: [Flashcoders] Slow-Running Script alert

2007-05-11 Thread Dave Mennenoh
I've had this happen when styling a bunch of components all at one time. Usually it's some kind of loop, since you need to be stuck in the same code for 15 secs, as other have mentioned. In my case, I was calling an init function within a series of loaded movies. Each movies init styled its

[Flashcoders] FileReference

2007-05-11 Thread Berkay Unal
Hi Coders, I am using file referecence to download file from webserver. It works flawless on my local. I select a save location save and file is there But when i try it on my server. It again pops for me to select the location. I select the location click save. Although it shows as it saved the

Re: [Flashcoders] Slow-Running Script alert

2007-05-11 Thread Johannes Nel
using flasm you can do that with all movies from player 7 upwards, but from a user experience point of view its not nice On 5/10/07, Jobe Makar [EMAIL PROTECTED] wrote: Hi, If a script takes more than 15 seconds to complete then you get that error. AS3/Flash 9 player allows you to modify that

[Flashcoders] [announce]AsWing A3 0.9

2007-05-11 Thread iiley
Hi flasher guys, We are proud to announce the release of AsWing A3 0.9, the details are: *==AsWing A3 0.9=* ――�C Currently all standard component are finished, include(bold are new in 0.9): JButton, JToggleButton, JRadioButton, JCheckBox, JPanel, JScrollBar,

[Flashcoders] Customized shape of flash player

2007-05-11 Thread Waseem Shahzad
How we can make a customized shape of flash player in the internet explorer. Not using masking. I want the flash player are show in the irregular shape not in the rectangular shape of any size. Please help. Thanx in advance. ___

RE: [Flashcoders] Quick syntax q: how to write a function that canreceive an undefined number of parameters

2007-05-11 Thread Smeets, Ben
I think your code won't center correctly does it? Don't know if [] syntax is slower than creating a local var fisrt, but just in case added it. function center(ob1:MovieClip, ob_ar:Array) { var x:Number = ob1._x - (ob1._width/2); var y:Number = ob1._y;

Re: [Flashcoders] Customized shape of flash player

2007-05-11 Thread Johannes Nel
wmode=transparent On 5/11/07, Waseem Shahzad [EMAIL PROTECTED] wrote: How we can make a customized shape of flash player in the internet explorer. Not using masking. I want the flash player are show in the irregular shape not in the rectangular shape of any size. Please help. Thanx in advance.

[Flashcoders] jsapi question

2007-05-11 Thread Jason Law
i've been having alot of issues with changing elements values on the stage using the following code. fl.getDocumentDOM().getTimeline().layers[0].frames[0].elements[1].setTex tString( some text ); The issue is that i'm running this code against different swf templates that get loaded in and

Re: [Flashcoders] Customized shape of flash player

2007-05-11 Thread eric e. dolecki
That can't be done. On 5/11/07, Waseem Shahzad [EMAIL PROTECTED] wrote: How we can make a customized shape of flash player in the internet explorer. Not using masking. I want the flash player are show in the irregular shape not in the rectangular shape of any size. Please help. Thanx in

RE: [Flashcoders] Customized shape of flash player

2007-05-11 Thread Smeets, Ben
Isn't possible without any form of masking. Would be nice though :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Waseem Shahzad Sent: vrijdag 11 mei 2007 15:07 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Customized shape of flash

RE: [Flashcoders] Quick syntax q: how to write a function that canreceive an undefined number of parameters

2007-05-11 Thread Karina Steffens
The parameters received by a function are automatically stored in a built-in array called arguments. So you can do something like this: public static function center(obj1:Object) { var targetX:Number = ob1._x; var targetY:Number = ob1._y; for (var i = 1;

[Flashcoders] Any way to get a local image file into your SWF?

2007-05-11 Thread ben gomez farrell
I know, I know, the FileReference.browse() and .upload() methods were there in Flash 8. I'm wondering if in Flash 9 there's anyway to directly grab that file.maybe you're uploading, and you happen to grab the byteArray as it's being posted. Any chance Flash 9 won't make me do a rountrip

RE: [Flashcoders] Customized shape of flash player

2007-05-11 Thread Merrill, Jason
Isn't possible without any form of masking. Would be nice though :) That can't be done. Yes it can. :) It should be clarified it can't be done natively, but you can do it if you wrap around the Flash player with the Ice Player: http://www.flashants.com/root/iceplayer.shtml Requires the user

RE: [Flashcoders] Customized shape of flash player

2007-05-11 Thread Smeets, Ben
Lol, ah that could indeed be what is enough. Was thinking too difficult. Although I put this in the kind of masking category. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Johannes Nel Sent: vrijdag 11 mei 2007 15:29 To:

RE: [Flashcoders] Customized shape of flash player

2007-05-11 Thread Jason Law
The only way you can create customized flash player shapes is with the use of Apollo, which allows chromeless and transparent areas. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Smeets, Ben Sent: Friday, May 11, 2007 9:56 AM To:

Re: [Flashcoders] Any way to get a local image file into your SWF?

2007-05-11 Thread Muzak
nope - Original Message - From: ben gomez farrell [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Friday, May 11, 2007 4:16 PM Subject: [Flashcoders] Any way to get a local image file into your SWF? I know, I know, the FileReference.browse() and

Re: [Flashcoders] Quick syntax q: how to write a function that can receive an undefined number of parameters

2007-05-11 Thread Steven Sacks
public static function center():Void { var targetClip:MovieClip = MovieClip(arguments.shift()); var i:Number = arguments.length; while (i--) { arguments[i]._x = targetClip._x + (targetClip._width / 2); arguments[i]._y = targetClip._y + (targetClip._height / 2); } }

Re: [Flashcoders] Quick syntax q: how to write a function that canreceive an undefined number of parameters

2007-05-11 Thread Alistair Colling
Thanks Karina this is the sort of thing I was looking for, as you say it may be clearer to code this fn the way I initially said but I was interested in how to code this another way so thanks for helping me. One tiny typo, before someone else does- for (var i = 1; iarguments.length; i++)

Re: [Flashcoders] Quick syntax q: how to write a function that can receive an undefined number of parameters

2007-05-11 Thread Steven Sacks
Even more optimized public static function center():Void { var targetClip:MovieClip = MovieClip(arguments.shift()); centerX:Number = targetClip._x + (targetClip._width / 2); centerY:Number = targetClip._y + (targetClip._height / 2); var i:Number = arguments.length; while (i--)

Re: [Flashcoders] Quick syntax q: how to write a function that can receive an undefined number of parameters

2007-05-11 Thread eka
Hello :) you don't limit your while loop instruction ? while ( --i -1) { } EKA+ :) 2007/5/11, Steven Sacks [EMAIL PROTECTED]: Even more optimized public static function center():Void { var targetClip:MovieClip = MovieClip(arguments.shift()); centerX:Number = targetClip._x +

Re: [Flashcoders] Multilingual content

2007-05-11 Thread Leandro Amano
Hi Durai! My suggestion would be: Record a property instance for each value, in its I register in cadastre in the Array, automatically it catches the absolute address of the object textfield. best regards, Leandro Amano On 5/11/07, Durai Raj [EMAIL PROTECTED] wrote: Thanks for your

[Flashcoders] Layout Manager

2007-05-11 Thread eric e. dolecki
I am looking for a kind of layout manager (easy to use fairly lightweight). I have done a little digging, and haven't found too much. This is for an AS2 project. I have a viewing port, and will fill it with Objects of random size. I only want to make sure that I don't end up clumping items too

Re: [Flashcoders] Quick syntax q: how to write a function that canreceive an undefined number of parameters

2007-05-11 Thread Muzak
i-- will eventually become 0 which (in AS2) is evaluated to false. so while(i--) works fine. regards, Muzak - Original Message - From: eka [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Friday, May 11, 2007 6:33 PM Subject: Re: [Flashcoders] Quick syntax q: how to write

[Flashcoders] Improvements running Flash 8 swfs in Flash Player 9?

2007-05-11 Thread Jonathyn B. Tellez
Hi Coders, I've seen the charts comparing Flash 9 swfs vs. Flash 8's. My question is... are there improvements in speed/stability when running standalone Flash 8 swfs in Flash 9 player vs. in the Flash 8 player? We distribute a couple of our products as desktop apps and are considering

Re: [Flashcoders] Quick syntax q: how to write a function that canreceive an undefined number of parameters

2007-05-11 Thread Steven Sacks
I think he was pointing out how the loop could be optimized even further. Pre-decrementing is faster than post-decrementing. However, his greater than comparison slows it down. The right way to do it is: while (--i -(-1)) { } since subtraction is faster than addition. This is all

Re: [Flashcoders] Quick syntax q: how to write a function that canreceive an undefined number of parameters

2007-05-11 Thread eka
Hello :) Yes it's funny .. i forget the 0 is a boolean in a conditional instruction... the problem with this loop is the negative values. but it's a good notation. After tests... in AS2 this method is more speed. var ar:Array = new Array(50) ; var time ; Key.addListener(this) ;

[Flashcoders] Flash chat options

2007-05-11 Thread Mick G
Does anyone have any suggestions to the best way to implement a Flash based chatroom (Can be commercial, but I have a low budget). I'm after something that utilizes a free XML socket server and something that works efficiently on a server without any nast polling. I've tried implementing

RE: [Flashcoders] Quick syntax q: how to write a function thatcanreceive an undefined number of parameters

2007-05-11 Thread Karina Steffens
You're welcome Ali :) By making more sense I didn't particularly meant clarity, but ease of use. For example, if you're calling this function from method(s)that hardcode the passed clips like in your example, then using arguments makes sense. But what if you're dynamically retrieving those clips

Re: [Flashcoders] Flash chat options

2007-05-11 Thread Mark Winterhalder
Maybe have a look at the Oregano server: http://osflash.org/oregano HTH, Mark On 5/11/07, Mick G [EMAIL PROTECTED] wrote: Does anyone have any suggestions to the best way to implement a Flash based chatroom (Can be commercial, but I have a low budget). I'm after something that utilizes a free

Re: [Flashcoders] Quick syntax q: how to write a functionthat canreceive an undefined number of parameters

2007-05-11 Thread Muzak
- Original Message - From: Steven Sacks [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Friday, May 11, 2007 9:21 PM Subject: Re: [Flashcoders] Quick syntax q: how to write a functionthat canreceive an undefined number of parameters I think he was pointing out how the

RE: [Flashcoders] Flash chat options

2007-05-11 Thread Merrill, Jason
have you checked out Moock's Unity? http://www.moock.org/unity/ Jason Merrill Bank of America GTO Learning Leadership Development eTools Multimedia Team -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mick G Sent: Friday, May 11, 2007 4:19 PM

RE: [Flashcoders] Slow-Running Script alert

2007-05-11 Thread Ash Warren
I had an issue like this the other day and I KNEW it wasn't related to a loop error, actually it is related to a bug with the MovieClipLoader object and loading large files. This trick saved the day: http://www.actionscript.org/forums/showthread.php3?p=559857#post559857 I knew I should have

[Flashcoders] ContextMenu Shows or Not Based on Player Version

2007-05-11 Thread ChrisRM
I have external SWFs that are being loaded down a few layers of dynamically created MCs. My menus show fine in Player 9.0.28.0 but in 9.0.16.0 I get the long, default MM/Adobe menu. Don't know why it is failing. I'm also trying to get this working in Player 7. Basically, my context menus have

Re: [Flashcoders] Flash chat options

2007-05-11 Thread Jobe Makar
Hi, You should check out ElectroServer 3 as well. http://www.electro-server.com Jobe Makar http://www.electrotank.com http://www.electro-server.com phone: 252-627-8026 mobile: 919-609-0408 fax: 919-882-1121 - Original Message - From: Mick G [EMAIL PROTECTED] To: Flashcoders mailing

[Flashcoders] RE: Smooth movement for dynamic text

2007-05-11 Thread pedr browne
Thanks for the replies. Unfortunately there is no way to set Antialias for animation dynamically (or is there?). Have tried messing with sharpness and thickness, but they have little effect. It is as if my laptop has forgotten how to render text smoothly in Flash. I'm even looking back at old

RE: [Flashcoders] RE: Smooth movement for dynamic text

2007-05-11 Thread David Ngo
Look here: http://livedocs.adobe.com/flash/8/main/2733.html and http://livedocs.adobe.com/flash/8/main/2822.html -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of pedr browne Sent: Friday, May 11, 2007 9:40 PM To:

[Flashcoders] Flash CS3 Troubles

2007-05-11 Thread Mike Boutin
Hi everyone, I have been using Flash CS3 and I noticed that if I am working in the Actionscript Panel, and I compile my movie, the movie stays behind the AS Panel, rather than going on top of all the panels like it does in Flash 8. Has anyone else experienced this? Also I have noticed that my