Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PaddingTop excluded by 'MX.Containers"
06-19-2010, 08:31 AM,
#1
PaddingTop excluded by 'MX.Containers"
    Hey guys....

Having a problem with exporting from Flash Builder 4.
Getting the following error twice:

The style 'paddingTop' is excluded by type 'mx.containers.Canvas.'

What can I do to fix this? Screenshot below.

Thanks,
David

   
Reply
06-20-2010, 08:17 AM,
#2
RE: PaddingTop excluded by 'MX.Containers"
The paddingX style is not available for Canvas. Use marginX style for the children instead.
Ex: paddingTop="5" set on Canvas, delete it and set marginTop="5" on the child you want to have the padding applied to.
Reply
09-06-2010, 09:54 AM, (This post was last modified: 09-06-2010, 10:12 AM by Y2Kevin.)
#3
RE: PaddingTop excluded by 'MX.Containers"
(06-20-2010, 08:17 AM)ChatRouletteClone Wrote:  The paddingX style is not available for Canvas. Use marginX style for the children instead.
Ex: paddingTop="5" set on Canvas, delete it and set marginTop="5" on the child you want to have the padding applied to.

I had the same problems and i have corrected them by deleting paddingTop="0" because changing it to marginTop="0" only created more errors but when i delete paddingtop="0" i get the following error:

Description Resource Path Location Type
1151: A conflict exists with definition _typeRef1 in namespace internal.
JabberCam_v.mxml
/JabberCam_4.3.swf.flex/src
line 4036
Flex Problem

This is the complete line:
internal var _typeRef1:mx.effects.Fade;
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)