Inconsistent loading with loadmovie, whats a trick for this?

loadMovie(imagePath,"loadImage");
the imagePath value is dynamically set to an image on the
server based on the users interaction.
loadImage is an empty movie clip sitting on that timeline
that receives the loadMovie command.
one frame after the loadMovie command I set the width and
height. four frames after that I have a stop();
the user does a few things, and the timeline that contains
the loadmovie reruns itself using the new imagePath to pull in a
new movie. This has about a 25% failure rate when it first starts
up. Even if im reloading the same image, or if i flip back and
forth between loading different images, eventually one image will
not load up anymore, and then the other image wont either, and
eventually none of the images load. If i close the whole thing down
and relaunch it, im good to go again for a few times but then
eventually nothing loads up again. Theres possibly a timing issue
here. Anyone dealt with this before and know what the general rules
are for getting this type of setup to work with loadMovie?

Don't use loadMovie. Use the MovieClipLoader class, and its
associated
onLoadInit. You can't simply set the width, or anything else
for that
matter, a frame later - as likely the clip is not yet loaded.
Dave -
Adobe Community Expert
www.blurredistinction.com
http://www.adobe.com/communities/experts/

Similar Messages

  • Resizing a movie loaded with loadMovie()

    I'm looking to resize a movie that was loaded with
    loadMovie() into a movie clip. Once it's finished playing I want it
    to reduce down in size. Any ideas?
    loadMovie("test.swf",main_Movie);
    main_Movie is the empty movie clip, its a simple rectangle
    that is 550 x 400 so it fills the whole stage.
    Any ideas, or if you need more info please let me know.
    Rob

    Rob-
    You can scale movie clips by a percentage or resize by
    directly manipulating the width and height values.
    main_Movie._xscale = 50; //scale width by 50%
    -or-
    main_Movie._width = 20; //set width to 20 pixels
    For more information check:
    http://livedocs.macromedia.com/flash/mx2004/main_7_2/00001570.html
    I hope that helps.
    Sean

  • FCP X is loading and loading with the colour wheel revolving for ever for the past few days.

    FCP X is loading and loading with the colour wheel revolving for ever, for the past few days.
    FCP X was working fine in my new 15" Mac book pro (Retina display with Mountain Lion 10.8.2) for the past one month. Now a days, each time I try to open the FCP X, the same non-stop colour wheel is rotating, trying to restore one of my project. It continues even for hours together.  Finally I am force quiting the application.
    How do I come out of it ? Will I be able to recover my project.  I didn't do any backup in particular.
    Is backing up on the regular basis is required?
    I tried the following guidance by Apple, 
    In the Finder, hold down the Option key and choose Library from the Go menu.
    In the Library folder that opens, go to Application Support/Final Cut Pro.
    Drag the Layouts folder from the Final Cut Pro folder to the Trash.
    Still my problem is continued
    Help me

    This is my pet checklist for questions regarding FCP X performance - you may have already addressed some of the items but it's worth checking.
    Make sure you're using the latest version of the application - FCP X 10.0.5 runs very well on my 2009 MacPro 2 x 2.26 GHz Quad-Core Intel Xeon with 16 GB RAM and ATI Radeon HD 5870 1024 MB. I run it with Lion 10.7.5.
    First, check that you have at least 20% free space on your system drive.
    For smooth playback without dropping frames, make sure 'Better Performance' is selected in the FCP X Preferences - Playback Tab.
    If you have not already done so, move your Projects and Events to a fast (Firewire 800 or faster) external HD. Make sure the drive's formatted OS Extended (journalling's not required for video). You should always keep at least 20% free space on the Hard Drives that your Media, Projects and Events are on.
    Check the spec of your Mac against the system requirements:
    http://www.apple.com/finalcutpro/specs/
    Check the spec of your graphics card. If it's listed here, it's not suitable:
    http://support.apple.com/kb/HT4664
    If you are getting crashes, there is some conflict on the OS. Create a new (admin) user account on your system and use FCP X from there - if it runs a lot better, there's a conflict and a clean install of the OS would be recommended.
    Keep projects to 20 mins or less. If you have a long project, work on 20 min sections then paste these into a final project for export.
    If your playback in FCP X is not good, I strongly recommend you use ProRes 422 Proxy - it edits and plays back like silk because the files are small but lightly compressed (not much packing and unpacking to do) - but remember to select 'Original or Optimised Media' (FCP X Preferences > Playback) just before you export your movie, otherwise it will be exported at low resolution.
    The downside of 'Proxy' is that it looks awful. DON'T use Proxy when you're assessing things like video quality - especially focus.
    If you have plenty of processor power, for the ultimate editing experience, create Optimised Media - most camera native files are highly compressed and need a great deal of processor power to play back - particularly if you add titles, filters or effects. ProRes 422 takes up much more hard drive space but is very lightly compressed. It edits and plays back superbly.
    Personally, I work with XDCAM EX and h.264 from a Canon DSLR. Both of these run fine with my system, but I do transcode multicam clips.
    Hide Audio Waveforms at all times when you don't need them (both in Browser and Storyline / Timeline). They take up a lot of processor power. (Use the switch icon at the bottom-right of your timeline to select a format without waveforms if you don't need them at the moment, then switch back when you do).
    Create folders in the Project and Events libraries and put any projects you are not working on currently, in those folders. This will help a lot. There's a great application for this, called Event Manager X - for the tiny cost it's an invaluable application.
    http://assistedediting.intelligentassistance.com/EventManagerX/
    Unless you cannot edit and playback without it, turn off Background Rendering in Preferences (under Playback) - this will help general performance and you can always render when you need to by selecting the clip (or clips) and pressing Ctrl+R.
    The biggest single improvement I saw in performance was when I upgraded the RAM from 8 GB to 16.
    If none of this helps, you might have incompatible or corrupt media or project files. Move ALL your Events and Projects to temporary folders so that FCP X doesn't find them on launch. If it launches OK, re-introduce the Events and Projects one at a time, re-launching each time, so that you can track down the corrupt or incompatible files.
    Andy

  • First call attempt fails with 12000; reason="Routes available for this request but no available gateway at this point"

    We've installed a new Audiocodes Mediant 1000B gateway for our customer.  They only have about 6 users enabled for Enterprise voice and using Lync for all calls.  They have an intermittent problem whereby the first call attempt to a number on the
    PSTN fails with 12000; reason="Routes available for this request but no available gateway at this point".  There is only one PSTN gateway installed.  All routes point to this gateway.  What I found initially is that the calls
    were failing after 10 seconds which is the default "failovertimeout" in the OutboundRouting.exe.config.  I found this post http://voipnorm.blogspot.co.uk/2012/06/lync-2010-gateway-timeout-call-failures.html and
    changed the value to 20 seconds.  Subsequent failures failed after 20 seconds (the new value).  The interesting thing is that the second attempt even a couple of seconds later succeeds.  My Lync server event log has 46046 "A call to a PSTN
    number failed due to non availability of gateways." for the failed call and 46047 "A PBX gateway is now responding to requests after some failures." for the successful call moments later.
    My environment is Lync 2010.  A single enterprise edition Front End with collocated mediation.  The server is virtual and in a different physical location to the gateway.  The two sites are connected via a LES1000.  The RTT between the
    sites is very low so it isn't necessarily networking.
    In the Syslog output on the Audiocodes we don't see the call even reach the gateway.  It's likely that Lync has simply marked the gateway as down and doesn't route the first call.  Then it wakes up and marks it as up and routes the next call.
    Update wise I'm on 4.0.7577.183, 199 and 217 for those that are up to date and the only components that are behind say that 223 is available.  Those being Core Components, Lync Server, Conferencing Server and Web Components.
    As I said, this is intermittent, apparently doesn't happen for every user (which I don't buy), but is easily replicated on request.
    I definitely think changing the failovertimeout value has reduced the number of failures.  But realistically I don't want users sitting there for 20 seconds before their call fails.  Or 19 seconds for the call to route.
    I've found a few posts on this and similar issues.  I don't get the 25051 or 25052 errors.
    Any help gratefully appreciated.
    Regards
    Randy Chapman
    Best Regards Randy Chapman

    Try to change the value of Failovertimeout to 1000.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • HT204003 if i open passbook on iphone 5, it always say cannot connect to itunes, any fix from apple tech support? and whats the reason for this problem? why do we have to figure it out and not even apple can give answer??

    if i open passbook on iphone 5, it always say cannot connect to itunes, any fix from apple tech support? and whats the reason for this problem? why do we have to figure it out and not even apple can give answer??

    actually i found out how to fix it
    1 sign out of apple account
    2 close down passbook app
    3 change year to 2013
    4 reopen passbook and sign in at the button with your apple ID
    5 change the time to auto update and it should work from now on.
    this worked for me let me know if it work for you:)

  • Power book not loading (error: unable to find driver for this platform) help me please

    power book not loading (error: unable to find driver for this platform) help

    That usually happens when trying to install Mac software intended for Intel-powered Macs (made in 2006 through present) on a PowerPC mac like teh powerbook (made before 2006).
    You post is a little cryptic, however. We may be of further help if you can tell us:
    <> the PowerBook's processor type (G3 or G4) and the Mac OS version, both available by doing "About the Mac" from your Apple menu.
    <> what program and its version your were trying to run and/or install.

  • What does "licensing for this product has stopped working"

    What does "Licensing for this product has stopped working." mean?

    Hi ,
    The error "Licensing for this product has stopped working" is related to the activation component of Creative Suite 3 and 4 software. It is related to a problem with the FlexNet Service.
    This error often comes when the Adobe software is migrated from one computer to another rather then installing it properly.
    Please check the link , it might be help:- http://helpx.adobe.com/x-productkb/global/error-licensing-stopped-mac-os.html
    However if you have used the migration tool to transfer the software I would recommend to install the software using the original media.

  • Downloded apps are not workning after sync on PC on ipad 2 ! what is reason for this ?

    Hi,
    My Downloded apps are not workning after sync with PC on ipad 2 ! what is reason for this ?

    Download any free App and test if it'll get all the others Apps working.

  • Outlook 2007 doesn't show icloud service running.  Does anyone know what the dll for this service is so it can be manually added to outlook?

    Outlook 2007 doesn't show the icloud service running in Windows 7 within outlook.  Does anyone know what the dll for this service is so it can be manually added to outlook?   I've installed the icloud control panel app and set it up to synch everything, but after initially downloading my icloud calendar, it won't process any calendar updates (new entries made on either iphone 4 on ios 5 or outlook). 
    So since the control panel installed, but the service doesn't show running in outlooks "trust center" add-ins list, anyone know the actual dll file it would point to so I can see if I can add it the hard way?

    I had the same issue and figured it out.  First you have to start Outook as administrator.  To do this, shift and right-click on outlook and click run as administrator.  Next you need to enable Hard-disabled add-ins:
    Hard-Disabled Add-Ins
    Hard disabling can occur when an add-in causes the application to close unexpectedly. It might also occur on your development computer if you stop the debugger while the Startup event handler in your add-in is executing.
    To re-enable an add-in
    In the application, click the File tab. 
    Click the ApplicationName Options button.
    In the categories pane, click Add-ins.
    In the details pane, verify that the add-in appears in the Disabled Application Add-ins list.  The Name column specifies the name of the assembly, and the Location column specifies the full path of the application manifest.
    In the Manage box, click Disabled Items, and then click Go.
    Select the add-in and click Enable.
    Click Close.
    Then you need to activate it. 
    To re-enable an add-in
    In the application, click the File tab.
    Click the ApplicationName Options button.
    In the categories pane, click Add-ins.
    In the details pane, verify that the add-in appears in the Inactive Application Add-ins list.  The Name column specifies the name of the assembly, and the Location column specifies the full path of the application manifest.
    In the Manage box, click COM Add-ins, and then click Go.
    In the COM Add-Ins dialog box, select the check box next to the disabled add-in.
    Click OK.

  • What the answer for this  error on a Macintosh system, the application can not open because "NameRegistryLib" could not be found

    what the answer for this error, the application could not open because the "NameRegistryLib" could not be found

    http://www.everymac.com/mac-answers/mac-os-9-classic-support-faq/run-macos-9-on- intel-macs.html
    http://www.macwindows.com/Emulator-for-Mac-OS-9-in-OS-X-updated-for-Mountain-Lio n.html
    http://hints.macworld.com/article.php?story=20060509180914879
    How to run Classic (pre OS X) apps on Intel Macs  

  • In perfdatasource querying for global snapshot failed with error 'the size limit for this '

    I received  scom alerts from two win 2k8 r2 servers , hosting exchange 2010 mailbox roles , the alerts came almost in same time from both servers ,
    can I ignore those alerts
    or can someone give a me a clue how can I troubleshoot those alert , please any help would be appreciated
    In PerfDataSource, querying for Global Snapshot failed with error 'The size limit for this '
    from Ops-mgmt logs 
    Log Name:      Operations Manager
    Source:        Health Service Modules
    Date:          
    Event ID:      10104
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:       server 1
    Description:
    In PerfDataSource, querying for Global Snapshot failed with error 'The size limit for this ' 
    One or more workflows were affected by this.  
    Workflow name: Microsoft.Windows.Server.2008.OperatingSystem.PercentMemoryUsed.Collection 
    Instance name: Microsoft Windows Server 2008 R2 Enterprise  
    Log Name:      Operations Manager
    Source:        Health Service Modules
    Date:          
    Event ID:      10104
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:       server 1
    Description:
    In PerfDataSource, querying for Global Snapshot failed with error 'The size limit for this ' 
    One or more workflows were affected by this.  
    Workflow name: Microsoft.Windows.Server.2008.LogicalDisk.PercentIdle.Collection 
    Instance name:  " edb file path "
    Log Name:      Operations Manager
    Source:        Health Service Modules
    Date:          
    Event ID:      10104
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:       server 2 
    Description:
    In PerfDataSource, querying for Global Snapshot failed with error 'The size limit for this ' 
    One or more workflows were affected by this.  
    Workflow name: Microsoft.Windows.Server.2008.NetworkAdapter.CurrentBandwidth.Collection 
    Log Name:      Operations Manager
    Source:        Health Service Modules
    Date:          
    Event ID:      10104
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:   server 2   
    Description:
    In PerfDataSource, querying for Global Snapshot failed with error 'The size limit for this ' 
    One or more workflows were affected by this.  
    Workflow name: Microsoft.ForefrontProtection.FPE.Server.PerformanceCollection.RealtimeScanMessageRate

    Hi Blake , 
    Thanks for your reply , I appreciate your help  ,
    I didn't put the alert from scom console because they were same as the events ( same source )
    Health Service Modules, I didn't want to spam
    more :-)
    also the two servers encountered the issue were mailbox servers and part of same DAG , it worth mention the alert were resolved
    by Exchange 2010 Correlation Engine service 
    http://blogs.technet.com/b/kevinholman/archive/2010/10/15/clustering-the-exchange-2010-correlation-engine-service.aspx
    http://support.microsoft.com/kb/2592561
    also the Opsmgmt logs are full of waring and error event like 2023 , 21402 ,  21403 , 1207 !!
    Log Name:      Operations Manager
    Source:        HealthService
    Date:          
    Event ID:      2023
    Task Category: Health Service
    Level:         Warning
    Keywords:      Classic
    User:          N/A
    Computer:      server 1
    Description:
    The health service has removed some items from the send queue for management group "SCOM" since it exceeded the maximum allowed size of 15 megabytes.
    1- alert from console >>
    In PerfDataSource, querying for Global Snapshot failed with error 'The size limit for this '
    One or more workflows were affected by this.
    Workflow name: Microsoft.Windows.Server.2008.OperatingSystem.PercentMemoryUsed.Collection
    Instance name: Microsoft Windows Server 2008 R2 Enterprise 
    EventSourceName: Health Service Modules

  • I cant install the new firefox 6 on my laptop because it keeps asking for the administrator password during the installation and i dont know what is it for this laptop

    i cant install the new firefox 6 on my laptop because it keeps asking for the administrator password during the installation and i dont know what is it for this laptop

    I read a way on another forum to fix this problem. Right click on the setup.exe and select "Run as administrator" this should solve your problem.

  • WHY? 3 out of 4 of my vimeo videos coming up with 'oops the embed code for this video isn't valid'!

    I have inserted my showreel, its working fine, but now I have tried to embed 3 others videos, they all come up with 'oops the embed code for this video isn't working'
    I really don't understand why?
    Holly

    Hello,
    How are you trying to preview the page ? "Preview"tab in Muse or Preview Page in Browser.
    Do you have any URL for us to see ? Please share the codes that you are using to embed the video.
    Regards
    Vivek

  • Hi!  I cant conect The face time betwen my iPad ,iPod and iPhone, please help me,what i need for this issue?

    Hi!  I cant conect The face time betwen my iPad ,iPod and iPhone, please help me,what i need for this issue?

    What is it doing when you try to facetime? also if you are using the same apple Id/email on each device, it wont work.

  • I can't synchronize my iPod's with my iTunes software (Windows Vista Home Premium) due to problems with the access authorization / rights for this operation

    Hi there,
    I'd like to ask you something:
    I'm trying to synchronize all my iPod's (I have as many as 4 iPods: 2 iPod touch a 8 GB each and 2 iPod classic a 160 GB each) with my iTunes software (Version 11.3.1 which is installed on a Windows PC (Windows Vista Home Premium)). Unfortunately, the iTunes software refuses to run the command "synchronize with the iPod connected" regarding each and every iPod I have. iTunes just declares:
    Synchronizing is impossible because I wouldn't hold the access authorization / rights for this operation.
    I uploaded the songs at issue to my iTunes folder from CD's (all songs are in AAC format now).
    What is this access authorization, why was something like that invented and what can I do to get it?
    How do I have to proceed in detail?
    What would it cost?
    I am brand new here and have never ever made a post in any support community anywhere in the world in my life. Well, and I am not excessively knowledgeable about the particular computer or mac language but I know the very basics or can find out about them.
    Anyways - can you help me please?
    If you can't help me, who can do so?
    It would be nice if you could answer me as soon as possible!
    Thank you guys
    Prying Pedro

    Yes, others have experienced the problem, a simple search of the forums would have revealed that and the simple solution.
    Termporarily disable any security software on the computer.

Maybe you are looking for