ActionScript 3.0 :: Good Optimal Animation Playback?
Jun 18, 2009
I build a lot of very small scale flash websites and I often use simple animation effects such as fading images in/out, sliding consoles in/out, etc. Up to this point I've just used the Tweener class provided in the caurina package.However, I find that my effects (as simple as they are) are very choppy, and often lag. I'm wondering if there are strategies out there for getting better looking animation. I tried to see if there were any multithreading options so that I could allocate a thread to just animation but apparently there isn't...so I'm not sure what else I can do to make the playback smoother.
I go to many sites and see flash transitions that playback at optimal speed and I have no idea how that is so commonly achieved. Are there good practices out there for optimal animation playback? Or some utility that is commonly used? I read that PixelBender effects run on their own thread, but I don't think PixelBender can do everything I need to do, and I doubt that the majority of Flash sites out there use PixelBender.
View 8 Replies
Similar Posts:
Nov 27, 2010
Looking for a programming book that is in tutorial approach. Example this chapter teaches you how to do a login form. In the second chapter it teaches you how to integrate the login for to another app.Basically I'm looking for a book that teaches you real working application rather than abstract ideas. Programming language I have in mind is Adobe Air/Flex, Visual Basic. Functions I have in mind should at least cover Drag and Drops, Integration to a web form (form entry) and customizable interfaces.The languages i had in mind isn't fix. If you know a programming platform that has little code or easy to learn but still be able to develop a cool application.
View 3 Replies
Dec 7, 2011
my as2 chops are minimal (as3 are non existent) but i have been animating in flash for a while.
I have a movie with an imported flv I made in AfterEffects. I have 2 movieClips that need to animate at certain times during the playback. I was able to add cuePoints in media encoder (i think) but can't figure out how to use them in flash.
View 1 Replies
Dec 2, 2011
I am making a little flash animation, and for this one scene, I need an animation to loop over and over, while a soundtrack plays underneath.
My sound file is 867 frames long. My animation is 20. I want the animation to loop every 20 frames, and the sound to loop every 867. I tried with making the animation loop by itself, and it started the sound from the beginning every 20 frames. While the sound beneath it was still playing.
In other words, is there a way so that a sound layer is not affected by the looping of the animation?
View 11 Replies
Apr 26, 2011
I'm trying to do is use a keyboard event to play a whole movieclip once then stop once the animation sequence is over. However, when I press the corresponding key, all it does is play the animation for as long as the key is held down. What I want it to do is play the whole animation when you press the key just once.This is my code:
ActionScript Code:
import flash.events.KeyboardEvent;
var space:Boolean = false;
stage.addEventListener(Event.ENTER_FRAME,doNothing);[code]..............
View 1 Replies
Mar 28, 2010
I want to import a video for optional playback into a flash animation. Now, the animation is a loop and replays after 120 frames or so. I noticed when I exported my moviemaker video and imported it into flash, it automatically asked me if i wanted it to arrange it to fit or not. the thing is, i don't want the video to automatically play like flash does for default. What i want is to be able to have it look like how a video looks in youtube 'before' you play it..you know how it has that 'arrow' sitting on it with a black screen showing
you that it's ready to be played if you want it to? well, that's what i want. so, if someone stumbles upon my animation loop on the web, they will see a little video in the upper corner that has the ability to play but it doesn't start
playing right when they get to the page.Also, when they play the video, the length is obviously longer than the loop of my animation, but I obviously don't want it cutting off when my loops ends and restarts, so is there a way to code where it will keep playing on it's own timeline apart from what the flash animation loop is doing? (it should be able to play all the way through, end, and be able to be played again no matter how many loops the animation goes through)second thing i want, is the video to be small..like maybe 220 X 180 in size.
when i exported in Moviemaker, I actually got a video size that I liked but the quality looked poor and sounded poor (I went with the Pocket PC export 148kbps or something like that). Now, was the quality poor just because Flash had to cut it off because of the animation loop restarting or is it going to be poor just cuz PocketPC export is a bad choice? In other words, what export choice should I go with in Moviemaker to get the desired results i want (with the desired width + height I want as well)?
Do you have to code to make it be a video that's got the arrow/blk bkgrd i.e. not playable til a user clicks...or do you just have to export it a certain way in Moviemaker to make it's format that way?
View 23 Replies
May 17, 2011
I am wondering what values should I put in the Process tag of Application.xml considering my application. I've done some studies but I am still unsure and would like some expert opinion To help you help me : I have a video chat application that comes with a contact list, so think skype on the web.
[Code]...
I set a RollerOver because sometimes RTMFP crashes on my server, and by putting the RollOver it seems to help, by re-newing the core process. However when clients are connected before the rollover, then they will not see their friends going online after the rollover which sucks.
View 7 Replies
Jan 19, 2009
How to optimal speed stream between FMS-Client? I'm coding a application about Video Conferencing. But speed transfer between FMS and Client slowly.
View 0 Replies
Mar 3, 2011
I got a question in need of somebody who knows a lot more internals of the Flash system than I do. My artist designs the objects I use in my games as Movie Clips in Flash CS 4. I export those Movie Clips from Flash CS 4 to Flash Builder 4 via a SWC file. In order to do this, I select "export for ActionScript" in Flash CS 4, and "Export in Frame 1".
1. If a Movie Clip has 20 frames, does Flash export 20 drawings, 1 for each frame? If not, how does it do it?
2. I heard that if I have scripts in the frames, I will definitely get more objects instantiated, thus, for many instances of the Movie Clip in my game, I will get a performance hit.
3. Is it ok to add my scripts via "addFrameScript" in the Flash Builder-side, rather than put them in Flash CS 4?
View 4 Replies
Nov 25, 2010
I was wondering whether MP3s or WAVs would be better to avoid syncing issues. Also, what audio stream settings would be best?
I was also wondering if you can manually play the audio track by moving the play head over it. I've tried multiple times with multiple settings to no avail.
View 1 Replies
Aug 7, 2011
sample Application, etc. .xml that would provide optimal tuning for many 4-way video chats?Using the "live" application out-of-the-box ended up in very significant delays (~7sec)
View 1 Replies
May 20, 2011
So, I'm creating a fairly basic overhead 2d game where users can "draw" a map. (Actually, they dont draw it, the manually input a list of x/y's, but the design aspect isnt important just now.) When a new tile is added, that tile goes into an array of all tiles ingame. The centrepoint is 0,0. Tiles can be added in all directions, so may be at 1,1 or 100,100 or -50,-50. Sometimes I want to determine what tile is at a location. One (imho bad) way of doing this would be to get the x/y and loop through all tiles and check if they are that location.
The way I'm currently doing it is to have a seperate 2d array of null elements, and when a tile is added, its set at that array. (ie tilemap[10][10] = tile[100]) Of course, because the values can go negative, tilemap [0][0] is actually the -1000/-1000 tile. (chosen as an arbitrary limit) Is there a better way of doing this? I feel like using a massive array of mostly empty objects could be more optimal.
View 2 Replies
Feb 15, 2011
I have one that's almost done and the stage size is 700x800 px. But I'm starting to worry if that's going to look too small? To change it, will be a lot of work - there's animation, imported Jpegs etc. As far as I can tell, in order for it to look correct in larger dimensions I will need to basically create it again from the ground up. So, I'd really like to get an idea of what the optimal pixel dimensions would be for ecards to run on multiple platforms.
I really want to do this and I don't feel like I can move ahead until I get the viewing size correct. I don't even mind redoing the card. I just want my future cards to be the correct size. I don't want to have to come back and redo them all. By the way, the cards are being made in Flash. The site itself will be created in DreamWeaver.
View 8 Replies
Nov 1, 2010
I've tried using both Adobe Media Encoder and FFMPEG to get a video that allows frame-by-frame viewing. I've been compressing them with a keyframes at every frame.Currently the most major issue is when I output a video including audio, the player does not allow the video to step backwards to previous frames. I understand this is all a bit abstract without seeing any code, but I was hoping there would be an obvious answer why this would be.
Here's the code used to step backward. It seems the FPS is hardcoded, which probably not the best approach. Should it rely completely on keyframe data or possibly metadata?
Code:
internal function videoStepBack():void{
log("videoStepBack");
__ns.pause();
__ns.seek((__ns.time - (24/1000)));
}
View 1 Replies
Jun 19, 2004
I have a movieclip that shows an animation onRollOver and an animation on RollOut but onRelease the animation enlarge itselfs but now when I'll roll out when the animation isn't open (so i didn't release) the animation plays the animation for the minimizing of the animation. Here's my code (I know its a bit amateuristic but I'm not a programmer )
[Code]....
View 4 Replies
Aug 6, 2008
Can anyone recommend a good book to help me with XML integration in Flash. I need a book that will teach me step by step with very specific instructions how to get information from a user, update the XML file and display the information in a another swf.
View 1 Replies
Oct 24, 2011
I am interested in finding a good swf to fla converter. I would love a trial version that lets me actually see the action script.
View 2 Replies
May 31, 2009
I'm looking for a swf viewer/browser similar to Windows standard browser.
I need to basically show someone a bunch of swfs in a slideshow format.
View 3 Replies
Apr 13, 2010
I am looking for a flipbook that I can use inside of flash, whether a component or not I suppose;
in the past, the flipbook that I have used depends upon html/js;
also, the flipbook should be able to load .swf pages
View 2 Replies
Mar 24, 2011
Good alternative Flex IDE? I am interested in free editions mostly but I will also take under consideration the paid ones.
View 2 Replies
Mar 4, 2004
I recently read an article about prefacing your variable w/ _global.
And I think it rocks!!!
Why is this practice taboo?
Why do so many tutorials insist you remember the scope of every movie clip?
It seems to me that memory space is memory space.
View 2 Replies
May 22, 2009
Can you list your favourite royality free photo CDs/sources ? As in for hi res jpgs which we can use as backgrounds for websites ?Do most of you use CDs or do you rely primarily on webbased sources ?Can you list cheap priced CD titles, Websites or any free image sources online with no strings attached?
View 2 Replies
Jan 16, 2010
I have copied a new image in to the flash, and i tried to rotate it.Rotation is working, but the image is not looking good in flash (i can see some distractions while rotating).
View 8 Replies
Apr 22, 2009
I'm looking at purchasing a couple of new AS3.0 books, I would say my skill level is basic to intermidiate, and I'd like to push my skills to at least near or at pro levels, what would you recommend?
View 5 Replies
May 22, 2009
We have several people that touch Flash files at my company.oes anyone know a good way to make sure we're not opening the same file at the same time?Sort of like how Word will prompt you with a choice of opening as read only or how Dreamweaver lets you check files in and out.Is there anything like that for Flash?
View 1 Replies
Jun 5, 2009
I have a client who will want an e commerce area for his site. Does anyone recommend a good Flash based program out there that will allow you to constuct an e commerce solution in both AS 2 or 3 . I know that is a lot to ask for but at this point I really need something that will not break my budget, I can use easily multiple times with different looks .
View 1 Replies
Jul 26, 2009
I'm trying to learn how to use flash, and there's only so much I can learn on my own. I looked up some books on various websites, but I don't know which would be the "best" to use for someone completely new to the program.
View 2 Replies
Jun 22, 2010
I need to make a movie whereby the user drags four items onto 4 targets and achieves a result as each object lands on the target, such as a sound. and then a well done statement at the end.
Can anyone recommend me a place where I can download such a file so I can manipulate it?
View 2 Replies
Mar 26, 2011
I am new in flash but because I was programmer I could learn action script quickly but I need some professional source code and example to reinforce my infrastructure in flash so could you please introduce me a good place for download or see these sources?(I need to expand my exprience throught these kind of sources )
View 3 Replies
Dec 26, 2009
I'm a PHP programmer who's learning more about adobe products including flex, and would like to train myself to recognize when flash/flex is the right technology to use for a client/project (and of course when it's not the right technology to use).I guess the best way to get it is by experience, so if you know of any examples (full site or even small part of a site) that you think the developer was right or wrong in choosing the flash technology for that project/part, please add it here with an explanation why. Same for other projects that were not implemented in flash but should have been. If you think the developer made the wrong decision, say why and what you would have used instead. The idea is to provide real examples to help people like me who are getting into flash/flex, but want to understand the right way to fit it into their work if at all.
View 7 Replies