Hi,

 

I am having problems with the resizing of a component...

 

The resizing works fine through the livePreview in the IDE but goes a
bit pear-shaped when published.

 

The problem is that the width & height values that I'm receiving through
the setSize() method are different from the _width & _height properties
of the actual clip when traced first in the constructor.  The setSize()
ones are correct and the ones in the constructor are about 20% bigger.  

 

I'm not extending the UIObject, just MovieClip and I'm calling the
setSize function from the constructor to do the positioning.  Also, the
initial graphic for the component is quite large, around 1200x750
pixels.

 

Has anyone had this problem before or know what it might be?

 

Cheers!

 

Jamie

========================================================

Proximity London Limited
191 Old Marylebone Road
London
NW1 5DW
United Kingdom
Registered number: 2617496
Registered in England
Tel: +44 (0) 20 7298 1000
Fax: +44 (0) 20 7298 1001

This email its contents and any files or images with it are intended solely for 
the
addressee(s) and are confidential. If you have received this email in error you 
may
not copy or use the contents, attachments or information in any way. Please 
destroy
it and contact the sender on the number printed above, via the Proximity London
switchboard or via email return.

DISCLAIMER
Material contained in this email may be copyright material of Proximity London 
or protected
by other intellectual property rights. It may only be reproduced with the 
express
permission of Proximity London. Proximity London does not accept responsibility 
for any changes
made to this email by unauthorised parties after it was sent. Whilst Proximity 
London runs 
antivirus software on all Internet emails it is not liable for any loss or 
damage caused by
an infected email. The recipient is advised to run their own antivirus 
software. 
All information contained in this email has been prepared using information 
believed by the
author to be reliable and accurate, but Proximity London makes no warranty as 
to accuracy and
completeness. Any opinions expressed in this email are those of the author and 
do not 
necessarily reflect the opinions of Proximity London or its affiliates.

=========================================================
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to