FPS drop when using movie clips.

Hello, first of all excuse my English it's not my main
I'm working with a portfolio in Flash CS4 (actionscript 2.0
if that would matter). The portfolio has buttons, each button is
connected to a movie clip, so when you press the button a movie
clip starts playing (It's in the background all the time though
alpha is at 0%). The movie clip contains another two movie clips,
both of those goes from 0% alpha, to 100% alpha and then back to 0%
alpha. There is also a button on top of the two movie clips. So all
and all it's a movie clip containing two other movie clips and one
Anyway, when I have about 3 buttons and movie clips there is
no problem, but when I add 4-5 or more the FPS get's very low when
the movie clip plays.
I have tried to change the FPS from 25 to 40 etc. but there
is no change. I have also tried Flash Player 9 and 10.
I don't think the problem is my computer, since I've exported
it as a movie and tried on friends computers.
Thanks in advance.

It depends what is in your movie clips, and how much is
happening during the alpha transitions. The playback speed depends
on how much work the processor has to do. If you have a lot of
large elements - for example, photos that you resized in Flash -
moving around, changing alpha, all at the same time, it will slow
down performance.
Try to simplify your graphics. So, if you are using bitmap
images, resize them before importing them to Flash. Then try
removing some of your graphics and see if it speeds up performance.
This will help you to locate the problem.

