Security Sandbox Violation on HDividedBox resize


this being run in flex debugger air app. i've got 2 tilelists images loaded filesystem setting source property url of local files.  tile lists in hdividedbox.  resizing gutter on hdiv box gives security sandbox violation.

 

i've included minimal self contained mxml test case.

 

why sanbox violation when resizing hdividedbox?

 

i seem getting same violation when trying drag icons.

 

i images loading data in seperate security context app: context, how dragging hdiv box causing conflicts?

 

i baffeled why either 1 giving sandbox violation.

 

any pointers?

 

[code]
<?xml version="1.0" encoding="utf-8"?>
<mx:windowedapplication xmlns:mx="http://www.adobe.com/2006/mxml"
                        layout="absolute"
                        initialize="filllist()" >
                       
    <mx:hdividedbox x="0" y="0" width="100%" height="100%">
        <mx:tilelist width="100%" height="100%" dataprovider="{imagefiles}" dragenabled="true">
            <mx:itemrenderer><mx:component>
                <mx:image source="{data}" />
            </mx:component></mx:itemrenderer>
        </mx:tilelist>
        <mx:tilelist width="100%" height="100%" dataprovider="{imagefiles}" dragenabled="true">
            <mx:itemrenderer><mx:component>
                <mx:image source="{data}" />
            </mx:component></mx:itemrenderer>
        </mx:tilelist>
    </mx:hdividedbox>
   
    <mx:script>
        <![cdata[
       
[bindable]
private var imagefiles:array = new array()
       
public function filllist():void {
       var directory:file = new file("c:/documents , settings/all users/documents/my pictures/sample pictures");
       var files:array = directory.getdirectorylisting();
   
    each (var f:file in files)
    {
          if (f.name.match(/.jpg$/i)) {
            imagefiles.push(f.url);
          }
    }
}
        ]]>
</mx:script>

 

</mx:windowedapplication>

 

[/code]



More discussions in Flex (Read Only)


adobe

Comments

Popular posts from this blog

Flip address is out of range arduino uno r3

Arduino Uno not uploading

Indesign and MathType fonts