Actionscript :: Smooth Sliding Animation In Flex With Large Amounts Of Components

Nov 19, 2010

I have a component I created that works like a Viewstack but the next index component slides in from one of the four sides. I've got it working well enough that it's acceptable to use, but I want to make it more efficient.

Right now I'm using a Canvas as the base component, I create a snapshot of the current view using an ImageSnapshot (new Bitmap( ImageSnapshot.captureBitmapData( this ) )), and I slide the new index on top of that image on index change.

I'm basically looking for suggestions on how to do this a better way. By taking the Image after the component loads, and after the slide happens, I've gotten the initial jaded moves down to a minimum, but we normally use this for transitioning grids so it's almost always slow on the first or first couple slides.

[Code]...

View 4 Replies


Similar Posts:


Actionscript 3 :: Flex - Embed Large Amounts Of Structured Array Data

Feb 18, 2010

how much memory (and swf size) the various built-in data types take up in actionscript 3? I'm specifically interested in int, Number, and (dense) Arrays or Vectors. I'm working on a project where I need to embed large amounts of structured array data, which is already in C++ format, so porting is just a matter of copy-paste, search-replace. I've already had a look at Adobe's lowdown on datatypes but it's not specific enough, and doesn't mention Arrays, etc.

View 5 Replies

ActionScript 3.0 :: Keep Large Amounts Of Data?

Apr 25, 2011

Im not sure whats the best way is to make large amounts of data available to my android app on the local device.

For example records of food ingredients, in the 100's?

I have read and successfully created .db's using this tutorial.[url]...

However to populate the database I use flash? So this kind of defeats the purpose of it. No point in me shifting a massive array of data from flash to a sql database, when I could access the data direct from the as3 array?

So maybe I could create the .db with an external program? but then how would I include that .db in the apk file and then deploy it to users android device.

Or maybe I create a as3 class with an xml object init and use that as a means of data storage?

View 1 Replies

ActionScript 3.0 :: Storing Large Amounts Of Data?

Aug 20, 2009

how "you" would do it and then deciding my strategy from there.What I'm setting out to do is as follows:I have a UI with about 10 sliders and 10 buttons.I'm using Senoculars Virtual Mouse class to record all of the users interactions into arrays (basically [x,y, action, time, value]) and then after a decided time (say 3 minutes) I play the users interaction back to them.All of that works fine but now the data is not persistent.I would like to be able to store the interaction data somewhere and then a user can log out, log in and view their previously saved interaction.how would you go about saving this data? I was thinking about storing it in a XML file but I'm concerned that the file would wind up being ridiculously huge. If a user drags a slider from left to right just once thats saving [x ,y action, time,value] 42 times.

View 3 Replies

ActionScript 2.0 :: Importing Large Amounts Of Data?

Sep 12, 2006

I'm currently using XML to import geo-location data to my flash application.Even though my XML scheme is about as small as can be, I still feel i would do better downloading the variables as text and exploding them. If i manage to change the xml to raw text I can compress the data to about 35% of the original size.I want to load the data in the form a_b_c_d-e_f_g_h.So, to the question; how do I explode a datastring in flash?

View 2 Replies

Actionscript 3 :: Streaming Large Amounts Of Data From Flash?

Nov 2, 2010

I'm currently working on a project where I generate a large amount of audio data to be stored on a users machine.

It works fine for small amounts of data but as the memory usage grows the flash application begins to struggle and eventually dies.

I've been thinking about possible ways to overcome this problem and I was thinking instead of storing all the data in memory (sometimes up to 100mb) a possible solution may be to stream the data to a server (44100 float numbers per second) as it is is being generated then once the accumulation of data has ended sending it back to the client.

1) can you see any problem with this idea and if so could you offer a better alternative?
2) could you reccommend a good server technology to achieve this?

Edit 1

To add more detail.

I am generating audio on the client using the sound.extract method. As the audio is being sent to the speaker I also send it to a byte array.

Once the user has hit a stop button I prepend a wav header to the audio data in the bytearray and allow the user to download a wav of the audio they have just being listening to.

Ideally I didnt want to impose a limit of how much data the user could save. This may not be possible.Storing all this audio data in memory was causing severe performance problems in flash. I don't know of any way to incrementally store this data on the client machines so I was thinking a solution may be to incrementally stream the data to a server somewhere to reduce the memory load.

View 2 Replies

ActionScript 2.0 :: Managing Large Amounts Of Text / Type

Nov 8, 2006

i'm building a site for a pharmacutical company. it's a resource guide. it's essentially a 300 page document, and turning it into a flash site, with links to external pdfs/ppt/doc files. when dealing with so much copy, what is the best way to manage/display it? in the first round of this project, i was simply putting it in flash type, with thumbnail images scattered throughout. it worked, but seemed a little bit archaic. often, with such heavy copy (3 full page scrolls), the thumbnails wouldn't align where i wanted them, and would end up overlapping with text.

View 3 Replies

