Using code to save a lot of time

Hey all
This is a what I am working on at the moment:
https://www.dropbox.com/s/x86laqtic481wpc/homepage.zip
This is an animation that has a object that slides over, then a text box comes up and waits for a while.
The problem is that there will be six different animations all in one (10 seconds each with a final time of 60 seconds)  and i would rather program in some code such as:
if current time < 10
     then use this image and this image
else if current time > 10 and < 20
     then use this image and this image
and so on...
Also I would like a similar function for the previous and next buttons
if current time < 10
     then prev button moves current time to 0
     then next button moves current time to 20
else if current time > 10 and < 20
     then prev button moves current time to 10
     then next button moves current time to 30
and so on...
Is it possible to code this in instead of duplicating all the animation 6 times over?
the animation paths themselves are always the same.
Thanks!

Hey all
This is a what I am working on at the moment:
https://www.dropbox.com/s/x86laqtic481wpc/homepage.zip
This is an animation that has a object that slides over, then a text box comes up and waits for a while.
The problem is that there will be six different animations all in one (10 seconds each with a final time of 60 seconds)  and i would rather program in some code such as:
if current time < 10
     then use this image and this image
else if current time > 10 and < 20
     then use this image and this image
and so on...
Also I would like a similar function for the previous and next buttons
if current time < 10
     then prev button moves current time to 0
     then next button moves current time to 20
else if current time > 10 and < 20
     then prev button moves current time to 10
     then next button moves current time to 30
and so on...
Is it possible to code this in instead of duplicating all the animation 6 times over?
the animation paths themselves are always the same.
Thanks!

Similar Messages

  • Page using Coolite Combos take a lot of time to load

    I´m using a WEB page that use Coolite combos (now Ext.Net controls). These combos has around 400 to 500 rows of data (aroud 50 bytes each row).
    If I use Google Chrome (last version) or Internet Explorer 8 the page is loaded inmediatly, but using Firefox 3.6.18, 4.0 or 5.0 take a lot of time, between 7 and 20 seconds to load. The load indicator (a green circle) freeze also.
    If you need, I can publish a sample page with the Coolite combos, please say me if you need it.
    Thanks in advance, Jose

    Try posting at the Web Development / Standards Evangelism forum at MozillaZine. The helpers over there are more knowledgeable about web page development issues with Firefox. <br />
    http://forums.mozillazine.org/viewforum.php?f=25 <br />
    You'll need to register and login to be able to post in that forum.

  • Trying to save A LOT of time with this...please help!

    You guys are going to think I'm crazy
    I love my bass guitar, and also my new Mac. So I decided I'd make some practice scales and stuff to follow along with in GarageBand. That was two days ago; I've made over 1000 scales since then. (I got to be pretty quick: I can make 15 scales in about 3 minutes.)
    Here was my idea: make some scales at a comfortable tempo, play along with them until I've done all of them, increase the tempo by 10bpm and play them all over again. Repeat until 240bpm is reached.
    It's going to take me probably another day to finish all the scales I have in mind. After that I just kind of thought that once they were made it'd be no big deal to go through and change the tempo on all of them and re-share them to iTunes. WRONG, the fastest way I can think of would be to remake all of them again. That is something I do NOT want to do. Which leads me to my question (finally):
    Is there ANY way to change the tempo of multiple, separate songs, simultaneously? or even outside of GarageBand? (or even writing a short program that autonomously changes a line of code in each song file to alter the tempo?) And, is there anyway to mass-share a bunch of garageband files to iTunes so I don't have to open each one up individually?
    I hope those questions make sense. In case anyone needs to know, I used a software instrument in the creation of the scales. Thanks to anyone who considers my problem here!

    They can if they login into adobe and create a free adobe account.
    Several people have requested the ability to share and comment without an Adobe ID.  Please add your vote and opinion: Lightroom Mobile: Client commenting, rating and liking collections without Adobe ID

  • Procedure using cursor loop is taking lot of time!!

    Dear All,
    I have an existing procedure which works on top of a cursor which fetches around *4,00,000* records.
    I have to loop through each record and make it go thru IF..ELSIF block of seven conditions.
    And within each IF..ELSIF block condition, i'll have 2-3 select queries on tables accessed via DB links, and then if the values fetched via these queries match certain conditions data willl be inserted into a table and commited.
    Running one IF..ELSIF block separately takes around two seconds at the max.
    This procedure keeps running for around *4 hrs* and then gives an error as
    ERROR at line 1:
    ORA-01555: snapshot too old: rollback segment number  with name "" too small
    ORA-06512: at "<procedure name>", line 47
    ORA-06512: at line 1
    Then i used BULK COLLECT with limits 2000 and 500, and in both the cases i have never been able to completely run the procedure, as it takes more then 6 hrs and some or the other problem comes up.
    And the problem is i cannot run it in a TEST env as the tables are huge, and have no option except to try it in Production environment.
    I have a feeling that i have not been able to gather the correct info from the error mentioned above.
    DB Version:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
    PL/SQL Release 10.2.0.4.0 - Production
    CORE     10.2.0.4.0     Production
    TNS for HPUX: Version 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.0 - Production
    Thanks in advance!!

    user11089213 wrote:
    Dear All,
    I have an existing procedure which works on top of a cursor which fetches around *4,00,000* records.
    I have to loop through each record and make it go thru IF..ELSIF block of seven conditions.
    And within each IF..ELSIF block condition, i'll have 2-3 select queries on tables accessed via DB links, and then if the values fetched via these queries match certain conditions data willl be inserted into a table and commited.Sounds like it would be better written as one select with joins and case statements and then used within a multi-table insert statement...
    e.g.
    INSERT ALL
      WHEN <condition> THEN
      WHEN <condition> THEN
      WHEN <condition> THEN
    SELECT ...http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_9014.htm#i2121682

  • Why don't the ratings transfer when upgrading Lightroom to a new version? I no longer can sort using ratings--which took a lot of time to create.

    I have given many of my photos ratings, but the ratings don't come over when upgrading Lightroom to the newest version. Anything I can do to recreate my ratings?

    Press CTRL+SHIFT+DEL, change the top option to '''Everything '''and in the bottom menu, checkmark '''Cache '''(uncheck all the others). Then click '''Clear Now'''.
    Then go to '''Tools''' | '''Options '''| '''Advanced '''and in the Network tab | Offline Storage menu, click '''Clear Now'''.
    Then go to '''Tools '''| '''Options '''| '''Privacy''', click '''Show Cookies '''button and delete the cookies for lumosity.com.
    Then try again.

  • Data load taking lot of time

    Hi All,
    I am trying to upload 2LIS_02_SCL data, I am trying to refresh the entire data using Init, it is taking lot of time in Prodcution. This is creating the problem for me for next Back ground Job which runs in the night for delta's. Please can anybody guide me how to speed up the load? This datasource is connected to 2 Infocubes and 1 ODS.
    Regards,
    Rajesh

    Hi Sal,
    I have done the same things as you said, my mistake is
    R/3:
    Locked all R/3 users.
    Deleted from LBWG.
    Filled setup tables using Document Date from 2006 to 2008 (Month wise i have filled).
    BW:
    I have cleaned entire data from 0PUR_C01 and 0PUR_C04.
    Loaded data at a time to 2 Cubes and 1 ODS using Init upload.
    It is started taking long time. Actual problem is load was not finished at the time of Daily load Process Chain starts(Night).
    I have cancelled the job. made available only delta to Process Chain.
    Now problem is escaled, again i started today same Init for 1 Cube only, again taking long time.
    Regards,
    Rajesh

  • Xcelsius with BW Queries taking a lot of time to open/save/publish

    I have recently designed my first Dashboard using Xcelsius 2008(5.3.0.0, Build Number 12.3.0.670) connected to BW queries(we are on 7.01 SP 5) using SAP Netweaver BW Connection. While the file size jumped from 3MB(before connecting to BW Queries) to 88 MB (after the connections to BW queries). I have 10 Bex Queries embedded in the Dashboard and every time I'm trying to open the Xcelsius file, it takes a lot of time(as long as 15 minutes) and even if I make a small change and save it, it takes another 15-20 muntes and while Publishing it to BW role it is taking another 15-20 minutes.
    I'm sure we are missing something here and thus running it to this issue. Can someone throw some ideas please?

    Try installing Fix Pack 3.4 on your XCelsius designer. How many rows do your queries fetch?
    Regards,
    Stratos
    PS: 88 MB is not a normal file size. My experience is that the size of a "healthy" dashboard should be less than 1.5 MB

  • FBL3N T-code takes lot of time to produced output.

    Hi expert,
    FBL3N T-code takes lot of time to produced output.
    and many times accure TIME_OUT Runtime error.
    REgards,

    Hi Vivek,
    When you run the T-code FBL3N , Monitor SM50 and check the tables and run the statistics on the specified tables using Db20 t-code.
    Refer to below link for more information.
    http://help.sap.com/saphelp_nwpi71/helpdata/en/45/d59f51b3735594e10000000a1553f7/content.htm
    Also
    Refer to Note 1135916 - Line items: Help for analysis for long runtime
    Check whether a suitable database index has been created in the dictionary (transaction SE11 -> indexes). If no index has been created, create the corresponding index and activate it.
    Possible fields may be:
    BSIS/BSAS:  MANDT, BUKRS, HKONT, BUDAT
    BSIK/BSAK:  MANDT, BUKRS, LIFNR, BUDAT
    BSID/BSAD:  MANDT, BUKRS, KUNNR, BUDAT
    Regards,
    Sravanthi
    Edited by: Sravanthi.sap on Jan 9, 2012 10:17 PM

  • I had a drive failure and lost the iWeb file along with other things.   I did manage to save a lot of user file documents but I don't see or   recognize the my iWeb site file. It was on a 15" G4 Titanium pb. I'm trying to find a way, using version 2.0.4

    I had a drive failure and lost the iWeb file along with other things. 
    I did manage to save a lot of user file documents but I don't see or 
    recognize the iWeb site file. It was on a 15" G4 Titanium pb.
    I'm trying to find a way, using version 2.0.4 of iWeb on a different 
    pb to recover the file into the iWeb app or a way to download the site into iWeb.
    There are 6 pages of images and text, and it 
    would be a task for me to recreate the whole thing again. I did 
    download the site but I don't know how or if I can get iWeb to see it and open it.
    Does anyone have any knowledge about this? The link to my site:
    <http://web.mac.com/danauerbach>
    Any suggestions will be most appreciated.
    dan auerbach
    [email protected]

    Unfortunately iWeb cannot read or import previously published files, only generate them.  You'll have to recreate your site from scratch.
    However, Chapter 2.3 on the iWeb FAQ.org site has tips on using some of the existing files, image, audio, video, etc., from the published site in the recreation of the site.
    OT

  • Create Timer Jobs dynamically using code (on the fly)

    What I am trying to accomplish here is different from the usual "Create and deploy a new custom timer job". So please co operate.
    Scenario : I have around 200 lists in my site. Each list gets its data from a third part web service (cutom code / not BCS). The data retrieval happens via Timer Jobs. The Timer Jobs call the web service, gets the fresh data and updates the
    list items. This is currently working fine with multiple lists and 1 timer job to refresh the data.
    Problem : Now the issue I am facing is, each of the lists have its own Refresh Frequency. Say List 1 to 30 needs to be refreshed every 5 mins. List 31 to 60 every 10 mins, etc. I am currently handling this by having a RefreshLastRun timestamp.
    This works fine in most of the scenarios - unless the Web service returns large data, in which case it takes more than 5 to 10 mins for the Update to complete on 4 to 5 lists. At the same time, the other lists - they were supposed to be updated 5 mins ago,
    but are still waiting to get updated because the timer job is busy updating another list, and the refresh is in Que. This is a completely unaccepatable solution to my client because the list with lower frequency duration (5 mins) is of a higher priority than
    the lists getting refreshed every 10 mins.
    My Question is : How do I create a new Timer Job for each list? Whenever I add a new list (through code), I want to create a Timer Job at the same time, which will take care of refreshing the data in this and this list only. This way, I will
    have a independent Timer Job for each list and dont have to depend on 1 timer job to take all the load. With this approach I will have 200 timer jobs running. Which is OK with my client. So I create one class inhereting from SPJobDefinition class, and
    use it repeatedly to create unlimted timer jobs?
    I hope I am able to convey the message. My Timer Jobs are working fine. I dont need suggestions on how to get the timer job working etc. My question is, how do I create a new Job Definition dynamically through code (no deployment).
    Hanif

    I'm afraid this leads to a path where you create a single timer job (or windows service) that uses parallel programming (tpl) to handle all the lists. However, that places a huge burden on you to manage schedules, monitoring etc., something the timer job
    framework handles for you.
    Kind regards,
    Margriet Bruggeman
    Lois & Clark IT Services
    web site: http://www.loisandclark.eu
    blog: http://www.sharepointdragons.com

  • Ipad2 gives me ""accessory is not supported" message w/ VGA adapter that I used lots of times before. Now it's not working. Why? and how do I get it back to normal functioning?

    Ipad2 gives me ""accessory is not supported" message w/ VGA adapter that I used lots of times before. Now it's not working. Why? and how do I get it back to normal functioning?
    I used the (Apple branded) VGA adapter lots of times last year. Now I got back to one place I used it many times and it does not work. When I restart iPad with the adapter connected, I get the "accessory is not supported"message. But that same accessory WAS supported before.
    This is very annoying as I planned a whole bunch of presentations starting this week to do with my iPad2 and that adapter.

    I received the same error message, "Accessory Not Supported"  from both the VGA and DV video adapters I purchased, both were boxed direct from Apple. However, to bypass this problem I  simply clicked on Photos icon on iPad2 and flipped through photos until it displayed on my projector.  I then exited the Photos app and my home screen displayed fine on the projection screen.
    Some logic issue with the video adapters, but launching Apple Photo app initializes the video adapters then they work fine for mirroring after that.
    Platform: iPad2
    IOS: 5.1.1
    Best regards!

  • I use an external hard drive as a Time Machine back up, but I want to use another external hard drive to save movies, photos on it, but it won't give me the option to save anything on the new external hard drive. Nothing is wrong with the external hard.

    I use an external hard drive as a Time Machine back up, but I want to use another external hard drive to save movies, photos on it, but it won't give me the option to save anything on the new external hard drive. Nothing is wrong with the external hard. 

    Hi Clarkett99,
    To use an external hard drive for your iTunes library, see the steps in this article -
    iTunes: Back up your iTunes library by copying to an external hard drive
    http://support.apple.com/kb/HT1751
    iPhoto can be used in a similar way, follow the steps in this previous discussion -
    how do I save photos and their albums...: Apple Support Communities
    https://discussions.apple.com/thread/3744259
    Thanks for using Apple Support Communities.
    Best,
    Brett L

  • I use itunes on a Dell XPS502 with W7/64. In some cases have have problems to import CD's. The sound is very disturbed and the import need a lot more time than in normal cases. Is there a problem between itunes W7/64 or a known hardware issue?

    I use itunes on a Dell XPS502 with W7/64. In some cases have have problems to import CD's. The sound is very disturbed and the import need a lot more time than in normal cases. Is there a problem between itunes and W7/64 or a known hardware issue?
    Example-CD : "Tracy Chapman , Telling stories" is not able to import . I have more such negative cases. But in other cases it works fine and the sound is great.
    The firmware at the inbuild CD/DVD DS-6E2SH is the latest version.
    What can I do??

    hi b noir,
    I don't no about virtuel drives like you mententioned. In the mean time I have rebooted the XPS and run again the iTunes diagnostics. I think the back - chance in the registry was not ready to use.  Now there are another results. They are the same in case of a running CD or a not running CD. The difference in total is like before. It takes more time that iTunes reads the (bad) CD and at the there is no good sound. In both cases ( running or not running CD) iTunes diagnostics gives as a result :
    (the copie from ITunes shows the result of the not running CD from Tracy Chapman)
    Microsoft Windows 7 x64 Ultimate Edition Service Pack 1 (Build 7601)
    Dell Inc. Dell System XPS L502X
    iTunes 10.3.1.55
    QuickTime 7.6.9
    FairPlay 1.11.17
    Apple Application Support 1.5.2
    iPod Updater-Bibliothek 10.0d2
    CD Driver 2.2.0.1
    CD Driver DLL 2.1.1.1
    Apple Mobile Device 3.4.0.25
    Apple Mobile Device Treiber 1.55.0.0
    Bonjour 2.0.5.0 (214.3)
    Gracenote SDK 1.8.2.457
    Gracenote MusicID 1.8.2.89
    Gracenote Submit 1.8.2.123
    Gracenote DSP 1.8.2.34
    iTunes-Seriennummer 00D7B2B00CD25750
    Aktueller Benutzer ist kein Administrator.
    Aktuelles Datum und Uhrzeit sind 2011-06-11 19:33:22.
    iTunes befindet sich nicht im abgesicherten Modus.
    WebKit Accelerated Compositing ist aktiviert.
    HDCP wird unterstützt.
    Core Media wird unterstützt.
    Info zu Video-Anzeige
    NVIDIA, NVIDIA GeForce GT 540M
    Intel Corporation, Intel(R) HD Graphics Family
    **** Info für externe Plug-Ins ****
    Keine externen Plug-Ins installiert.
    iPodService 10.3.1.55 (x64) arbeitet zurzeit.
    iTunesHelper 10.3.1.55 arbeitet zurzeit.
    Apple Mobile Device service 3.3.0.0 arbeitet zurzeit.
    **** CD/DVD-Laufwerkstests****
    LowerFilters: PxHlpa64 (2.0.0.0),
    UpperFilters: GEARAspiWDM (2.2.0.1),
    D: PLDS DVDRWBD DS-6E2SH, Rev CD11
    Audio-CD im Laufwerk
    11 Titel auf der CD gefunden, Spieldauer: 42:07 auf Audio-CD
    Titel 1, Startzeit: 00:02:00
    Titel 2, Startzeit: 03:59:47
    Titel 3, Startzeit: 07:19:27
    Titel 4, Startzeit: 11:31:30
    Titel 5, Startzeit: 15:31:50
    Titel 6, Startzeit: 20:07:50
    Titel 7, Startzeit: 24:27:15
    Titel 8, Startzeit: 27:49:10
    Titel 9, Startzeit: 32:41:25
    Titel 10, Startzeit: 35:29:65
    Titel 11, Startzeit: 38:38:00
    Audio-CD erfolgreich gelesen (Suche nach alter Firmware).
    Laufwerksgeschwindigkeit erfolgreich erkannt
    Die CDR-Geschwindigkeiten des Laufwerks sind:  4 10 16 24
    Die CDRW-Geschwindigkeiten des Laufwerks sind:  4
    Die DVDR-Geschwindigkeiten des Laufwerks sind:  4
    Die DVDRW-Geschwindigkeiten des Laufwerks sind:  4
    After starting the import it is going slower and slower. If it is helpful I can send you a soundfile with these distortions.
    best regards
    tcgerd

  • I just buy an Ipad2, and I am not able to use my Apple ID to download Apps. Each time, a window open and ask me to fill my billing informations (my Security Code). The problem is every time I put this number and click ''done''...say contact Itunes support

    I just buy an Ipad2, and I am not able to use my Apple ID to download Apps. Each time, a window open and ask me to fill my billing informations (my Security Code). The problem is every time I put this number and click ''done''...say contact Itunes support

    Contact iTunes:
    Apple - Support - iTunes - Contact Us

  • My ibook keeps shutting down completely with the date to reverting back to 1969.  i restart only after i plug in charger it lets me, then change date and save.  the next time i use same thing happens, safari, iphoto, email are the only ones i have used.

    my ibook keeps shutting down completely with the date to reverting back to 1969.  i restart only after i plug in charger it lets me, then change date and save.  the next time i use same thing happens, safari, iphoto, email are the only ones i have used.
    please help!  i am at a loss here.
    thank you, movie lady
    ibook g4

    The iBook does not have a backup (PRAM) battery. It only has the main battery and a small capacitor which maintains the settings long enough to do a battery swap. If the battery is dead, what you are seeing can happen.
    If the battery is not a problem (or even if it is), you could try resetting the PMU and see if that helps.

Maybe you are looking for