Long Delay when switching Flash cast members

I have a movie that uses Flash cast members as sprites. The Flash members are static images and are optimized as best they can be, but they are using Background transpaerent ink and cannot be direct to stage so I know they use a lot rescources. These sprites are rotated randomly, and that is why I must use Flash members since bitmaps look terrible when they are rotated.  The user can select to change the sprite's members to display different images.  I do this by changing the memberNum property of each sprite.   When that happens on some systems there is a delay of up to 2 seconds while the new Flash cast members are substituted.  All Flash members are internal and are set to Preload before Frame 1.
Can anyone think of what may be causing this delay?

Firstly, I'd suggest that rather than rotating the Flash sprite it may be simpler to rotate the contents of the Flash using Flash functions built into the SWF... I'm pretty sure it would be more efficient in terms of processing. If necessary you could wrap your SWF's content into a MoveClip within the main SWF, and then spin the MovieClip using Actionscript in the SWF (if you see what I mean).
As for the delay problem - have you tried using the sprite.member property rather than sprite.memberNum? For example:
on changeMember me, aMemberName
     sprite(me.spriteNum).member = aMemberName
end
I don't know if this would side-step the problem because I've never come across it before, but it's a thought. Bare in mind that memberNum can be ambiguous because it doesn't specify which cast the member is stored in.
Telling members to preload before frame 1 doesn't guarantee that they will be preloaded - you need to be sure that you've allocated enough preLoadRam. The following would allocate 1MB (1024 KB) of RAM for preloading
on startMovie
     the preLoadRAM = 1024
