Using setTImeout to create effect of dealing cards

As my code stands right now, I can deal cards to the proper
location and move at a steady speed, but they all move at the same
time. Now, I want to add the effect of them being dealt by using
the setTimeout method to offset the times they are dealt. However,
when I call the setTimeout method, it only works on the last card
and jumps the card to its destination instead of slowly moving it
there as if it were dealt. Figure A shows my working code without
the setTimeout method, and Figure B shows my code with the
setTimeout method.
I have a hunch that it is not working either because it
overwrites the myTimeout variable that holds the setTimeout id, or
because of the this (i may need to create an empty movie clip on
the root timeline to hold the value of setTimeout) in the
setTimeout line, but I do not know why it removes my tween effect.
My motion code can be seen in FIGURE C.

By the way, these function are members of my TexHoldem class.
I've read a bunch of posts about how to use the setTimeout
function, but I'm not sure if I'm doing it correctly inside of a
class.
In my latest attempt, I tried creating a controller that
would hold the instances of the timeouts incase they were
overwriting themselves on the timeline, but I get the same results.
Here is that code (snippet of entire code, under if (seat >=10)
statement in distributeHoleCards function.
I've also tried to create an array which would store the
intervals so they would not be destroyed, but still no luck.

Similar Messages

  • Created effect on clip in timeline. Want to save it for use later..

         I realize I can't drag a clip from the Timeline into the Event Library. So frustrating. So how do I go about setting that clip aside with the effects I have applied so I can use it later in various places in my timeline. I don't want it in the timeline now. I want to use it later with the effects I have created, or is that not possible?

       I can't seem to do any of that in the event library. As far as I can tell, I can only add effects to clips in the timeline.  I have the clip in the timeline and I have created effects. Now I want to remove it from the timeline and not lose the time I have spent creating those effects. I don't want it cluttering up my timeline and I don't want to have to redo all the effects. Is there no way to do this? I'm assuming not.  I did find that I could create another event and copy/paste a clip into the event and "save" for later use that way, which seems a really lousy kludge.
       If I'm correct that there is no way to save a clip from the timeline for later use, do you think this is just a temporary failing or just part of the way FCPx will always work. I am continuing to explore how FCPX deals with editing and playing with unimportant footage and keep hitting walls like this. I try to figure out if it's just a paradigm shift I need to make but things like this and the inability to copy/paste attributes and such just make me crazy. I'm working hard to move from the unsupported FCPStudio and I know that Premiere will have its own "make me crazy" issues but these limitations as compared to FCP Studio are really frustrating and I just can't tell when I run into problems that will be addressed in a .X release vs problems that are simply "how it's always going to work in FCPX".

  • Create/Change Sales Deals using VB21

    Hey All-
    Currently we have BDC to Create/Change Sales Deals using tcodes VB21 and VB22.Now we have decided to use any standard Function Module/BAPI in place of BDC because of performance issue.
    I was trying with function module 'RV_CONDITION_COPY''RV_CONDITION_SAVE', 'RV_CONDITION_RESET' and  'Commit Work' ,but don't see any sales deals are creating.I see records updates table 'A501','KONH' and 'KONP' without Sales Deals Number.If anyone of you resolved the issue,Can you please post me the sample code?Thanks
    Thanks,
    Sony

    Thanks Mishara..I did the same way,but still did not work..
      wa_komg-matnr = e_material.
      wa_komg-vkorg = e_sorg.
      wa_komg-meins = 'EA'.
      wa_komg-vtweg = '10'.
      wa_komg-spart = '10'.
      wa_komg-zzshiptype = e_shiptype."'D'.
      wa_komg-waerk  = 'USD'.
      wa_komg-mfrnr = e_mfrnr.
      wa_kona-boart = 'ZNSC'.(Type of Sales Deal)
      wa_kona-botext = 'Test for ZNSC'.
      wa_kona-abrex = e_mfrnr.
      wa_kona-vkorg = e_sorg.
      wa_kona-vtweg = '10'.
      wa_kona-spart = '10'.
      wa_kona-abtyp = 'C'.
      wa_kona-kappl = 'V'.
      wa_kona-kobog = 'ZNSC'. (Type of Sales Deal)
      wa_kona-bukrs = '1000'.
      wa_kona-waers = 'USD'.
      wa_kona-datab = e_date_from.
      wa_kona-datbi = e_date_to.
      wa_kona-ernam = sy-uname.
      wa_kona-erdat = sy-datum.
      wa_kona-erzet = sy-uzeit.
      it_komv-kappl = e_appln."V.
      it_komv-kschl = e_condition."ZE8P(condition type)
      it_komv-kpein = '1'.
      it_komv-waers = 'USD'.  "gw_t001-waers.
      it_komv-kmein = 'EA'.
      it_komv-kbetr = e_amount.
      it_komv-krech = 'C'.
      wa_pispr-matnr = e_material.
      wa_pispr-vkorg = e_sorg.
      wa_pispr-vtweg = 10.
      wa_pispr-spart = 10.
      CALL FUNCTION 'SPR_KOMK_KOMP_FILL'
        EXPORTING
          pi_i_spr  = wa_pispr
        IMPORTING
          pe_i_komk = komk
          pe_i_komp = komp.
      CALL FUNCTION 'RV_CONDITION_COPY'
        EXPORTING
          application                 = e_appln
          condition_table             = '501'
          condition_type              = e_condition
          date_from                   = e_date_from
          date_to                     = e_date_to
          enqueue                     = 'X'
          i_komk                      = komk
          i_komp                      = komp
          key_fields                  = wa_komg
          maintain_mode               =  'A'
          no_authority_check          = 'X'
          keep_old_records            = 'X'
         used_by_idoc                = 'X'
          i_kona                      = wa_kona
          overlap_confirmed           = 'X'
          no_db_update                = space
        IMPORTING
          e_komk                      = komk
          e_komp                      = komp
          new_record                  = new_record
        TABLES
          copy_records                = it_komv
         copy_recs_idoc              = it_komv_idoc
        EXCEPTIONS
          enqueue_on_record           = 1
          invalid_application         = 2
          invalid_condition_number    = 3
          invalid_condition_type      = 4
          no_authority_ekorg          = 5
          no_authority_kschl          = 6
          no_authority_vkorg          = 7
          no_selection                = 8
          table_not_valid             = 9
          no_material_for_settlement  = 10
          no_unit_for_period_cond     = 11
          no_unit_reference_magnitude = 12
          invalid_condition_table     = 13
          OTHERS                      = 14.
        CALL FUNCTION 'RV_CONDITION_SAVE'
          TABLES
            knumh_map = lt_knumh_map.
          CALL FUNCTION 'RV_CONDITION_RESET'.
          COMMIT WORK.
    Please,let me know where I am doing the mistake...Thanks

  • HT2534 I just create a new ID, but after verified my email add, I still can't use my new ID neither with credit card nor none. I just stuck at review my account step, please advise.

    I just create a new ID, but after verified my email add, I still can't use my new ID neither with credit card nor none. I just stuck at review my account step, please advise.

    What do you mean 'give me an example please' ? And 'dont have use a credit card' ?
    Unless you follow the instructions on this page when creating a new account : http://support.apple.com/kb/HT2534
    then you will need to enter credit card details before the account can be used in the store.
    If you don't have a credit card then you will need to create a new account, but this time follow the instructions on that HT2534 page when creating it. If you want to use the same email address then you will need to replace it on that account first e.g. via the Store > View Account menu option on your computer's iTunes, http://appleid.apple.com, or by tapping on it in Settings > iTunes & App Store on your phone.

  • HT201251 I want to use 30  ipads to run kiosk software in my restaurant. Can I use one Apple ID (and one credit card) for all devices

    I want to use 30  ipads to run kiosk software in my restaurant. Can I use one Apple ID (and one credit card) for all devices?

    Alternatively you can always manage your iPads (does not matter how many) with a single apple id and all reporting to your account under "find my device" service. Keeping an eye on all your units. Additionally as you mentioned these are for your Restaurant you may find the solutions offered by this company who creates apps and hardware for this purpose: http://www.spartakioskpro.com
    Additionally if you expand beyond those 30 iPads to say 300 you will want to enable or plan on MDM as your best option to automate every ipad to use the same profile and app and ios configuration while also keeping a close eye on all of them via online MDM services like: https://meraki.cisco.com/products/systems-manager
    Here is a pic

  • Using RoboHelp to create online tutorials?

    Our company currently uses RoboHelp to create our Help
    Systems. As a training developer, who has used a course authoring
    software package for the past five years, I was wondering if
    RoboHelp would be a good environment to develop training tutorials.
    I love the fact that you can search and index the help systems and
    thought the potential may be there to search for information within
    tutorials as well.
    I know Captivate is the software simulation product, however
    a lot of our training material is either mainly text, or numerous
    screen shots showing an individual how to use an application.
    As I am new to RoboHelp, does anyone have any advice?
    Thanks in advance.

    Like Colum, welcome to the Forums!
    (The following assumes the WebHelp Pro scenario you outlined)
    >>>1. How do I set the window to have the right
    frame display initially, without the left index frame? I want to
    leave the index frame so that the user can access it if neccesary.
    1. Make sure WebHelp Pro is your primary layout.
    2. Create a new Window, call it OnePane and select the
    tickbox in Window properties for One Pane and click OK. (This means
    the Navigation pane (Contents, Index, Search, etc.) are hidden when
    first launched.
    3. Bring up the WebHelp Pro single source layout wizard.
    4. Tick the box: Show navigation pane link in topics (this is
    what allows the user to opt to see the Index and navigation pane if
    they want.
    5. Be sure to select "OnePane" as your default window you
    just created and complete the wizard to publish.
    6. Caveat: There is a shortcoming when you view locally from
    the authoring machine. You will not be able to see the effects of
    your changes. These can only viewed in a web browser pointed to
    your actual WebHelp Pro site.
    7. Publish to the RoboEngine server to view all the changes
    you made and notice the "Show" link that allows the user to reveal
    the navigation pane.
    >>>2. Our Help System is in HTML, but I am thinking
    of using WebHelp Pro (from a dedicated server). When I View Primary
    Layout, the index frame and button at the top of the form do not
    display. I get the yellow box located just below the Internet
    Explorer toolbar saying 'To help protect your security, Internet
    Explorer has resticted this file from showing active content that
    could access your computer. Click here to for options....'. That
    could be a real pain for 1200 users. Is there a way to if off for
    RoboHelp WebHelp Pro?
    I believe you may be encountering something that is only seen
    by you because you're viewing it locally. When published, the user
    would not see this. To remove this annoying message, go to Internet
    Options > Advanced > scroll down to Security and tick the box
    "Allow active content to run on My Computer." (Also, for more info,
    do a search in the forums for "Mark of the Web")
    >>>3. Can I create my own skin?
    Sure. Use the WebHelp skin editor as you normally would. Give
    the skin a name and use it when you publish.
    Hope this helps.
    John

  • HT204053 using apple i d without a credit card # to change in the account settings

    using apple I D without a credit card # how do i change it in the account settings

    Hi bmxcraig,
    If you have questions about setting up an Apple ID without credit card billing information, you may find the following articles helpful:
    Apple Support: Creating an iTunes Store, App Store, iBooks Store, and Mac App Store account without a credit card
    http://support.apple.com/kb/HT2534
    iTunes Store: Changing account information
    http://support.apple.com/kb/ht1918
    Cheers,
    - Brenden

  • Can I use iWeb to create a website with visitor purchasing options?

    I'm wondering if it's possible to use iWeb to create and publish a website for a small business like mine where visitors to the site can select items and have the option to make credit card purchases from the site. Obviously all the security for online purchasing would need to be there also. Is iWeb capable of that or does Apple offer a different web page software that can do this?
    Thanks to anyone who can help,
    jburkett

    jburkett wrote:
    Is iWeb capable of that...?
    Welcome to the discussions. Not natively.
    ...or does Apple offer a different web page software that can do this?
    As far as I know, Apple has no s/w offerings of that sort. Bear this in mind when considering e-commerce and the MobileMe Service:
    “The Service is designed for personal individual use and is not intended to be used for commercial business purposes, including, but not limited to, transacting online sales or software distribution via an e-commerce site.”
    ...Quoted from the MobileMe Terms of Service. PayPal buttons can be inserted into iWeb pages via the HTML Snippet window — but you may want to consider more complete alternatives such as this:
    http://blog.weebly.com/2/post/2009/05/announcing-weebly-e-commerce-features.html
    ...You could hyperlink from iWeb to your "shop" there and there's even a way to hyperlink to it from iWeb's navigation bar.

  • I can't use American Greetings Create and Print with Firefox 4

    When I try to use American Greetings Card Create & Print it calls for installing a plug in from Mozilla, but when I try to instal that plug in I get a window saying it is not compatible with Mozilla or Firefox 4. How can I keep Firefox and also use American Greetings Create & Print ?

    When I try to use American Greetings Card Create & Print it calls for installing a plug in from Mozilla, but when I try to instal that plug in I get a window saying it is not compatible with Mozilla or Firefox 4. How can I keep Firefox and also use American Greetings Create & Print ?

  • Using Pantone Colour as Effects in Illustrator CS5

    Hello.
    I have create a swoosh for a clients logo and to cut down on production cost I have created a two colour option (pantone).
    The design is using the following effects Drop Shadow, Outer Glow & Feathering. To maintain the brand colours I have select the a pantone colour as an  effects fill colour.
    But when I do an "Output Preview" in acrobat I can see that the Illustrator effects has turn the pantone in to proccess colours. Can some one adivce how to work around this issues?
    Kind Regards
    Nick

    Thanks for your quick reply, I have uploaded screen shot showing the process I used to apply the effect.
    Also I have uploaded a screen shot showing "seperates preview"
    The screen shot below shows the CMYK plate turned off, where you can clears see the shadow and feathering and glow disappears.
    Do you know whats causing this?

  • Using CS5.5 Master Collection for MAC, I can't use "Replace with After Effects composition"

    Using CS5.5 Master Collection for MAC, I can't use "Replace with After Effects composition" because I updated AE to CS6 (but only AE). Even that AE CS 5.5 is still installed, it won't connetct.
    How can that be fixed?
    Thanks a lot for any suggestions.

    Thanks for the answer: I tried different ways (after I read your suggestion) but it always changes back right away ... I can't change it.
    Am 16.01.2013 um 03:04 schrieb Jim Simon:
    Re: Using CS5.5 Master Collection for MAC, I can't use "Replace with After Effects composition"
    created by Jim Simon in Premiere Pro CS5, CS5.5, & CS6 - View the full discussion
    Maybe try associating AE project files with 5.5 instead of 6.
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/4997081#4997081
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4997081#4997081
    To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4997081#4997081. In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Premiere Pro CS5, CS5.5, & CS6 by email or at Adobe Community
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • How to use CSS to create horizontal nav bar in Dreamweaver CS6

    How to use CSS to create horizontal nav bar in Dreamweaver CS6

    One of the ways to do it is this: Tryit Editor v1.9
    You can also use floats to get something to the same effect.

  • I use imovie to create videos. When I burn the video to DVD and play it back there is digital breakup in the playback from the DVD It does not shoe in p[layback on the computer. I understand there isd some file I need to delete and reboot the imovie to co

    I use imovie to create videos. When I burn the video to DVD and play it back there is digital breakup in the playback from the DVD. The digital breakup does not show in playback on the computer. I understand there is a file I need to delete and reboot the computer and imovie will rebuild the file in the program. Help!

    My method is to use the DAW in standard recording mode, and set up the camcorder entirely separately.  After recording, I automate the audio mix with fader moves and effects, then export ("bounce to disk") a full-fidelity AIFF, 16-bit 48 kHz stereo file (most videos use 48, not 44.1).  I use iMovie '11 to import the video from the camera, then import the stereo audio file and match it up to the camera audio by dragging it into the iMovie Project.  Make the waveforms visible, it's not too hard to align.
    Then, use iMovie's "Export as Quicktime" feature.  Here, by going through the menus and options, you can control the audio compression (for example, 256k instead of 128, although 128 seems to be enough for YouTube).
    AppleMan1958 posted a YouTube video about controlling iMovie's export options that may help:
    http://www.youtube.com/watch?feature=player_embedded&v=vJg-909lx2s#!

  • I am using using IDVD to create slide shows.  When viewed on my computer the pictures are clear and of high quality.  When I burn the slide show to a disk and play it back, the pictures are blurry and of poor quality.

    I am using IDVD to create slide shows.  When viewed on my computer, the pictures are clear and of high quality.  When I burn the slide show to a disk and play it back, the pictures are blury and of poor quality.  Is there a setting that controls the quality of the burn and if there is, where do I find it?  Thank you.

    The Mac software - iPhoto, iMovie, and iDVD are not the best with the Ken Burns effect (zoom in/out effect), so you might want to minimize that effect; also, if your subjects are wearing stripes for instance, that will have an effect if you zoom. There is better software available for slideshows; however, I do not know of any that is free (and does a good job). I've used Photo to Movie for some time; it does a fine job even in HD, but you have to pay for it. I use iDVD extensively, but only to add a menu, theme, special effects, etc. and then to burn it.

  • HT1918 how to add debit card to iTunes account or create account without credit card

    how to add debit card to iTunes account or create account without credit card?

    Debit cards are no longer accepted in the iTunes Store, it seems. The current valid payment methods are listed here:
    http://support.apple.com/kb/HT5552
    Using a debit card in any online service where it stores your card is a bad idea in any case since if someone gains access to your account in the service, they can quickly drain your bank account. Credit cards limit your liability, as do prepaid iTunes cards.
    Regards.

Maybe you are looking for