Re: [Flashcoders] Will the new iPhone run flash?

2007-01-15 Thread Josh Trout
According to this article it looks like there will be flash (doesn't say what version) on the iPhone: http://arstechnica.com/journals/apple.ars/2007/1/15/6632 Now I just need to convince my boss I'll need one for testing applications. Should be interesting to see how the multi touch interface

Re: [Flashcoders] any nice free PHP or .Net library to generate SWF

2006-02-24 Thread Josh Trout
http://us2.php.net/ming http://ming.sourceforge.net/ On 2/24/06, chall3ng3r [EMAIL PROTECTED] wrote: hello, i'm looking for a free library to generate SWF, it'd be great if someone kows about any .net library. thanks in adv, // chall3ng3r //

Re: [Flashcoders] Ensuring commercial is played before the video whilekeeping .FLV external

2006-02-13 Thread Josh Trout
Even doing that, a user could still find the remote file by using a tool like Fiddler (http://www.fiddlertool.com). If the user is willing to go through the trouble of bypassing your current method, it's unlikely they would be stopped by obscuring the filename. Combining the files seems the only

Re: [Flashcoders] scope question

2006-02-01 Thread Josh Trout
My guess would be these lines: var xdiff:Number = _root._xmouse-this._x; var ydiff:Number = _root._ymouse-this._y; Unless the center of your holder mc is at (0,0), then your code will be off. Try changing this._x to _parent._x and the same for the _y. You could also build a more flexible

Re: [Flashcoders] Gotcha: F8 Security Model

2006-01-27 Thread Josh Trout
You don't need a guru, just a crossdomain file. Just save this as crossdomain.xml and place it in the root of the site (and of course change yourdomain to your real domain). ?xml version=1.0? !DOCTYPE cross-domain-policy SYSTEM http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd;

Re: [Flashcoders] Gotcha: F8 Security Model

2006-01-26 Thread Josh Trout
It's very easy for legitimate sites to get around this limitation by using a crossdomain.xml file. That lets you set up more complex rules (such as only allowing www subdomains or just *.yourdomain.com and *.yourotherdomain.com) to make your sandbox even bigger. You don't even have to modify the

Re: [Flashcoders] number casting weirdness

2006-01-24 Thread Josh Trout
The leading 0 makes flash think you're trying to use an octal (base 8) number. You can use parseInt(numberStr, 10) to force using base 10. ~Trout http://www.amongtrout.com On 1/24/06, quinrou . [EMAIL PROTECTED] wrote: Hi all, I am having some really strange things with the Number casll