[Xerte] Ongoing Mac Stuff

Peter Huppertz peter.huppertz at baselgovernance.org
Tue Jul 13 18:32:42 BST 2010


I was able to solve most problems with the Air version of Xerte3. I concentrated on the most difficult parts, which were the communication between the Xerte Editor and the preview window (debug output, visual helper). As far as I see it I got rid of the security sandbox problems. The only major change is, that I moved the visual helper class from the editor to the runtime, which adds another 2K. If you think this is problematic it's perhaps possible to have different build profiles - one for the edit version, one for the published piece?! But I wasn't able to pass complex objects from the preview to the editor ... only simple objects are allowed using the parent/childrensandboxbridge.

I will implement the other functions that are still missing tomorrow and than you can decide, if you want to use the Air version for further development. Hopefully you haven't made to many changes to the preview class and the document tree lately, because I'm still working on a copy which is about 2 weeks old ...

Best,

Peter


On 12.07.2010, at 11:51, Julian Tenney wrote:

> Right, try it again - I just went back to 3.0.18 so you shouldn't see
> that sandbox error now...
> 
> -----Original Message-----
> From: xerte-bounces at lists.nottingham.ac.uk
> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
> Sent: 12 July 2010 10:40
> To: Xerte discussion list
> Subject: RE: [Xerte] Ongoing Mac Stuff
> 
> http://www.mdmforum.com/forum/index.php?showtopic=27144&view=&hl=mac%20s
> andbox&fromsearch=1
> 
> http://www.mdmforum.com/forum/index.php?showtopic=27144&view=&hl=mac%20s
> andbox&fromsearch=1
> 
> So shall we try building with 3.0.18?
> 
> We'll be back to version 1 at this rate...
> 
> 
> -----Original Message-----
> From: xerte-bounces at lists.nottingham.ac.uk
> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Peter
> Huppertz
> Sent: 12 July 2010 10:32
> To: Xerte discussion list
> Subject: Re: [Xerte] Ongoing Mac Stuff
> 
> In this version I get the error: "Sandbox type is remote" on startup.
> 
> When I load a x3o and click on preview it just shows the broken image
> icon.
> 
> 
> On 12.07.2010, at 11:08, Julian Tenney wrote:
> 
>> IN the .svn is now a version that will set the parameters via event
>> handlers and function calls, rather than as parameters on the query
>> string on the Mac.
>> 
>> Can you test it for me? I don't have a Mac here today,
>> 
>> J
>> 
>> -----Original Message-----
>> From: xerte-bounces at lists.nottingham.ac.uk
>> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian
> Tenney
>> Sent: 12 July 2010 09:31
>> To: Xerte discussion list
>> Subject: RE: [Xerte] Ongoing Mac Stuff
>> 
>> I'd prefer to find out why the problem exists first! If it can't be
> done
>> then I can think about having it done thorough function calls,
>> 
>> -----Original Message-----
>> From: xerte-bounces at lists.nottingham.ac.uk
>> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Peter
>> Huppertz
>> Sent: 12 July 2010 08:43
>> To: Xerte discussion list
>> Subject: Re: [Xerte] Ongoing Mac Stuff
>> 
>> I think I tried once to rewrite Xerte just to load the class and set
>> location and file via getters and setters and than start the parsing.
> As
>> far as I remember it did not work/crashed again. But perhaps you want
> to
>> try that, just to make sure it is not the query string?
>> 
>> Peter
>> 
>> 
>> On 09.07.2010, at 11:26, Julian Tenney wrote:
>> 
>>> I'm getting somewhere. I have identified this problem that causes
>> Xerte
>>> 3 to crash on the Mac when attempting to preview a file:
>>> 
>>> I set the source property on the swfloader and call load() thus:
>>> 
>>> source = main.docTree.fileLocation + 'Xerte.swf%3FfileName%3D' +
>>> main.docTree.fileName + '%26fileLocation%3D' +
>>> main.docTree.fileLocation;
>>> 
>>> load();
>>> 
>>> this causes the crash. The URLEncoding I just tried - previously I
> had
>> &
>>> = ? in there directly.
>>> 
>>> If I comment out the call to load, I have the single line that causes
>>> the crash.
>>> 
>>> So what's wrong with the string that causes Zinc to crash on the Mac?
>>> Can I in fact pass parameters into the swf this way on the mac?
>>> 
>>> If I take the params off and just load Xerte.swf, no crash, and no
>>> broken image symbol in the preview, so I assume it is loading
>> correctly,
>>> but then doesn't know which rlo to load.
>>> 
>>> So: any funny (haha) characters in strings I need to watch for?
>>> URLEncoding the way to go?
>>> Am I hitting any sort of limit?
>>> 
>>> Cheers
>>> 
>>> J
>>> _______________________________________________
>>> Xerte mailing list
>>> Xerte at lists.nottingham.ac.uk
>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>> 
>> ==================================
>> Peter Huppertz
>> E-learning and IT Specialist
>> International Centre for Asset Recovery
>> Basel Institute on Governance
>> Phone: +41 61 205 55 18
>> Fax: +41 61 267 55 19
>> 
>> _______________________________________________
>> Xerte mailing list
>> Xerte at lists.nottingham.ac.uk
>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>> _______________________________________________
>> Xerte mailing list
>> Xerte at lists.nottingham.ac.uk
>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>> _______________________________________________
>> Xerte mailing list
>> Xerte at lists.nottingham.ac.uk
>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
> 
> ==================================
> Peter Huppertz
> E-learning and IT Specialist
> International Centre for Asset Recovery
> Basel Institute on Governance
> Phone: +41 61 205 55 18
> Fax: +41 61 267 55 19
> 
> _______________________________________________
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
> _______________________________________________
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
> _______________________________________________
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte

==================================
Peter Huppertz
E-learning and IT Specialist
International Centre for Asset Recovery
Basel Institute on Governance
Phone: +41 61 205 55 18
Fax: +41 61 267 55 19



More information about the Xerte mailing list