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




 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 06-21-2006, 05:40 PM
simong simong is offline
Registered User
 
Join Date: May 2006
Posts: 47
Rep Power: 0
simong is on a distinguished road
SWF resizing dynamic images to a fixed size

Hi,
this is really basic, but searching the forum hasn't given me any answers...
I'm want to load jpg images in various sizes and set them to a fixed size, 250x100. I've tried using the loader component but there I didn't manage to resize at all so now I'm trying imageMovieClip.loadMovie("img.jpg"). As I've understood it resizing is done with _xscale and _yscale, and they work, but I need to know the original image size in order to find out the scaling in percentage, and I can't figure out how to retrieve them.
Tracing imageMovieClip._width gives insanely large values, not whats shown on the stage at all...
Please, this must be quite easy, or?
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
FlashMove Technical Updates FlashMove Suggestions, error reports, requests 3 02-15-2013 04:46 PM
Preload multiple Dynamic Images to cache in flash mx purdywurdy Flash MX 2004 2 01-26-2007 01:34 PM
script for slideshow... dynamic loading of images and URLs oquindrg General Flash 1 10-25-2006 02:00 PM
Dynamic Resizing Images jpetrahn Flash MX 6 02-18-2003 05:36 PM
Dynamic TextField Size & Parse Text dv8 Web Platforms - PHP, JSP and .NET 5 06-13-2002 02:56 AM




All times are GMT. The time now is 03:11 AM.