ActionScript 2.0 :: Resizing MCs Without The Border Getting All Funky?
Feb 9, 2006
Is there a way? I need to give a thumbnail that I'm changing the size of a border, but to simply place a background movieclip behind it and resize it along with the thumbnail stretches out the borders and makes them all blurry. Is there a way to change the size the background movieclip so that it retains it's normal-sized border?
View 3 Replies
Similar Posts:
Nov 3, 2007
I am trying to make one of those Resizing borders for an image gallery ... Is there an Actionscript 2.0 function that whilst Loading in an external jpeg, Flash can be told the dimensions of the picture it is currently loading > before it has loaded it fully.? ie: getWidth (as a guess). Thus, preparing the size of the border, whilst the image is loading. Or, does it have to initiate that once the jpeg has loaded 100%.
View 3 Replies
Feb 3, 2009
I'm have set up a photo gallery using the 'Kirupa Xml and flash gallery tutorial' and I wanted to use this but implement the border resizing function featured in the galleries on in the 'Howd he do this? Resizing slideshow' thread.
Here is the code for my gallery:
Code:
function loadXML(loaded) {
if (loaded) {
xmlNode = this.firstChild;
[Code].....
View 4 Replies
Sep 25, 2010
I've looked for the solution to my problem on SO, Google and Bing, but to no avail.
NB This is regarding AS3/CS5 on Windows 7 Pro x64. I have a SWF that loads another SWF in AS3.
Yesterday morning it was working fine. Then I made a bunch of changes to another SWF, completely separate, and to some XML content files and the next time I ran the project the second SWF started to flash and scroll through its content once it was loaded by the first SWF.
I couldn't figure out what I did to cause the problem and have NO clue!
[Code]..
View 1 Replies
May 4, 2004
URL>..Mouseover the flash link that says "<fs> Frunder Repeater".Notice the mouseover effects of the 3 buttons. They work great individually, but when they are combined (3 pixels away from each other) the mouseout effects do not work. I have 3 different buttons with the following Action Script.[code]It works fine by itself, but when coupled with other buttons, it does not have enough time to Mouseout before the next buttons says Mouseover.
View 6 Replies
Oct 29, 2011
I am looking for some creative examples for interactive methods to navigate a tree hierarchy. Conceptional ideas or some good Flash/ Silverlight/ HTML 5.0/OpenGL examples of such navigation would be great. I'm not concerned with the technology at this stage.My problem that is that I need to deliver information to a user in the form of a questionnaire hierarchy. Consider each node in a tree hierarchy as a question where each question answered takes the user to the next level down in the hierarchy of the tree were there are a further number of question(s) to be answered. At the very last node, there will be the final solution. I have found this useful(url...). I would like an interactive version of this with each node been expanded to show further nodes etc.
View 1 Replies
Apr 30, 2010
I have this weird thing happening with flash and a dynamic textfield. Basically, someone rolls over a marker on a map, and a tooltip pops up with a dynamic textfield. The textfield is set to multiline=true and wordwrap = true, and I defined a specific width of 160 pixels.
The problem is, some of my text is jumping to the next line, some of it is just getting cut off. So if I have a line like "The Cat Jumped Over the Box", On one line I will see "The Cat Jumped" and on the next line I would see "the Box". It looks like it is masking out the "over" line and not pushing it to the next line.
It's not doing this for everything, just some longer lines. This is a really weird bug and I have tried for 8 hours to get this fixed. Has anyone ran into this problem before?
View 1 Replies
Nov 1, 2010
I am not simply trying to contain things and have the container resize without the contents resizing. I would just use a simple MovieClip for that.. My main focus is on the use of BitmapFill. I'm trying to make a repeating background image for a container; thus far I'm able to draw my BitmapFill sprite to the size I want. (Which is the stage's height) but when the stage is resized, I want to re-size my container but have my containers BitmapFill crop or add more as the window is resized bigger or smaller. Allow me to illustrate what I mean:
I've got a simple rectangle sprite that fills with a bitmap from the library and a simple resize handler function that detects when the window has been resized.what I would like to do is have my rectangle resize to the height of the stage.stageHeight maintaining its bitmap fill, but not resizing the bitmap fill or any children within the sprite.
From what I've read, this is a little tricky because the sprite resizes in relation to what it contains.. or.. something like that.. I really don't know any more.. I saw one example where a person extended the sprite class but I don't know why or how..
in my library there is an image called 'pattern' and my code looks like this:
stage.align = StageAlign.TOP_LEFT;
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.addEventListener(Event.RESIZE, resizeHandler, false, 0, true);
[code]....
View 2 Replies
Sep 11, 2009
I'm loading a few pngs/jpgs externally so they can be swapped out occasionally, and the issue I'm running into is when they are shrunk they become fairly choppy. Is there a way to have flash re-render them, or do something to smooth the resizing as opposed to going in and resizing every file manually myself?
View 1 Replies
Nov 2, 2010
I've got a little problem with BitmapFill, I'm trying to use a sprite as a container for various things and i would like it to have a filled pattern background. my problem is that i want it to resize the sprite to the height of the window but not have the background fill resize, and add more / crop as the window size is changed. to illustrate what i mean, please view the diagram attached to this post .
I have an image in my library called 'pattern' and my code is as follows:
ActionScript Code:
stage.align = StageAlign.TOP_LEFT;
stage.scaleMode = StageScaleMode.NO_SCALE;
[Code].....
View 2 Replies
Jul 2, 2010
i have a bit of an odd problem, when i view my swf clip online there is a large white border accross the top of the screen, i don't really know why as when i made the file there is no border, obviously there is a setting or something that i need to change
View 1 Replies
Jun 6, 2009
I have a png file dropping into a flash background and I am getting a black line around the png. Anyone thoughts on how to get rid of it. I also made the png bg to 1111111 the same as the fla file background
View 12 Replies
Mar 3, 2009
I've been working on my website - [URL] - and whenever I load the page up in firefox there's this annoying border that goes around the swf when you click on it.
View 17 Replies
Apr 20, 2010
No matter what I do though, when I publish the fla file, a small margin appears around the edges.Now, without adjusting the html, can I get the fla file to publish without a border so that it appears naturally as 'full' within the browser?
View 11 Replies
Dec 31, 2009
ActionScript for Handle Image BorderLike this???
View 2 Replies
Nov 3, 2010
get rid of active border of the default scrollpane component in flash CS5. I am working in Actionscript 2.0.
View 1 Replies
Aug 4, 2009
I have a linechart and dots showing the places where a datatip pops up. I can change the line to any color I want and I can set the inside color of the dot. But the border color still stays orange (from the default color). [code]...
View 1 Replies
May 13, 2010
I am working on an custom container and I need a border for this container. I have a 15x15 image that I am creating a 9-slice border skin with. The issue that I am having is that the border skin does not appear the way that I had hoped it would.
Here is a ss of the skin in place.
Ideally I should have a transparent box with a 5 pixel border around it.
Here is my current testing code:
CSS Code:
Box
{
borderSkin: Embed(source="15x15.png",
scaleGridLeft="5",
[Code]....
View 1 Replies
Jun 29, 2011
I know how to draw a rectangle and add it to a DisplayObjectContainer,but do you see a simpler method to directly add a border to a DisplayObject? DisplayObject don't seem to have addChild(), so I would have to add it on the parent, which is not perfect in my opinion...
View 3 Replies
Aug 17, 2011
In Flex 4, I have a canvas that I'd like to set border-width on via css. I can set the border color and border style, but the border width remains 1 pixel wide no matter what.
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
</fx:Declarations>
[Code]....
View 2 Replies
Jul 27, 2007
I've been doing some simple text fades by keyframing the alpha values. Everything is fine on the stage, but when I publish it I can see a slightly translucent bounding box around the text. It's even visible on text I haven't animated. I've done fades before, but never ran into this problem. [URL]
View 14 Replies
Oct 25, 2006
I load my images using XML and tween them + putting a border with this script (not including the xml loading code, dont know if I need to change this?) Everything works fine with doing the same thing with all images. What I want to try to accomplish is putting no border on the first image?
Code:
MovieClip.prototype.loadPic = function(pic) {
this.loadMovie(pArray[pic]);
this._parent.onEnterFrame = function() {
[Code]....
View 1 Replies
Apr 20, 2007
I have a template which loads thums form XML file, i want to modify the thumbs to have a border around each one and alfa rollover effect.
Code:
function createThubmnail(thumbURL) {
thumbsHolder.attachMovie("itemPhoto", "itemPhoto"+photoN, photoN);
eval("thumbsHolder.itemPhoto"+photoN).picture.picture.loadMovie(thumbURL);
eval("thumbsHolder.itemPhoto"+photoN).d_w = widthThumb;
[code]....
View 2 Replies
Apr 1, 2009
How did they make that border to wrap around any resolution? make my images from my XML gallery to not become pixelated when it loads in full-screen.
View 3 Replies
Sep 14, 2009
I would like to create a html that would embed my swf without any borders in the browser.
I've tested embedding my swf but the excess graphics in the swf were shown at the side. Is there anyway i can solve it?
View 7 Replies
Dec 6, 2009
How do you put a neat little border around the stage so you can see precisely where the stage is at when working with a large graphic?
View 2 Replies
Dec 14, 2009
I have a very simple player which connects to a shoutcast stream. All it has is a play/stop button, and a volume control, which control a mp3 Playback Component.However, everytime I click anything within the flash movie, a little focus border appears around my flash movie. You know how when you press tab on the keyboard to switch between different elements in a program, such as different buttons, and that little dotted border appears on the button you are on? Well, that happens to me, and I am not sure why or how to get rid of it.
View 3 Replies
Jan 2, 2010
I have a problem when I create flash movies (I have tried Flash slide show maker). The video looks good but when I publish it and view it in Explorer or Firefox it comes with a gray border around it (partly dotted)I have tried to find a solution in different forums but no luck. The gray border is visible even if you havent clicked on the flash movie.
View 3 Replies
Feb 17, 2010
Lets say I have a square like this[code]...
How can I change the color of the border (i.e lineStyle) from 0xffffff to 0x000000 at runtime, so if a user clicks a button the color of the border changes from black to white.
View 3 Replies
Jun 22, 2010
When I import a psd layered file I get an unwanted (red) border appearing around the art and as a box around the art. This doesn't exist in the psd file, but appears in the flash file. Should I convert and import it as something else? Is it a resolution setting in flash?
View 2 Replies