This is a discussion on "Resize dynamically loaded image" within the Flash & Multimedia Forum section. This forum, and the thread "Resize dynamically loaded image are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Resize dynamically loaded image
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Resize dynamically loaded image
Hi,
I am bringing an image name into flash using flashvars. How do I resize the image in flash to match the size of the movie clip?? Thanks, Nathan. |
|
|
|
|||
|
Re: Resize dynamically loaded image
You would want to set the image to an object (aka a graphic or movieclip on import(so put it inside one)
If the movieclip has an instance name of img_holder, then you can resize the movieclip like so: img_holder._width = value; img_holder._height = value;
Last Blog Entry: Yay!? (Oct 8th, 2007)
|
|
|||
|
Re: Resize dynamically loaded image
I don't want to resize the actual movie clip, it has to be 240 x 180. Problem was that the images users upload can be in any resolution... say 800 x 600. When I dynamically loaded this into the MC it only displayed the top left 240x180px.
I've since changed tack, and am now resizing the images when they are uploaded using php, Thanks for the reply though!! Cheers, Nathan. |
![]() |
| Tags |
| resize dynamic image |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Detecting "image loaded successfully" | SlimShady | JavaScript Forum | 5 | Dec 22nd, 2006 16:08 |
| Resize image-how to get lenght of image | nicetomeetu | PHP Forum | 9 | Sep 19th, 2006 22:39 |
| Resize image-how to get lenght of image | nicetomeetu | Introduce Yourself | 5 | Sep 18th, 2006 14:08 |
| new to css- how to strech the whole layout when a very wide image is loaded. | sanchopansa | Web Page Design | 8 | Jul 22nd, 2006 09:11 |
| PHP Image Resize problem | jono | PHP Forum | 6 | Jun 7th, 2005 11:34 |