Similar Messages

  • Using Flach CS4 and action script 2.0 how do I advance to a specific frame of the main timeline when a movie clip instance come to the end of its timeline?

    Using Flach CS4 and action script 2.0 how do I advance to a specific frame of the main timeline when a movie clip instance come to the end of its timeline?

    code on the last frame of your movieclip instance:
    _root.gotoAndStop('whatever_frame');  // will work unless this swf is loaded into another swf.  in that situation, you should use a relative path to the main timeline (eg,  _parent or _parent._parent etc).

  • Pause & Play Animation When i'm using movie clips- filters

    Pause & Play Animation When i am using movie clips-
    Graphic and movieclips are using for my animation
    When i Press the pause the movieclip animation not stopped.
    Any way to apply the filters on graphic
    I want to apply the filters for particular graphics or movie
    clips. with navigational button working.
    Please help me.
    S.Satheesh Kumar

    Audio on the timeline, especially stream, tends to play very reliably. Is this project under any NDA or can you provide a FLA to examine? Let me know if you want to private message it and I'll shoot you a message.
    What version of Flash Player are you targeting and is this AS2 or AS3?

  • I have 3 consecutive movie clips that I am trying to drop into the drop zone but it only recognizes the first one and only produces the firts one in a DVD. How can I drop all three  movie clips into one drop zone

    On IDVD, I have 3 consecutive movie clips that I am trying to drop into the drop zone to create a DVD but it only recognizes the first one I dropped and only produced the first one in a DVD. How can I drop all three  movie clips into one drop zone.

    I have had some luck doing the following: Export each clip from imovie as a quicktime clip. Open iDVD and create a new project. Import a few stills into iDVD and then click on the button that gets created to get into the screen where the individual slides appear. Drag each quicktime into that screen and arrange in the order you want. You can then delete the stills. The button that appeared when you dropped in the stills will launch a complete show.

  • If 3G connection drops when using dictation, will the dictation be saved?

    If 3G connection drops when using dictation, will the dictation be saved so that it can be used later?

    If you mean a voice recording that get transcribed, no.

  • How to detect when 2 movie clips have been clicked?

    I'd like to know how can I detect when 2 movie clips have been clicked (irregardles of the order).
    What I have is this:
    In my main timeline I have 2 independent movie clips (mc_him and mc_her) each in it's own layer that, when clicked, play an internal animation without moving my main playhead anywhere. What I need to do is, once they are both clicked (as I said, it doesen't matter in what order), a button that sends me to another section of my movie has to appear. It really doesen't matter if the button shows by enabling it with alpha or by sending me to a specific frame where my button lies. What I need to detect is both clicks so that the button shows up.
    How can I achieve this?
    Thank you very much.

    // do whatever
    this.clicked = true;
    // do whatever
    this.clicked = true;
    function checkBothClickedF():Void{
    // do something. both clicked
    // reset both clicked properties?

  • Connections drop when using Cisco Anyconnect Secure Mobility Client

    Folks I have a strange issues. I have a few laptops that I'm testing using the Cisco AnyConnect Secure Mobility Client Network Access Manager. We like the interface and overall are happy, but have one nagging issue. Periodically the connection drops when using the client, and the only way to reconnect is to choose the Network repair option on the client. That fixes it just fine, but we shouldn't have to do this. The same clients using the built in WIndows supplicant do not have this problem. We are on version 3.0.07059.

    Right now I'm testing on a single access point (autonomous) with WEP! The same laptop works fine without the Cisco client. Usually it is several hours, 12 or more when it happens, but I've seen it less than that. And I've seen it up for over a day and a half. At this point I just don't trust the client to roll out to a larger audience.

  • When using stream clip to covert m2t files  its says mpeg2 playback component is not installed is it included fcpx

    when using stream clip to covert m2t files  its says mpeg2 playback component is not installed is it included fcpx

    You need to purchase for MPEG Streamclip's full functionality.

  • Zoom, drag and drop in a movie clip

    if zoom a movie clip...i want drag and drop the mc...and also don't go the mc outside the screen..pls help me...:(

    To drag within a limited area you use the startDrag() method, defining a rectangle to limit how far the object can be moved in any direction.  The startDrag is normally executed when a MOUSE_DOWN event occurs for the object that is to be dragged.  A MOUSE_UP event is what is used to trigger a call to the stopDRag() method, whereby the listener for that is usually assigned to the stage.
    Search Google for a tutorial using terms like "AS3 drag drop tutorial" if you need detailed coding help to get started.

  • FPS drops when tapping anywhere on the screen

    Have had this problem since I first started with mobile apps. Any solutions? I've searched thoroughly and can't find any answer.
    I add an FPS displayer to the app to keep track of the FPS (btw, is capitalized FPS only used for First Person Shooter or also the Framerate?, should the framrate be "fps"?, alsways wondering that ). Wherever I tap the screen, the FPS drops. I don't even have to have any other code, so it's not even a button I tap. It can be in an empty black space and it just makes the game run slower. Even if I remove the FPS displayer and just add the smallest code needed to move an mc from the left side to the right and tap the screen fast while it moves, it moves stuttery and/or slows down. If the screen is not touched, it can take it 5 secs to go from left to right, if I tap the screen as fast as I can while it moves, it can take up to 8+ secs before it gets to the right side.
    So, what's up with this slowdown when the screen is touched in Adobe Air mobile apps? Been like this since the very first Adobe Air/SDK version I used, and right now I'm using the latest one (3.7). And it happens both with GPU and CPU. If I don't tap the screen furiously, the stuff runs great and good framerate. In some cases it also slowsdown if I just hold the finger down on the screen and moving it around. But then it usually have to be on something, not just blank space.
    I surely can't be the only one.

    Bumping this thread. I'm building an AIR kiosk app (AIR 14.0 for Desktop, Windows 7 PC, Samsung LS24C770TS monitor), and am experiencing a similar issue as Tenchy.
    If the user quickly taps any visible MovieClip (even MCs that don't have any touch event listeners) in my app, it causes severe lag in other touch events. Odd thing is that the frame rate is not affected by tapping fast, it's just that other touch events are delayed while tapping non-interactive MCs.
    Referencing the thread below, I've tried both mouseEnabled = false and mouseChildren = false, on the non-interactive MCs. This doesn't fix the issue. The touch objects and non-touch objects are not deeply nested.
    severe frame rate drop when touching screen iOS
    Has anyone found a solution for this issue?

  • Can't drag and drop or import movie clips or ver. 8 projects into iMovie 9

    I just installed Leopard (OS X) with iLife and iWork (although I didn't actually install iWork). I can't drag and drop .mov or .dv files into a project. If I "File-->Import-->Movies", all the types I want to import (.mov & .dv) are grayed-out. I created and saved a project with the older version of iMovie (8) and then tried to import it into iMovie 9. The result is a message in the clips panel that says "No matching video. Choose a different options from the Show pop-up menu at the lower left corner." So far, everything I wanted to do is bust. Can somebody help?

    annadex wrote:
    I have tuns of .mp4 clips, converted them to .mov clips... .
    easy way:
    • double-click mp4 to open it in QuicktimePlayer.app
    (does it play the video?)
    • File/Export/choose 720p (if optional, if not 480p)
    • import THAT into iMovie using iMovies import routine, proceed …

  • Use movie clip event handler function, but not via an event

    Let's say I have the following code:
    var initObj = new Object();
    initObj.mood = "happy";
    mc = attachMovie("mcBox","instBox",100,initObj);
    mc.onPress = boxPress;
    function boxPress() {
    trace("Box mood: " + this.mood);
    Now, let's say there are times that I want to call boxPress()
    other than when the onPress event happens. In other words, I want
    to call boxPress() for a movie clip via my AS code, but not when an
    onPress event has occurred for that movie clip. Is this possible?
    Or is it possible to simulate or force an onPress event for a movie
    clip so that the handler function gets called for that movie clip?

    addEventListener only works with components in ActionScript 2
    "workingonasite" <[email protected]> wrote
    in message
    news:f1vu8r$92i$[email protected]..
    > So I am trying to get my head around event Listeners.
    When I use this
    > example
    > on a button it works fine:
    > but when I add the same listener to a movie Clip on the
    stage with an
    > instance
    > name of "box", it does not work. Is there something
    basic I am missing?
    > var buttonListener:Object = new Object();
    > buttonListener.click = function(eventObj:Object) {
    > trace("click");
    > };
    > mybutton.addEventListener("click", buttonListener);

  • Playing a mp3 when a movie clip loads

    I am using Adobe Flash Professional CS6
    What I am trying to do is play a mp3 file that I have in my library when the clip loads and stop playing it when the a new clip is selected from the menu I created.  On the button that loads the movie clip (Instance name: Slideshow), I have the following code:
    on (release){
    onClipEvent (load){
        mySong = new Sound();
    onClipEvent (unload) {
    - I went to the properties of the MastersThisHall.mp3 file in my library,
    - Selected the "ActionScript", tab,
    - Checked the box that says "Export for ActionScript",
    - Unchecked the "Export in frame 1" check box, and
    - Added MastersThisHall in the "Identifier" field.
    The sound is NOT playing when I when the "Slideshow" button is pressed.

    Thank you for all of this; it is very helpful.
    I have series of 6 buttons I created, each of them load a different movie clip. I need to have the music from the slideshow NOT continue to play when a new movie clip is selected.
    I have the following code.
    Frame 1:
    SlideshowMusic = new Sound(this);
    Frame 120 (attached to the Slideshow movie clip object):
    onClipEvent (load) {
    The "Mute" Button:
    on (release) {
    The "Resume Sound" Button:
    on (release) {
    And the "Pause" Button:
    on (release)
      if (SlideshowMusic.position < SlideshowMusic.duration)
        SlideshowMusic.start(SlideshowMusic.position / 1000);
    It is loading and working perfectly. However, I have two more questions:
    1. How do I make the the sound automatically stop when a new movie clip is played?
    2. How do I change the "pause" symbol to the "play" symbol when the "Pause" button is pressed?

  • Urgent Flash help needed; Using Movie Clip Objects

    I am currently trying to design a small flash movie.
    I have a "Movie Clip" object (a short animation) that i wish to act like a static object until a certain frame on the main Timeline.
    Then i want it to play out, at it's own pace, just like normal, until it finishes (no looping)...
    What do i need to put into, and where do i put it?
    So in short, frame 30 of the main animation triggers the clip, whilst the main animation still runs...
    I know very, very minimal AS3... so please, can someone help me?
    A lot of solutions suggest a button, but I don't want to use a button, as it's not interactive - just a movie.
    i just want the damn movie clip to play in the damn movie when it reaches frame 30! it shouldn't be that hard..

    There is most likely no need for any code. And most likely no need for a movieclip even.
    It sounds like you would need a graphic symbol. (You can convert it in the library or you can just change the instance you have placed on stage.)
    First select the symbol on its first keyframe and on the properties panel select the looping options and tell it single frame, first 1.
    Then move along your timeline to where you want the animation to start playing. Add a keyframe. Now select Once, first 1.
    Now it will start playing, you will be able to see it play as you scrub the timeline.
    If you use movieclips and code for this, you won't be able to see them play together as you scrub the timeline.

  • Using movie clips as buttons

    I dont ever use buttons because movie clips appear to do all
    of the same stuff with the same code.
    so in my set up i have a "video" section that, when you "roll
    over" it expands and reveals some video thumbnails. i want it so
    when you click the video thumb that a page will open on the right
    side. i have all the "on release" code set up but it still wont
    work???? i think that the expanding window is all worried about
    waiting for the "roll out" to happen so the buttons cant be
    how do i have it so that the movie clip does its roll in roll
    out stuff but dosent change your courser into the little hand and
    finger like its a button?
    NOTE: the "korath" article has the same type of code as the
    thumbnails (except for the different target object)
    oh and should i be using "relative" or "absolute" for the
    target object???
    there is the example at
    i couldnt upload the full fla cuz its 15 MB!

    uhmmm well this is all getting a little confusing.
    i havent used this kind of code before and it hasent worked
    in the few places iv tried (I replaced the "movieclipname" text)
    the best way is too look at the fla....heres a link
    i know that the movie clips can be confusing, im still
    learning on how to set everything up.
    -double click on the "video" box on the left side
    -move the timeline to 20
    -"click the "video" box once
    that is where i have been putting most of the code.
    you can go further into the "video" box where there is more
    movie clips.
    than where the thumbnails are.
    hope you can take a look at it.

Maybe you are looking for

  • How create temporary table from list of values

    Can you anybody advise me how can I create temporary table from list of values? I have list of values and need create temporary table for next use with command JOIN etc. Thank you for help

  • Erorr calling long running sync web service

    Hello I have definied simple async process: assign (from process input to ws invoke input) sync ws invoke assign (from ws invoke output to process output) Sync Web Service is long running (few minutes). In order to avoid timeout I have accordingly se

  • Can I do an advanced search in mail?

    I'm having trouble searching for conversations in my inbox. This is because most of the names that I am searching also appear in my CV. This means that everytime I search their name, the results also show every time that I have sent my CV to someone.

  • Alert Monitoring log

    Hi, When I configured alert monitoring. Alert is creating when I run report SXMSALERT_PROCESS_DATA_GET. But this alert is not reflecting in the alert inbox eventhough all configuration done. Then I have gone to log then I found errors as follows. war

  • Viewing Images Side by Side in Elements 11

    How do I view images side by side in Elements 11 Organiser.  In Elements 9 it was easy but I can't find it in Elements 11 or am I being stupid?