<?xml version="1.0"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel><atom:link href="http://sandboxviolation.appspot.com/rss" rel="self" type="application/rss+xml" />
<title>sandboxviolation</title>
<link>http://sandboxviolation.appspot.com/</link>
<description>sandboxviolation - Recent Questions</description>
<language>en-us</language>
<copyright>Copyright 2009, Anirudh Sasikumar</copyright>
<generator>gae</generator>
<docs>http://blogs.law.harvard.edu/tech/rss</docs>
<ttl>600</ttl>
<lastBuildDate>Tue, 15 Dec 2009 11:32:38 GMT</lastBuildDate>
<item><title>Sharing buisness logic between the server and the client</title><description><![CDATA[
I'm working on an app which will, like most apps, have a whole boat load of buisness logic, almost all of which will need to be executed both on the server and the client And I'm trying to figure out the best (read: least complex) way to implement the rules engine.These are the parameters of the problem:  * The rules engine must both run in a web browser (ie, in Flash Player) and on the server. Duplicating the logic (eg, by writing a "server" version and a "client" version) would be an unacceptable risk.  * The input/output data is fairly complex, so serialization is a nontrivial problem. We are currently using AMF for all of our serialization needs, and using another protocol would add significant complexity So it should probably be avoided.  * It is infeasible to implement a "rules description language". Experimentation has shown that rules are sufficiently complex that any such language would need to be Turing complete Which would also add a significant amount of complexity.  * The rules engine will not need to make some, but not very many, service calls.Currently, the best contenders are: * Writing the code in ActionScript, then running it on the server. In theory it's possible to start up an AVM instance, get it long-polling a gateway, then pass data back and forth that way But that seems less than ideal. Is there a "good" way of doing this? * Writing the code in haXe. I don't know anything about haXe's AMF support, so that could be a deal-breaker. * Something involving Tamarin. Seems like a viable option, but I haven't done enough research to tell either way.So, what do you think? Are any of these options clearly better than others? Is there something I haven't though of that's worth considering?Finally, thanks for reading this wall of text :)
]]></description><pubDate>Tue, 20 Oct 2009 06:54:48 GMT</pubDate><guid isPermaLink="true">http://sandboxviolation.appspot.com/#questions/115410</guid></item>
<item><title>capturing object/field properties</title><description><![CDATA[
How can we capture the properties of external application object/field using flex application?
]]></description><pubDate>Wed, 23 Sep 2009 01:33:33 GMT</pubDate><guid isPermaLink="true">http://sandboxviolation.appspot.com/#questions/95402</guid></item>
<item><title>Can we papameterize the  component Id's?</title><description><![CDATA[
for(var i:int = 0;i&lt;5;i++)        {        for(var j:int =0; j&lt;7;j++)             {                 var t:String = "txt";                 var temp2:String = t+i+j;                 // temp2.text = "Hello";                  }        }        Actually my requirement is..... i have id's like txt00, txt01, txt02,....... txt4,6. I need to add some text to these components using for loop. Could you plz let me know, how to parameterize the id's of components?
]]></description><pubDate>Mon, 14 Sep 2009 06:09:22 GMT</pubDate><guid isPermaLink="true">http://sandboxviolation.appspot.com/#questions/89431</guid></item>
<item><title>What is the event model in Flex ?</title><description><![CDATA[
What is the event model in Flex ?
]]></description><pubDate>Fri, 11 Sep 2009 05:08:29 GMT</pubDate><guid isPermaLink="true">http://sandboxviolation.appspot.com/#questions/89427</guid></item>
<item><title>How Flex event will contact server?</title><description><![CDATA[
How Flex event will contact server?
]]></description><pubDate>Fri, 11 Sep 2009 05:10:23 GMT</pubDate><guid isPermaLink="true">http://sandboxviolation.appspot.com/#questions/90436</guid></item>
<item><title>Best Approach to user management and authenticatioin</title><description><![CDATA[
HelloI am currently finishing a relatively simple site that is driven by coldfusion and mysql db with a flex front end.  I do not have much experience writing a user management system or with anything other than basic authentication.  Right now, I am only writing new users to the db and authenticating passwords against it through an sql query.  There must be a better way to do this and I would really appreciate any direction or resources. Thanks!Jeff
]]></description><pubDate>Wed, 09 Sep 2009 07:09:02 GMT</pubDate><guid isPermaLink="true">http://sandboxviolation.appspot.com/#questions/89417</guid></item>
<item><title>GMT EST</title><description><![CDATA[
var milliseconds:Number = Date.parse("Tue Jul 28 13:30:00 +0000 2009");var estOffset:Number = -(5 * 3600000);var finalDate:Date = new Date(milliseconds- estOffset);trace(finalDate.toString());Can anyone says where am I going wrongIt gives me 29th of July
]]></description><pubDate>Wed, 29 Jul 2009 05:50:22 GMT</pubDate><guid isPermaLink="true">http://sandboxviolation.appspot.com/#questions/77418</guid></item>
<item><title>Detect user interaction with HTML elements</title><description><![CDATA[
Hello, is there a way from inside  the flex application to detect if a user clicks an external HTML link ?I want  to  show a pop up window for confirmation, if the user clicks somewhere else and tries  to "unload"  my swf file...
]]></description><pubDate>Mon, 27 Jul 2009 08:12:06 GMT</pubDate><guid isPermaLink="true">http://sandboxviolation.appspot.com/#questions/75412</guid></item>
<item><title>What's the most complex use of deep linking in a flex app you've seen / implemented?</title><description><![CDATA[
I'm thinking of putting together a flex-based tech demo related to my research, but the client would likely need to maintain quite a lot of state information, making deep linking a bit tricky.  I was curious what other flex developers have done with deep linking and how far they've pushed this particular method of state encoding.  Is <a href='http://code.google.com/p/urlkit/'>URLKit</a> still seen as best practice for new flex projects?
]]></description><pubDate>Mon, 07 Sep 2009 22:13:29 GMT</pubDate><guid isPermaLink="true">http://sandboxviolation.appspot.com/#questions/74411</guid></item>
<item><title>Just a few curiosities (Somewhat malicious).</title><description><![CDATA[
Is it possible to "increase" the volume of a sound by playing it twice or more in the same moment?  Would this create a louder sound?I know it is possible to force fullscreen, but does the permission have to be declared in the &lt;embed&gt; or &lt;param&gt; tag?  Can I go full-screen without HTML?Is it possible to detect the current URL of  the flash file?  (Even if it were being hosted locally?)  If so, how?What of  opening a URL forcibly?  Buttons just call functions on click/mouseover/input, so could I use an endless if/for statement to loop a URL opening script?
]]></description><pubDate>Mon, 15 Jun 2009 06:19:05 GMT</pubDate><guid isPermaLink="true">http://sandboxviolation.appspot.com/#questions/61403</guid></item>
<item><title>How can I use a loader script?</title><description><![CDATA[
How can I use a loader script to load a flash(swf) file in the browser by itself.(hope that my question is not that confusing)
]]></description><pubDate>Mon, 08 Jun 2009 14:52:53 GMT</pubDate><guid isPermaLink="true">http://sandboxviolation.appspot.com/#questions/55458</guid></item>
<item><title>Detecting when an AdvancedDataGrid item is "opened" or "closed"</title><description><![CDATA[
How do I detect when an item in an AdvancedDataGrid has been opened or closed (that is, the little arrow to the left of it has been clicked)?
]]></description><pubDate>Sat, 30 May 2009 10:44:05 GMT</pubDate><guid isPermaLink="true">http://sandboxviolation.appspot.com/#questions/55441</guid></item>
<item><title>byteArray to bitmapData</title><description><![CDATA[
Hello,I have a question, I am using a byteArray which is a large png image and I am trying to read this byteArray and using the bitmapData.setPixels(rect:Rectangle ,byteArray:ByteArray) method to draw the bitmap.I always get an EOFError  and process stops. The rectangle  I use has width=4075 and height = 5315 which are exactly the same as the png I am loading.Am I doing the process the correct way or I should loop the byteArray pixel by pixel?
]]></description><pubDate>Thu, 28 May 2009 13:04:22 GMT</pubDate><guid isPermaLink="true">http://sandboxviolation.appspot.com/#questions/55427</guid></item>
<item><title>Loader problem</title><description><![CDATA[
Hi guys, I am having a problem with a loader (Loader Class) which I am using to get a .png image file (high resolution about 5500x3500).The problem is that the complete event never fires although the progress event tells me it's 100% loaded sucessfully!The weird thing is that I can load a really high resolution jpg image with exactly the same code!Can anyone please tell me if there is a restriction for png (transparent) and Loader class or if there is a workaround to get them in my application? Thanks
]]></description><pubDate>Sat, 13 Jun 2009 08:36:59 GMT</pubDate><guid isPermaLink="true">http://sandboxviolation.appspot.com/#questions/56404</guid></item>
<item><title>my buttonbar in flex doesn't change when locale resource bundle</title><description><![CDATA[
im begining in flex 3 :) all label get changed when i choose locale from combobox but buttonbar cannot. give me some hint. plz
]]></description><pubDate>Mon, 11 May 2009 04:19:03 GMT</pubDate><guid isPermaLink="true">http://sandboxviolation.appspot.com/#questions/48412</guid></item>
<item><title>Licensing Issue</title><description><![CDATA[
I just recently have entered the Flex world.  Yeah!  I had worked for 60 days using the Trial of Flex Builder and we decided to purchase.  I purchased today but bought two licenses--one was Pro and one was Standard.  I wanted Pro on my machine and my co-worker was going to get Standard.  I accidentially entered the Standard Serial Number into my installation.  I was dismayed when I couldn't change this by entering the Pro serial number.  I was told by Adobe Tech support to uninstall and reinstall the software (this was a BIG hassle) to fix the problem.  I did that and it still didn't work (I still had the same license number popping up after the fresh install).I figured that there is a registry key set to the serial number somewhere out there.  If this is true, can I delete this registry key and just start over?  How can I get this thing to Pro!Thanks,Michael
]]></description><pubDate>Mon, 27 Apr 2009 06:31:36 GMT</pubDate><guid isPermaLink="true">http://sandboxviolation.appspot.com/#questions/44411</guid></item>
<item><title>AdvancedDataGrid SummaryRow</title><description><![CDATA[
Hi,One quick question. I have an AdvancedDataGrid. I need to add a summaryrow to the grid which will contain SUM/AVERAGE of the respective columns in the ADG. Can anyone point me to some tutorial or any reference where I can learn how to create a summaryrow?Thanks!
]]></description><pubDate>Mon, 27 Apr 2009 06:40:49 GMT</pubDate><guid isPermaLink="true">http://sandboxviolation.appspot.com/#questions/43404</guid></item>
<item><title>DragDrop image from file:/ sandbox couses security warnings in AIR app</title><description><![CDATA[
AIR application for pictures manipulations has TileList with custom ItemRenderer for selected by user image files. When trying do drag and drop items to another Canvas object - getting security warnings.Does anyone know how to handle security issues wth local images loaded to the application in the runtime?
]]></description><pubDate>Thu, 16 Apr 2009 00:21:00 GMT</pubDate><guid isPermaLink="true">http://sandboxviolation.appspot.com/#questions/26407</guid></item>
<item><title>Flex debugging Tomcat</title><description><![CDATA[
Hi all, firts thanks for this great application!My question is about Flex Debugging when I deploy Flex&amp;Java project in my Tomcat Server.Now, if I add some breakpoint in my Adobe Flex Builder 3 Java project, when Flex front end call some java service Builder start debug perspective and I'm able to debug my java service. Everything it's ok.But if I want to debug some Flex component with my project deployed in Tomcat server, Builder doesn't start Flex debugging perspective.I read one post and I think that I need to add JVM parameters when I start Tomcat server:-Xdebug-Xrunjdwp:transport=dt_socket,address=8000,server=y ,suspend=nBut when I add this parameters I see errors in Tomcat start:ERROR: JDWP unable to get necessary JVMTI capabilities. ["debugInit.c",L279]I'm finding information about this, but for the moment, I don't see anything clear.How do you do to debug Flex components deployed in Tomcat in Flex Debugging Perspective?Thanks for your help! 
]]></description><pubDate>Tue, 14 Apr 2009 13:31:56 GMT</pubDate><guid isPermaLink="true">http://sandboxviolation.appspot.com/#questions/25421</guid></item>
<item><title>Why is my flash / flex app invisible within an IFrame or a div with z ordering?</title><description><![CDATA[
The flash / flex app is hidden. Why?
]]></description><pubDate>Wed, 25 Mar 2009 09:13:42 GMT</pubDate><guid isPermaLink="true">http://sandboxviolation.appspot.com/#questions/25407</guid></item>
</channel></rss>