Flash CC - Rotation on movieclip containing bitmap causes dramatical framerate drop

I have a 850x850 bitmap inside a movieclip which must constantly rotate like a big wheel. When compiling for iOS the framerate drops from 24 to 8.
Is there a way to increase performance without using cacheAsBitmapMatrix and without rotating the bitmap inside the movieclip but the whole movieclip itself?

@Amy: Clever trick to solve the file size vs. performance problem. But I doubt it will get you far on a mobile platform with a 850x850 texture.
Anyway at this point its not much not use to advise further without the big picture.
If you`re serious about making a commercial game with Flash/AIR for iOSyou won`t be able to avoid stage3D
http://wiki.starling-framework.org/manual/performance_optimization

Similar Messages

  • Flash Slide  presentation and movieclip looping

    Hi,
    Im having a problem with the flash slide presentation. I have
    on the main timeline of one of my slides a movieclip. When i play
    the movie, the clip will loop endlessley. I would like the movie
    clip to play just once. In a regular flash movie this would not be
    a problem - i could put a stop action on the last frame of the
    movieclip. but, doing that in the context of a flash slide freezes
    the movieclip at the begining so it does not play at all..
    help!

    Ok, Ive managed to solve item 2. - if you set in the slide
    component inspector - "playHidden=false" then the slide animation
    will restart any time you reenter the slide. Im still lacking an
    understanding of how to stop a motion tween from repeating itself
    when it's contained within a movie clip as a motion tween timeline
    cannot recieve fram actions apparently...

  • Flash 5 speed in movieclip duplication

    this is my situation:
    I have a "cube" matrix containing boolean values: its
    dimension is 10 x 10 x 10.
    I have an isometric cube movieclip: it rapresents a matrix
    cell.
    In the render function of the matrix i clicle on the 3
    dimensions X, Y, Z; if the boolen value is true then I duplicate
    the movieclip and I put it in the right place (right coordinates).
    If I have few "true" value there's no problem....
    I tried to fill my matrix only with true values... the render
    funcion was very slow (about 2 seconds) for my purpose (it
    duplicates and creates 1000 (10 x 10 x 10) movieclips).
    is it a Flash limit (or Flash 5 limit!!!!!)?
    are new Flash releases optimized in movieclip duplication?
    thanks a lot

    create a new directory and save your fla (with a new name) in that directory.  restart your computer and then open that new fla in flash cs 5.5 and see if it performs better.

  • [Flash CS5.5] bug movieclips dont show/Really Slow on High Quality Textures

    I have been using flash cs5.5 for a while now , and I start this project 3-4 days ago. Ever since I started to add in high texture in it, The program Freezes alot.
    I export my project as a swf and theres no lag at all in it.(thanks to Render:Cache as Bitmap)
    A bug happen when ALL the MovieClips/images/bitmaps No longer can be seen but u can click on it.
    As u can see.
    The visible is check in too.
    All I was doing is moving the movieclips/images/bitmaps(high detail 2000x1000 big) around and this happen.
    Also the program gets crazy laggy when high details are added. Then again , I export my project as a swf and theres no lag on the swf, full fps.
    if this helps
    intel(R) Pentium(R) 4 CPU 3.20 GBHz
    3.19 GHz , 2.00 GB of RAM
    After Reloading the hole file, everything is back to normal , but it still does this bug and its really slow. I cant Continue my project because of this bug.
    Flash barely use my ram or cpu.
    Help?

    Not for nothing but P4 single core CPUs are outdated by about 6 years. From your graphic I can see you're not using a version of flash in your era.
    That doesn't excuse freezing but your CPU in this day and age is basically a solar powered calculator. Most people have an ancient dual core 2+GHz system with 2-8GB ram. You're excessively behind the CPU curve. With that CPU you're running DDR400 on top of it.
    We're at DDR3 now (PC12xxx depending on your wallet).
    Please don't take this wrong but "high res" and "Pentium 4" should not be in the same sentence. I'm fairly sure you cannot even play 720p HD video let alone 1080p HD video on that processor with windows (maybe linux). How do you expect flash to react being much more complex?
    Your best option is to lighten the load on that old rig. Disable any antivirus software or anything else running to give your updated flash the best possible chance to run well given your computers limitations. Efficiency being king, sometimes people thing 3ghz = 3ghz. It doesn't. A 3ghz modern CPU will blow away your old 3ghz computer. This is not apples to apples. 

  • Help with rotating a movieclip please!

    How do I rotate a movieclip 360 degrees over a period of time?  Can I use "new tween" ?  I am trying to rotate the movieclip while it is moving from position y to y+50 (this is done using new tween)

    Yes, you can simultaneously rotate the object using another Tween that changes the rotation property of the instance.

  • How to read movieClip container variables by attachmovie

    I used a movieClip to store the attach movieclip, but How to get back the variable from that movieClip container,
    such as a I set a array in the exiting movieClip
    var m_click:Array = new Array();
    for (var f=0; f<=this[mc_name+"_qty"]._totalframes-1; f++)
    { m_click[f] = 0; }
    I want the attached movieClip "y_qty" with a button inside to get the m_click for changing each m_click[0]..m_click[1]..value, how to do it?
    Thanks

    As I want to build a supermarket interface with number of 2x3 or 2x2 cells in every shelf,
    I prepare at least more than 6 items in 1 mc for attachmovie randomly in each cell.
    On the other hand, I need to attachmovie of  the selected items in a shopping cart list with quantity information, and
    removed it in cart list when click until tthe quantity is zero.
    So, I added a button inside the attachmovie to count and store the times on each frame click and currentframe no with items id in array.
    Now is much trouble to store array item_id[n] without repeat, if repeat, add to item_qty[n]++

  • I am facing issue when opening flash files in Flash CC. (Error : - .fla was created with a later version of Adobe Flash Professional CC and might contain new features not supported in this version of Flash professional.)

    I am facing issue when opening flash files in Flash CC. (Error : - .fla was created with a later version of Adobe Flash Professional CC and might contain new features not supported in this version of Flash professional.)

    fyfesa1970 wrote:
    Ask a simple question and get a simple answer...see below...hilarious:
    All representatives are actively assisting other customers. Your estimated wait time is 0 minute(s) and 1 second(s) or longer. Thank you for your patience.
    We all can learn from this. Whenever you get stuck in a customer-service situation that goes nowhere, as soon as you become aware of the futility, get the name and employee ID of the person, then say, "I don't mean to be rude, I think we're both wasting our time. Perhaps you weren't trained for this issue, or perhaps your system isn't displaying the correct information. It doesn't matter, because I'm not getting proper customer support this way. Please ESCALATE this to your highest-level manager IMMEDIATELY. If that person isn't availabe, ESCALATE me to that person's highest-level manager. If you haven't been given the proper training, you can use this to inform your manager that you need the training. Thanks for trying to help. I appreciate it. I have copied and saved this chat session. NOW PLEASE ESCALATE THIS CASE AS I HAVE REQUESTED ABOVE. I'm waiting now... "
    The point is that you're a customer, and the company needs customers, so the individual who's failing to deliver good service needs to be identified so they can be properly trained, and so that problems in the system can also be identified, but more important is that you get the service you're entitled to.
    If you search the forum for similar questions, you'll see the kind of information that the volunteer users like yourself on the forum need to know about your system and files involved, so they can help you better.
    Good luck.
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

  • Looking for a non XML driven Flash banner rotator

    I am looking for a non XML driven Flash banner rotator, something where I can load my images into the FLA and publish. The only rotators I can seem to find have external XML/image files, etc.
    All I want to do is create simple SWF's that I can use to display rotating images preferably is a smooth and stylish manner. Does anyone know of any, or could point me in the right direction?
    Many thanks for any help you may be able to offer and I am willing to follow any tutorials.

    Hi
    I wonder why not show you how to use Quicktime.
    Because I would use the html5 audio, that way the browser chooses the 'player' to use, and I wanted to give the OP the choice -
    <audio controls preload="auto" autobuffer>
      <source src="elvis.mp3" />
      <source src="elvis.ogg" />
      <!-- now include flash fall back -->
    </audio>
    PZ

  • Reader causing issues with dropped underscores in courier new font

    When converting a microsoft word document in 2013 or 2007 to a PDF is causing issues with dropped underscores.  It only seems to happen in courier new.  For instance if I have _someCode, when converting this over to a PDF file I will sometimes see _someCode and sometimes I will see someCode.  If I open this file in a different pdf reader then it looks correct 100% of the time.  If I copy and paste into another application then the underscore shows.  This is a major issue for people putting code into a PDF document as underscores are important and courier new is what we often use.

    I love how quick you are to throw Microsoft under the bus.  Often it is their fault.  In this case I believe you are 100% wrong and absolutely short sighted to ignore this.  As I said in my original email, which you apparently missed, I have tried this in multiple PDF viewers and Adobe Reader is the ONLY reader that misses the underscores.  Foxit, PDF Exchange and Sumatra all render it perfectly.  Adobe reader missed 6 underscores in my document that has 18 underscores.  30% of the time in this document Adobe Reader makes the underscore invisible.  And if I switch the zoom to 100% instead of 148% (which is the default for me for some reason) then Adobe Reader misses 7 of them.  This doesnt occur in the other readers.  Blame Microsoft all you want but the simple fact is that Adobe Reader has issues reading courier new's underscores.  It needs to be fixed.

  • Flash making rotated images crunchy

    greetings Flash gurus,
    anytime i rotate a bitmap image, it gets VERY crunchy. the
    edges are especially noticeable (although it is clear that the
    entire image gets affected). this happens even with high quality
    mode set for the resulting swf. the resulting bitmap looks like it
    has been sent back to to 1990, rotated by some cheap process, and
    then returned to 2008. :( seriously, is Flash no better at
    interpolating images than this ?
    (yes i know that Flash was originally designed as a vector
    engine (I am an old Flash user getting back into it) ... but the
    image handling looks no better than when i first used images with
    Flash back in the day)
    i am really hoping that someone here can tell me how to
    improve this image rotation/scaling issue -- please tell me there
    is a setting somewhere that allows me to turn on "high(er) quality"
    bitmap interpolation... an entire project depends on this !
    thank you very much in advance.

    Hi Dave, thanks for your input.
    (what follows is not addressed to you, but rather to Adobe,
    hopefully for the benefit of the Flash community at large... )
    with all of the other feature additions and optimizations
    that Flash has had over the last 4-5 years (video support, image
    filters, actionscript 2 & 3, data remoting, etc.) it just
    surprises me that this has not yet been addressed. it is SO
    basic...
    in fact, smooth bitmap interpolation is one of the most basic
    visual requirements that any pixel-conscious developer (or viewer)
    would expect. YES it impacts performace, but give the developer the
    OPTION of choosing between (or balancing) performance and
    smoothness. (Adobe are you listening?)
    right now my test anim (with crunchy bitmaps) runs
    super-smoothly up to 100 fps (the bitmaps are quite small). it
    would be perfectly OK if it only played back at 30 or even 20 fps
    but *with* smoothly interpolated (rotated) bitmaps.
    if Adobe hasn't added this kind of optimization in by now, i
    hope they realize what an eyesore it is and implement a modern
    interpolation solution sooner rather than later.

  • Numerous instances of "plugin-container.exe" causes crash.

    Viewing pages that use plugins such as Flash or the Adobe Reader plugin open new instances of "plugin-container.exe" in the processes. The problem is that each of these instances continues to run after the page using the plugin has been closed or navigated away from causing large drain on system memory. They can be shut down manually from Task Manager but this shouldn't happen in the first place. I have since downgraded from Beta 12 to Beta 11 where this does not happen.
    See here: http://i585.photobucket.com/albums/ss298/mfarquhar1/Capture-1.png

    Viewing pages that use plugins such as Flash or the Adobe Reader plugin open new instances of "plugin-container.exe" in the processes. The problem is that each of these instances continues to run after the page using the plugin has been closed or navigated away from causing large drain on system memory. They can be shut down manually from Task Manager but this shouldn't happen in the first place. I have since downgraded from Beta 12 to Beta 11 where this does not happen.
    See here: http://i585.photobucket.com/albums/ss298/mfarquhar1/Capture-1.png

  • Flash Player Creating SXX Files Which Is Causing Software Problems!

    I am using a productivity software called action machine and when I create new data then close the software my data is lost.An action machine sxx file is created within the localhost folder which just started happening when I use the software and  this may be my problem.I had read that the flash player is causing and creating this sxx file.Can anyone tell me how to remedy this problem and keep from getting these sxx files on my computer and losing data.
    Thanks,
    Mark

    is action machine a flash app?  you probably want these files to be created as those are locally shared objects that may contain the data you want saved.  also, you may have better chance pinging the app developer for support as we're unfamiliar with action machine.

  • Flash ring (rotating) as clipart?

    Hi,
    this is a combination of questions.
    I am doing some tutorial videos. I want to have a rotating ring on the screen to show people where to click.
    My understanding is, that you can use *.swf files as cliparts.
    My questions:
    1) Is there a free download for a simple rotating ring? (e.g. a ring made with a dotted line that rotates, used often as loading gfx in flash)
    2) Is there a detailed tutorial how to use these things? I made a test with a free SWF file, and I can't change the lenght of the swf. So if the animation is a lenght of 1 second, I want to display it for 10 seconds, starting over and over again. I did not find anything on that topic in the Elements' help.
    Thank you
    Smo

    Now, one way to "loop" would be to drag multiple instances of the animation onto the Timeline in the appropriate Video Track. This would have the same effect as having an animated Clip that did loop. The trick would be to make sure that the starting point, Frame 1, matched the end point, last Frame. That would need to be done in the animation program.
    If one needed interactivity (not sure if this is a goal), then the output would need to be into a format, like Flash/FLV, which could then be packaged in an SWF container for distribution.
    Good luck,
    Hunt

  • Converting a movieclip to bitmap data (AS3)

    Hi,
    Just been gradually switching over to AS3, and I've hit a
    problem and its doing my nut in because I can't find a way to get
    it to work.
    Basically I want to take a portion of a movieclip and convert
    it into bitmap data into another movieclip.
    I know the basis would be something like:
    var b:BitmapData=new BitmapData(100,100,false);
    var bm:Bitmap=new Bitmap(b);
    mymc.addChild(bm);
    But I can't work out how to get that to pick up the movieclip
    that I'm trying to extract from.
    Hayyyulp.
    The link below is the kind of method I want, but because this
    is drawn at real time it would cause the area to expand with the
    movie clip, when all i want is to extract a portion and place it as
    a surface texture. (draw on the box on the right hand side)
    http://www.visitmyworld.co.uk/body.swf
    Also, I don't really think it necessary to update in
    realtime, that and id assume generating the bitmap area in real
    time would cause major slowdown issues. If anybody has any
    different solutions to what I propose then advice welcome.
    The reason id want a bitmap is that data id want to project
    could be complex layers, ie- items can be dragged on rather than
    just being drawn on.
    Cheers,
    Adam

    And also, whilst we're at it, I seem to have hit a bit of
    trouble with understanding to call a parent function
    ie - in AS2 you would put:
    _parent.myfunction()
    Any ideas?.

  • Using Flash to Rotate Images - how???

    I'm trying to do something that I thought was standard/easy in flash.  I would like to rotate photos on my Dreamweaver website homepage (dissolve from one photo the next) - like a slideshow.  How do I do this and then incorporate into Dreamweaver?
    Is it using Flash animation, or Flash slideshow/photo gallery?  Can I embed that right into my homepage?
    Thank you!

    As far as I know it is not a standard/easy thing to do in Flash, although I do not have the latest version so I cannot speak for any such built-in feature they might have added.  Most people that have a Flash slideshow either purchased it or created it from their own come-to-know how.  You could try searching Google using "Flash slideshow tutorial" and you might find something you can create yourself.
    Alternatively, you might also want to look into using one of the likely many jQuery-based slideshows that are available.  It won't require you to learn Flash and should utlimately be as easy as adding code to a web page. If you Google "jQuery slideshow tutorial" you should find something you can get working fairly easily.
    Either way you go, you should end up with something you can put in your homepage.

Maybe you are looking for