Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 03-15-2002, 08:01 PM   #1
dougie
Registered User
 
Join Date: Mar 2002
Posts: 5
Question How to avoid slight stretching of GIFs???

Hi guys,

Quick question - I'm using attachMovie to load multiple "tiles" into a Flash movie. The tiles all appear on screen with no problems, but for some reason, Flash insists on resizing them (up or down depending on viewing quality) by one pixel - I've tried everything from specifying explicit widths to trying different tile sizes and Movie dimensions...but to no avail...it always scales the width by one pixel which offsets my tile arrangement leaving gaps - AARRGHH!

Has any else come across this phenomenon before? Is there a workaround? If I drag drop the MC onto flash (rather than call attachMovie from AS) the GIF is rendered perfectly pixel for pixel.

Any suggestions would be most appreciated!

Dougie.
PS - I do have a one pixel border around the tiles to avoid the "bleeding" of bitmaps...
dougie is offline   Reply With Quote
Old 03-15-2002, 09:06 PM   #2
pinkaboo
power to the pinK
 
pinkaboo's Avatar
 
Join Date: Jul 2001
Location: Atlanta Atlanta ATLANTA!
Posts: 1,527
Send a message via ICQ to pinkaboo
Default

[crosspost]

other thread
pinkaboo is offline   Reply With Quote
Old 03-20-2002, 08:05 PM   #3
dougie
Registered User
 
Join Date: Mar 2002
Posts: 5
Default

Well I cross-posted the question, so I may as well cross-post the solution for reference:

Just as an FYI - I fixed this problem.

Basically it was caused because the Image that was stored inside the MovieClip was centered around the origin - causing it to have negative X and Y coords - not sure why this would be an issue but when I move the image to 0,0 inside the MC it is no longer resized by Flash during movie play.

What a pain!

Dougie.
dougie is offline   Reply With Quote
Old 03-24-2002, 08:57 PM   #4
pinkaboo
power to the pinK
 
pinkaboo's Avatar
 
Join Date: Jul 2001
Location: Atlanta Atlanta ATLANTA!
Posts: 1,527
Send a message via ICQ to pinkaboo
Default

heh heh - thanks for that dougie - you are redeemed!

*grin*

K
pinkaboo is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
random movieclips avoid the mouse boomerangdingo ActionScript 2.0 1 02-10-2007 04:08 PM
avoid stretching Duffman Other Flash General Questions 6 10-11-2004 08:18 AM
Slight distortion of bitmaps in flash player? WombleFerret Animation and Effects 4 09-16-2003 02:37 PM
gifs in flash - anyone notice this? monkeybrainz Other Flash General Questions 14 12-18-2002 09:40 PM
How do I avoid Flash stretching bitmaps... dougie Simple Stuff (Newbies) 4 03-20-2002 08:02 PM


All times are GMT. The time now is 06:17 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.