Re: [Flashcoders] Getting Data into my SWF

2011-03-11 Thread Glen Pike
Hello, The parameters that you pass to the SWF in your HTML are different to communicating with a back-end system. If you look at URLLoader in actionscript. This enables you to load data as you would load a web-page. You would use URLLoader with your server-side code, e.g. PHP

Re: [Flashcoders] Getting Data into my SWF

2011-03-11 Thread Henrik Andersson
Glen Pike skriver: Hello, The parameters that you pass to the SWF in your HTML are different to communicating with a back-end system. If you look at URLLoader in actionscript. This enables you to load data as you would load a web-page. You would use URLLoader with your server-side code, e.g.

Re: [Flashcoders] Getting Data into my SWF

2011-03-11 Thread Glen Pike
Okay, so it is possible to change the date using a sniffer, but being as the majority of people don't tend to use sniffers, unless the guy is writing a critical application that flies planes or crashes them if the date is wrong then I would suggest that the risk assessment here would be to

[Flashcoders] RegExp Help

2011-03-11 Thread Karim Beyrouti
Hello lovely list...I am trying to run a RegExp pattern on a String, and am not too sure why it's not working, and am not too sure why. Here is the code: var tStr: String= '/a:value -big=this -test:123 -test2=th_3' var r : RegExp= new RegExp(

[Flashcoders] FDT, version control and project files

2011-03-11 Thread Alias Cummins
Hey guys, Been a while since I posted here. I'm going to assume that you are all still alive and that not everyone has quit coding with actionscript and started using HTML5 for your website banner builds just yet... Anyway, I have a question about FDT and version control: What are people doing

[Flashcoders] hitTestPoint mc with transparent PNG

2011-03-11 Thread Eric E. Dolecki
I've done this before but it's been ages. I have a MC on the stage and would like to perform hitTestPoint on it. The MC contains a PNG with transparency. I'd like for the transparent regions not to figure into the hit detection. Looking at bitmapData. Whats a good little bit of code to do that

RE: [Flashcoders] Getting Data into my SWF

2011-03-11 Thread Merrill, Jason
Then you need to provide each user with a computer controlled by you and a competent guard You clearly haven't heard of And he's clearly new to this stuff as he said is his original post, so lay off play nice. There's no reason to respond to people like that. The whole reason for these

Re: [Flashcoders] Getting Data into my SWF

2011-03-11 Thread Henrik Andersson
Merrill, Jason skriver: Then you need to provide each user with a computer controlled by you and a competent guard You clearly haven't heard of And he's clearly new to this stuff as he said is his original post, so lay off play nice. There's no reason to respond to people like that. The

[Flashcoders] Re: hitTestPoint mc with transparent PNG

2011-03-11 Thread Eric E. Dolecki
Found this (it's awesome) - just make sure your host clip has it's origin top left or it won't report correctly. http://dougmccune.com/flex/hittest_example/srcview/index.html - Eric On Fri, Mar 11, 2011 at 10:00 AM, Eric E. Dolecki edole...@gmail.comwrote: I've done this before but it's

Re: [Flashcoders] Getting Data into my SWF

2011-03-11 Thread John R. Sweeney Jr
I couldn't agree more. John on 3/11/11 9:02 AM, Merrill, Jason at jason.merr...@bankofamerica.com wrote: And he's clearly new to this stuff as he said is his original post, so lay off play nice. There's no reason to respond to people like that. The whole reason for these forums is so

Re: [Flashcoders] Getting Data into my SWF

2011-03-11 Thread Eric E. Dolecki
Perhaps you could send the string data in some coded way that your Flash code can decode and use properly. Nothing is going to be fool proof however. Come up with your own little scheme... a 1 = A, 2 = B, etc. (probably want something tougher than that though :)) How are you going to handle time

Re: [Flashcoders] FDT, version control and project files

2011-03-11 Thread Nathan Mynarcik
Hey Alias, At my current place of work, we almost always use SVN to control our projects. Lately, we have started to noticed that the SVN plugin with FDT 3.5 is subpar and likes crap on us often. So some of the guys have started using CornerStone to handle the SVN stuff. I feel it's alot easier

Re: [Flashcoders] Getting Data into my SWF

2011-03-11 Thread John McCormack
Kevin, On start-up the SWF could request the date of data transfer from a server script. The script would return it from the database in encrypted form to bypass sniffers. When the date is reached, and data requested, the PHP script could compare current server date and date from the

Re: [Flashcoders] htmlText im src

2011-03-11 Thread Ktu
I appreciate your responses Karl, but I think you're still a bit off. The img in htmlText can have a source of a library item, and an interactive MovieClip (say checkbox) can be inserted into the textfield and work. I want to put an interactive Sprite into the textfield, but not through a library

Re: [Flashcoders] RegExp Help

2011-03-11 Thread Ktu
I just plugged it into RegExr http://www.regexr.com and I can't make sense of it. Try using that tool to build it. It really helps On Fri, Mar 11, 2011 at 5:56 AM, Karim Beyrouti ka...@kurst.co.uk wrote: Hello lovely list...I am trying to run a RegExp pattern on a String, and am not too sure

Re: [Flashcoders] RegExp Help

2011-03-11 Thread Anthony Pace
Hi Karim and Ktu, Below is an explanation of what appears to be going on in the given pattern: (?:\s*) is a greedy non-capturing group of whitespace (?=[-|/]) is looking behind the next section of the expression, (?name\w*), for, what is in this case, a character set; as well, it does so