Vector Images Tween Or Jpg Sequence
i was working on a motion graphic effect. though it could be done in flash totally (graphics drawing to motion tweening). but i found it plays pretty slow regardless how high i set the fps (even to 120f/s).
but once i export them into jpg sequence then import to stage again, they just play right, smooth and fast.
just want to confirm with your guys if this is normal or reasonable. my understanding is that for vector images flash swf player does a lot of work to calculate on the graphics and it's motion. but if it's an sequences of images, the player just play the sequence, thus save a lot of CPU resource hence plays faster.
am i wrong?
Ultrashock Forums > Flash > Flash Professional
Posted on: 2005-03-04
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Optimizing Vector Sequence
i have a .swf that was created by vector-rendering a 3d animation in Maya. Essentially, it's a sequence of vector images. It looks just fine, but the filesize is only good for the original cd-rom version - i'm making a web version now, so i want to optimize it.
ideally, i'd like to convert it into a series of shape tweens, keeping the original look. All the edges of the objects are flat, and for the most part, the animation looks as though it could have been made with shape tweens to begin with. Does anyone know of a tool or process through which i could do this? Is there another way altogether?
i have the files posted here: http://shannon.lukeski.net/dacd/collabAnimation.swf
http://shannon.lukeski.net/dacd/collabAnimation.fla
You'll need to tell the .swf to play, because i have a stop on the first frame.
Tween Class Sequence
Does anyone have an example of a tween class in a sequence of events? I'm trying to learn how to make a tween class event and when it finishes a different object has an event. Yeha I'm not sure how else to explain it.
~reblis
Tween Sequence Question
I'm in the process of designing a looping banner with several logo's (8). I am using the tween class along with several custom functions. The onMotionFinished is driving the sequence to the next tween along with set interval's to fade out the logo after the tween is finished. On the last setInterval I have a function to set the _alpha back to 100. How can I restart this frame to loop and execute the tweens again? Is the object that contains the tween still in existance after the onMotionFinished is called.
Any help would be great.
[cs3]mc Tween Sequence Question
Hi there,
I am trying to find a way to make a movie clip resize larger on mouse release, then resize back to the original size on a second mouse release. I have tried many ways to do this but seem to be unable to come up with a solution.
Could anyone recommend a way to do this? It would be really, really appreciated.
I have been using mc Tween.
Thanks,
Meal.
Code:
onClipEvent (load) {
this.onRelease = function() {
this.scaleTo (350, 0.8, "easeoutelastic");
};
}
[cs3]mc Tween Sequence Question
Hi there,
I am trying to find a way to make a movie clip resize larger on mouse release, then resize back to the original size on a second mouse release. I have tried many ways to do this but seem to be unable to come up with a solution.
Could anyone recommend a way to do this? It would be really, really appreciated.
I have been using mc Tween.
Thanks,
Meal.
Code:
onClipEvent (load) {
this.onRelease = function() {
this.scaleTo (350, 0.8, "easeoutelastic");
};
}
Simple Tween- Vector/mc?
Hello, i'm trying to make a rectangle tween along the x axis. Currently i have made a vector and im trying to tween it. I was wondering, do i have to make this into an MC before trying to tween it? and if so, how do i do that?
Is there another way of making it tween? Please lend me your thoughts! the code is below!
ActionScript Code:
import fl.transitions.Tween;
import fl.transitions.easing.*;
var canvas:Shape= new Shape();
addChild(canvas)
canvas.graphics.lineStyle(1,0xffffff,1)
canvas.graphics.beginFill(0x000000,1)
canvas.graphics.drawRect(20, 68.5, 39, 47)
btnSlidePanel.addEventListener(MouseEvent.CLICK, slidePanel);
function slidePanel(mevnt:MouseEvent):void {
var twSlide:Tween;
twSlide = new Tween(canvas, "x", Back.easeOut, canvas.x, canvas.x + 100, 10)
}
Currently i get two error messages:
1. "1120: Access of undefined property Back.twSlide = new Tween(canvas, "x", Back.easeOut, canvas.x, canvas.x + 100, 10)."
2. "5001: The name of package 'gs.easing' does not reflect the location of this file. Please change the package definition's name inside this file, or move the file. C:UsersAbsDocumentsAbsPracticeas3Back.as"
Any ideas??
Cheers
PNG SEQUENCE + MOTION TWEEN...please Help I Must Be Missing Something
hi guys!
flash noob here... i basically do 3d but now i have to learn flash for a project
ok i use a .png sequence for a sprite (primarily because it has the alpha channel) i will use in flash... its a walking animation of several frames. i make an empty symbol, load the frames into it. i put the symbol in the canvas. it animates fine and the alpha channel is working.
now i try to make a motion tween of the symbol instance, so as to simulate the walking movement, from one point to another. i playback [ENTER] its working fine, just as i want it. now if i do the [ctrl+ENTER] preview or export, the motion tween is working, the sprite is moving from point a to point b BUT the walk animation is NOT WORKING. its just showing the first frame in the image sequence!
am i missing out something to make the image sequence animation work like it should? i tried to do the exact same thing to a movie clip (MOV) it works... but with the png image sequence im really puzzled.
thx in advance
Shape Tween Vector Points
i would like to understand (if possible) how flash deals with shape tweens?
does it try and recognize shapes in order to find what it's common between two shapes or does it more simply try to establish a link between vector points according to the closest corresponding position?
is there no way of, say, switching off the attempt of shape recognition?
why aren't hints automatically attached to vector points within a same layer?
thx - p
What Happend To My Motion Tween When I Changed Bitmap To Vector?
Hi, I am making an animation and it is starting to become complex and is staggering alot.
All of the elements are bitmaps and so I am trying to change then to vector graphics using trace bitmap. Although, when I do this the motin tweens etc. re taken away? They become dotted lines again.
How do i change the bitmaps to vector without having to redo all my animation?
Cheers guys.
Replacing Dynamic Text In Clips With Easing Tween Sequence
I am trying to create dynamically movieclips that will have a sequence easing tween.Every movieclip will have a textfiled with dynamic text that will be replaced. Now I thought that creating only one movieclip and then replecing the text in textfield would be easier, however I'm stuck here. When I add the second tween, the onMotionFinished thing seems to be ignored.
Any idea?
Code:
import mx.transitions.Tween;
import br.transitions.TweenSequence;
import mx.transitions.easing.*;
var mc = this.createEmptyMovieClip("mc", this.getNextHighestDepth());
labelFormat = new TextFormat();
labelFormat.font = "Verdana";
labelFormat.size = 24;
labelFormat.color = 0x000000;
labelFormat.bold = true;
labelFormat.leftMargin = 0;
labelFormat.rightMargin = 0;
labelFormat.indent = 0;
labelFormat.leading = 0;
labelFormat.align = "left";
TextField.prototype.buildLabel = function(tempText) {
this.border = false;
this.selectable = false;
this.text = tempText;
this.maxChars = "2";
this.setTextFormat(labelFormat);
};
mc.createTextField("mytext", 1, 20, 20, 550, 100);
mytext.multiline = true;
mytext.wordWrap = true;
mc.mytext.buildLabel("text1", 50);
var ts:TweenSequence = new TweenSequence();
ts.type = "sequential";
var Tween1:Object = new Tween(this.mc, "_x", Slide.easeOut, this.mc._x, this.mc._x + 300, 2, true);
ts.addTween(Tween1, 1);
Tween1.onMotionFinished = function() {
delay = setInterval(wait, 10000);}
//calling delay
function wait(){
clearInterval(delay);
//delayed action
Tween1.continueTo(550, 3);
};
var Tween2:Object = new Tween(this.mc, "_x", Slide.easeOut, this.mc._x, this.mc._x + 200, 2, true);
mc.mytext.buildLabel("text2", 50);
ts.addTween(Tween2, 2);
Tween2.onMotionFinished = function() {
delay = setInterval(wait, 10000);}
//calling delay
function wait(){
clearInterval(delay);
//delayed action
Tween2.continueTo(550, 3);
Tween2.onMotionFinished = function() {
mc.mytext.buildLabel("text3", 50);
}
};
ts.start();
Vector Images
I am developing very quickly a nice passion for Flash 5 and the deeper I get the more test movies I make and hope eventually to use within other projects.
One thing I know there are, is lots of wave files to d/l all over the Net and of course you can make your own easy enough.
Vectors on the other hand make me wonder. I have the tools ... Photoshop, Illustrator, Freehand etc. but my turn of fate is lack of imagination! I can sit with keyboard and mouse all day and not come up with much to use.
A couple of years ago I paid someone to do a Flash site for me @ http://www.cdbizzcard.com and my goal is to get that good. That's just one example, but the vectors seem to be pretty good! Are those things that he created in Flash or is there a place to get some images of that type?
The more I look at Flash sites, the more I am amazed at some of the artwork. What I'm getting at is this: Do web designers create all their images in a vector program, or within Flash, before the movie is created? Or is there a place to get some "standard issue" vectors for a newbie to learn to use?
Vector Images
This is a newbie question, but I just want to make sure on something.
If I need to use vector images for a project can I make these vector images in Illustrator and then import them into flash? I guess I am not clear if I save them a certain way to make them vector or is it the way they are made.
Thanks.
To Use Or Not To Use Vector Images
I'm designing a Web game in Flash. Do I need to use Vector based images because otherwise my game will be huge.
I have someone hand drawing the characters. I would love to use Vectors but I will need to go through the process of converting each image to Vectors.
- I've used Flash's trace bitmap feature. Works well but it creates about a million vector points => big game.
- I've looked at a few tools (ImpressionX, IXSetup, TraceArt) that will convert images to vectors but they don't even do an adequate job.
- I've tried jpgs instead of vector but I have a lot of images so the game ends up being too big. Am I missing something in regards to max compression?
It was recommended that my only option is to trace each picture using Vector tools (e.g. in Flash).
Time and resources are limited, so I am trying to find out what all my options are.
Thanks,
Rob
Vector Images
I am an advanced Illustrator and Photoshop user, but I'm having a hard time in Flash. I can't really create the vector art that I am able to create in Illustrator, but how do I import the vector art from Illustrator? If I copy and paste it comes in as pixels and its very jagged. If I import, it does the exact same thing. if I copy the vector info to photoshop and save as a transparent GIF or PNG it is STILL jagged... does anyone have any suggestions??
Multiple Images In Sequence?
Hello everyone.
I have this script that loads 3 swf files randomly at various intervals of time (I got it from Flashkit 2 weeks ago):
__________________________________________________ ____________
// 1. define the files - as you did before
files=["first.swf","second.swf","third.swf"];
// 2. define a timing for each file, each value corresponds to a file respectively
times = [5000, 3000, 8000]; //time in milliseconds
// 3. make a custom load function
function loadNew()
{
var rand = random(files.length);
setInterval(loadNew, times[rand]);
myMc.loadMovie(files[rand]);
}
loadNew();
__________________________________________________ ____________
Can I change this so the 3 swf files load in sequence rather than randomly? Also, how do I set the alpha so each one fades in rather than just pops up?
Thank you very much.
pug
[F8] Loading A Sequence Of Images
I am currently making a site and the intro page I want to have a set sequence of images loading one after another. I tried to do it randomly and it worked but there were times when I'd get two of the same ones right after another and I don't want that so I thought to have it done in sequence would work.
I am very close and here's the ActionScript that I am using:
Code:
import mx.transitions.Tween;
import mx.transitions.easing.*;
pics = ["images/intro/1.jpg", "images/intro/2.jpg", "images/intro/3.jpg", "images/intro/4.jpg", "images/intro/5.jpg"];
loadPicture = function () {
var myTween:Tween = new Tween(introImageHolder_mc, "_alpha", Strong.easeIn, 100, 0, 3, true);
myTween.onMotionFinished = function() {
for (var i:Number = 0; i<pics.length; ++i) {
//var i:Number = 0; i<pics.length; ++i;
//var ranNum = Math.floor(Math.random()*pics.length);
introImageHolder_mc.loadMovie(pics[i]);
var mynewTween:Tween = new Tween(introImageHolder_mc, "_alpha", Strong.easeIn, 0, 100, 2, true);
trace(pics.length);
trace(pics[i]);
}
};
};
sI = setInterval(loadPicture, 6000);
The thing that I can't figure out is that I only see the last image (images/intro/5.jpg) and not the first four. I did a trace of the pictures (trace(pics[i])) and I can see the image names/paths in the trace window just fine but I can't see them on the stage except for image "5.jpg" and I am about ready to pull my hair out. I think I have been looking at it for too long and maybe some fresh eyes on it might help.
Thanks.
Brent
Scroll Sequence Of Images?
Hi dudes!
is there is any way i can scroll or having a horizontal scroll bar which will help me to scroll through sequence of image which i place in a MovieClip?
Dimension Of Images In Jpg Sequence
Hi, I've been wondering about this for ages, hope Flash experts here can lend me a hand here:
I have a series of jpeg images that I would like group together to make an animated movie with.
So I imported them as a sequence of Jpeg images into Flash, an animated movie is created no problem... but the dimensions of the movie is way too large, which resulted an enormous file size.
Is there a way to reduce the dimension of the movie?
Must I go into every frame and change the dimensions of each individual Jpeg images?
Or would you recommend that I shrink all the jpeg images before importing them into Flash? If yes, is there such a program that would shrink a handful of jpeg images at once by some sort of command?
I've been trying to find solution to all these but never seemed to find any. I'd be very appreciated if anybody could help. Thanks a lot!
Scroll Sequence Of Images?
Hi dudes!
is there is any way i can scroll or having a horizontal scroll bar which will help me to scroll through sequence of image which i place in a MovieClip?
Preload A Sequence Of Images?
Hi all!
When telling a flash movie to load several external images or swfs into the stage it normally loads every image at the same time making the movie feeling slow.
I´m looking for a preloader or a script that can preload one image at a time. Starting with 1.jpg then moving on to 2.jpg, then 3.jpg etc.
Have you seen any or can you help me?
Best regards
Tony Bolero
How Can I Export A Sequence Of Images?
Hi guys.
Sorry, if I'm double posting, but I'm stuck.
Does anyone know how to export a sequence on jpegs?
I've got loads to do, and I don't want to do them one by one
[AS] Fading Images In Sequence
Hey Guys
Here is the situation.
I have 6 images on the stage on their own layers. Each has a sequential image name e.g. Image_1, Image_2, Image_3 etc etc.
What I want to do is rather than keyframe each of them fading in then out and then moving onto the next image I would like to actionscript it. Now I undesratnd that I would do this using loops I am just unsure as to the exact structure and syntax of this function. If someone could lay it out for me that would be great!
Thanks
Streamer
Display Sequence Of Images
I want to display a sequence of images, and I'm loading the next one every 3 seconds from a folder. The whole thing works great locally, but when I upload it, only every second image is displayed. It seems that getBytesTotal() returns 0 - any thoughts?
Morten
Size Of Vector Images
Hi all,
Desparately need help. I have 5 buttons which control MCs using tellTarget , 'if action =' and 'ne' commands. Within the targeted movie there is another MC controled.
The problem is the size of the second movie targeted is impacting the speed of the fuctions. ( I think). When you rollover one of the buttons only one MC at a time is suposed to stay in it's 'down state' all the rest should go to their 'up' state. this is sometimes not happening. the movement is also not very smooth.
Would this problem be due to ineffecient ActionScript or size of movies? I'm only using Vector drawings which change Alpha level over a few frames, but I suppose they are reasonably detailed. If it is the size/complexty of images how can I reduce?
Please can some one help?!? I need to get this project finished other wise i'm in big trouble ;-|
Thanks Steve
Small Vector Images
I have some small vector images as outlines and they look bad quality, they are about 20 by 20 pixels in flash when shrunk down.
Any one know how to make them better quality.
Creating Vector Car Images..
I'm having some difficulty creating vector car images without importing a full photo with the car image into flash then turning it into a vector. What would be the most productive program to use or technique for high-semi detailed color vectors (illustrator/flash)? Also does the use of the gradient fill have a significant size on the vector? I tend to use this tenchique alot to add more color shadowing to automobiles. If you got pics of cars please send them this is a pain doing 20 vector cars.
Question About Vector Images...plz Help.
Is it possible to convert an existing bitmap image that I have made into a vector image without having to do too much work? I have little experience with vector images. The scenario is that I have doors that are opening and closing. Initally, I made bitmaps and I am currently using those for the door animation, however I have been informed that if the doors were vector images, the animation would be much smoother. Any help would be greatly apprecated. Also, please check this thread that is below and add any comments you may have. Thanks.
http://board.flashkit.com/board/show...hreadid=290520
Exporting Vector Images
Okay, so I want to export some images from my Flash file so that they can be used for print purposes. Ideally I want them to remain as vectors. However, when I "Export Image" as either an EPS or AI file, the file's colours are washed out when I open the file in Photoshop, Illustrator, Fireworks, Freehand (I tried everything)
Has anyone discovered this problem? Am I doing something wrong?
Vector Atuo Images
Can you help? Doing a flash site for a wheel company and would like to use vector images of most of the cars out there. Is there somewhere I can or the company can purchase them? Thanks
Importing Non-vector Images
..hi!
i need to import non-vector images from photoshop7. They are type heavy
so need to be crisp. I need to reduce them to anything up to an 8th of their size - they often have 10p type - i need to skew them. (to be displayed in flash of course) ..anything i do ends up in in tremendously bitmapped images
...what can i do at iether / both ends?? anything would be helpful right now
many thanks
h_zoe
Why Are My Vector Images Jaggy?
Notice the logo in the top left part of the page: http://caillouette.com/Deadsite3/
I converted the vector text to paths and for the gradient effect I have a white vector text with outlines converted to fills and below that I have a white vector text which creates the white outline for the black text.
But I can't figure out why it's not clean.
If you zoom in, it's clean, but you zoom out it's jaggy.
thanks
Vector Based Images
I dont know if i should post this here or in fireworks but here we go.
I have an Autocad File which is vector based. I want to be able to modify it in Fireworks. Through Autocad we have exported the image as a wmf which is vector based. I import this into Flash (since fireworks cannot) and can edit the lines etc as a vector based program should. I am not an avid Flash user and am more proficient with Fireworks so i thought i could select all the lines and cut then paste into fireworks... didnt work... it puts it into fireworks as a bmp graphic and cannot edit as a vector. Then i tried exporting the image from Flash as a PNG which is the extension Fireworks uses... again the same thing happened. Figuring that Adobe Illustrator is also vector based and knowing Fireworks can import them i tried exporting it as an ai then importing it... same thing happened once again... does anyone have any ideas how i can get this to be able to be imported or transferred to Fireworks and be able to edit it as a vector?
Bill
Vector Images Vs JPEG And GIF
I have a question, when you use other programs like illustrator to create your images, do you exprot them as flash formats or jpeg and gif? I'm asking because 'sometimes' flash doesn't recgnize the transparency, embedded bitmaps, and whatnot if I export flash file from Illustrator. Oh, and which method will make the final flash movie file size smaller? I'm guessing vector points is smaller, but just to make sure.
Al
Importing Images To Stage In Sequence?
Older versions of Flash would offer to import a series of sequential images, importing the files to the stage each in their own, individual frame.
I'm new to MX 2004. Did they do away with this feature? Is it a preference option I can't seem to find?
I export 3D animations into a series of JPEGs, then import them into Flash in the same order, using Flash as the platform for the animation. I've been doing it for some time, but I just got a hold of MX '04 and it's not giving me the option, or I just can't find it.
Any help?
[F8] Pausing A Sequence Of Text And Images
Ok, I have 6 tabs down the side of the main screen where users can hover over to select which tab to view. All they do is hover to select the tab - no clicking. The sequence changes from tab to tab sequentially (if a tab is selected then the sequence just carries on from the tab that was selected. So it starts on tab 1 if the user hover over tab 4 then after that tab information is displayed for 5 seconds then tab 5 will play then 6...) with each tab having its individual text and images.
My problem is that I want the whatever tab the user is hovering over to stay. So I will only want the sequence to carry on running when the user has not got the cursor on a tab.
I am at the stage at the moment where I can select any of the tabs (they are buttons) by hovering over them by using the goto text, then the sequence continues. I need the sequence to stay until the cursor is off the tab. One other thing, each tab is set to display for 5 seconds before it changes again.
Someone please help. I feel as though this may be quite an easy problem to solve?!?
Thanks
Dan
Import Image Sequence: Images Not At 0,0?
Hi there:
I'm importing an image sequence (71 images) to my stage. Both the Stage and the images are 1200px square. When I import the images, they all end up at roughly x:242 y:2. Am I doing something wrong, or is there an easy way to get them back to the top left of stage?
I have to do this for 32 FLAs each of 71 frames, and would hate to have to manually set each image to the proper position...
Thanks in advance!
Importing A Sequence Of Images In Order?
Forgive my ignorance. I normally just to scripting in Flash, not frame-based animation :)
I've got a sequence of images from a 3-D program that I need to turn into an animation in Flash. I thought it was super easy to bring them in and Flash would automatically place each one on its on frame in order. Am I missing something? Did they drop this feature? I'm using CS3.
Thanks a lot,
Erik
Converting Raster Images To Vector
Hi---can anyone please walk me through the process of converting a raster image to a vector in FlashMX? Or do I convert it first in Freehand? Much obliged for any guidance you can give.....
Vector Algorithm Altering The Images, Why?
When I copied the images I created in one area and paste it in another, I noticed the pasted image is a little bit distorted and is not the same as the original one. Also, when I converted other images into a movie, it does the same thing too. Does anyone know why does the vector algorithm altered it and not perserved the artwork?
Thanks,
FletchSOD
Loading External Images Is Cocking Up Sequence - Help
Is there someone that could look into a sequence for me and seeing why it isn't working properly?
I bought a template and it has a photo gallery with a transition in it that is really nice, but when I put in a loader to load external images, instead of the static image directly in the movie, it flashes at the end of the transition.
Could someone look into it if I posted the .fla file?
Thanks
Flash, Video And Scaling Non-vector Images
i have been asked to produce a short Flash movie which will also be burned to DVD, and i would like to know what effect scaling will have on any non-vector (ie imported png's) images i use in the movie.
i intend to make the movie 720x576px (4:3 ratio) in Flash, at 24fps. when it is played on DVD it needs to scale up so it fills as much of the screen as possible.
i have two questions in this repsect:
1. will it scale automatically when the DVD is played? if not, how can i make it do so?
2. when it scales up in size, will the quality (ie the resolution) of the non-vector images suffer?
thanks in advance for any help you can provide
Andy.
Remove Background From Imported Vector (EPS) Images
Okay, I am stuck. I will give the first person who can correctly get me past this problem one free year of web hosting on my server (reasonable bandwidth constraints will apply). Now on to my problem.
I have to import clipart (all EPS format and a lot of it), So far that works just fine, the image background is transparent (so far so good), the interior of the clipart is white and the lines are black, I have figured out how to change the line color from black to other colors,
What I need help with ---- I need the ability to set the white interior to transparent as well as change it to other colors.
This needs to be done in Actionscript. If it would help I can email you a sample EPS image. To request an image just shoot me an email to cnash@ix.netcom.com.
Thanks, and I am not joking about the hosting if you can use it and before I get questions about hosting, we are not a hosting company, we have private servers only for our development clients.
Clint...
Flash, Video And Scaling Non-vector Images
i have been asked to produce a short Flash movie which will also be burned to DVD, and i would like to know what effect scaling will have on any non-vector (ie imported png's) images i use in the movie.
i intend to make the movie 720x576px (4:3 ratio) in Flash, at 24fps. when it is played on DVD it needs to scale up so it fills as much of the screen as possible.
i have two questions in this repsect:
1. will it scale automatically when the DVD is played? if not, how can i make it do so?
2. when it scales up in size, will the quality (ie the resolution) of the non-vector images suffer?
thanks in advance for any help you can provide
Andy.
Import Image Sequence Into Flash 9, Images HUGE
I'm importing an image sequence into Flash 9. The original images are 340x225 pixels.
When they arrive in Flash though, the dimensions are a whopping:
963777.6 x 637793.9 pixels!!!!
When I look at the image properties in the library, it says 340x255. But whenever I drag an image from the library to the stage, the size gets changed to the above ridiculously huge size.
Does anyone have a clue why this is happening?
|