LOADING
Loading
Hi , welcome back.
LogoutLOGOUT
 
  Lost password?  
Hi
 




 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 05-28-2005, 12:11 AM
Ultraniblet's Avatar
Ultraniblet Ultraniblet is offline
Registered User
 
Join Date: Jan 2003
Location: London
Posts: 114
Rep Power: 11
Ultraniblet is on a distinguished road
width & height properties of components

Hiya,

I have been messing around making my own components but am stumped as to what is going on with their width & height properties. If you place an MX component (eg TextArea) on the stage in the authoring environment and change the width/height in the properties panels, the clip updates to the new size without distorting, ie stretching to the new size. This is also true when you export the movie.

However with my home-brewed components, whose classes extend the MovieClip class, the bounding box or 'masked' area of the compiled clip reacts to the changed dimensions (although the clips internal movieclip members do not), and then upon exporting, the clip's dimensions are distorted to the height/width.

I think this question is tied in to my earlier post about compiled clip's bounding boxes in the authoring environment and how to update them when an inspectable variable is changed. I will examine the UI components classes to see if I can work out what is going on, but just wondered if anyone has encountered these issues before.

Are there any decent books on creating MX2004 components out yet? I've read Colin Moock's O'Reilly AS2 book plus the Actionscript Bible, but they kind of gloss over the subject.

Good night
Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to change the width and height of an image loaded in a movieclip kitsunegari Flash CS3 / Flash 9 2 02-03-2008 03:17 AM
Embed %: height resizing to % of screen, not relative to width Mike Reynolds Newbies 0 08-12-2005 02:41 AM
set height and width of loaded external jpg cybercampbell Newbies 3 07-26-2004 07:20 PM
Dynamic x y axis and Height width monad Flash MX ActionScript 6 06-07-2003 08:32 AM
width and height of movie damn Flash 5 Actionscript 2 06-05-2001 07:43 PM




All times are GMT. The time now is 12:47 PM.