Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / Data Integration / September 2006



Tip: Looking for answers? Try searching our database.

way to change image sizes (from XML) in Flash?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
musicnotes - 07 Sep 2006 20:31 GMT
Hello,
I am creating a slideshow within Flash that uses XML data pulled from a
database. Is there any way to manipulate the image size from within Flash? The
images need to be 1600 x 900, and it's okay if they end up being distorted...

Of course, I have made the Flash movie this size, but it makes no difference -
the image sizes stay the same.

Thanks in advance for your help!!
Motion Maker - 11 Sep 2006 00:36 GMT
You will need to use MovieClipLoader and when the onLoadComplete or
onLoadInit events occur, you can change the dimensions of the target_mc
argument. You can use _xscale and _yscale for example and any MovieClip
property or method.

MovieClipLoader.onLoadInit :
http://livedocs.macromedia.com/flash/8/main/00002545.html
Signature

Lon Hosford
www.lonhosford.com
Flash, Actionscript and Flash Media Server examples:
http://flashexamples.hosfordusa.com
May many happy bits flow your way!

> Hello,
> I am creating a slideshow within Flash that uses XML data pulled from a
[quoted text clipped - 8 lines]
>
> Thanks in advance for your help!!
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.