ActionScript 3.0 :: Scrollbar Thumb Distortion - Assign 9 Slice Scaling Parameters

Jun 25, 2010

I have used a skin for scrollbar thumb whose PNG image size is 14x21 but which will be scaled vertically between its present height and extended height 498px. I have been trying to understand the 9 slice scaling parameters to assign to the thumb image so that it does not distort but I'm unable to achieve that. The CSS which has come closest to least distortion is follwing (though UI view of this is also not acceptable) is this:

thumb-skin: Embed(source="assets/images/scroll_thumb.png",scaleGridLeft="1", scaleGridTop="4", scaleGridRight="13", scaleGridBottom="17");

Though the thumb looks fine with height 498px but the three horizontal lines in middle of the thumb.PNG become rectangles. I tried many combinations with these parameters and read a couple of blogs etc but cant get to the solution.

View 1 Replies


Similar Posts:


Professional :: Modify Scrollbar Component To Non-scaling Graphic Thumb And Track?

Nov 7, 2010

I'm wondering if you can take the stock Flash CS5 scrollbar component and modify it to use a graphics for the thumb and track. I see that you can modify the art of the component, but it seems to have the 9 slice thing going on so it scales nicely... but doesn't work right with a graphic. What I need is to have a scrole like that attached photo.

View 1 Replies

Actionscript 2.0 :: Scaling Of Pictures (no Distortion Of Pixels)?

Sep 7, 2008

rotating/scaling images is seemingly a no-go in flash at least when i try it.but still seeing sites as this: [URL]walk with me :

shangai : work : december 2007 : WWF

when you select a picture and zoom in, the transition is so darn smooth, the picture isn't even distorted/pixelated they use 2 versions, the original size, and the bigger size once clicked they switch between the two and scale them. Still it doesn't work well for me. i still have pixel distortion. i tried loadBithmapSmoothed classes, etc, all to no avail.

View 4 Replies

9-slice Scaling Doesn't Work

Sep 18, 2009

I've made a rounded rectangle with a gradient fill and another rounded rectangle over it with a transparency to create kind of a glossy effect. Both objects are part of a symbol in the library of the FLA file. Then, I activated the checkbox to create a scale-9 grid, and the Export for Actionscript checkbox in order to add this symbol from AS3. Next I made sure that every rounded corner was completely included in the slices on the edges of the grid. Well, no matter what, the object is scaled as a normal graph: the rounded corners appear bigger and deformed.

View 4 Replies

Professional :: 9 Slice Scaling And Text?

Sep 2, 2010

It seems 9-slice scaling in Flash CS5 is a little half-baked. If you create a symbol containing text and vector graphics, only the vector graphics is scaled according to the 9-slice scaling contract. For example, consider the following symbol:

Sure, the vector graphics are scaled according to the 9-slice contract, but what are we supposed to do about text? And just in case you're thinking "convert the text to vectors/raster"... unfortunately no... I don't have the option of converting the text to a set of vectors or a raster because its content will have to be dynamic.

View 3 Replies

Professional :: 9-slice Scaling Doesn't Work With Rotation?

Sep 23, 2011

I have a simple graphic, a rectangle with 3 rounded corners with 9-slice scaling applied. When I scale it non-proportionally, the round corners keep their shape as expected. BUT if I then rotate it the round corners lose their shape and become ellipticaly distorted! If I rotate first and then scale the same thing happens.

View 3 Replies

Flex :: Using 9-Slice Scaling With Images Loaded At Runtime?

Nov 8, 2010

Is there a way to use 9-slice scaling with images loaded at runtime? To clarify, let's say that I build an application that lets a user skin a button with whatever image they want. This would be an image that's not embedded with the swf. Is there a way to set that runtime image as a background and use 9-scaling?

View 1 Replies

ActionScript 3 :: 9 Slice Scaling - How To Make TextField Fixed

Mar 20, 2012

I'm making window component on Flash Professional CS4 and now I have 1 problem. At the top of window is dynamic textfield for title. When I scale window text is also scaling. So is there any way to make textfield fixed in same position and same size? 9-slice scaling is enabled.

View 2 Replies

Flex - 9 Slice Scaling Doesnt Work For Chart Fills?

Sep 8, 2011

I wanted to e to replace the standard flex bar chart bars with my own image. This worked by embedding the image and setting as a bitmapfill. however these images dont scale well even tho i have applied 9 slice scaling when embedding.

[Code]...

View 1 Replies

ActionScript 2.0 :: Window In Flash - Move The Horizontal Scrollbar Thumb Till It Reaches Its Limit?

Sep 15, 2006

I tryed to create a movieclip that simulates the windows' windows, lets say it... this is my swf: [url]....at first look, it seems to work right. Its draggable and scalable just like a windows os frame. But so far so good, try to move the horizontal scrollbar thumb till it reaches its limit. Then scale the movieclip.

View 5 Replies

ActionScript 2.0 :: XML Loop Thumb Loader - Stuck On Current (Last) Thumb?

Nov 24, 2009

