Hi Johan
Yes, right, it's easier to just pass the dimensions as parameters. For me,
just upload the changes to the SCG store.
Cheers,
Lucas
-----Original Message-----
From: moose-dev-bounces(a)iam.unibe.ch [mailto:moose-dev-bounces@iam.unibe.ch]
On Behalf Of Johan Brichau
Sent: Donnerstag, 22. Mai 2008 15:50
To: Related to the development of Moose and other related tools
Subject: [Moose-dev] Re: basil frameheight and framewidth
Hi Lucas,
Thanks for the hint. It appears that calling initialize twice makes
the interface even weirder (everything is twice as big..), so I just
added another initialize method that uses the width and height as
parameters. It seemed the most simple thing to do.
Can I upload that change to the SCG store or do you prefer me to keep
it separate?
On 21 May 2008, at 09:18, Lucas Streit wrote:
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(a)uclouvain.be>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(a)uclouvain.be
_______________________________________________
Moose-dev mailing list
Moose-dev(a)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(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
----------------------------
Johan Brichau
johan.brichau(a)uclouvain.be
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
----------------------------
Johan Brichau
johan.brichau(a)uclouvain.be
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch