Flash - Rescale An Asset That's A Hierarchy Of Bitmaps?

Jan 25, 2012

I have some FLA/SWF assets which are hierarchies of bitmaps.They have timelines which page-flip through different bitmaps.I'd like to scale these assets down in pixel-size, including the bitmaps they're composed of.I'm not a Flash Animator, but the artist i'm working with doesn't know of an automated way to achieve this. ie, that it's a long a laborious manual process.Does anyone know of a tool which can simplify the re-scaling of bitmap-based FLAs ?

View 1 Replies


Similar Posts:


IDE :: Adding Loaded Asset To Display Hierarchy?

Apr 1, 2009

I have a class called Bike.as, linked to a movieClip in the library. The class essentially tweens a bike graphic across the stage. At the end of the tween, I instantiate a new class called Slideshow. Slideshow loads an image. The image loads(I get no loading error, and I can trace info about the loaded content)... I just can't seem to see it. In attempting to debug, I wrote the loading code(in Slideshow) into the Bike.as file(replaced the code that instantiates Slideshow), and it worked. Did it work because Bike is linked to a movieclip, and Slideshow is not(Slideshow is called in Bike.as)? I'm attempting to transition from AS2 to AS3. Here's my Slideshow class:

public class Slideshow extends Sprite {
private var container:Sprite;
private var loader:Loader;

[code].....

View 1 Replies

ActionScript 2.0 :: Rescale Browser/flash Movie Hight?

Aug 29, 2009

i want to rescale my website height after its content height, hope this makes sensei have my website with a header and menu at the top and below them the content loads. the content for the first loaded page is of about 1000 px high, and for a third page is of mb 500 px, wich when i load leaves my browser with 500 empty px at the bottom, and u can sroll it in that area, seems kinda uncool.

View 9 Replies

ActionScript 3.0 :: Comparing And Matching Bitmaps Against An Array Of Saved Bitmaps

Jul 31, 2009

I'm trying to figure out the best way to compare a single bitmap against perhaps an array of saved bitmaps to see how close of a match it may be to any one of the bitmaps stored in the array. Right now I'm running a for loop that uses the bitmapData.compare() method to try to compare to see how much of a variance there is but... to be honest I'm at a loss as to how to use the resulting data to do so. Does anyone know of any good method to accomplish what I am trying to do? Forget looking at my code it's a waste of time because simply, it's not working.

View 4 Replies

ActionScript 3.0 :: Access To An External Asset Of An External Asset

Jan 21, 2010

I have an externally loaded swf that contains thumbnail movieclips. When a thumbnail is clicked an external image is loaded. I would like to be able to reposition this external image. I know I can use typecasting to control a movieclip of the swf but how do I control nested externally loaded files? I have a different approach that should work fine but I was just curious about my initial attempt.

View 0 Replies

ActionScript 2.0 :: Flash 8 MovieClip Hierarchy OnPress

Sep 23, 2010

I'm trying to make an onPress function for a MC inside a MC and I have figured it will look something like this:
_root.mc1.mc2.onPress = function(){}
It won't work though. What to do? (Now I see, I have that mc2 on the 2nd frame inside mc1... if I put it also on the first frame it works fine, but I don't want it on the first frame).

View 10 Replies

As3 :: Flash - Add Multi Custom Class Into One Asset?

Aug 2, 2010

I have a Symbol in Library with linkage name: box_mc

import flash.display.MovieClip;
import flash.events.Event;
import Src.smoothAnimate;

[Code]...

but when run is make error:

1151: A conflict exists with definition box_is in namespace internal.

i want when flash run, the box_is will be add in stage, resize by function changesize.

View 1 Replies

Actionscript 3 :: FullScreen Flash Asset Dimensions

Jan 20, 2011

I'm creating a media player (mostly video but with some graphical interfaces) that has a full-screen mode. However, before going fullscreen it's relatively small (about 620x340) and going fullscreen would typically be about double the resolution. What is the best way to prepare the videos and assets in the file so they look good at fullscreen and at the smaller size? I want to also keep the file size to a minimum (within reason).

View 2 Replies

Flash - Asset Management In Adobe Air For 2D Game

Jun 1, 2011

I'm building an Adobe AIR application (2d platformer adventure game), utilizing the Flash Builder 4 IDE, which will be packaged on a CD for installation. I've embed the majority of the game assets into a static class to keep it simple and organized. This way I can reuse assets and swap them without much digging.

Example:
[Embed(source = "../data/gfx/spritesheets/boyHero.png")] public static var boyHero:Class;

In the early days of the projects, everything went to plan. However as the project has grown to be over 28MB, I've started to run into Out Of Memory errors. These occur when I add new assets, refactor for a while, or add new classes. Once I get this error, I can restart FB and then work for another 15-20 minutes. I've modified my .ini file bump up Flash Builder 4's memory allocation. It's currently set at:
-Xms512m
-Xmx1024m

While I'm at it, here are the specs/plug-ins that I've got installed:
Flash Builder v 4.0 (build 272416)
JNA Library 3.2.7
subclipse plugin 1.6.17
subversion client adapter 1.6.12
subversion JavaHL Native Lib 1.6.15
SVNKit lib 1.3.5.7406

Mac OSx v 10.6.7
2.53 GHz Intel Core 2 Duo
4GB DDR

My Questions:
1) Is the issue with the path that I've chosen for the way I'm handling in-game assets? I am streaming in some assets such as tutorial swfs which are loaded via the SWFLoader. I could go this route for all assets... but, should I? Is this the right way to handle a disk game? (The game runs without a hitch when installed on QA machines...)
2) Provided the embedding of static assets isn't an issue, Is this a FB4 bug? Where should I head for more information?

View 1 Replies

ActionScript 3.0 :: Flash Equivalent For Bitmap Asset?

Oct 8, 2010

Im trying to fix some as classes that are importing from mx.core.* and have defined a Class that extended the BitmapAsset class--I dont believe that class exists in the Flash library, so I replaced them all with BitmapData--Can someone explain what mx.core is and what is the Flash equivalent of BitmapAsset?

View 3 Replies

Flash :: Bubbling Work For Custom Event And Object Hierarchy?

Jun 14, 2011

I have searched on the Internet and didn't find any clue on how to do so, any idea ? I don't want flex only flash (my objects are not visual components).

View 3 Replies

Professional :: How To Rescale All Objects On A Stage

Apr 27, 2010

I am using Flash CS4 and need to resize my Flash stage and all objects therein.

To do that I activated onion skin tool, selected all objects and all frames and resized by using the transform tool.

However, masks and some motion paths are not scaled proportionally.Is it yet another bug in CS4? Here is a video illustrating the [URL]...

View 5 Replies

Professional :: Rescale Correctly A .flv Videoclip?

Oct 4, 2010

How to rescale correctly a .flv videoclip? I installed the Adobe MasterCollection CS4.I rendered a video with 3dsMax2010 at this resolution: 1024x576pixels, progressive scan, pixel aspect ratio 1,0 square.I want insert this video on a website, initially small, and after, by clicking the FullScreen button, I want that this become large at maximum resolution...

I imported the .FLV file in Flash:ImportVideo> *.flv > Added SkinBarMenu with FullScreen Button > Replaced the remote address instead of local address: http:[url]......I rescaled the video at 720x405pixels and also the Flash Document to fit it.I included the video in the webpage with Dreamweaver, with FullScreen playback properties.When I playback the video on the website, it appears at 720x405pixels;

- When I click on FullScreen button, the video become up-scaled from 720x405px and loose the resolution?- Or at FullScreen, I can view it at the original resolution of 1024x576pixels, in the same manner as when it is imported in Flash?

- Such Flash video behavior, is the same as YouTube videos? (From small, it become hi-res at FullScreen, conserving original dimensions)?

View 5 Replies

Rescale Image At Design Time?

Nov 3, 2009

I cant seem to find a single thread on the internet on "howto enlarge/scale an image when selected".Please could someone direct me to a thread/link or some actionscript that could help?

View 5 Replies

ActionScript 2.0 :: Image Doesn't Rescale To 50x 50

Jun 1, 2006

The images i load into the flash website must be 50 x 50 pixels in the flash website. But if i'm uplaoding an image with for example 100X100 or 300x 92 the image doesn't rescale to 50x 50 i tried and i tried but i can't find the solution. I started with a mask, but because the whole news part uses a mask for the scroll content the image will not appear when using a mask 50x50.

Does someone have any clue what i can do? To have a view so you can see the result i mean see [URL] And then the option "nieuws" The first record got a image with the wrong idea the second one is how it's suposed to be. I'm using a xml/php file wich get all the records from my database..

View 7 Replies

Does The Video Asset For A Dreamweaver Flash Player Have To Be Relative To The Page

Jan 27, 2011

I have Dreamweaver CS5, and used the "Insert FLV" function to generate a flash video player. It creates a /Scripts directory with two files, swfobject_modified.js and expressInstall.swf, and it also creates two .swfs in the directory the .html file is located, FLVPlayer_Progressive.swf and an .swf named after the skin (e.g. Clear_Skin_1.swf).

When I have Dreamweaver generate the html code for all this with a relative path, it works. When I give Dreamweaver an absolute path, it doesn't. You can see an example at www.youngstreetdesign.com/staging/flvtest/test.html.

The top is the relative, the second the absolute. The third is something unrelated.Dreamweaver says "enter relative or absolute path here" in the entry where you give it the video's path, and the documentation says that absolute paths should work, so, I'm at a loss.

View 1 Replies

ActionScript :: Flash - Bitmap Caching Vs Image Asset Performance

Mar 14, 2011

i've created a full spectrum color wheel Sprite object that is composed of 1440 vector triangles, or slices if you will. since i want to animate the color wheel, i've activated the display object's cacheAsBitmap property. however, caching the vector as a bitmap does not increase performance during animation it remains slow, jumpy. importing a PNG screenshot of the color wheel into the library with lossless compression, converting it to a Sprite, and rotating this new image asset performs great during animation. why does an uncompressed PNG image asset import out perform the same vector image with cacheAsBitmap property set to true?

View 1 Replies

Flex :: Flash Builder: Embedding The Same Asset In Multiple Components?

Dec 23, 2011

