Re: [Flashcoders] Nice Water Effect [site]

2007-03-21 Thread Mauricio Furtado Massaia
Lincon, i dont have the source, but i think its use Bevel , Glow , Drop Shadow and multiply but if i were you i enter in wagnerpaula.com and send and email to him. cheers MauricioMassaia On 3/20/07, lincoln [EMAIL PROTECTED] wrote: Does anyone have source for such a thing? That's wonderful!

[Flashcoders] Remoting, returning a Join

2007-03-21 Thread Smeets, Ben
I am wondering how people are solving the following issue in the real world. I am struggling to understand Flash Remoting with Coldfusion. I know it should make my life a whole lot easier but at the moment it's not reallyh helping :) All of the examples I find on the net are too straightforward;

Re: [Flashcoders] too many lines in one frame

2007-03-21 Thread me myself
Maybe, but the AS file was 115kb, and it had been working fine for months (during which time it was well over 32kb). I'm wondering if it's more about reaching some frame-AS limit than filesize. Or is 32kb a soft limit, after which thinks may or may not get flaky? On 3/20/07, Muzak [EMAIL

[Flashcoders] Problems with Key event

2007-03-21 Thread Johan Nyberg
For some reason this code doesn't capture all keyboard keys as expected: var keyListener:Object = new Object(); keyListener.onKeyDown = keyPressed; Key.addListener(keyListener); function keyPressed():Void { trace(foo); } All letters and numbers work. Insert and Shift works.. But not

Re: [Flashcoders] Localization issue with XML

2007-03-21 Thread Ivan Dembicki
Hello Steven, SSB XML header is SSB ?xml version=1.0 encoding=UTF-8 ? - this string is ignored by AS XML parser. is your really file saved as UTF-8? -- Ivan Dembicki __ [EMAIL PROTECTED] | http://www.artlebedev.ru |

RE: [Flashcoders] Help: test EventDispatcher speed please

2007-03-21 Thread Jason li
Ie:7 EventBroadcaster: 3915 EventDispatcher: 2609 WIN 9,0,28,0 FF:2002 EventBroadcaster: 3808 EventDispatcher: 2589 WIN 9,0,28,0 jli -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pedro Taranto Sent: 20 March 2007 19:14 To:

RE: [Flashcoders] Create an object by name

2007-03-21 Thread Danny Kodicek
Might be interesting to know why you need to do this at all. I'm using an XML document to create a file. Without going into details, each node of the XML is to be turned into an object, based on the kind of node. So for example: xmlitem type='Big' size='3' /item

Re: [Flashcoders] Problems with Key event

2007-03-21 Thread Jim Berkey
var keyListener:Object = new Object(); keyListener.onKeyDown = keyPressed; Key.addListener(keyListener); function keyPressed():Void { trace(foo); } All letters and numbers work. Insert and Shift works.. But not Delete, Home, End, PageUp, PageDown, Enter, etc.. What am I doing wrong??? I

[Flashcoders] User Centred Design

2007-03-21 Thread Tom Huynen
Hello friends, For my graduation on multmedia design over here in The Netherlands I'm doing research on User Centred Design. I've been coding in actionscript for a few years now and the purpose of the research is to be able to create beautifull interfaces with high usability standards. So far I

[Flashcoders] Problem extending inherited function

2007-03-21 Thread Johan Nyberg
Hi, I have a problem extending an inherited function. I put all the files described here in a zip if you want to test it yourselves: http://www.webguidepartner.com/~johan/super-problem.zip I have this mother-class: class Mother extends MovieClip { public var txt:TextField; public

Re: [Flashcoders] Problems with Key event

2007-03-21 Thread Dave Mennenoh
Have you disabled shortucts? When you test the SWF - go to control disable... I trap delete and such that way. Dave - Head Developer www.blurredistinction.com Adobe Community Expert http://www.adobe.com/communities/experts/ ___

Re: [Flashcoders] installing sandy.

2007-03-21 Thread Gustavo Duenas
thanks muzac On Mar 20, 2007, at 2:23 PM, Muzak wrote: HD:Applications:Macromedia Flash 8:sources - Original Message - From: Gustavo Duenas [EMAIL PROTECTED] To: Flashcoders mailing list Flashcoders@chattyfig.figleaf.com Sent: Tuesday, March 20, 2007 6:35 PM Subject: [Flashcoders]

Re: [Flashcoders] html vars and flash vars

2007-03-21 Thread Gustavo Duenas
sounds good, how could I do it? Regards Gustavo On Mar 20, 2007, at 2:32 PM, Pedro Taranto wrote: you wanto to load a swf from a xml and pass a parameter by the url in the xml ?? why dont you put these variables in the same node and when you load it you pass to your swf? --Pedro Taranto

Re: [Flashcoders] User Centred Design

2007-03-21 Thread Mark Winterhalder
And so I would like to ask if anybody has any suggestions for me. Maybe on books or articles or just in general. I found this both informative and highly entertaining: http://www.uwtv.org/programs/displayevent.aspx?rID=2103 This is a lecture by Alan Kay which contains stuff you might find

Re: [Flashcoders] Problem extending inherited function

2007-03-21 Thread Mark Winterhalder
I have some clue that the problem must have something to do with that it is the text field that triggers the event, and not the movie clip. But you would expect the super.killingFocus(); to work anyway, regardless of what calls the function?! Yes, this is a scope issue -- it tries to call

[Flashcoders] problem with sandy.

2007-03-21 Thread Gustavo Duenas
Hi, I've just run the sandy on my flash 8 and this was the error of the first code. **Error** /Applications/Macromedia Flash 8/sources/sandy/view/ ClipScreen.as: Line 102: There is no method with the name 'updateScreen'. _c.updateScreen(); **Error** Scene=Scene 1,

Re: [Flashcoders] Site check - Javascript errors (can't figure out)

2007-03-21 Thread Geoff Stearns
can you expand on the problems you had with swfobject? i haven't seen any problems like you described while using it. On Jan 29, 2007, at 5:48 PM, Patrick Lemiuex wrote: Hey guys and girls: I am having an issue with javascript flash detection and using javascript methods from html form

Re: [Flashcoders] Problem extending inherited function

2007-03-21 Thread R�kos Attila
This is a simple scope issue. The problem is caused exactly by that what you talked about. When assigning killingFocus to the textfield's event, use some kind of delegation (e.g. mx.util.Delegate): txt.onKillFocus = mx.utils.Delegate.create(this, killingFocus); (off: actually, this is not

RE: [Flashcoders] Problem extending inherited function

2007-03-21 Thread Rost, Andrew
The way you had your code, the Child class will never receive the killingFocus call. Add a Delegate within the Mother Class to put the onKillFocus event into scope with Child... import mx.utils.Delegate; class Mother extends MovieClip { public var txt:TextField; public function

RE: [Flashcoders] User Centred Design

2007-03-21 Thread tzoli
Here, you can find lot of articles on usability and design - http://www.alistapart.com/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tom Huynen Sent: Wednesday, March 21, 2007 10:50 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] User

[Flashcoders] Anyway way to capture a SWF as a bitmap?

2007-03-21 Thread Douglas Pearson
Anyone know if there's a way to draw the contents of a SWF to a Bitmap/BitmapData object within Flash? I have a SWF that involves lots of complex rendering steps and I want to be export it as a bitmap. The export part should be fine (using a server to actually save the file) if I can figure out

Re: [Flashcoders] problem with sandy.

2007-03-21 Thread Zeh Fernando
Hi, I've just run the sandy on my flash 8 and this was the error of the first code. Sandy has a mailing list and support forums in english and french. http://www.flashsandy.org/support/ I think it would be easier for you to check those first, and in case you don't find a solution to your

Re: [Flashcoders] Help: test EventDispatcher speed please

2007-03-21 Thread Francis Bourre
hello! As I know, I didn't ask ppl to test an application or a site I made. That's a test that to enlight the fact that EventDispatcher behaves weird on mac player. I think ppl should be interested by these results mac vs pc/linux, don't you think ? :) francis Le 21 mars 07 à 15:15,

Re: [Flashcoders] User Centred Design

2007-03-21 Thread Tom Huynen
Thanks a lot Mark, really appreciate it! On 3/21/07, Mark Winterhalder [EMAIL PROTECTED] wrote: And so I would like to ask if anybody has any suggestions for me. Maybe on books or articles or just in general. I found this both informative and highly entertaining:

Re: [Flashcoders] html vars and flash vars

2007-03-21 Thread Pedro Taranto
show your xml file with the link and the code you are using to load --Pedro Taranto Gustavo Duenas escreveu: sounds good, how could I do it? Regards Gustavo On Mar 20, 2007, at 2:32 PM, Pedro Taranto wrote: you wanto to load a swf from a xml and pass a parameter by the url in the xml ??

Re: [Flashcoders] User Centred Design

2007-03-21 Thread Tom Huynen
I checked it out and it's great! I found this one myself: Also pretty good: http://www.experientia.com/blog Regards, Tom On 3/21/07, tzoli [EMAIL PROTECTED] wrote: Here, you can find lot of articles on usability and design - http://www.alistapart.com/ -Original Message- From:

Re: [Flashcoders] problem with sandy.

2007-03-21 Thread Ron Wheeler
I am not sure where you have gone wrong. I can show you what I did. It is a bit more structured than the Sandy examples It declares a World3D and a movie clip and then builds a scene that can be rotated. Then it creates and adds a camera This is the main flow. It sets up a Movie Clip to draw

Re: [Flashcoders] Flash Sandy: Camera Flythrough

2007-03-21 Thread Ron Wheeler
You can move the objects, move the world or move the camera - your choice. The last 2 are easier. You only need to move the objects if you want tem to move with respect to each other not te viewer. Have you done all of the tutorials including the ones linked to from the Sandy site? Ron

Re: [Flashcoders] Anyway way to capture a SWF as a bitmap?

2007-03-21 Thread Hans Wichman
Hi, you mean something like this: var bitmapData1:BitmapData = new BitmapData(200, 200, false, 0x00); bitmapData1.draw(myMC,new Matrix()); ? greetz JC On 3/21/07, Douglas Pearson [EMAIL PROTECTED] wrote: Anyone know if there's a way to draw the contents of a SWF to a Bitmap/BitmapData

RE: [Flashcoders] Problem extending inherited function

2007-03-21 Thread Danny Kodicek
The way you had your code, the Child class will never receive the killingFocus call. Add a Delegate within the Mother Class to put the onKillFocus event into scope with Child... import mx.utils.Delegate; class Mother extends MovieClip { public var txt:TextField; public

RE: [Flashcoders] Anyway way to capture a SWF as a bitmap?

2007-03-21 Thread dan
CHK OUT bitmap.draw(); :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Douglas Pearson Sent: Wednesday, March 21, 2007 4:56 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Anyway way to capture a SWF as a bitmap? Anyone know if

Re: [Flashcoders] Anyway way to capture a SWF as a bitmap?

2007-03-21 Thread Zeh Fernando
Anyone know if there's a way to draw the contents of a SWF to a Bitmap/BitmapData object within Flash? I have a SWF that involves lots of complex rendering steps and I want to be export it as a bitmap. The export part should be fine (using a server to actually save the file) if I can figure out

Re: [Flashcoders] Flash Sandy: Camera Flythrough

2007-03-21 Thread BlackMail
There is a good introduction: http://www.petitpub.com/labs/media/flash/sandy/primitives.shtml 21 marca 2007 (13:51:51) wrote: eric e. dolecki I just downloaded Sandy (and there are so many eric e. dolecki things in it not sure where eric e. dolecki to start). eric e. dolecki I just want to

RE: [Flashcoders] Anyway way to capture a SWF as a bitmap?

2007-03-21 Thread Danny Kodicek
Anyone know if there's a way to draw the contents of a SWF to a Bitmap/BitmapData object within Flash? I have a SWF that involves lots of complex rendering steps and I want to be export it as a bitmap. The export part should be fine (using a server to actually save the file) if I can

Re: [Flashcoders] Localization issue with XML

2007-03-21 Thread Søren Christensen
if it isnt a coded textfield you need to define each special character using the 'embed' button in the inspector (while the tf is selected) in the 'include these charecters' field Cheers, B) Søren On Mar 21, 2007, at 12:44 PM, Måns Asplund wrote: Hi Steven! I had the same problem

Re: [Flashcoders] Anyway way to capture a SWF as a bitmap?

2007-03-21 Thread elibol
Hey Douglas, To answer your question, the technique is to create a BitmapData object initialized to the width/height of your movieclip, you then call draw() passing the movieclip you want to convert. This is something I've done in Flex. It's much easier in AS3 as there are jpeg/png encoders

RE: [Flashcoders] Help: test EventDispatcher speed please

2007-03-21 Thread Merrill, Jason
I think ppl should be interested by these results mac vs pc/linux, don't you think ? :) I know what you're saying but as I see it, it is a site test, Help: test EventDispatcher speed please. You're askng for a test, sending them to your site. Regardless, I think *maybe* maybe on a summary

Re: [Flashcoders] Help: test EventDispatcher speed please

2007-03-21 Thread Geoff Stearns
I think most people should be very interested in these results, even if they don't know it yet. On Mar 21, 2007, at 11:14 AM, Francis Bourre wrote: hello! As I know, I didn't ask ppl to test an application or a site I made. That's a test that to enlight the fact that EventDispatcher

Re: [Flashcoders] Help: test EventDispatcher speed please

2007-03-21 Thread gilles
Yes, it intereting to get the bug out. Gilles Le 21-mars-07 à 16:14, Francis Bourre a écrit : hello! As I know, I didn't ask ppl to test an application or a site I made. That's a test that to enlight the fact that EventDispatcher behaves weird on mac player. I think ppl should be interested

Re: [Flashcoders] Help: test EventDispatcher speed please

2007-03-21 Thread Muzak
Sure, but you posted it to about every mailing list out there. In the end, this won't really solve anything, all you'll get is more of the same.. I suggest you use the bug/wishform and move on. http://www.adobe.com/go/wish/ Muzak - Original Message - From: Francis Bourre [EMAIL

RE: [Flashcoders] Anyway way to capture a SWF as a bitmap?

2007-03-21 Thread Alain Rousseau
Have you tried loading the swf inside a MovieClip and then trace the MovieClip to a BitmapData object ? I don't know if the same security restrictions apply to swf files as with image files ... Alain -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of

RE: [Flashcoders] User Centred Design

2007-03-21 Thread Nick Weekes
One of my favourite books on this subject, About Face 2: Essentials of Interaction Design: http://www.amazon.co.uk/About-Face-2-0-Essentials-Interaction/dp/0764526413/ ref=sr_1_7/202-5343986-8502251?ie=UTF8s=booksqid=1174494929sr=8-7 -Original Message- From: [EMAIL PROTECTED]

[Flashcoders] How to run an external exe file

2007-03-21 Thread Steve Abaffy
Hello, I am creating a Flash exe to run off of a CD. I have a second exe that I want to run from the first. The second exe runs fine by itself, but when I start it from the first all the resources of the second exe file do not load, it looks as if they cannot be found. Both exe files are

[Flashcoders] Flash JavaScript Integration Kit Issues

2007-03-21 Thread Steve Mathews
Hi, I have an issue with some e-learning content that I can't figure out. The content is setup to communicate with the LMS using AICC and is currently working fine in IE7 and FireFox. In IE6 it fails to finish initializing and I believe I have tracked it down to a point where Javascript is

[Flashcoders] Flash extension question

2007-03-21 Thread Jobe Makar
Hi guys, I'm writing a JSFL file that does some SWF exporting based on the FLA in focus. The exportSWF() method takes an absolute path. Is there a way to get a path to the current FLA or the directory that holds the FLA? Its kind of annoying to have to manually enter that path for each FLA

Re: [Flashcoders] too many lines in one frame

2007-03-21 Thread Mick G
Perhaps 32K is the compiled size limit - not the uncompressed .as file size limit. On 3/21/07, me myself [EMAIL PROTECTED] wrote: Maybe, but the AS file was 115kb, and it had been working fine for months (during which time it was well over 32kb). I'm wondering if it's more about reaching some

Re: [Flashcoders] Entering hex number (a color) as component parameter

2007-03-21 Thread Alexander Farber
Thank you and sorry - I've missed the Color type in Flash help. But what is the role of __hasInitialized in your example? Why can't I just: [Inspectable(defaultValue=#66,type=Color)] public function get bgcolor():Number { return __bgcolor; }

[Flashcoders] FW: How to run an external exe file

2007-03-21 Thread Steve Abaffy
Hello, Sorry if this is a repost as I didn't see it the first time I sent it. I am creating a Flash exe to run off of a CD. I have a second exe that I want to run from the first. The second exe runs fine by itself, but when I start it from the first all the resources of the

Re: [Flashcoders] html vars and flash vars

2007-03-21 Thread Gustavo Duenas
to read the xml. just loadVars() the code in xml : link a href=1.swf?id=nada//link actionscript: ??? and how could I have this processed in the flash? Regards Gustavo On Mar 21, 2007, at 11:15 AM, Pedro Taranto wrote: show your xml file with the link and the code you are using to load

[Flashcoders] Dealing with size of a multi languages site

2007-03-21 Thread Gosselin, Robert
HI, I am building a site where we must include 6 different languages in it. I am doing this by using the i18n method and everything work perfectly. What would be the best way of dealing with the embedded fonts in my project? What is the best method for saving size of my swf? Right now I am

RE: [Flashcoders] Anyway way to capture a SWF as a bitmap?

2007-03-21 Thread Douglas Pearson
Thanks to everyone who pointed out the bitmapData.draw() method! I had seen that in passing but didn't realize that IBitmapDrawable supported all display objects. Thanks folks--that should do nicely. Doug -Original Message- From: Hans Wichman [mailto:[EMAIL PROTECTED] Sent: Wednesday,

Re: [Flashcoders] Flash, PHP and mysql Costumer Database

2007-03-21 Thread Omar Fouad
www.kirupa.com On 3/17/07, Michael Boski [EMAIL PROTECTED] wrote: Does anyone know an open source Flash, PHP and mysql Costumer Database. (with generic fields name, address ...) Or even on that you purchase the code. if it uses AMFphp all the better. thanks, mike

[Flashcoders] Flash video, works locally not online

2007-03-21 Thread DannyT
I am trying to get some video loaded at runtime using the following: var my_nc:NetConnection; var my_ns:NetStream; my_nc = new NetConnection(); my_nc.connect(null); my_ns = new NetStream(my_nc); curMedia = createEmptyMovieClip(videoPlayer, getNextHighestDepth());

Re: [Flashcoders] Help: test EventDispatcher speed please

2007-03-21 Thread Muzak
Part from the fact it got posted to about every single mailing list?? - Original Message - From: Cedric Muller [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Wednesday, March 21, 2007 4:50 PM Subject: Re: [Flashcoders] Help: test EventDispatcher speed please Hello! why

[Flashcoders] Annoying, (should be simple) bitwise problem

2007-03-21 Thread Alias™
Hi guys, This is annoying me - I'm just trying to get the seperate RGB component values out of a hex number, then manipulate and reconstruct them. var col = 0xFF; r = col 16; g = col 8 % 255; b = col % 255; trace(r=+r.toString(16)); trace(g=+g.toString(16)); trace(b=+b.toString(16));

RE: [Flashcoders] Help: test EventDispatcher speed please

2007-03-21 Thread Holth, Daniel C.
Regarding the test, I think it would be more useful to have people specify whether or not they are on an Intel or an original Mac. I have definitely noticed performance improvements since upgrading to my Intel, but I'm not sure if its only because of the faster processor, if the Flash Player

RE: [Flashcoders] Localization issue with XML

2007-03-21 Thread Steven Sacks | BLITZ
You're telling me to do something that I specifically said I already have done. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Søren Christensen Sent: Wednesday, March 21, 2007 9:04 AM To: flashcoders@chattyfig.figleaf.com Subject: Re:

[Flashcoders] disabling carriage returns in wrapping text fields

2007-03-21 Thread john hoffsis
Does anyone know if it's possible to restrict hard returns in text input fields (fields must wrap)? I have form fields to capture user input that I'm sending up to the server to be stored in a database. When I request this stored data from the server, anything after a hard return is

Re: [Flashcoders] Flash 8 textfields in a Flash 7 SWF

2007-03-21 Thread Jah
for the effects to take affect, you'd need to publish in version 8. since those with 7 won't be able to load that (or might not be able to with predictable results) using System.capabilities.version to detect version number might not solve your problem. so within a single swf, i don't think you

Re: [Flashcoders] How to run an external exe file

2007-03-21 Thread Jim Berkey
On 3/21/2007 at 11:39 AM Steve Abaffy wrote: Hello, I am creating a Flash exe to run off of a CD. I have a second exe that I want to run from the first. The second exe runs fine by itself, but when I start it from the first all the resources of the second exe file do not load, it looks as

Re: [Flashcoders] Localization issue with XML

2007-03-21 Thread Måns Asplund
Hello Steven I´ve done it like this: Dynamic textfield named info_txt set to embed (in this case) ü and ö. Load and parse XML: / function loadXML(loaded) { if (loaded) { xmlNode = this.firstChild; information

RE: [Flashcoders] html vars and flash vars

2007-03-21 Thread Merrill, Jason
to read the xml. just loadVars() the code in xml : link a href=1.swf?id=nada//link actionscript: ??? and how could I have this processed in the flash? Don't use LoadVars to load the XML - there is a whole class in Actionscript to handle XML. Look in the help docs for XML. There's also a

RE: [Flashcoders] Flash extension question

2007-03-21 Thread Steven Sacks | BLITZ
If you want to export to a different directory, you'll have to modify the publish settings xml file, which I discuss on my blog...which for some reason is down right now (writes email to hosting company)...so I'll copy and paste the code here. If you are publishing to the same folder as the FLA,

[Flashcoders] RE: Flash extension question

2007-03-21 Thread Jonathyn B. Tellez
Hi Jobe, I hope this helps. The jsfl script below publishes a given fla based on it's publish settings. File paths can be relative from the location of the .jsfl file. See FLFile.listFolder in the Adobe docs for how to handle directories. JB Tellez Sr. Software Engineer Scientific Learning

Re: [Flashcoders] Entering hex number (a color) as component parameter

2007-03-21 Thread Johannes Nel
he checks if the component is init'd On 3/21/07, Alexander Farber [EMAIL PROTECTED] wrote: Thank you and sorry - I've missed the Color type in Flash help. But what is the role of __hasInitialized in your example? Why can't I just: [Inspectable(defaultValue=#66,type=Color)]

[Flashcoders] NetStream Bug? FLVs with no audio won't pause(false)

2007-03-21 Thread Jack Doyle
Anyone else run into this problem? If I call a NetStream's pause() function and pass a value of FALSE, it's supposed to unpause it. However, if I do so after a few milliseconds on an FLV that's encoded without any audio, the pause(false) does the exact opposite! If I run the same code on an FLV

RE: [Flashcoders] Annoying, (should be simple) bitwise problem

2007-03-21 Thread Steve Abaffy
You could try. Var col = 0xff; Var redmask = 0xff; Var greenmask = 0x00ff00; Var bluemask = 0xff R = col redmask; G = col greenmask; B = col bluemask; R = R 16; G = G 8; //Blue does not need shifting. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

Re: [Flashcoders] Annoying, (should be simple) bitwise problem

2007-03-21 Thread Mark Winterhalder
Hi Alias, it's either % 256 or 255. But % 255 gives you the wrong result -- (255 % 255 == 0). Either: var r = col 16; var g = (col 8) % 256; var b = col % 256; Or: var r = col 16; var g = (col 8) 0xff; var b = col 0xff; I prefer the second. HTH, Mark On 3/21/07, Alias™ [EMAIL

[Flashcoders] disabling carriage returns in multiline input text fields

2007-03-21 Thread john hoffsis
Does anyone know if it's possible to restrict hard returns in text input fields (fields must wrap)? I have form fields to capture user input that I'm sending up to the server to be stored in a database. When I request this stored data from the server, anything after a hard return is

Re: [Flashcoders] Annoying, (should be simple) bitwise problem

2007-03-21 Thread Glen Pike
Use instead of % r = (col 16) 0xFF; g = (col 8) 0xFF; b = col 0xFF; Glen :) Alias™ wrote: Hi guys, This is annoying me - I'm just trying to get the seperate RGB component values out of a hex number, then manipulate and reconstruct them. var col = 0xFF; r = col 16; g = col 8 %

RE: [Flashcoders] disabling carriage returns in wrapping text fields

2007-03-21 Thread Steven Sacks | BLITZ
You could fake it and instead of using an input textfield, capture keystrokes and put them into a dynamic textfield. :) You could also validate the input textfield on every key up event and strip any carriage returns out then. INP_Field.text = INP_Field.text.split(\n).join().split(\r).join();

[Flashcoders] Freelance programmer needed

2007-03-21 Thread Franklin Zitter
FlickerLab, a New York animation and design studio, is in need of a freelance programmer to assist with scripting / programming for a proprietary animation software beginning immediately. Familiarity with Javascript and Flash (JSFL) required. Understanding of Animation preferred. Send

Re: [Flashcoders] Video directly in mail?

2007-03-21 Thread Glen Pike
Hi, This is slightly negative, but I would not bother trying to do this in email unless you can guarantee all your recipients are using a specific platform - the time spent getting it working is not worth the money paid for the job (usually). We deal with email newsletters on a daily

RE: [Flashcoders] Annoying, (should be simple) bitwise problem

2007-03-21 Thread Jonathan.Doklovic
var col = 0xFF; r = col 16; g = (col 8) 0xff; b = col 0xff; var col2 = r 16 | g 8 | b; -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alias(tm) Sent: Wednesday, March 21, 2007 1:22 PM To: Flashcoders mailing list Subject: [Flashcoders]

Re: [Flashcoders] How to run an external exe file

2007-03-21 Thread R�kos Attila
fscommand(exec, Second.exe); Create a folder named fscommand where your projector resides and place Second.exe into this folder. Attila SA Hello, SA SA I am creating a Flash exe to run off of a CD. I have a second exe SA that I want to run from the first. The second exe runs fine by

Re: [Flashcoders] Annoying, (should be simple) bitwise problem

2007-03-21 Thread Geoff Stearns
there's an old article on the adobe dev center that talks all about this... go check it out: http://www.adobe.com/devnet/flash/articles/bitwise_operators.html On Mar 21, 2007, at 2:21 PM, Alias™ wrote: Hi guys, This is annoying me - I'm just trying to get the seperate RGB component

RE: [Flashcoders] How to run an external exe file

2007-03-21 Thread Steve Abaffy
No it does not need to be an exe file. I tried loading the swf file as well and loads ok, except that the second swf file needs to look at a folder and load a bunch of jpg, and other data. I have looked at the data being loaded and it is all there, however the pictures do not load that data does

Re: [Flashcoders] disabling carriage returns in wrapping text fields

2007-03-21 Thread R�kos Attila
Flash uses \r (0x0D) only in text fields. All occurencies of \n (0x0A) are replaced with \r. E.g. if you assign foo\nbar to a text field and read the value back, it will turn to foo\rbar. For replacing certain characters use String.split() and String.join(). However, it would be better to check

Re: [Flashcoders] Annoying, (should be simple) bitwise problem

2007-03-21 Thread Latcho
there might be more clever ways... var col = 0x0199FF; var _r = (col 16); var _g = (col 8 ^ _r 8); var _b = (col^ (_r 16 | _g 8)); trace(r=+_r); trace(g=+_g); trace(b=+_b); var r = (_r.toString(16).length 2) ? 0+_r.toString(16) : _r.toString(16); var g = (_g.toString(16).length 2) ?

Re: [Flashcoders] Flash video, works locally not online

2007-03-21 Thread Latcho
The path to a video is relative to your swf when playing it standalone or in your IDE player. But in an online situation the path is relative to the place where the swf is embedded, so to the html file/location. This confuses me often, and this might also be your problem ? regards, latcho.

Re[2]: [Flashcoders] Localization issue with XML

2007-03-21 Thread Ivan Dembicki
Hello Mans, MA The XML file is saved as UTF-8 encoding from notepad. - yes. here is his problem. 100% -- Ivan Dembicki __ [EMAIL PROTECTED] | http://www.artlebedev.ru | http://www.sharedfonts.com

Re: [Flashcoders] Flash extension question

2007-03-21 Thread Jobe Makar
Thanks Steven, doc.path was the breakthrough that I needed. For some reason I didn't notice that in the documentaiton. Your code is useful as well. Thanks for the help! Jobe Makar http://www.electrotank.com http://www.electro-server.com phone: 252-627-8026 mobile: 919-609-0408 fax:

Re: [Flashcoders] Problem extending inherited function

2007-03-21 Thread Mark Winterhalder
On 3/21/07, Danny Kodicek [EMAIL PROTECTED] wrote: Hmm - this seems to go against the stuff we've been talking about recently (see 'super and this' thread) where people have been saying that inherited classes are essentially wrapped into one. This is an example where the ancestor is being

RE: [Flashcoders] disabling carriage returns in multiline input textfields

2007-03-21 Thread David Ngo
I would say your best bet is to make it initially a single-line textfield, listen for the onChanged handler and do some metrics on it (getTextExtent), if it passes a certain width, set autoSize and multiline. You could possibly also try listening for a Key event and ignore the one for ENTER. Not

Re: [Flashcoders] too many lines in one frame

2007-03-21 Thread Muzak
yup - Original Message - From: Mick G [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Wednesday, March 21, 2007 6:03 PM Subject: Re: [Flashcoders] too many lines in one frame Perhaps 32K is the compiled size limit - not the uncompressed .as file size limit.

Re: [Flashcoders] Flash video, works locally not online

2007-03-21 Thread [p e r c e p t i c o n]
it could also be that your server doesn't have the right mime settings for flvees cheers On 3/21/07, DannyT [EMAIL PROTECTED] wrote: I am trying to get some video loaded at runtime using the following: var my_nc:NetConnection; var my_ns:NetStream; my_nc = new NetConnection();