[Flashcoders] import fl.events.ComponentEvent crashes compiler?!

2010-12-09 Thread Mendelsohn, Michael
Yes, it's true, and I've narrowed it down to one statement: import fl.events.ComponentEvent; When I include this statement, the swf won't compile. Even after deleting that line of code, Flash won't compile. I have to close the IDE and restart. What could be causing this? I can't imagine

[Flashcoders] Flash Builder 4 Profiler

2010-12-09 Thread Tom Gooding
Hi, Has anyone had major grief trying to get this working? I used in a while ago and it seemed very easy - just loaded an external application and that was that - now we can't get it going despite all sorts of hacking round with security settings and the mm.cfg file, most of which is

[Flashcoders] stop caching

2010-12-09 Thread Lehr, Theodore
I am trying to prevent caching via: function startLoad(dfile:String) { var ran:int = Math.round(Math.random()*10); var dfileb:String = new String(); dfileb = dfile+?ran=+ran; var mRequest:URLRequest=new URLRequest(dfileb); } startLoad(moive.swf); but I get an error 2044:

Re: [Flashcoders] stop caching

2010-12-09 Thread Nathan Mynarcik
You could add a new Date variable at the end of your swf like: var d:Date = new Date() var nc:String = ?nocache= + d.getTime(); startLoad(moive.swf+nc); Nathan Mynarcik nat...@mynarcik.com www.mynarcik.com http://www.mynarcik.com/feed/rss.xml http://www.twitter.com/NMynarcik

RE: [Flashcoders] stop caching

2010-12-09 Thread Lehr, Theodore
I think it is the ?whatever=xxx that it is having issues with - so I am not sure doing it another way does not change it, I don;t think - it seems to only want xxx.swf not xxx.swf?whatever=whatever From: flashcoders-boun...@chattyfig.figleaf.com

Re: [Flashcoders] stop caching

2010-12-09 Thread Nathan Mynarcik
The method I described is how I have kept from caching. Wonder if there is a difference when testing locally vs. on a server. Nathan Mynarcik nat...@mynarcik.com www.mynarcik.com http://www.mynarcik.com/feed/rss.xml http://www.twitter.com/NMynarcik

Re: [Flashcoders] stop caching

2010-12-09 Thread Juan Pablo Califano
If you are loading the swf directly from the file system (that is, localy) appending parameters to the querystring won't work because they'll be considered part of the file name. So those parameters will not be interpreted as such. In a http environment (i.e. a server, local or remote), on the