Using a bunch of the tutorials on this great site, I've been teaching myself AS, and inparticular the XML parse, etc. with the loop commands to load an ideterminate number of images, etc. attributed in an XML file.I've got the attached code to work before - and it works well here too, loading all the thumbnails in their correct location, and as per the XML file. BUT now it's part of this page, the 'current_thumb' seems stuck on the last thumbnail, and a rollOver of any thumbnail will cause only the last one to action. In addition, when I put the trace command in on the onRollOut function (trace(current_thumb_mc) I get "_level0.menu_mc.item3_mc" no matter which of the four tumbnails I rollOver.

//Initial P Value
p = 0;
//Project Information
//Assigning Information[code]..........

View 1 Replies

ActionScript 2.0 :: No Resize/scaling A Movie Clip On The Scaling Stage?

Mar 11, 2008

I've search through all the threads with "scaling" and "resizing" and can't find the solution.

Basically I have a GUI element on a gallery that I don't want to scale, while the rest of the page is free to resize/scale.

I think I need to add a listener of some sort to the stage, but I'm not sure how to do this.

View 2 Replies

ActionScript 3.0 :: Scaling Button Background Without Scaling Text?

Feb 23, 2009

I'm building some navigation that extends all the way from left to right across my SWF. When the window resizes, I'd like the nav buttons to get wider but not have the text on the buttons get wider.

The buttons themselves are rectangles with a vertical gradient and a stroke around the outside. I'm using 9-slice scaling so the stroke doesn't scale, but the middle (gradient) gets wider or narrower.What'd be great is to be able to select an object or layer and say "don't scale, even if the rest of this movie clip scales". Is there a way to do that, or will I have to do it via actionscript?

View 1 Replies

Video Distortion With Flash Cs4?

Sep 12, 2009

I would like to ask if there is a way to distrort a video in flash cs4. Particularly i want to create a custom player to display flv videos and in the background, around the player area, play a distorted video probably blured or faded , short of like ambient light?

View 2 Replies

Rotating Image Distortion?

Jul 16, 2011

Background info: I am using ActionScript 2.0 and Flash CS5I was working on a game and I used photoshop to save a little gif image. I imported it into flash, "broke it apart", turned it into a movie clip, and put this bit of code on it. It rotates the image when the mouse is moved around it.

