Quantcast
Channel: Adobe Community : All Content - Adobe Animate CC - General
Viewing all articles
Browse latest Browse all 13519

Raster 9-Slice objects scene bug

$
0
0
  1. Create a 9 slice object using 9 sepparate, broken downraster images (Png)https://monosnap.com/image/4cp39xtUdPht9asQA1Y3XJFPF/
  2. It will look fine on the scene as long as its unscaled.
  3. Scale the object and the object will go bonkers (upper image). If you try and compile it, it will look fine (bottom image) https://monosnap.com/image/k60OR7SegH65obE0tdVdGwrks/

 

This bug makes it impossible to design stuff without constantly rendering & checking if everything is fine. Bug persists on Windows 8 and Mac systems.

Everything worked fine the previous flash versions (CS5, CS5.5, CS6).

 

Maybe anyone knows of a working method if 9slicing raster images in flash?

 

On the method itself:

To get the 9slice working with raster images without any scripts. These are the steps:

  • Export all 9 slices of your window sepparatly. Add a 1 pixel transparent border around every image (Or flash will start to repeat ends of the image onto itself)
  • Create a 9 slice object so that its
    1. Pixel perfect
    2. Images dont overlap one another (use layers)
  • Break appart each image, and remove 1 transparent pixel that we created in step 1 from around every image.
  • Scale the stretchy bits so the image has no gaps.
  • Bonus - Create a vector square object to serve as a bounding box. Cover the whole object with it in the lower layer. Go 1 pixel beyond the Slice guides and/or the broken down image.

During scaling you may encounter 1 pixel holes in the object, but they will disapear when you render it out.


Viewing all articles
Browse latest Browse all 13519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>