ActionScript 2.0 :: Loading External Data (large Amounts)?

Dec 12, 2007

What is the best way to work large amounts of external data in Flash? XML, remoting,something else??I'm looking into a project that has a lot and I'm not sure what the best way to handle it would be

View 1 Replies

Web Development :: Page Through Large Amounts Of Historical Data Via A Web Application?

Jun 29, 2009

I have a web application that functions as a dashboard, allowing a user to see summaries of historical data to view trends, etc. As an extension to this, I want to allow the user to drill-down into the historical data if they so wish.What this will amount to is a table of time-value pairs, showing the time a particular data point was recorded as well as its associated value. The issue is that there could be a very large amount of data on record (millions of points is entirely possible), which means it wouldn't work to load all the data up front and display it to the user.

So far, my best idea is to implement the table of time-value pairs with "infinite scrolling" - i.e. the first x points are loaded and then as the user scrolls down the next x points are fetched and so on until the user reaches the end of the data (with a fixed-size cache of points, so that I don't run out of memory). The issue with this approach, though, is that there's no way to get to the end of the data without first fetching every point in between.

Another option would be to have a navigation interface with forward and back buttons, as well as some sort of date chooser so the user can quickly navigate to any data point they wish. This solves the problem of the first idea, but this navigation interface is far more clunky and less intuitive.My question is: is there some happy medium? A UI where it's clean and easy to navigate through the data but at the same time provide some method of jumping to a specific point in time?

Edits based on comments below:The development environment is flex and the database is SQL Anywhere, though the back-end logistics are less important to me than a clean, functional UI.

View 1 Replies

Flex :: Modules V/s Components For A Large Scale Project?

Feb 8, 2010

I am planning on a Flex project that involves incorporation of a lot of features.

Each 'feature' can be a component / module.

Which is preferred and what is the difference between a module and a component?

View 2 Replies

ActionScript 2.0 :: Smooth Resize Onclick And Animation To Be Smooth?

Feb 9, 2004

I have a movieclip that I want to be resized when a button is clicked. I want the animation to be smooth as if it had weight though. I read the tutorial on this but I need something slightly different, I would rather it where I can just refer to a function that is set in another movieclip. That way I could easily refer to it again and just set the height, width, and if possible, x, and y.

And my second question, is how to keep the border of my movieclip that is going to be resized the same thickness. I want the inside to be resized but the sides to stay the same width but move to stay on the edge.

View 8 Replies

Actionscript 3.0 :: Smooth Scrolling With Large Images?

Jul 25, 2009

[URL]

Here is an example online, I am trying something similar but am not happy with what I am seeing, perhaps it is just on my side. The scrolling seems choppy/jagged. I have this same issue doing a similar scroll with lots of big images. Is there any way to get a nice smooth scroll at a decent speed with flash?

Ive ported my as2 code into as3 but am seeing the same results. I have used tweener and tweenlite, nothing Ive tried is helping. how to achieve a smooth scroll?

View 1 Replies

ActionScript 2.0 :: Graphic Card - Sliding Animation Down

Mar 6, 2009

I am trying to make a graphic of a card slide down with actionscript, I don't want to use the time line.
Code:
// Get the card top pos
var card_y = getProperty ( _root.Aladdin.Card, _y );
// Move down
for ( var i = card_y; i <= 0; i++ ) {
setProperty ( _root.Aladdin.Card, _y, i );
}
Obviously this makes the car animate way to fast and cannot be seen by the user. So how exactly in actionscript would I put a 0.1 second pause between each loop iteration?

View 4 Replies

Way To Create Smooth Animation

May 28, 2009

All I want to happen is some text (6 words) animate in from the right hand side and slow to a stop in the centre of the banner. Simple.

The problem im having is the when the text animates on it tends to stutter and appear jerky whereas I need it to be very smooth.

Ive tried animating the text using basic frame tweening with easing and with various high frame rates.Ive tried various coding methods using tweening classes (both the inherit class within flash and imported 3rd party classes) which seem to improve the animation slightly but still with some random jerkiness.[code]...

View 5 Replies

ActionScript 2.0 :: Make An Animation Where Movieclips Come Sliding Onto The Stage?

Nov 9, 2004

I'm making a application where the projector is played fullscreen, and the stage itself is not scalable. But I'd like to make an animation where movieclips come sliding onto the stage (starting outside the stage). But because everything is fullscreen, you can see these MC's outside of the stage, this is not what I want.

So, is there a way to be able to hide everything that is outside of the stage?

View 7 Replies

ActionScript 3.0 :: Programmed Animation Not Smooth?

Oct 3, 2010

I wanted to do a simplae programmed animation of moving a movieclip on its Y axis across the screen, all I do is decrease its y value by 2. But its not working properly, I just get to see the starting and end point, can't see the movieclip travelling across the stage smoothly as I get to see if I create a simple Classic Tween.

View 1 Replies

ActionScript 2.0 :: Smooth Menu Animation FMX

Feb 19, 2003

I have a menu in which when you click on a button, a rectangle moves up or down to sit behind the button clicked on (to highlight it). I was wondering how I can make the rectangle move smoothly as in the tutorial where the ball follows the mouse. Here is the code I have used:- Actions layer- Frame 1: currenty = -50; yto = -50; Frame 2: if (currenty == yto) { } else if (currentyyto) { setProperty(bar, _y, bar._y-10); currenty = bar._y; } Frame 3: gotoAndPlay(2); And for each button- on (release) { yto = -50; _root.contents.loadMovie("demopage.swf"); } With 'yto' specifying the location to move to.. This all works fine, I just cannot work out how to get that smooth springy movment as the the 'Mouse Follow with Easing' tutorial.

View 2 Replies

ActionScript 2.0 :: Get Smooth Animation For Photos?

Mar 13, 2007

I am trying to animate some jpgs that have been loaded inside a movie clip. i just want them to move horizontally. I have tried using tweens and also the onEnterFrame method with different frame rates but the animation is always juddery and not smooth.

View 6 Replies

IDE :: Smooth 3d Animation Done With Flash 3d Tool?

Sep 2, 2010

Does anyone know how to smooth an animation like this one?URL...Or it has to be done with Papervision or AE to make it run right?

View 1 Replies

ActionScript 2.0 :: Smooth Box Scaling And Positioning Animation?

Oct 20, 2008

I am new in actionscripting,[code]...

Now once i click 1st button i want the box to move its position with an ease tween animation to [code]...

View 5 Replies

ActionScript 2.0 :: Smooth Button Animation OnRelease?

Jan 19, 2010

I've been following the tutorial "Creating Smooth Button Animation in Flash": urL...As with most menus, when the button is selected it needs to stay highlighted so the user knows which section they are in. The tutorial left this bit out.I've been unsuccessful so far. Can anyone help finish it?[code]

View 8 Replies

ActionScript 2.0 :: Smooth Animation In MCs When Resizing Window?

Mar 23, 2010

I want to know how it's made the effect of smooth transition when the window is resized. I could make MCs get position through AS, scripting:

Actionscript Code:
mc._x;mc._y;mc._width;mc._height;

But I want to know how can I make it moving smoothly when the window is resized.

Example: [URL]

View 2 Replies

Make An Animation - Smooth Frame Fade-In ?

Jun 2, 2009

I can make an animation so the image fades in.http:[url].... the fade is not smooth. I did this by changing the alpha layer 20% every 5 frames. How can I make the fade smooth?

View 1 Replies

Professional :: Make Smooth Animation For Images?

May 6, 2010

check this link this ppl just make smooth images animation [url] the images in the back ground "flash" work smooth and nice I try to make the same don't work the image look so stupid what is the way they use to make the image look smooth in motion ?

View 2 Replies

Professional :: Smooth And Continuous Rotation Of Animation

Nov 8, 2010

im quite new to flash, and im just about to create an animation which will rotate continuously but my problem is that each time it ends its loop it pauses for a bit then loops again,

View 6 Replies

Actionscript 3 :: Smooth Continuous Animation Without Jumps?

Mar 19, 2012

I am trying to make simple continuous animation on y axis.

The problem is that the animation is not smooth!!! It has jumps and hiccups. It is hard to see in the beginning, but once you see it, you can't get rid of it.

Here is an example:

[URL]

This particular code is pretty simple:

import flash.events.Event;
addEventListener(Event.ENTER_FRAME, moveRoad);
var deltaY:Number = 0;
function moveRoad(event:Event):void

[Code].....

View 1 Replies

IDE :: Animation To Look Smooth, No Jumping Or Stopping, Want Continuous?

May 12, 2009

I really want to smooth the animation a little bit more.i want the animation to look smooth, no jumping or stopping, want continuous

View 1 Replies

ActionScript 3.0 :: Smooth, Slow Dynamic Text Animation?

Dec 22, 2009

I have dynamic text that needs to animate slowly across the screen but right now it jerks in 1 pixel increments as compared to the vector graphics accompanying it.

I've increased the frame rate, converted it to a bitmap, applied GridFitType, etc., none of which (or my implementation) seemed to work.

Is there a way to achieve smooth animation with dynamic text at slow animation speeds?

View 2 Replies

ActionScript 2.0 :: Delay Timer To Make Animation Smooth

Mar 7, 2007

I have the idea of scripting animations, placing them inside a function, so then I can recall them whenever I want:
Code:
function eyesleft(){
eyes._x=0
eyes._x=-100
}
one question is I need some kind of delay timer to make the animation smooth, otherwise the animations would be all jumpy. Set interval seems a bit jumpy.

View 1 Replies

Flex :: Components - Components - Any Component With The Functionality Such As Horizontally Collapsible Window Or Panel

Aug 22, 2010

Do you know any flex component with the functionality such as horizontally collapsible window or panel I found arc90, but it folds vertically.

View 1 Replies







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