If I embed the same asset (i.e. image or sound file) in multiple components within a Flex Application, does the compiled swf contain the asset (and it's file size) only once or once for each time it is embedded?

View 1 Replies

Actionscript :: Get Url Path Of Self (movieclip) In Flash Within A Hierarchy Of Multiple Parent Movieclips?

Apr 3, 2011

Let's say I am loading a movieclip from a remote url within another movieclip on another server.

This movieclip now needs to load another child movie clip on the same server as itself.

How can it get its own url and not the url of its parent container so as to load this child ? Because if it refers to "child.swf" it will be relative to the super parent container insted of the first server isn't it ? So it will not be able to load the child correctly if all it can get is the url of the parent.

View 1 Replies

Flash :: Determine The Display Object Hierarchy An Event Will Capture/bubble Through?

Jun 7, 2011

In Actionscript 3 is there any way to determine the precise display object hierarchy an event will traverse through when dispatched from a given object? The object is not necessarily a display object.Although I could imagine this actually being useful somehow, in my particular case it is a learning exercise. I'm trying to master the event system in flash and have some locations where I'm very curious what path an event will take when I dispatch it.

View 2 Replies

Actionscript 3 :: Using A Flash CS4 Asset In Flash Builder AIR Application?

Nov 23, 2010

I have written a flash cs4 custom button class in actionscript 3 with its unique look-and-feel and transitions on up/down etc events. How can I import the Flash assets and use it Flash Builder for an AIR application?

View 1 Replies

ActionScript 2.0 :: MC To Adjust _y Position On Browser Rescale

Jun 22, 2009

I've been through all the tutorials on flash scaling and stage resizing and can't figure this one out. I have an MC in _y proportion to the Stage.height-40, so when resizing the browser I should always be able to see it.

The Problem: I know how to do this; by publishing the movie at 100% width and height - this works fine. But my flash movie is a magazine which is long, and requires scrolling in the browser to see the content.

As soon as I set the movie to publish width/height at 100% I can no longer scroll my flash magazine in the browser.

Is there a way to readjust the MC _y position as the user scrolls up and down; so the MC is always in view. So it'd look similiar to those pesky ads that follows you as you scroll away.

My code:

PHP Code:

Stage.align = "TL";
Stage.scaleMode = "noScale";
resConfig = function(){

[Code]....

View 1 Replies

ActionScript 2.0 :: Get Dimensions Of Loaded Image And Rescale

Jan 13, 2010

I have a site that allows a user to upload an image, modify the image, and then save the image to their computer. This works fine, or at least it suits me so far. This is done by uploading an image to an empty movie clip, failcont_mc, and then exporting it as a jpeg once the user is done editing the image. The empty movie clip seems to be dimensionless, which isn't a problem.

The problem lies when the user uploads a photo that has very high dimensions. I'd like to be able to upload the image, then scale it down and keep it's aspect ratio if it's too large. I only want to be able to do this if the image is too large. For example, load an image sized at 800x600 and scale it down to fit into an area that is 500x400 while keeping it's proportions in tact.

Here is an idea of what I want in steps:
1. Upload the image into empty movieclip
2. Check dimensions of the occupied movieclip (previously empty)
3. if the dimensions are above 500x400
4. then scale the movieclip down while keeping proportions in tact
5. display movieclip

The code is made up of snippets from here and there on the internet, so don't be surprised if you see something that looks familiar. On a side note, I'd like to give credit to those who have allowed their code to be used openly. All of the code works fine, I would just like to add steps 2, 3, and 4.
Imageholder: failcont_mc
In the code, I have a big white space to give an idea of where I'd like to place the code. I assume the code is executed as it is read by the flashplayer. What I have tried so far was grabbing the width and height of the "occupied" movieclip and setting them as variables. I used these variables to determine if the width or height was the larger number. Then I used the variables to make a proportion to make sure the end dimensions of the movieclip stayed within the area.

Code:
//Allow this domain
System.security.allowDomain("http://localhost/");
import flash.net.FileReference;
// The listener object listens for FileReference events.
var listener:Object = new Object();
[Code] .....

View 6 Replies

Actionscript 3.0 :: Way To Rescale External Swf File To 20fps

Aug 8, 2009

i got a main scene 20 fps.i want to load an external swf movie that should run at 8fps [code]is there any way to rescale the external swf file to 20fps without having to manually move all keyframes, and without making the movie play faster?(btw i got the fla file of both so i can adjust the external swf file)

View 1 Replies

Flash :: Mxmlc Incremental Compile Cause A Fault Relating To Particular Embedded Asset?

Oct 10, 2011

I have a swf which embeds around 40 various png and fxg objects using the embed metatag... eg.:

public class OneOfMyEbeddedAssets
{
[Embed(source = "./assets/OneOfMyEbeddedAssets.png")]

[code].....

View 1 Replies

ActionScript 2.0 :: Rescale Movieclip Based On Browser Size?

Mar 11, 2006

im trying to resize/scale a movieclip based on the browser window.i sort of got it working. but my prob is that i dont want it to scale beyond the browser size when u just stretch the width or height.check it outif u stretch just the width of the browser the image enlarges which i dont wont it to. heres the code/formula used in a onResize

var mywidth:Number = 955;
var myheight:Number = 575;
Enlarge = (Math.round(Stage.height/myheight*100)+Math.round(Stage.width/mywidth*100))/2;

[code].....

View 2 Replies

ActionScript 2.0 :: Dynamic Height Rescale (based On String.length)

Aug 7, 2008

Okay what I after is how to detect the length of the string populated from array...then auto rescale the height of the title_mc as shown in my AS as well as the dynamic created textfield ..so the textfield will display long string + "newline" for long string...(autowrapper)..

[Code]...

View 2 Replies

Flash :: Escaped Characters In A Remote Asset Filename Throw A Sandbox Security Exception?

May 9, 2011

I'm calling remote images with with a Loader and the context has checkPolicyFile=true, images load fine with urls like :url....the only difference being escaped characters, is this a bug or am I doing something wrong?url...

View 1 Replies

AS2 :: Flash - Load Bitmaps In An Array?

Mar 9, 2011

I would know if with AS2 it's possible to load programmatically a bulk of images and save them in an array; then how to attach programmatically each image to an empty movieclip.

I know how to do this in AS3 however it seems impossible in AS2.

View 2 Replies

Flash 8 - Pixelated Bitmaps In Tween Animation

Mar 28, 2009

I have created an image in photoshop (96dpi, same as my monitor) and imported it as a png into flash where it becomes a bitmap. Once I had imported the image I went to library and allowed smoothing on the image and set it to lossless. It performs a motion tween and simply flys from one side of my movie to the other. However, the whole way it appears pixelated. I had done this on a previous movie with the same image, just with a different animation and I had the same problem. But in this case the 'allow smoothing' worked. Not this time though.

View 1 Replies







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