Code:
onClipEvent (enterFrame) {
// find x and y differences

[code]........

View 11 Replies

Resize Swf To Fit Browser Window Without Distortion?

Feb 12, 2010

I am trying to achieve the resizing effect as seen on [URL]There is no distortion no matter what direction the browser window is resized.

View 1 Replies

ActionScript 3.0 :: Image Distortion In Flash?

Jul 10, 2009

I have been struggling in Flash to find out if advanced bitmap distortion is possible in flash. I am talking about the same distortion effects that Photoshop generates by going to Filter > distort menu. Especially the spherize, Wave and Twirl effects. The displacement map filter introduced in Flash 8 or 9 has this capability. But I don't think it can actually distort the bitmap in Flash. All they do is create a false image and don't actually convert the image.So I want to imitate Photoshop in Flash so that when I have an image in Flash the user would feel like he's using Photoshop filters and twirling or spherizing the image.

View 1 Replies

Professional :: Perspective Distortion In A Tweening?

Dec 10, 2010

I want to tween a movieclip so it changes from squared to trapezoid. Just imagine a text paragraph distorted like the scrolling text in the beginning of Star Wars movies.It would be easy to make the shape and then distort it, but what I want is to tween from undistorted to distorted and it seems that normal tweening only allows skewing, rotation and resizing.Since a picture is worth a thousand words, this is what I want to do (the dog is not the movieclip I want to distort, just an example):This is easy in Photoshop (CTRL+T and then pick a corner with SHIFT+CTRL+ALT) and also in edition time in Flash, but I want the distortion to happen in execution time so it looks like the movieclip is standing up and then falls back.

View 2 Replies

ActionScript 3.0 :: Scaling Movieclip Not Scaling But Repeating?

May 20, 2010

i have a diagonal movieclip that I am trying to scale along with the background video. The background video scales perfect, I am attaching the diagonal movieclip (br in the code as bottomright) with addChild
Instead of scaling with the window, it seems to repeat such as the image is displaying. this is the main section of the code that is doing the scaling
 
var br:mc_bottomright = new mc_bottomright();
addChild(br);
//proportional scale
if ((stage.stageWidth / stage.stageHeight)> (owidth/oheight))

[code]....

View 4 Replies

ActionScript 3.0 :: Scaling A Movieclip Without Scaling Its Contents

Apr 10, 2009

I am trying to achieve an effect of scaling a movie clip on click...very similar to [URL] When the user clicks on See, Hear, Play and Shop boxes, the boxes expand. I have created a box movieclip that has a bar on top. This bar is a movie clip inside the box movieclip. When i try to scale the main box movieclip, the internal bar movie clip scales as well. How to stop this?

View 2 Replies

Professional :: Flash Air App Creation Distortion Of Images

Jul 19, 2011

Every time I package an android application and run it from my phone it really distorts images/movieclips.I can see slight transparancies around movieclips that shouldnt be there, images look pixelated, when played on the computer it shows no issues with any of it.Are there any tips or tricks to solving this?Also the performance just is spotty on the devices. Was using flash cs5 and just DL the trial of 5.5.Also is there a place to look at best practices for optimizing adobe air applicatiosn for mobile devices?

View 1 Replies

3D Distortion In Flash - Fail To Move The Camera?

Mar 6, 2011

I'm making simple 3D transformations in Flash to rotate stuff, but I get distortions. I can rotation left, right, up, down, but not diagonally since it completely distorts my faces (the ones I draw).I think I fail to move the camera somehow, but I'm not experienced enough to understand my error.Here's the file: http:[url]....

Example: when a face is rotated at about 45° around the y axis (vertical to screen) and then rotated around the x axis the perspective doesn't feel right... the faces are too narrow.What I do is multiply the rotation matrices between themselves (the mouse position providing the angles) get the transformed points, project them to screen and draw boxes with them.

View 1 Replies

Flash :: Textures Distortion In 3D To Render A Model

Nov 1, 2011

I am using Papervision3D Flash 3D engine to render a model. Also I am noob in 3D =D Model is simple, it's a parallelepiped with different textures on its sides. All works just fine except one thing: whenever I change my visual angle to a model from 90° textures on the sides are distorted. I notices that it is common effect in 3D graphics, I saw that effect in games and other 3D renderers (i.e. away3D, three.js) even wth different 3D models. Distorted texture on object (different view angle): Normal texture on object (same object and texture) (view angle == 90°): What is the reason of this effect?

View 1 Replies

ActionScript 3.0 :: 3D Z Axis Distortion - Sprite Gets Blurry

Dec 17, 2009

If you assign any sprite a z property of 0, the sprite gets scaled a little bit (too big) and the sprite gets a little blurry.

View 1 Replies

ActionScript 2.0 :: Distortion Free Pan And Zoom Of Images?

Mar 8, 2007

We're trying to implement a smooth distortion free pan and zoom similar to the pan and zoom slide show in Windows Vista. I'm using the Tween class for the animation. For zoom I'm tweening the _width property then setting _yscale equal to _xscale in the change event. In parallel, I'm tweening the _x and _y position for the pan motion. I've set the quality to highest, the cache bitmap property to true, and the FPS on the Stage to 30. Still, the images show lots of wavy, shimmery distortion on every redraw. The start and destination rectangles for the images is known up front. I tried just tweening the _xscale but that doesn't translate well when you're targeting specific rectangles. Maybe there's some other completey different way to do it I haven't ran across?

View 7 Replies

IDE :: Image Distortion In Xml/Flash Photo Gallery?

Mar 9, 2009

I used the Photo Gallery using xml and Flash tutorial and created a nice gallery with thumbnails I increased the size to accommodate a 800x533px size picture however when the images are imported they are distorted to a size that looks to be around 900x400px I am using flash 8.

View 1 Replies

ActionScript 2.0 :: White Frame Scales Into Whatever The Screen Res Is With No Distortion?

Feb 5, 2010

I was looking at making a site similar to this [URL]..The way the white frame scales into whatever the screen res is with no distortion and the center movie I have code to allow that to stay centered, but not sure how you restrict it from overlaying the frame thats on top of that.

Basically I was just seeing if anyone was able to replicate this exact movie, with out the graphics, and I can build the rest. If you need code that I have sourced already that is fine. I can send some of that.

View 1 Replies

ActionScript 2.0 :: Convert This Vertical Scrollbar Into A Horizontal Scrollbar?

Apr 26, 2009

how I would convert this vertical scrollbar into a horizontal scrollbar

heres the code:

onClipEvent (load) {
diff_y = bound_box._height-scroller._height;
bounds = bound_box.getBounds(this);
top = bounds.yMin+(scroller._height/2);
bottom = bounds.yMax-(scroller._height/2);

[code]....

View 3 Replies

ActionScript 3.0 :: Image Distortion Class - Import Flash Display

Jul 13, 2007

I have been trying to convert [URL] into as3. I am am very unfamiliar with flex. I have set the buttons for transform and loading the image but its just not working at all.

Here is the image distortion class
Code:
package {
import flash.display.Shape;
import flash.display.MovieClip;
import flash.display.Sprite;
import flash.display.Bitmap;
[Code] .....

View 2 Replies

Media Server :: Audio Distortion - Running FMS 4.5 On A Linux System With 4GB Of RAM?

Jan 3, 2012

I'm running FMS 4.5 on a Linux system with 4GB of RAM.Whenever I do a live broadcast from the server, the audio does a very strange thing. It sounds, ever so slightly, like an old record player where someone is occasionally (4-5 times a minute) putting a small amount of pressure on the speed of the record player and altering the pitch of the music. All my buffer settings are the default settings. It happens whether I'm doing CD quality audio or dialup 11025 kbps audio. I'm using MP3 for an audio format.

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved