RE: [Flashcoders] Junior Developer Flash/Flex Salary?
Commercial experience is totally different to working experience. I've 7 years professional commercial experience in Flash, 3 years commercial experience in .NET, 7 years in SQL Server, 2 years in Oracle, have been director twice plus have a huge list of other abilities, and all I can get is £30k a year. Damn bloody low british salaries :-( If I were you, I'd be happy with yer 55k :-P -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tristan Sent: 20 June 2006 16:47 To: Flashcoders mailing list Subject: [Flashcoders] Junior Developer Flash/Flex Salary? Does 30-55K a year sound right with benefits for a junior developer? I have a college degree and an extensive IT background but, I'm just now getting into a professional job environment developing but, I have been using flash for some time now. 30K sounds wa too low, would you agree? If someone had 2-3 years experience, what should a flash/flex developer get? What should they start at? Thanks T ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Muting a flash video stream
Hi Guys, Adding mute buttons to some of my applications, got it working fine for mp3/sound objects. I've a simple video streaming solution from FMS - Flash Client. Here's the code snippet. nc1.showVideo = function(video) { ns1= new NetStream(nc1); ns1.setBufferTime(_global.buffertime); video1.attachVideo(ns1); video1.attachAudio(false); video1.deblocking(_global.deblock); video1.smoothing(_global.smoothing); ns1.play(video); } (nc1 being the net connection to the FMS,) The .atttachAudio(false); was supposed to didsable the audio, but not, it doesnt work :( Any ideas ? Elvin - ___ 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 Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] brp won't render
OK this sounds really daft and I'm sure you've probably checked - but your text field isn't set to single line is it? Or no wrapping? M -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sam Sent: 21 June 2006 19:04 To: Flashcoders mailing list Subject: [Flashcoders] brp won't render I have a htmlText field that won't seem to recognize breaks or paragraph tags, however renders b, i, etc. Any Idea what I could be doing wrong? ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] the Function class and messing with it
Hi folks, In common javascript it's possible to alert a function and 'see' the function as it is. function test(){ alert(A); } Prints out in javascript excactly as it is, in actionscript you get '[Type Function]'. Is there any way to somehow to see the internals of a function in actionscript (2.0, though im curious bout 3.0 as well)? It would be fun to do, because one could alter functions run-time that way. I've tried using external interface to kick a function to javascript, but this won't do, just throws a javascript error. I also tried Function.valueOf() instead of toString(), but this won't do either. Anyone has an idea on this one? thanks! Meinte ___ 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 Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] brp won't render
The Bold and Italic versions of the fonts will need to be embedded. This is usually the problem I forget :) On 6/22/06, Mike Mountain [EMAIL PROTECTED] wrote: OK this sounds really daft and I'm sure you've probably checked - but your text field isn't set to single line is it? Or no wrapping? M -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sam Sent: 21 June 2006 19:04 To: Flashcoders mailing list Subject: [Flashcoders] brp won't render I have a htmlText field that won't seem to recognize breaks or paragraph tags, however renders b, i, etc. Any Idea what I could be doing wrong? ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] [Ann] The world's largest Flex Application
thanks Chris. ~Arul Prasad On 6/22/06, Chris Velevitch [EMAIL PROTECTED] wrote: FlexDaddy ( http://www.flexdaddy.info/2006/06/19/afr-access-one-of-the-largest-public-flex-apps-to-date/ ) ttalks about it. Unfortunately, no recording will be made. On 6/21/06, Arul Prasad M L [EMAIL PROTECTED] wrote: sorry, if am being ignorant, but what is this world's largest Flex (1.5 ) application that you are talking about? Is there some place I can see this? Am not in sydney, so if you dont reply, I'll probably never know about it at all!! Thanks! Arul Prasad. On 6/21/06, Chris Velevitch [EMAIL PROTECTED] wrote: Robin Hilliard of Rocketboots (www.rocketboots.com.au) will talk about the lessons learnt from the world's largest Flex (1.5) application. Mon 3rd July at the Sydney Flash Platform Developers Group (www.flashdev.org.au) at 6:30 pm for 7pm start at the NSW Sports Club (www.flashdev.org.au/venue). Please RSVP (www/flashdev.org.au/rsvp) for catering purposes. Chris -- Chris Velevitch Manager - Sydney Flash Platform Developers Group www.flashdev.org.au ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com -- Chris Velevitch Manager - Sydney Flash Platform Developers Group www.flashdev.org.au ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Importing JPG into flash using JSFL
The importing you can do with this tool: http://blog.springworks.de/?p=5 http://blog.springworks.de/?p=3 On 6/22/06, hidayath q [EMAIL PROTECTED] wrote: Hi all, I want to import a jpg files into flash files.since its a repeated work which i want to do this for more than 100 files.i opt JSFL. can anyone tell me how i import the jpg and convert the image into a movieclip and place it in a specific position on the stage using JSFL. Thanks in advance, S.Hidayath. ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Best Flash data access way opinions
Depends on your knowledge level too CF is dead easy to pick up - you can easily learn to create a CFC in no time. The class based structure of PHP when creating a service throws a couple people off in terms of scope resolution So depending on your background if you know neither language, one might be easier to pick up than the other. CF costs. Yes. PHP is free and most hosts support it, Yes. But unless I am totally wrong, AMFPHP wasn't out of beta until recently. And it isn't officially supported by Adobe/MM, or if it is, it wasn't until recently. CF is. I've used both and frankly they are both dead easy to install, to create services and the AMFPHP is pretty reliable, I've created some bigger applications with it no problem and don't have an issue recommending it to a client now. ___ 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 Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] the Function class and messing with it
Hello, in AS2 this is not possible, Functions are compiled, local variable names get lost, so in the final flash movie, the function does not exist the way, you coded it. Don't know about AS3 ... Janosch Meinte van't Kruis schrieb: Hi folks, In common javascript it's possible to alert a function and 'see' the function as it is. function test(){ alert(A); } Prints out in javascript excactly as it is, in actionscript you get '[Type Function]'. Is there any way to somehow to see the internals of a function in actionscript (2.0, though im curious bout 3.0 as well)? It would be fun to do, because one could alter functions run-time that way. I've tried using external interface to kick a function to javascript, but this won't do, just throws a javascript error. I also tried Function.valueOf() instead of toString(), but this won't do either. Anyone has an idea on this one? thanks! Meinte ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] brp won't render
I have a htmlText field that won't seem to recognize breaks or paragraph tags, however renders b, i, etc. Any Idea what I could be doing wrong? If you do: htmlText = pLine 1/ppLine 2/ppLine 3/p; The TextField will render like this: Line 1Line 2Line 3 And the actual htmlText would be: P ALIGN=LEFTFONT FACE=Times New Roman SIZE=12 COLOR=#00 LETTERSPACING=0 KERNING=0Line 1Line 2Line 3/FONT/P There are no paragraph tags. But if you do: htmlText = pLine 1/p\npLine 2/p\npLine 3/p; The TextField will render like this: Line 1 Line 2 Line 3 And the actual htmlText would be: P ALIGN=LEFTFONT FACE=Times New Roman SIZE=12 COLOR=#00 LETTERSPACING=0 KERNING=0Line 1/FONT/PP ALIGN=LEFTFONT FACE=Times New Roman SIZE=12 COLOR=#00 LETTERSPACING=0 KERNING=0Line 2/FONT/PP ALIGN=LEFTFONT FACE=Times New Roman SIZE=12 COLOR=#00 LETTERSPACING=0 KERNING=0Line 3/FONT/P I'm not sure why, but this is the way it is. May be someone on the list can answer the reason behind this. Kenneth Kawamoto http://www.materiaprima.co.uk ___ 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 Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] the Function class and messing with it
AS3 will have the same result... It's compiled also. Lee -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of janosch Sent: 22 June 2006 11:30 To: Flashcoders mailing list Subject: Re: [Flashcoders] the Function class and messing with it Hello, in AS2 this is not possible, Functions are compiled, local variable names get lost, so in the final flash movie, the function does not exist the way, you coded it. Don't know about AS3 ... Janosch Meinte van't Kruis schrieb: Hi folks, In common javascript it's possible to alert a function and 'see' the function as it is. function test(){ alert(A); } Prints out in javascript excactly as it is, in actionscript you get '[Type Function]'. Is there any way to somehow to see the internals of a function in actionscript (2.0, though im curious bout 3.0 as well)? It would be fun to do, because one could alter functions run-time that way. I've tried using external interface to kick a function to javascript, but this won't do, just throws a javascript error. I also tried Function.valueOf() instead of toString(), but this won't do either. Anyone has an idea on this one? thanks! Meinte ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] brp won't render
Why not use br/ tags to keep things consistent? Lee -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kenneth Kawamoto Sent: 22 June 2006 11:47 To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] brp won't render I have a htmlText field that won't seem to recognize breaks or paragraph tags, however renders b, i, etc. Any Idea what I could be doing wrong? If you do: htmlText = pLine 1/ppLine 2/ppLine 3/p; The TextField will render like this: Line 1Line 2Line 3 And the actual htmlText would be: P ALIGN=LEFTFONT FACE=Times New Roman SIZE=12 COLOR=#00 LETTERSPACING=0 KERNING=0Line 1Line 2Line 3/FONT/P There are no paragraph tags. But if you do: htmlText = pLine 1/p\npLine 2/p\npLine 3/p; The TextField will render like this: Line 1 Line 2 Line 3 And the actual htmlText would be: P ALIGN=LEFTFONT FACE=Times New Roman SIZE=12 COLOR=#00 LETTERSPACING=0 KERNING=0Line 1/FONT/PP ALIGN=LEFTFONT FACE=Times New Roman SIZE=12 COLOR=#00 LETTERSPACING=0 KERNING=0Line 2/FONT/PP ALIGN=LEFTFONT FACE=Times New Roman SIZE=12 COLOR=#00 LETTERSPACING=0 KERNING=0Line 3/FONT/P I'm not sure why, but this is the way it is. May be someone on the list can answer the reason behind this. Kenneth Kawamoto http://www.materiaprima.co.uk ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] brp won't render
My answer was so very off subject ;) sorry. The only way I can replicate that problem is if the textfield is single line instead of double - otherwise your first code works fine for me. On 6/22/06, Lee McColl-Sylvester [EMAIL PROTECTED] wrote: Why not use br/ tags to keep things consistent? Lee -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kenneth Kawamoto Sent: 22 June 2006 11:47 To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] brp won't render I have a htmlText field that won't seem to recognize breaks or paragraph tags, however renders b, i, etc. Any Idea what I could be doing wrong? If you do: htmlText = pLine 1/ppLine 2/ppLine 3/p; The TextField will render like this: Line 1Line 2Line 3 And the actual htmlText would be: P ALIGN=LEFTFONT FACE=Times New Roman SIZE=12 COLOR=#00 LETTERSPACING=0 KERNING=0Line 1Line 2Line 3/FONT/P There are no paragraph tags. But if you do: htmlText = pLine 1/p\npLine 2/p\npLine 3/p; The TextField will render like this: Line 1 Line 2 Line 3 And the actual htmlText would be: P ALIGN=LEFTFONT FACE=Times New Roman SIZE=12 COLOR=#00 LETTERSPACING=0 KERNING=0Line 1/FONT/PP ALIGN=LEFTFONT FACE=Times New Roman SIZE=12 COLOR=#00 LETTERSPACING=0 KERNING=0Line 2/FONT/PP ALIGN=LEFTFONT FACE=Times New Roman SIZE=12 COLOR=#00 LETTERSPACING=0 KERNING=0Line 3/FONT/P I'm not sure why, but this is the way it is. May be someone on the list can answer the reason behind this. Kenneth Kawamoto http://www.materiaprima.co.uk ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] brp won't render
Why not use br/ tags to keep things consistent? Lee It's the same. If you do: htmlText = Line 1br /Line 2br /Line 3; It renders like: Line 1Line 2Line 3 To the original poster; the other way to get it work is: multiline = true; htmlText = Line 1br /Line 2br /Line 3; // or htmlText = pLine 1/ppLine 2/ppLine 3/p; Kenneth Kawamoto http://www.materiaprima.co.uk ___ 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 Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] brp won't render
I agree, but consistency is king imho :-D Lee -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kenneth Kawamoto Sent: 22 June 2006 12:13 To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] brp won't render Why not use br/ tags to keep things consistent? Lee It's the same. If you do: htmlText = Line 1br /Line 2br /Line 3; It renders like: Line 1Line 2Line 3 To the original poster; the other way to get it work is: multiline = true; htmlText = Line 1br /Line 2br /Line 3; // or htmlText = pLine 1/ppLine 2/ppLine 3/p; Kenneth Kawamoto http://www.materiaprima.co.uk ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] the Function class and messing with it
ok, thx! sounds pretty logical, come to think of it :) Somewhere I hoped the Function class would be some kind of help, but alas. On 6/22/06, Lee McColl-Sylvester [EMAIL PROTECTED] wrote: AS3 will have the same result... It's compiled also. Lee -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of janosch Sent: 22 June 2006 11:30 To: Flashcoders mailing list Subject: Re: [Flashcoders] the Function class and messing with it Hello, in AS2 this is not possible, Functions are compiled, local variable names get lost, so in the final flash movie, the function does not exist the way, you coded it. Don't know about AS3 ... Janosch Meinte van't Kruis schrieb: Hi folks, In common javascript it's possible to alert a function and 'see' the function as it is. function test(){ alert(A); } Prints out in javascript excactly as it is, in actionscript you get '[Type Function]'. Is there any way to somehow to see the internals of a function in actionscript (2.0, though im curious bout 3.0 as well)? It would be fun to do, because one could alter functions run-time that way. I've tried using external interface to kick a function to javascript, but this won't do, just throws a javascript error. I also tried Function.valueOf() instead of toString(), but this won't do either. Anyone has an idea on this one? thanks! Meinte ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] brp won't render
Yes, that was the problem. thanks On Jun 22, 2006, at 5:01 AM, Mike Mountain wrote: OK this sounds really daft and I'm sure you've probably checked - but your text field isn't set to single line is it? Or no wrapping? M -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sam Sent: 21 June 2006 19:04 To: Flashcoders mailing list Subject: [Flashcoders] brp won't render I have a htmlText field that won't seem to recognize breaks or paragraph tags, however renders b, i, etc. Any Idea what I could be doing wrong? ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Muting a flash video stream
I think attachAudio(false) is wrong syntax, you should pass in a movieclip... check out the help for an example: http://livedocs.macromedia.com/flash/8/main/2438.html Paul. On 22/06/06, Elvin Tan [EMAIL PROTECTED] wrote: Hi Guys, Adding mute buttons to some of my applications, got it working fine for mp3/sound objects. I've a simple video streaming solution from FMS - Flash Client. Here's the code snippet. nc1.showVideo = function(video) { ns1= new NetStream(nc1); ns1.setBufferTime(_global.buffertime); video1.attachVideo(ns1); video1.attachAudio(false); video1.deblocking(_global.deblock); video1.smoothing(_global.smoothing); ns1.play(video); } (nc1 being the net connection to the FMS,) The .atttachAudio(false); was supposed to didsable the audio, but not, it doesnt work :( Any ideas ? Elvin - ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Sample PHP script for handling XML from Flash
On 6/21/06, matt stuehler [EMAIL PROTECTED] wrote: However, with most of our work, we develop an RIA for a client, who handles the back-end themselves. So, we develop our apps so that they send and receive XML, which means the client can use whatever they want in the backend: asp, asp.net, webservices, php, whatever... Is this a valid position? E.g., if we used amfphp, are we then limiting our flexibility on the back-end? There are open source implementations of AMF in .NET, Java, and PHP, as well as closed source versions for multiple platforms, so compatibility shouldn't be too much of a concern. For more information look here: http://www.osflash.org/amf You can also add Red5 to the list presented there. I hope that helps. -Chris ___ 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 Training http://www.figleaf.com http://training.figleaf.com
AW: [Flashcoders] Communication between two swfs?
Hi Jobe, your Server works and my application too :] I think i will contact you next time to buy a 50 or 100 user license. Thanks Peter :: Peter Oliver Geller virtual effects artist interactive design development Ricarda-Huch-Str. 7 50858 Cologne 02234 - 99 52 63 phone 0163 - 63 66 088 mobile www.pixel-gallery.com [EMAIL PROTECTED] :: »» -Ursprüngliche Nachricht- »» Von: [EMAIL PROTECTED] »» [mailto:[EMAIL PROTECTED] Im »» Auftrag von Jobe Makar »» Gesendet: Mittwoch, 21. Juni 2006 16:45 »» An: Flashcoders mailing list »» Betreff: Re: [Flashcoders] Communication between two swfs? »» »» Peter, »» »» Since ElectroServer is a product of my company of course »» I'll say its better »» :) I think you should ask some non-Electrotankers for input »» on that otherwise you're getting a biased assessment. They »» definately are different products. FMS supports binary »» transfer (for audio/video), and is more expensive. Most of »» the other features are supported by both ElectroServer and »» FMS such as server-side ActionScript, database support, etc. »» »» »» Jobe Makar »» http://www.electrotank.com »» http://www.electro-server.com »» phone: 252-627-8026 »» mobile: 919-609-0408 »» fax: 919-341-8104 »» - Original Message - »» From: Peter Oliver Geller [EMAIL PROTECTED] »» To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com »» Sent: Wednesday, June 21, 2006 10:36 AM »» Subject: AW: [Flashcoders] Communication between two swfs? »» »» »» For first i think i will test your electroserver because the »» plan is to have »» a stable server who is able to communicate with more than »» 100 hundred users, »» but is the flashmedia server similiar to your product or are »» they totally »» different. For first it sounds to me that your server is better for »» multiuser applications and the flashmedia server is better »» for streaming »» videos to a broad range of people?! »» »» I will check it out! »» »» Thank you »» »» Peter »» »» :: »» Peter Oliver Geller »» »» virtual effects artist »» interactive design development »» »» Ricarda-Huch-Str. 7 50858 Cologne »» 02234 - 99 52 63 phone »» 0163 - 63 66 088 mobile »» »» www.pixel-gallery.com »» [EMAIL PROTECTED] »» :: »» »» »» »» -Ursprüngliche Nachricht- »» »» Von: [EMAIL PROTECTED] »» »» [mailto:[EMAIL PROTECTED] Im »» »» Auftrag von Jobe Makar »» »» Gesendet: Mittwoch, 21. Juni 2006 16:23 »» »» An: Flashcoders mailing list »» »» Betreff: Re: [Flashcoders] Communication between two swfs? »» »» »» »» If you are seeing the crash from multiple unrelated sites, »» »» then I'm guessing that's a Flash player bug. »» »» »» »» No, you don't need a Java-based socket-server. They come in »» »» many flavors. »» »» Also, there are free ones (like oregano, red5), and »» »» commercial ones like ElectroServer, FMS, Unity. Its just a »» »» matter of your needs and budget. If you are going to be »» »» connected hundreds or thousands of users, then you'd be »» »» better off with a commercial product since they are battle »» »» tested and can provide support. If you are looking for »» »» something much smaller scale and simplistic (just routing »» »» messages), then just about any solution will work. »» »» »» »» Jobe Makar »» »» http://www.electrotank.com »» »» http://www.electro-server.com »» »» phone: 252-627-8026 »» »» mobile: 919-609-0408 »» »» fax: 919-341-8104 »» »» - Original Message - »» »» From: Peter Oliver Geller [EMAIL PROTECTED] »» »» To: 'Flashcoders mailing list' »» flashcoders@chattyfig.figleaf.com »» »» Sent: Wednesday, June 21, 2006 10:09 AM »» »» Subject: AW: [Flashcoders] Communication between two swfs? »» »» »» »» »» »» Hi Jobe, »» »» »» »» i will try it out, but everytime i want to go to flashtampa »» »» my firefox crash »» »» down, this happens also as i was on your site for the »» »» electroserver and »» »» flashmediaserver, don´t know why this happens??? In the »» »» Internet Explorer i »» »» get a failure message about a add-on problem with the »» »» Flash85.ocx file??? »» »» »» »» Hmm, i´ll speak with my hosting partner and take a look »» if it works? »» »» »» »» But is a javabased XMLSocket server the only way to »» »» communicate between swfs »» »» on different machines? »» »» »» »» Thanks »» »» »» »» Peter »» »» »» »» »» »» »» »» :: »» »» Peter Oliver Geller »» »» »» »» virtual effects artist »» »» interactive design development »» »» »» »» Ricarda-Huch-Str. 7 50858 Cologne »» »» 02234 - 99 52 63 phone »» »» 0163 - 63 66 088 mobile »» »» »» »» www.pixel-gallery.com »» »» [EMAIL PROTECTED] »» »» :: »» »» »» »» »» »» »» -Ursprüngliche Nachricht- »» »» »» Von: [EMAIL PROTECTED] »» »» »»
[Flashcoders] getTextExtent weirdness
I've noticed a post about this in the archives, but it was described as a Mac issue and I'm getting it on a PC. I'm trying to use TextFormat.getTextExtent() to do some image calculations, but I'm getting enormous values. I suspect it's because my text includes newline characters, but that's just a guess. The docs say the function is deprecated, but the liveDocs emphatically deny this. Anyone got any suggestions? Danny ___ 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 Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] getTextExtent weirdness
I've noticed a post about this in the archives, but it was described as a Mac issue and I'm getting it on a PC. I'm trying to use TextFormat.getTextExtent() to do some image calculations, but I'm getting enormous values. I suspect it's because my text includes newline characters, but that's just a guess. The docs say the function is deprecated, but the liveDocs emphatically deny this. Anyone got any suggestions? I've found a few more posts in the archives about this. Everyone says, essentially, don't use it - and it looks like it won't solve my problem in any case, because it essentially returns the same values as field.textHeight / textWidth. Maybe someone can offer some alternative suggestions. I need to get a bitmap representing a menu. It will contain n lines of text, and needs to be resized automatically to the extent of the text. So far so simple. But the problem I'm having is that field.textWidth (and autosize too) crops the text too close, with the result that the top and bottom lines of text are both hard up against the edge of the image, so that the size of the image is not equal to n* the line height, as I need. And without getTextExtent I can't see any simple method for finding the height of the line - and in other circumstances I might not even know how many lines there are, although of course if I know the lineHeight I can get this by ceil(textHeight/lineHeight) Thoughts welcome Danny ___ 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 Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] help
well Richard as far as I know, the code involved in the flash site you've mentioned before is kind of regular code not too brainy, I guess your very brave challenge to faced into is the animations and the quality of the photos, and also the kind of design involved. I hope to be helpful for you regards. Gus On Jun 20, 2006, at 10:19 AM, John Mark Hawley wrote: Sorry Richard, but you probably won't get much help with a non- question phrased like that. You're better off picking a small portion of the site that you'd like to replicate, making an attempt at it, doing some research, and then coming back with a specific question about how to accomplish the part that is giving you the most problems. Repeat. A more specific subject line is usually required as well. -mark hawley From: Bachman, Richard [EMAIL PROTECTED] Date: 2006/06/20 Tue AM 09:11:32 CDT To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] help I need help with creating a site somewhat like this onehttp:// www.samsung.com/se/current/campaign/slim/site/index.htm I'm trying to figure out the coding involved in this site. Thanks! Rich ___ 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 Training http://www.figleaf.com http://training.figleaf.com -- John Mark Hawley The Nilbog Group 773.968.4980 (cell) ___ 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 Training http://www.figleaf.com http://training.figleaf.com Gustavo Duenas Creative Director LEFT AND RIGHT SOLUTIONS LLC 1225 w. Beaver St. suite 119 Jacksonville, FL 32204 904 . 2650330 www.leftandrightsolutions.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] getTextExtent weirdness
Hello, i always use textfield.autoSize, and it works fine. But you have to be carefull, to set the correct styles to the textfield, before measuring. Janosch Danny Kodicek schrieb: I've noticed a post about this in the archives, but it was described as a Mac issue and I'm getting it on a PC. I'm trying to use TextFormat.getTextExtent() to do some image calculations, but I'm getting enormous values. I suspect it's because my text includes newline characters, but that's just a guess. The docs say the function is deprecated, but the liveDocs emphatically deny this. Anyone got any suggestions? I've found a few more posts in the archives about this. Everyone says, essentially, don't use it - and it looks like it won't solve my problem in any case, because it essentially returns the same values as field.textHeight / textWidth. Maybe someone can offer some alternative suggestions. I need to get a bitmap representing a menu. It will contain n lines of text, and needs to be resized automatically to the extent of the text. So far so simple. But the problem I'm having is that field.textWidth (and autosize too) crops the text too close, with the result that the top and bottom lines of text are both hard up against the edge of the image, so that the size of the image is not equal to n* the line height, as I need. And without getTextExtent I can't see any simple method for finding the height of the line - and in other circumstances I might not even know how many lines there are, although of course if I know the lineHeight I can get this by ceil(textHeight/lineHeight) Thoughts welcome Danny ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Physics Engine?
Hi folks, Does anyone know if there's an Actionscript (preferably AS2) physics engine out there other than Flade? Thanks, Ian ___ 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 Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Best Flash data access way opinions
But unless I am totally wrong, AMFPHP wasn't out of beta until recently. And it isn't officially supported by Adobe/MM, or if it is, it wasn't until recently. CF is. Macromedia doesn't support free technologies that are in direct competition with their technologies. Why would they? If you only used Macromedia supported technologies, you would have paid gobs of cash (tens of thousands of dollars) for Generator instead of using the free alternative, JGenerator, which, by the way, had more features than MM's version. MM didn't much care for the fact that nobody was buying their overpriced technology anymore, so when they moved from Flash 5 to Flash MX, they removed the ability to make Generator Templates, effectively ending support for it. This was a big f**k you! to the development community who had been building Jgenerator based sites for their clients, but couldn't offer the improvements in Flash MX and beyond to them because Macromedia decided to attack their own consumers. ColdFusion is a way for inexperienced coders to code middleware. CF is nowhere near as good as .NET, PHP, Java or Ruby. If you know how to code, don't waste your time with CF and dive right in to one of the far better middleware solutions (Ruby on Rails anyone?). AMFPHP has worked great for years, for free. Beta or not, it's a solid, reliable, free solution that many companies have used in production on projects large and small. I could care less if MM approves or not. :) -Steven ___ 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 Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Best Flash data access way opinions
ColdFusion is a way for inexperienced coders to code middleware. CF is nowhere near as good as .NET, PHP, Java or Ruby. If you know how to code, don't waste your time with CF and dive right in to one of the far better middleware solutions (Ruby on Rails anyone?). I would take issue with your description of CF. While it's more approachable for inexperienced coders, it makes things easier for experienced application developers as well. I've worked with ASP.NET and Java, and for most web applications, I think CF has significant advantages over both of them. And as hot as RoR is right now, it's a hard sell in the enterprise and CF isn't. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ___ 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 Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Best Flash data access way opinions
Macromedia doesn't support free technologies that are in direct competition with their technologies. Why would they? I always wondered why MM support PHP in Dreamweaver but refuse to do so for Flash with a PHP remoting. You can build a fully blown database driven site in Dreamweaver (allbeit not perfect code) using their PHP/MySQL support without writing a line of code and without paying for a CF server, .Net server, etc. On 6/23/06, Steven Sacks | BLITZ [EMAIL PROTECTED] wrote: But unless I am totally wrong, AMFPHP wasn't out of beta until recently. And it isn't officially supported by Adobe/MM, or if it is, it wasn't until recently. CF is. Macromedia doesn't support free technologies that are in direct competition with their technologies. Why would they? If you only used Macromedia supported technologies, you would have paid gobs of cash (tens of thousands of dollars) for Generator instead of using the free alternative, JGenerator, which, by the way, had more features than MM's version. MM didn't much care for the fact that nobody was buying their overpriced technology anymore, so when they moved from Flash 5 to Flash MX, they removed the ability to make Generator Templates, effectively ending support for it. This was a big f**k you! to the development community who had been building Jgenerator based sites for their clients, but couldn't offer the improvements in Flash MX and beyond to them because Macromedia decided to attack their own consumers. ColdFusion is a way for inexperienced coders to code middleware. CF is nowhere near as good as .NET, PHP, Java or Ruby. If you know how to code, don't waste your time with CF and dive right in to one of the far better middleware solutions (Ruby on Rails anyone?). AMFPHP has worked great for years, for free. Beta or not, it's a solid, reliable, free solution that many companies have used in production on projects large and small. I could care less if MM approves or not. :) -Steven ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Best Flash data access way opinions
. I've worked with ASP.NET and Java, and for most web applications, I think CF has significant advantages over both of them. And as hot as RoR is right now, it's a hard sell in the enterprise and CF isn't. I can't speak for Ruby, but unfortunately I've found CF is a much harder sell over .NET only because of the cost, whereas a lot of enterprises already have the infrastructure set up to handle .NET applications so they've essentially already paid for it. Plus, cost aside, convincing the IT guys to install CF can be difficult, especially since .NET is already there and they aren't up to speed on the security side of CF. I took a CF class from you Dave, great class, great teacher :), but I've been disappointed I haven't been able to sell any clients on CF yet. Jason Merrill Bank of America Learning Organization Effectiveness - Technology Solutions -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Dave Watts Sent: Thursday, June 22, 2006 1:38 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] Best Flash data access way opinions ColdFusion is a way for inexperienced coders to code middleware. CF is nowhere near as good as .NET, PHP, Java or Ruby. If you know how to code, don't waste your time with CF and dive right in to one of the far better middleware solutions (Ruby on Rails anyone?). I would take issue with your description of CF. While it's more approachable for inexperienced coders, it makes things easier for experienced application developers as well. I've worked with ASP.NET and Java, and for most web applications, I think CF has significant advantages over both of them. And as hot as RoR is right now, it's a hard sell in the enterprise and CF isn't. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Alternate row color (Modulo Operator)
Hi, I have a question about using Modulo Operator. I can easily do an Odd / Even using i%2 !=0 Where i can be any supllied number. My question is, I have a list of movieclips (arranged one below another). I want to use 4 different colours to differentiate them. So, list items 1, 5, 9, ... will have Color-1. items 2, 6, 10, ... will have another Color-2. items 3, 7, 11, ... will have third Colou-3. items 4, 8, 12, ... will have fourth Color-4. And so on Can someone point me to the right direction as to how I should use the moludo? Wether modulo operator is the right way to do this? Thanks ___ 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 Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Best Flash data access way opinions
I can't speak for Ruby, but unfortunately I've found CF is a much harder sell over .NET only because of the cost, whereas a lot of enterprises already have the infrastructure set up to handle .NET applications so they've essentially already paid for it. Plus, cost aside, convincing the IT guys to install CF can be difficult, especially since .NET is already there and they aren't up to speed on the security side of CF. I think that Java is much more common than .NET in most enterprise systems, and since CF is just a J2EE application now, that makes it an easier sell than it used to be. You can write a CF application, create an EAR file containing CF and your application, and give it to your J2EE server administrator and say deploy this, and they can do it without knowing thing one about CF. Bank of America I thought Bank of America was a flagship CF environment! http://www.adobe.com/cfusion/showcase/index.cfm?event=casestudydetailcasest udyid=98723loc=en_us http://www.adobe.com/products/coldfusion/proven/ But anyway, at this point I'm pretty much off-topic, so this'll be my last response in this thread. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ___ 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 Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Best Flash data access way opinions
It's even hard to convince my dad to install Ruby on our webservers. Don't that I really /care/ about Ruby either,I don't really like the syntax of it. I would prefer Python over Ruby for sure. But I would use .NET anytime where possible. The problem I mainly have with CF is that it needs a J2EE server like JRun to make it work. Why would I use CF when we can use Java or Chrome. ___ 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 Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Best Flash data access way opinions
I thought Bank of America was a flagship CF environment! http://www.adobe.com/cfusion/showcase/index.cfm?event=casestud ydetailcasestudyid=98723loc=en_us http://www.adobe.com/products/coldfusion/proven/ But anyway, at this point I'm pretty much off-topic, so this'll be my last response in this thread. Well, this is somewhat embarrassing - the first link talks about a Flash Remoting .NET app. OK, this really is my last post to the thread. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ___ 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 Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Best Flash data access way opinions
I thought Bank of America was a flagship CF environment! Bank of America has over 172,000 employees - so you can imagine we have more than one server and more than one server admin. :) I haven't heard CF mentioned once, but I've only been here 2 months. You sent those Adobe links - that doesn't necessarily mean we are a CF Flagship it just means somewhere in the company they are using it and Adobe got wind and worked on some marketing with us. Large companies use a LOT of different technologies as you can imagine. We're all .NET over here in the group I am in, but I was also speaking more to my last job working with Govt. Clients in D.C. for the past 5 years. Jason Merrill Bank of America Learning Organization Effectiveness - Technology Solutions ___ 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 Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] getTextExtent weirdness
I was recently working on a project where .getTextExtent() would have come handy, but like for others, it did not work for me. I dropped the issue at that time, but have been thinking of trying to create an auto-size field off the stage with the same text style parameters as the textInput component, then copy characters (from the input component as they're typed) to the auto-sized field, then measure the width of the auto-sized field. If the width exceeds the maximum allowed pixel-width, then disallow further typing into the component. I think it should work... has anyone tried this? Ville -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of janosch Sent: Thursday, June 22, 2006 11:09 To: Flashcoders mailing list Subject: Re: [Flashcoders] getTextExtent weirdness Hello, i always use textfield.autoSize, and it works fine. But you have to be carefull, to set the correct styles to the textfield, before measuring. Janosch ___ 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 Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Best Flash data access way opinions
I prefer PHP with Flash. I find many PHP functions very easy to do the job that could take a while doing within Flash. I also feel PHP has a much larger support community. -- Sajid On 6/22/06, Merrill, Jason [EMAIL PROTECTED] wrote: I thought Bank of America was a flagship CF environment! Bank of America has over 172,000 employees - so you can imagine we have more than one server and more than one server admin. :) I haven't heard CF mentioned once, but I've only been here 2 months. You sent those Adobe links - that doesn't necessarily mean we are a CF Flagship it just means somewhere in the company they are using it and Adobe got wind and worked on some marketing with us. Large companies use a LOT of different technologies as you can imagine. We're all .NET over here in the group I am in, but I was also speaking more to my last job working with Govt. Clients in D.C. for the past 5 years. Jason Merrill Bank of America Learning Organization Effectiveness - Technology Solutions ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] webservice - https and flash
i don't know much about https:// but does anyone know a way to connect flash to this ? preffered a php way. much more preffered a native way ? micha ___ 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 Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] webservice - https and flash
Michael Stuhr wrote: i don't know much about https:// but does anyone know a way to connect flash to this ? I think this hsould just work fine, because the browser does all the heavy lifting, downloading wise. ___ 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 Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] webservice - https and flash
Weyert de Boer schrieb: Michael Stuhr wrote: i don't know much about https:// but does anyone know a way to connect flash to this ? I think this hsould just work fine, because the browser does all the heavy lifting, downloading wise. ___ 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 Training http://www.figleaf.com http://training.figleaf.com maybe, but the ide does not. any ideas how to circumvent that ? micha ___ 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 Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] webservice - https and flash
What problem are you having with connections over SSL? I've used it many times, (for loadvars, for loadmovie, etc), and never had to do anything extra, it just works. You might have some trouble, if you load some files from http:// and some files from https://, there are a bunch of security restrictions built into the flash player. Easiest way is to just load everything from the same place (including the initial swf file). If you can't do that for whatever reason, read the help docs on what exactly the security restrictions are, and how to work with them. -David R On 6/22/06, Michael Stuhr [EMAIL PROTECTED] wrote: Weyert de Boer schrieb: Michael Stuhr wrote: i don't know much about https:// but does anyone know a way to connect flash to this ? I think this hsould just work fine, because the browser does all the heavy lifting, downloading wise. ___ 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 Training http://www.figleaf.com http://training.figleaf.com maybe, but the ide does not. any ideas how to circumvent that ? micha ___ 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 Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Alternate row color (Modulo Operator)
You are in modulo 4 here: 4 Categories - 0, 1, 2, or 3 as possible modulo results -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sajid Saiyed Sent: Thursday, June 22, 2006 7:54 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Alternate row color (Modulo Operator) Hi, I have a question about using Modulo Operator. I can easily do an Odd / Even using i%2 !=0 Where i can be any supllied number. My question is, I have a list of movieclips (arranged one below another). I want to use 4 different colours to differentiate them. So, list items 1, 5, 9, ... will have Color-1. items 2, 6, 10, ... will have another Color-2. items 3, 7, 11, ... will have third Colou-3. items 4, 8, 12, ... will have fourth Color-4. And so on Can someone point me to the right direction as to how I should use the moludo? Wether modulo operator is the right way to do this? Thanks ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Alternate row color (Modulo Operator)
In a class, like so: public static var ITEM_COLORS:Array = [0xFF, 0x00FF00, 0xFF, 0xFF]; // (or whichever colors) // assuming property countItem is the number of items // and the method getItem retrieves an item with a color property private function colorItems():Void { for (var i:Number = 0; i countItem; ++i) { getItem(i).color = ITEM_COLORS[i % ITEM_COLORS.length]; } } Note that in this scheme the index number starts at 0, not 1. That's a better practice in general. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sajid Saiyed Sent: Thursday, June 22, 2006 10:54 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Alternate row color (Modulo Operator) Hi, I have a question about using Modulo Operator. I can easily do an Odd / Even using i%2 !=0 Where i can be any supllied number. My question is, I have a list of movieclips (arranged one below another). I want to use 4 different colours to differentiate them. So, list items 1, 5, 9, ... will have Color-1. items 2, 6, 10, ... will have another Color-2. items 3, 7, 11, ... will have third Colou-3. items 4, 8, 12, ... will have fourth Color-4. And so on Can someone point me to the right direction as to how I should use the moludo? Wether modulo operator is the right way to do this? Thanks ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] webservice - https and flash
David Rorex schrieb: What problem are you having with connections over SSL? I've used it many times, (for loadvars, for loadmovie, etc), and never had to do anything extra, it just works. the flash part resits outside of https. You might have some trouble, if you load some files from http:// and some files from https://, there are a bunch of security restrictions built into the flash player. Easiest way is to just load everything from the same place (including the initial swf file). If you can't do that for whatever reason, read the help docs on what exactly the security restrictions are, and how to work with them. would crossdomain.xml help here ? i'm not sure. micha ___ 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 Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Mask over XML Text Flash 8
Hello All, Can someone point me to a tutorial regarding masking XML in flash8 I am trying to make it look like the text box is closing. But when using masks the xml does not draw at all. I have looked at many great tutorials regarding masking in 8 using embeded text and so on. Still not solving the problem. If you can point me in the right direction I would be stoked Thanks for the help Matt - How low will we go? Check out Yahoo! Messengers low PC-to-Phone call rates. ___ 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 Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Mask over XML Text Flash 8
Are you embedding the fonts properly for you dynamic text field. That is often the culprit. Matt Mc wrote: Hello All, Can someone point me to a tutorial regarding masking XML in flash8 I am trying to make it look like the text box is closing. But when using masks the xml does not draw at all. I have looked at many great tutorials regarding masking in 8 using embeded text and so on. Still not solving the problem. If you can point me in the right direction I would be stoked Thanks for the help Matt - How low will we go? Check out Yahoo! Messenger’s low PC-to-Phone call rates. ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Good component sets? (was: Re: XP Components gonebad)
While not trying to pimp my own stuff I'd like to add http://drumbeatinsight.com to the list. It is a small set of components that covers what I think were missing most from the V2 components. They work with all the V2 components, extend them and fixes what I considered were the main problems with them. If you want, check them out. They are as up to date as one month ago, with version 3, and you can purchase the source code for them if you need it. Ville Walveranta wrote: The documenation is detailed, but there is so much stuff in the XP components that the documenation would have to be massive to cover it all. The XP Components documentation is mostly autogenerated (from code) with AS2DOC and while it describes the classes' methods and properties fairly well, IT HAS VIRTUALLY NO CODE EXAMPLES! That annoys heck out of me; just *one* simple this-is-how-you-instantiate-XP-Component-from-custom-class example would have made my day (or, two weeks, rather). Instead all examples use their xp.system.Application.Run() mehtod. Perhaps this means that's the only way to use them, but why? They're in Hong Kong, I think. Ville -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Todd Hivnor Sent: Wednesday, June 21, 2006 16:57 To: Flashcoders mailing list Subject: Re: [Flashcoders] Good component sets? (was: Re: XP Components gonebad) I just posted a similar question, look for the thread with subject line Best component set for Flash 8 / MTASC development? Quickly, tho, I'm feeling the same way: There seems to be a lack of good component sets these days. The XP components look very comprehensive, and have good keyboard control. But they don't seem to be under active development. The lead developer has responded to my initial questions, but seems to be in a far east timezone so responses take full day to get. The documenation is detailed, but there is so much stuff in the XP components that the documenation would have to be massive to cover it all. I haven't spent too much time with them, but haven't been able to get a lot done in the time I've spent. There are a couple of open source projects under development, but are in either alpha or beta state. Ghostwire has poor keyboard control. David Rorex [EMAIL PROTECTED] wrote: There seems to be a lack of good component sets these days. Ghostwire: Maybe the best, but done in old-style AS1 mCom: Pretty good, but a couple showstopper bugs, little to no support from developer. poor documentation. XP: see previous message MM v2: bloated, bugs Flex 2: requires flash 9 What am I missing here? Are there any other full component sets I don't know about? -David R - Sneak preview the all-new Yahoo.com. It's not radically different. Just radically better. ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com -- Always bear in mind that your own resolution to succeed is more important than any one thing. You can have anything you want - if you want it badly enough. You can be anything you want to be, do anything you set out to accomplish if you hold to that desire with singleness of purpose. - Abraham Lincoln ___ 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 Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] XMLSocket: load policy file and connect to port 80
Hi, we have socket server running port 80, I need get a policy file through: System.security.loadPolicyFile(xmlsocket://213.32.122.227:80); The following class does work offline, but not online. How am I supposed to debug this, as the System method to load the policy file has no callback. Has anyone experience with loading a policy file from and connecting to port 80? Thanks, Michael import com.dynamicflash.utils.Delegate; import mx.events.EventDispatcher; import org.aikane.Aikane; import auktion.Auktion; /** * AuktionConnector * * @author Michael Nisi ([EMAIL PROTECTED]) * @version 0.0.0 22.05.2006 */ class auktion.business.AuktionConnector { private static var instance:AuktionConnector; private static var socket:XMLSocket; private static var waitID:Number; private static var isConnected:Boolean; public static var CONNECT_EVENT:String = connect; public static var CLOSE_EVENT:String = close; public static var DATA_EVENT:String = data; public static var XML_EVENT:String = xml; private function AuktionConnector(Void) { EventDispatcher.initialize(this); socket = new XMLSocket(); socket.onConnect = Delegate.create(this, onConnect); socket.onXML = Delegate.create(this, broadcast, XML_EVENT); socket.onClose = Delegate.create(this, onClose); } public static function getInstance(Void):AuktionConnector { Aikane.log(auktion.business.AuktionConnector, getInstance: +instance); return instance || getNewInstance(); } private static function getNewInstance(Void):AuktionConnector { instance = new AuktionConnector(); return instance; } public function dispatchEvent(event:Object) {} public function addEventListener(type:String, listener):Void {} public function removeEventListener(type:String, listener):Void {} public function connect(host:String, port:Number):Void { Aikane.log(toString(), Auktion.POLICY_FILE); System.security.loadPolicyFile(xmlsocket://213.32.122.227:80); socket.connect(host, port); clearInterval(waitID); waitID = setInterval(this, onConnect, 5000, false); } public function send(xml:XML):Void { socket.send(xml); } private function onConnect(success:Boolean, delegate:Function):Void { Aikane.log(toString(), onConnect); clearInterval(waitID); if (success) { broadcast(success, CONNECT_EVENT); } else { broadcast(null, XML_EVENT); } } private function onClose(e, delegate:Function):Void { Aikane.log(toString(), onClose); } private function broadcast(data:Object, type:String, delegate:Function):Void { Aikane.log(toString(), broadcast); dispatchEvent({ type:type, data:data, target:this }); } private function toString(Void):String { return auktion.business.AuktionConnector; } } ___ 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 Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Alternate row color (Modulo Operator)
Perfect, Mike this worked. Thanks a lot. On 6/23/06, Mike [EMAIL PROTECTED] wrote: In a class, like so: public static var ITEM_COLORS:Array = [0xFF, 0x00FF00, 0xFF, 0xFF]; // (or whichever colors) // assuming property countItem is the number of items // and the method getItem retrieves an item with a color property private function colorItems():Void { for (var i:Number = 0; i countItem; ++i) { getItem(i).color = ITEM_COLORS[i % ITEM_COLORS.length]; } } Note that in this scheme the index number starts at 0, not 1. That's a better practice in general. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sajid Saiyed Sent: Thursday, June 22, 2006 10:54 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Alternate row color (Modulo Operator) Hi, I have a question about using Modulo Operator. I can easily do an Odd / Even using i%2 !=0 Where i can be any supllied number. My question is, I have a list of movieclips (arranged one below another). I want to use 4 different colours to differentiate them. So, list items 1, 5, 9, ... will have Color-1. items 2, 6, 10, ... will have another Color-2. items 3, 7, 11, ... will have third Colou-3. items 4, 8, 12, ... will have fourth Color-4. And so on Can someone point me to the right direction as to how I should use the moludo? Wether modulo operator is the right way to do this? Thanks ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Best Flash data access way opinions
Rails and JSON (http://wiki.rubyonrails.org/rails/pages/JSON+Webservice+Plugin) -- because it's fun and your backend isn't bound to flash. Regards, Michael On 6/22/06, Sajid Saiyed [EMAIL PROTECTED] wrote: I prefer PHP with Flash. I find many PHP functions very easy to do the job that could take a while doing within Flash. I also feel PHP has a much larger support community. -- Sajid On 6/22/06, Merrill, Jason [EMAIL PROTECTED] wrote: I thought Bank of America was a flagship CF environment! Bank of America has over 172,000 employees - so you can imagine we have more than one server and more than one server admin. :) I haven't heard CF mentioned once, but I've only been here 2 months. You sent those Adobe links - that doesn't necessarily mean we are a CF Flagship it just means somewhere in the company they are using it and Adobe got wind and worked on some marketing with us. Large companies use a LOT of different technologies as you can imagine. We're all .NET over here in the group I am in, but I was also speaking more to my last job working with Govt. Clients in D.C. for the past 5 years. Jason Merrill Bank of America Learning Organization Effectiveness - Technology Solutions ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] XMLSocket: load policy file and connect to port 80
Hi Michael, I have experience with this. Below I show you how to test via telnet. It looks like you aren't serving up the policy file. You can test this via telnet. For instance, on Windows: 1) Click Start Run , enter 'cmd' and hit ENTER 2) type the following and hit ENTER telnet 213.32.122.227 80 If it worked you should see the policy file in the console. When I tried it I did not see your policy file. Here is an example of ElectroServer serving up a policy file (run this line): telnet electro-server.com 9875 You'll see that it spits out the policy file into the console. Jobe Makar http://www.electrotank.com http://www.electro-server.com phone: 252-627-8026 mobile: 919-609-0408 fax: 919-341-8104 - Original Message - From: Michael Nisi [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Thursday, June 22, 2006 4:11 PM Subject: [Flashcoders] XMLSocket: load policy file and connect to port 80 Hi, we have socket server running port 80, I need get a policy file through: System.security.loadPolicyFile(xmlsocket://213.32.122.227:80); The following class does work offline, but not online. How am I supposed to debug this, as the System method to load the policy file has no callback. Has anyone experience with loading a policy file from and connecting to port 80? Thanks, Michael import com.dynamicflash.utils.Delegate; import mx.events.EventDispatcher; import org.aikane.Aikane; import auktion.Auktion; /** * AuktionConnector * * @author Michael Nisi ([EMAIL PROTECTED]) * @version 0.0.0 22.05.2006 */ class auktion.business.AuktionConnector { private static var instance:AuktionConnector; private static var socket:XMLSocket; private static var waitID:Number; private static var isConnected:Boolean; public static var CONNECT_EVENT:String = connect; public static var CLOSE_EVENT:String = close; public static var DATA_EVENT:String = data; public static var XML_EVENT:String = xml; private function AuktionConnector(Void) { EventDispatcher.initialize(this); socket = new XMLSocket(); socket.onConnect = Delegate.create(this, onConnect); socket.onXML = Delegate.create(this, broadcast, XML_EVENT); socket.onClose = Delegate.create(this, onClose); } public static function getInstance(Void):AuktionConnector { Aikane.log(auktion.business.AuktionConnector, getInstance: +instance); return instance || getNewInstance(); } private static function getNewInstance(Void):AuktionConnector { instance = new AuktionConnector(); return instance; } public function dispatchEvent(event:Object) {} public function addEventListener(type:String, listener):Void {} public function removeEventListener(type:String, listener):Void {} public function connect(host:String, port:Number):Void { Aikane.log(toString(), Auktion.POLICY_FILE); System.security.loadPolicyFile(xmlsocket://213.32.122.227:80); socket.connect(host, port); clearInterval(waitID); waitID = setInterval(this, onConnect, 5000, false); } public function send(xml:XML):Void { socket.send(xml); } private function onConnect(success:Boolean, delegate:Function):Void { Aikane.log(toString(), onConnect); clearInterval(waitID); if (success) { broadcast(success, CONNECT_EVENT); } else { broadcast(null, XML_EVENT); } } private function onClose(e, delegate:Function):Void { Aikane.log(toString(), onClose); } private function broadcast(data:Object, type:String, delegate:Function):Void { Aikane.log(toString(), broadcast); dispatchEvent({ type:type, data:data, target:this }); } private function toString(Void):String { return auktion.business.AuktionConnector; } } ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Export frame option disabled
Hey everyone, Im creating a preloader and I notice that it doesnt start until about 90% done loading the file. I believe this is because my ui components are exported to the first frame. I tried unchecking export to first frame with no difference. I also tried changing the actionscript setting to export it to frame 2 rather than 1, but it is unavailable to change (the field is disabled). Am I missing something here? ;) Thanks! Mike ___ 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 Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Sample PHP script for handling XML from Flash
All, I don't know if anyone's following this thread or would find this useful, but thanks to the pointers I received from Jim, I've been able to cobble together a few PHP scripts that do what I need them to. If anyone wants to see them, send me an email to let me know. I can't promise that they're the most elegant or robust, but they do the job. Cheers, Matt On 6/22/06, Chris Allen [EMAIL PROTECTED] wrote: On 6/21/06, matt stuehler [EMAIL PROTECTED] wrote: However, with most of our work, we develop an RIA for a client, who handles the back-end themselves. So, we develop our apps so that they send and receive XML, which means the client can use whatever they want in the backend: asp, asp.net, webservices, php, whatever... Is this a valid position? E.g., if we used amfphp, are we then limiting our flexibility on the back-end? There are open source implementations of AMF in .NET, Java, and PHP, as well as closed source versions for multiple platforms, so compatibility shouldn't be too much of a concern. For more information look here: http://www.osflash.org/amf You can also add Red5 to the list presented there. I hope that helps. -Chris ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] webservice - https and flash
I share the opinion that it's best to test web service connectivity outside the IDE. HTTPS problems are also one of the reasons why I don't use the Web Service components that ship with Flash. The safest bet is to do your testing from a development server in the same network environment as your production server. That will save you from any surprises down the road. However, I've also had good luck testing locally, just in my web browser instead of the Flash IDE. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Stuhr Sent: Thursday, June 22, 2006 3:12 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] webservice - https and flash David Rorex schrieb: What problem are you having with connections over SSL? I've used it many times, (for loadvars, for loadmovie, etc), and never had to do anything extra, it just works. the flash part resits outside of https. You might have some trouble, if you load some files from http:// and some files from https://, there are a bunch of security restrictions built into the flash player. Easiest way is to just load everything from the same place (including the initial swf file). If you can't do that for whatever reason, read the help docs on what exactly the security restrictions are, and how to work with them. would crossdomain.xml help here ? i'm not sure. micha ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Export frame option disabled
Are you basing the percentage on the frames loaded (100 * _framesloaded / _totalframes) or bytes loaded (100 * getBytesLoaded() / getBytesTotal())? You should be doing the latter. If you are then ... um *tags someone else* -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Boutin Sent: Thursday, June 22, 2006 1:52 PM To: Flashcoders mailing list Subject: [Flashcoders] Export frame option disabled Hey everyone, Im creating a preloader and I notice that it doesnt start until about 90% done loading the file. I believe this is because my ui components are exported to the first frame. I tried unchecking export to first frame with no difference. I also tried changing the actionscript setting to export it to frame 2 rather than 1, but it is unavailable to change (the field is disabled). Am I missing something here? ;) Thanks! Mike ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Muting a flash video stream
This is in the initial setup of a video player I've made: __video = __videoHolder.__video; __nc = new NetConnection(); __nc.connect(null); __ns = new NetStream(__nc); __video.attachVideo(__ns); __videoHolder.attachAudio(__ns); __volumeControl = new Sound(__videoHolder); __volumeControl.setVolume(0) will then mute the video. -josh On Jun 22, 2006, at 1:55a, Elvin Tan wrote: Hi Guys, Adding mute buttons to some of my applications, got it working fine for mp3/sound objects. I've a simple video streaming solution from FMS - Flash Client. Here's the code snippet. nc1.showVideo = function(video) { ns1= new NetStream(nc1); ns1.setBufferTime(_global.buffertime); video1.attachVideo(ns1); video1.attachAudio(false); video1.deblocking(_global.deblock); video1.smoothing(_global.smoothing); ns1.play(video); } (nc1 being the net connection to the FMS,) The .atttachAudio(false); was supposed to didsable the audio, but not, it doesnt work :( Any ideas ? Elvin - ___ 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 Training http://www.figleaf.com http://training.figleaf.com ___ 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 Training http://www.figleaf.com http://training.figleaf.com