I must have missed your first post, but I am having the same problem.
If no one else has any other suggestions I'll have to start using
ModuleManager as well.
Thanks for updating us with your findings.
Bob
-----Original Message-----
From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of Michael Schmalle
Sent: Friday, January 19, 2007 3:26 PM
To: [email protected]
Subject: [flexcoders] Re: Modules :: percentWidth and
percentHeight seemingly not honored
Ok,
Update.
Now that I ditched ModuleLoader and went to the real thing
ModuleManager, meaning;
- getModule()
- load()
- READY
- moduleInfo.factroy.create()
- child.percentWidth = 100;
- child.percentHeight = 100;
- addChild(DisplayObject(child))
everything works as expected.
Is this a bug or really, am I missing something that is right in
front of my face? :)
Peace, Mike
On 1/19/07, Michael Schmalle <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> > wrote:
Hi,
Is it me or...
I have simplified the case;
TestTabPane.mxml module
<?xml version="1.0" encoding="utf-8"?>
<mx:Module
xmlns:mx=" http://www.adobe.com/2006/mxml
<http://www.adobe.com/2006/mxml> "
borderColor="#FF0000" borderStyle="outset"
width="100%" height="100%">
</mx:Module>
Module loader inside a Cutome Component;
<mx:ModuleLoader id="moduleLoader"
borderStyle="solid" borderColor="#FF0000"
width="100%" height="100%">
</mx:ModuleLoader>
I for the life of me cannot get the module to size 100%
- 100%.
I am I missing something with loaderInfo or something?
I took the easy ColumnChartModule.mxml and the loader
example from that out of the docs and couldn't even get the chart module
to stretch when loaded into a module loader.
Any thoughts?
Peace, Mike
--
Teoti Graphix
http://www.teotigraphix.com
<http://www.teotigraphix.com>
Blog - Flex2Components
http://www.flex2components.com
<http://www.flex2components.com>
You can find more by solving the problem then by 'asking
the question'.
--
Teoti Graphix
http://www.teotigraphix.com <http://www.teotigraphix.com>
Blog - Flex2Components
http://www.flex2components.com <http://www.flex2components.com>
You can find more by solving the problem then by 'asking the
question'.