end
If your SWFs are large then you may need to up the preLoadRAM value (assuming you can be sure that your users' systems will have enough free RAM).
Finally, you can use the member.preload property to tell Director whether a SWF must load completely before it plays...:
member("myMember").preload = true
... or whether the SWF can be streamed from disk as it plays...:
member("myMember").preload = false
I hope some of this helps.

Similar Messages

  • Long delays when switching from anything to xterm; Security Update 2008-001

    I just updated my computer and rebooted. After it all came up again I opened Safari, selected a url and copied it, clicked on my x-term and it stayed behind my browser! After an excruciating delay of nearly a second, it came up on top. This makes me frequently mark large chunks of text in my xterms by mistake, which of course messes up my cut and paste buffer. I could not believe this so I actually used a stopwatch and it gives me 1.32s between clicking on the xterm until it appears on top.
    I can switch just fine between Safari and iTunes, but Safari and xterm gives this behavior. Same with iTunes and xterm. This makes my computer practically useless and I have no idea how to fix it!

    Good News!
    No OS is perfect, you just get to choose the most important features for you.
    PS. Sometimes things do "just work", but we can do little things to increase those odds on our own.

  • Long delay when sending non-btinternet mail

    We are using Outlook Express/Windows mail client, and there is a long long delay when sending mail.
    It just hangs saying "Connecting..." in the status bar. Receiving email has no problems.
    Eventually it sometimes works or sometimes just times out.
    The smtp server is not btinternet/yahoo but our own email server, which we have been using for 10 years. There is no problem pinging the smtp server. e.g. smtp.ourserver.net
    It works without delays on other (non BT) home/business networks.
    We have tried plugging other laptops into this home network and trying to send email (to the same mail server) - same problem.
    It therefore seems to be peculiar to a BT Hub or BT as the ISP.
    The problem seems to have first appeared when an upgrade was made to cater for future fibre optic services.
    Any help would be greatly appreciated.

    Today I started from my Firewire-device with 10.4.11 and had ichat running from there. I chatted with my friend, who is on 10.5.1 - no problems at all. (so my router is not causing the problem, as I thought)
    Starting from 10.5.1 again I opened up Activity Monitor and found this message every 10 secs !
    25.12.07 25.12. 15:18:29 com.apple.launchd[138] (at.obdev.LittleSnitchUIAgent[654]) Exited with exit code: 1
    25.12.07 25.12. 15:18:29 com.apple.launchd[138] (at.obdev.LittleSnitchUIAgent) Throttling respawn: Will start in 10 seconds
    25.12.07 25.12. 15:18:39 com.apple.launchd[138] (at.obdev.LittleSnitchUIAgent[655]) posix_spawnp("/Library/Little Snitch/Little Snitch UIAgent.app/Contents/MacOS/Little Snitch UIAgent", ...): No such file or directory
    I remember that I installed Little snitch some time ago and removed it manually. Then today I run the official uninstaller for it. Still I cannot get rid of this activity. May be it has to do something with the text delay in ichat? How to delete all Little Snitch processes? How can someone find these data?
    Thanks for Feedback

  • Massive delay when switching back to table

    Hello,
    I have a couple of tabs on my shell, the first and main one containing 2 tables, and the tabs have various elements etc on them. In the last 2 weeks when I switch back to my main tab that has the 2 tables on it there is a massive delay around 8 seconds!
    This was never there before, if I have my model empty then the delay is only 1 second, but there is no delay when switching between the other tabs, only when switching back to the one with the tables.
    I recreated a static table that was similar, with hardcoded data, even with the 2 tables on that example there was an 800ms, which was noticeable and again no delay on the other tabs when switching.
    Anyone have any ideas?
    Thanks,
    Donnchadh.

    Hi,
    So I have traced it down to my dropdown box, when my dropdown box list is bound to a node in my model with 650 items it takes about 6.5 seconds, but if it is bound to a node with only 15-20 items then switching back to the table only takes around 1 second.
    What is going on here? Is it re-rendering the page?
    *update
    So added this piece of code to the table
    oTable.addDelegate({ onAfterRendering : $.proxy(function(){
            console.log('table rendered');
          }, oTable)});
    It is infact rendering the page  twice when switching back to the tab, this happens with the shell and I also tested it with only using a tabstrip and same amount of delay.
    Why is this happening? Anyone had a similar issue?
    Message was edited by: Stam anatic

  • Long delay when logging in Network User

    Hello,
    We are running into a weird problem.
    We have an XServe G5 2.0 GHz DP with 5 GB RAM, providing multiple services to a small school.
    The Users have Network-based accounts, and are authenticated via OD on the same server.
    Lately, Users have started experiencing a very long delay when logging in.
    At the login prompt, if they input the wrong password, they get "the shake" right away, which indicates that the authentication speed is rather fast. If they do input the right credentials, nothing happens for 25 - 30 seconds, and then login proceeds as usual, fairly quickly. The machines are normally responsive from there on, i.e. it is not a network performance issue. Also, even if no one is on the server, the first one to log in runs into the same issue, i.e. it is not a server overload issue. Does anyone have an idea what is going on? Any suggestions for a solution will be appreciated.
    Best regards,
    Alain Chammas

    Hi
    This could be down to a time sync issue. Are Server and Clients all using the same Network Time Server? Do you see a similar delay when presenting the login window displaying a list of network users? If you did not know this is a computer list mananged preference. Anything unusual in the system.log?
    Hope this helps, Tony

  • Long delay after switching application

    I have a project which has about 1000 clips.  Every time I switch to another application and then back to Premiere, it takes a very long time before Premiere can respond to any action.  Initially, I thought it's b/c memory.  So I added more RAM and see about 50% of RAM free.  However, this does not help.
    One day I deleted a clip in Explorer and switching back to Premiere.  After the long delay, it pops up a dialog asking me where is the clip.
    So could the long delay is from scanning for clip changes?  If so, is there any way to disable it?
    thanks!

    Do you mean:
    1. The delay is unrelated to the scanning of clips
    or
    2. It's not possible to stop the scanning?
    The project file is only 40MB.  I've had 100MB or even larger project file before and never see such long delay.  Could you please give me some pointer on how to reduce this delay (right now about 30 seconds)?
    Thanks!

  • Long delay when loading shell

    we have 2 test servers here we are using for one of our clients. In theory, both are configured the same, but we are experiencing a long delay (2 or 3 minutes) when login on to the machine.
    We get the delay when the shell is attempting to load. We get this issue if we login via ssh or if we do su - difuser.
    su difuser does not cause the delay.
    I've read about commenting out /usr/sbin/quota in /etc/profile, but that's not really an option for us.

    We found the issue and why un-commenting quota fixed it.
    We had a dead NFS mount. When the quota engin tried to check the quota on it, it would take forever to fail.

  • Long delay when trying to save print as PDF

    For some reason, there is a long delay, usually up to five minutes, before the system will allow me to save a print as a PDF. I ran disk utility and no issues arose. Anyone know why this is happening?

    HI,
    Make sure there is enough free space on the startup disk.
    Right or control click the MacintoshHD icon. Click Get Info. In the Get Info window you will see Capacity and Available. Make sure you always have a minimum of 10% to 15% free disk space at all times.
    Carolyn

  • Long delay when sending normal text message

    Whenever I send a standard message, there is always a long delay (8 secs) before it sends. I know it is not aol because it is all the time. I am running 10.5.1 on my macbook with iChat 4. I have tried reinstalling ichat including removing all pref files. Still no luck. Any help would be great! Thanks.

    Today I started from my Firewire-device with 10.4.11 and had ichat running from there. I chatted with my friend, who is on 10.5.1 - no problems at all. (so my router is not causing the problem, as I thought)
    Starting from 10.5.1 again I opened up Activity Monitor and found this message every 10 secs !
    25.12.07 25.12. 15:18:29 com.apple.launchd[138] (at.obdev.LittleSnitchUIAgent[654]) Exited with exit code: 1
    25.12.07 25.12. 15:18:29 com.apple.launchd[138] (at.obdev.LittleSnitchUIAgent) Throttling respawn: Will start in 10 seconds
    25.12.07 25.12. 15:18:39 com.apple.launchd[138] (at.obdev.LittleSnitchUIAgent[655]) posix_spawnp("/Library/Little Snitch/Little Snitch UIAgent.app/Contents/MacOS/Little Snitch UIAgent", ...): No such file or directory
    I remember that I installed Little snitch some time ago and removed it manually. Then today I run the official uninstaller for it. Still I cannot get rid of this activity. May be it has to do something with the text delay in ichat? How to delete all Little Snitch processes? How can someone find these data?
    Thanks for Feedback

  • Long Delay When Print Commands Sent To HP Wireless Officejet

    I have an HP Officejet Pro 8500 connected via a wireless connection to my home LAN. I have a late 2009 iMac (ethernet connection) running the latest release of Snow Leopard. Both the HP printer device and scanner device show up as installed in the Print & Fax settings of preferences with full functionality and they both work. The printer is normally idle (in sleep mode) until one sends a command. Any print command sent from any Mac OS X application to the device takes about 40 seconds to wake up the device if it is idle. Print commands sent from Windows XP applications running via a bootcamp partition wake up the printer instantly.  Print commands sent from any other Windows OS based computer connected wirelessly on the LAN also wake the HP instantly.
    I would appreciate any ideas as to why there is this delay when printing from Snow Leopard.

    I installed from the HP CD that came with the Officejet. It says MAC OS X v104, v10.5, Version 9.8.0 (I assume this is the HP version) and then updated to the 2/11 Apple HP Driver update. So I appear to have followed your advice.
    Note that Print & Fax preferences shows 2 devices for the Officejet. One is the printer and the other device is the fax. The printer has both printer and scan tabs. The fax does work as I just tried it. When I open the printer utility for the printer from within preferences, two devices are listed: The printer (green) and I can access the settings. The Fax identifed in its name as being at teh same ip address, but is is in red and the settings can not be accessed.
    I opened the embedded web server to look at all the settings. I'm using DHCP.
    Here is what I found under Networking:
    Host name is correct.
    Proxy setting are blank, which is correct.
    Network Protocols are set to Both IPv4 and IPv6
    Under Wireless: IPv4 Addressing is set to Automatic IP & Automatic DNS Server. IPv6 is empty. The Advanced settings are all under Infrastructure and correct. Ad Hoc settings are blank. Compatibility has the 2nd item checked that says in an Ad Hoc network use 811.b behavior.
    Anything else that may be helpful

  • Major delay when switching between folders in Mail

    More often than not when I switch between folders (inbox-to-trash or junk-to-inbox, etc) none of the messages in that folder show up and it says on top "0 messages".
    Sometimes they come back after 5 or 6 seconds. Other times it takes over a minute. There usually aren't that many messages in either the folder I'm coming from or going to.
    Any thoughts?

    Based on the tons of new messages showed up in the Trash, I suggest the following.
    Quit Mail first and using the Finder go to Home > Library > Mail.
    Copy the Mail folder and place the copy on the Desktop for backup purposes.
    Using the Finder, go to Home > Library > Mail > Envelope Index.
    Delete the Envelope Index file and empty the Trash.
    The Envelope Index file stores an index of all mailboxes and messages.
    Launch Mail and you will be prompted to import mailboxes. Select OK and allow the process to complete. This isn't really importing anything but creating a new Envelope Index file within the Mail folder and re-indexing all mailboxes and messages within.
    This may cause more previously deleted messages to re-appear but this should resolve the delay problem.
    After confirming all mailboxes are available and there is nothing unusual, you can delete the copy of the Mail folder placed on the Desktop.

  • [SOLVED] Delay when switching between ttys

    When I switch between tt2 - tt6 right after boot, I experience a delay of about 7 seconds
    before I am presented with the respective login prompt.
    During that time, I only get a blinking cursor in the upper left corner.
    Note that I experience the delay for each tty, but only for the first time that I switch.
    After that, switching is instantaneous.
    It doesn't matter whether I am logged in on tty1 or not.
    This problems seems to be relatively new.
    Kernel mode setting is enabled.
    Last edited by Aton (2013-04-12 12:14:19)

    Okay, I have found the problem.
    Seems that I hadn't correctly enabled [email protected].
    Journalctl:
    systemd[1]: Job sys-subsystem-net-devices-multi-user.device/start timed out.
    systemd[1]: Timed out waiting for device sys-subsystem-net-devices-multi-user.device.
    systemd[1]: Dependency failed for Automatic wireless network connection using netctl profiles.
    This somehow caused the problem.
    Whenever I switched ttys before those events, I would get the 7 second delay.
    After that, everything was normal.
    After correctly configuring netctl, the problem is gone.

  • Delaying when switching between apple mail and safari

    just on mavericks.
    it more or less looks and feel ok but...
    when I switch between apple mail and safari, everything "freezes" for some seconds (up to 30).
    anyone similar experiences?
    what could be the cause of that?
    its really disturbing.

    I am a little puzzled by the libraries and switching between the libraries. My personal computer has the majority of the movies and content that would be transfered to the appletv. I chose to only select a minimal amount of content (of movies and tv shows, music via playlists) so there would be space left that would hold photos. Also, i just want to send over only what I want to view (manual synch) If I switch to my Kids library, it streams all the content well (movies & tv shows)(which is fine and streams well) If I switch back to my library, it shows every movie, every tv show, hundreds of music playlist that I did not choose to see. (stream mode) The only fix is to reboot the computer, and all is well. anyone experience this issue?

  • BB Balance - long delay after switch to/unlock business content after Upgrade to 10.2

    Dear All,
    we're using Z10 with BES10.1.3, everything run smoothly but we've one issue:
    since we have upgraded Z10 device software from 10.1 to 10.2.0.1791 there is a delay of about 12-15 seconds each time we unlock device to business content until we see messages in BB-Hub
    to explain, business content is locked - we type in password - OK
    display switch to empty hub - then we have to wait 12-15sec. until messages will appear in hub
    We've tried out different things, we've wiped device, we've deleted business content and regarding email account, activated device new on BES10, wait 2 days that basic syncronisation will be done and same issue.
    Can you help us please, we don't know what we should try out any more...Blackberry Hub and the fast check of new incoming messages is one of the main features of Z10...thanks in advance.

    Thanks for your quick reply, so what should I try out with this device in detail?
    Thanks

  • Long delay between switching from internal - external speakers MacBook Pro 13

    Hey,
    Ive got a MacBook Pro 13" (2011) on lion 10.7.4 and I have experienced recent problems with a switch from internal to expernal speakers and vice versa. For example, Im on itunes listening to a song or watching a video on youtube etc and then I plug in my speakers or my headphones, the sound stops. It varies from time to time, until the music continues then, ranging from 10s to hours!
    When I try to adjust the volume following things have happened on different occasions:
    the volume symbol in the top bar is grey
    when I try to adjust the volume with the keyboard, it either wont let me (indicating full volume and the stop sign appear on the screen) or it indicates on the screen that the volume gets changed but you cant hear anything
    in the latter case, sometimes when the sound works again, I can press those buttons but the volume is stuck and doesnt respond.
    Does it have to do anything with the fact that I am pretty bad at closing tabs on my browser and programmes? I wouldnt have thought so though because it didint used to be like that with the sound and my habits havent changed.
    Anyeay, I eould be very happy if someone could help me out with this issue. Many thanks in advance

    Thanks for taking the trouble to answer. I agree that it seems like a hw problem either with a cable or internal mounting. To help anyone else who had this sort of problem ..... there is no need to worry. I picked up the phone and called Apple. A very polite and helpful tech guy ran me through a graphics ram reset (PRAM) to see if this would fix things and said to let them know if it didn't. The problem reoccured so the machine is going back. Apple immediately arranged for the machine - no debate, no hassle - to be picked up by courier and a new one shipped back to me. I'll have it in a couple of days. That is what you call service. I'm still going to take an additional precaution though. Despite having a good cover for the machine I'm going to add additional padding in the backpack I use on a weekly commute. Note though that I never had any problems with a series of Macbooks in the decade I've been commuting across Europe (on a weekly basis).

Maybe you are looking for

  • Hot Synch Error ??? 6/1/09

    Failed to backup 1 file PmTraceDatabase Protocol Error: Handheld file could not be opened (4004) SYNCERR_FILE_NOT_OPEN Post relates to: Tungsten E2

  • Pre-fill Office documents with SAP data from WebDynPro screens

    I have a requirement to have Word/Excel type file templates that we can open and have pre-filled with data attributes from SAP objects. I know that we can do this relatively easily from within the SAP GUI in transactions such as SCASE etc... but our

  • Creating a xml service defination

    Before 10g I had a sdf.jar which allowed me to create a service defination from an activity diagram. Does anyone know how I can accomplish this in 10g?

  • Navigation control

    Hi~ In the Visual Composer,there is a funtion called "navigation control". in web dynpro, how to make "navigation control" effect, the same as Visual Composer does? thanks Message was edited by: Allen Chou

  • Glitch in library folders

    I just came across a really strange issue; I recently imported all my discs (403) to iTunes. After 4 days of doing so I decided to add all the artwork to the albums as well, another 2 days. Well today when adding artwork a came across 3 albums that f