Hi Johan

You're right, #framewidth and #frameheight don't really work.

The problem is that the interface components (scroll bars, zoom-panel, etc.) are placed on the movie during MondrianInterface #initialize, according to the frame width and height given at that moment. If you change the movie's dimensions afterwards, these components still remain at the old positions.

If you want to fix this, you could try to re-initialized the MondrianInterface after changing the dimensions.

Cheers,
Lucas

2008/5/20 Johan Brichau <johan.brichau@uclouvain.be>:
Hi Doru,

yes, but I do not want to clip, I want to make it bigger :-)

The problem is that the #framewidth: and #frameheight: messages do not
seem to work (i.e. they do not change the size).
So, at this time, I must manually change the numbers in the
MondrianInterface>>#initialize method to make that work.
Or am I overseeing something?

On 20 May 2008, at 14:53, Tudor Girba wrote:

> Hi Johan,
>
> You just have to embed the flash in an html div to make the clipping.
>
> Cheers,
> Doru
>
>
> On May 20, 2008, at 2:49 PM, Johan Brichau wrote:
>
>> Hi list,
>>
>> I just discovered the excellent 'Basil' package to render a mondrian
>> script to a flash webpage.
>> It works really great except that the mondrian painting is drawn
>> outside of its 'box' (see image below). I traced the error and it
>> seems that once the mondrian-interface is initialized, changing its
>> width and height does not have any effect. The only way to adapt it,
>> is to change the hard-coded numbers in MondrianInterface>>initialize.
>> The code I am using and that I thought should work is:
>> <Snapshot 2008-05-20 14-43-42.tiff>
>>
>>
>> I'm willing to have a try to fix it, but I would like to make sure
>> if it's the right way to use Basil and if nobody else might have a
>> suggestion ;-)
>>
>> cheers,
>> Johan
>>
>> <Snapshot 2008-05-20 14-40-17.jpg>
>>
>> ----------------------------
>> Johan Brichau
>> johan.brichau@uclouvain.be
>>
>>
>>
>>
>> _______________________________________________
>> Moose-dev mailing list
>> Moose-dev@iam.unibe.ch
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> --
> www.tudorgirba.com
> www.tudorgirba.com/blog
>
> "Next time you see your life passing by, say 'hi' and get to know
> her."
>
>
> _______________________________________________
> Moose-dev mailing list
> Moose-dev@iam.unibe.ch
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

----------------------------
Johan Brichau
johan.brichau@uclouvain.be




_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev