Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #1
    Ext User
    Join Date
    Nov 2007
    Posts
    102
    Vote Rating
    0
    RobSmith is on a distinguished road

      0  

    Question Ext TreePanel in AIR application [Solved]

    Ext TreePanel in AIR application [Solved]


    I want to use a TreePanel in my first AIR application and get an error regarding security reasons of using eval() in AIR application sandbox. So I took a look at the sample application written by Jack himself (simple task). When I looked up the code I realized that he rather extended the TreePanel class instead of just instancing.

    Does anybody can explain why? Is it because of the security issue of AIR I mentioned before?

    Thanks in advance

    Rob
    Last edited by RobSmith; 3 Mar 2008 at 6:44 AM. Reason: Solved problem

  2. #2
    Ext User
    Join Date
    Nov 2007
    Posts
    102
    Vote Rating
    0
    RobSmith is on a distinguished road

      0  

    Default


    Addition:

    The error occurs when I am hovering the TreePanel. This is, what the log says:

    Error: Adobe AIR runtime security violation for JavaScript code in the application security sandbox (eval)

    at app:/lib/ext2_0_2/ext-all.js : 11
    at app:/lib/ext2_0_2/ext-all.js : 11
    at app:/lib/ext2_0_2/ext-all.js : 11
    at app:/lib/ext2_0_2/ext-all.js : 11
    at app:/lib/ext2_0_2/ext-all.js : 11
    at app:/lib/ext2_0_2/ext-all.js : 11
    at app:/lib/ext2_0_2/ext-all.js : 14
    at app:/lib/ext2_0_2/ext-all.js : 13
    at app:/lib/ext2_0_2/ext-all.js : 13
    at app:/lib/ext2_0_2/ext-all.js : 100
    at app:/lib/ext2_0_2/ext-all.js : 13
    at app:/lib/ext2_0_2/adapter/ext/ext-base.js : 10
    at app:/lib/ext2_0_2/adapter/ext/ext-base.js : 10

  3. #3
    Ext User
    Join Date
    Nov 2007
    Posts
    102
    Vote Rating
    0
    RobSmith is on a distinguished road

      0  

    Default


    Seems as I left my brain at home today. I hate mondays. The solution is quite simple, I forgot to implement the Ext/air javascript.

    Sorry guys to bothered you.

  4. #4
    Ext User
    Join Date
    Feb 2008
    Posts
    2
    Vote Rating
    0
    ahchuan is on a distinguished road

      0  

    Default


    Hi Rob smith, I encountered the same problem, it seems that the eval() is not allowed in AIR. What do you mean by implementing Ext/Air? Did you import other libraries or change certain lines in ext-all.js? Thanks

  5. #5
    Ext User
    Join Date
    Nov 2007
    Posts
    102
    Vote Rating
    0
    RobSmith is on a distinguished road

      0  

    Default


    Sorry for the late answer. What I mean was to include the tag

    <script type="text/javascript" src="..../ext-air.js"></script>

    to your html file. That was what I forgot to do. Hope this helps in your case too.

    Greetings

  6. #6
    Ext User
    Join Date
    Apr 2008
    Posts
    6
    Vote Rating
    0
    bemzinside is on a distinguished road

      0  

    Default


    hi rob..

    i have a problem with tree to..
    i want to know how to build the tree synchronously ???,
    because as far as i know the tree is build asynchronously..

    could you share some code here
    thanks before

  7. #7
    Ext User
    Join Date
    Apr 2008
    Posts
    6
    Vote Rating
    0
    bemzinside is on a distinguished road

      0  

    Default


    ups..
    maybe this thread explain what i mean..
    http://extjs.com/forum/archive/index.php/t-4595.html
    yeah problem solved to..

    thanks so much for all..

Thread Participants: 2