Multiple Effects in line // Effect.Move & updateContent

Hi all!
Could anybody kindly help me out? I'm totally confused about
how to reach the following function:
I want three actions to be made after another.
1.) Move the <div id="main> with Effect.Move to a
defined position, then...
2.) Update the Content of the element <div
id="content"> using Utils.updateContent , and if done...
3.) move the <div id="main"> to a defined position
again
The ele and url variables should be passed with the link to
start this function,
such as < onClick="myFunction('the_ele', 'the_url.php');
I could reach a little success, however without the first
effect, with this one, but how can i add the first effect here,
since Effect.Move does not support a "finish:"-function (afaik)?
<script language="javascript" type="text/javascript">
function myCtL(ele,url){
Spry.Utils.updateContent(ele, url, function()
{move_effect2.start();} );
</script>
Another possibility may be to make use of a cluster, but i
don't know how to pass the variables 'ele' and 'url' for the
UpdateContent function.
My Cluster-experiment did look like this, however without
success:
<script type="text/javascript">
UltraMove = function(element, options)
Spry.Effect.Cluster.call(this, options);
var StartMover = move_effect1;
var Update = Spry.Utils.updateContent(ele,url);
var EndMover = move_effect2;
this.addNextEffect(StartMover);
this.addNextEffect(CtLdr);
this.addNextEffect(EndMover);
UltraMove.prototype = new Spry.Effect.Cluster();
UltraMove.prototype.constructor = UltraMove;
</script>
As you will surely notice, i'm a newbie concernig ajax and js
and taking a closer look ath the samples and documents has
extremely confused me! :-)
Thanks in advance for any kind of help or hint!!!
Hardy

Hi Hardy,
The pattern you seek (effect, update, effect) can be seen in
this sample:
http://labs.adobe.com/technologies/spry/samples/utils/update_content.html
Basically you need to chain your events together by using
observers or callback functions. In the sample above, this function
shows the pattern:
function fadeIt(ele,url){
Spry.Effect.DoFade('apDiv1',{ duration: 500, from: 100, to:
0, finish: function() {
Spry.Utils.updateContent(ele, url, function() {
Spry.Effect.DoFade('apDiv1',{ duration: 500, from: 0, to:
100 });
The function above chains the events together by defining
callback functions for each step which then trigger the next step.
--== Kin ==--

Similar Messages

  • How do I create a similar line effect to this:

    I'm trying to figure out the best way to create a similar line effect to this in illustrator, any ideas?
    Thank you!

    Draw a black spikes (vertically), option drag a copy, make a blend specified steps.
    Copy paste in front, rotate 180 degrees, adjust position
    Draw a circle on top, use as a mask.
    Rotate all about 30 degrees.

  • How can I modify the Fit, Crop, or Ken Burns effect for the entire movie?

    How can I modify the Fit, Crop, or Ken Burns effect for the entire movie? I've been having to go through them all individually which takes forever.

    You could try  Edit > Select All  then click on the crop button and change the setting from Ken Burns to Fit.
    I find that this only works if you do not have the Automatic Cross Dissolve transitions in place.
    If you do, File > Project Theme and uncheck the transitions and remove them.
    After you have changed from Ken Burns to Fit, you can re-apply them.
    Easiest way in future is to set up your project (File > Project Properties) before you start adding photos.
    z.

  • After effects crashed every effects or click i do! HELP

    Hi guys i have a problem. everytime i open after effects, when i put a effect in a clip or i do a click to set something it crashes for some seconds, than it returns ok and do again. i have a Intel Core i7-3770 CPU with 8GB of RAM, and i have a Nvidia Geforce GT 640. Please help me

    What exact version of After Effects?After Effects CC (i don't know the version)
    Have you installed the recent updates? yes, i have installed all the updates of creative cloud
    What operating system? Windows 7 Professional
    If you are getting error message(s), what is the full text of the error message(s)? i don't get error messages, it crashes everything i do and than some seconds it returns normal
    What were you doing when the problem occurred? nothing, i sent a message here
    Has this ever worked before? If this worked before by doesn't work now, what has changed on your computer in the intervening time?yes it has. it hasn't changed nothing, i stasertes a new edit.
    Tell us about your computer hardware. Include CPU type and number of processor cores, amount of RAM installed, GPU, number of disk drives, and how any external drives are connected. i have a Intel Core i7-3770 CPU #3.40 GHz, 8gb of RAM and a GeForce GT 640.
    What versions of drivers for your graphics hardware do you have installed (including CUDA driver and driver for display adapter)?
    Do you have any third-party I/O hardware (e.g., AJA, Matrox, Blackmagic, MOTU)? i don't know where i can look.
    What kind(s) of source footage? When telling about your source footage, tell us about the codecs, not just the container types. For example, "H.264 in a .mov container", not just "QuickTime". ??
    Do you have QuickTime installed. (You should.) If so, what version? The answer should be specific, such as "QuickTime 7.6.2". I have the latest version of Quicktime, i don't know where i can look, i just installed it
    What other software are you running? skype
    Do you have any third-party effects or codecs installed? i have installed magic bullet, trapcode shine, shake, twixtor and twitch effects for AE
    Are you using OpenGL features in After Effects? i don't know.
    Does the problem only happen with your final output, RAM preview, or both? no, it only crashed while i'm rendering
    Are you using Render Multiple Frames Simultaneously multiprocessing? i don't know.
    Are you using the ray-traced 3D renderer? i don't know, again.
    If the problem is with output, give your exact output settings (both render setting and output module settings). Screenshots help. As i sayied, the output isn't the problem
    What is the exact sequence of steps that you are taking? -

  • Looking for a better resource to get a handle on using effects in after effects (CS6 BTW)

    Hello thanks for looking in,
    I would like to get better control over Zooming. The Zooming I found in AE did not function when
    dragged it into my effects controller...Is the only Zoom control really the "Scale" as found in Prem-Pro?
    I could not find it in AE. I wanted to zoom over the shoulder of my actor and concentrate on what my Actor is looking at/pointing at. I could not find where that effect is at in AE.
    If you know of a couple good tutorials to watch that show how to control the effecst in After-Effects it would be welcomed and appreciated. If you know the specific path to use to pan and
    zoom for my desired shot mentioned, that too would be appreciated. One other ? I skimmed through "Creative Cow" but there are many videos and after watching a couple that were titled what
    I want, were not what I was looking for. Spent an hour plus surfing before I came here to ask.
    Are some of the effects only applicable to one or the other? IE: Movies or stills? If so is there a
    manual that states what can be used with what? I tried dragging some of the effects into my effects area and they would not populate. IE: Zoom Forward. Only used for Text?
    Thanks for your time with this in advance.

    Start here to learn After Effects: http://adobe.ly/bjBT3P
    (That link is the direct link to the resources recommended on the thread that shooternz gave.)

  • Puddle and reflection effects in After Effects CS4

    I am currently using After Effects CS4 (will be upgrading to CS6 in a couple of days) and I am currently trying out a test project using basic lighting animation.  However, one element I want to create is a puddle on the ground.  I was wondering if anybody here could advise on creating a puddle and its effects in After Effects, such as wave movements, reflection (particularly background elements) and whether I should use the basic pen tool or use some sort of diffusion maps.  If I wanted to make things a little more complicated, then how can I create rain effects to hit the ground plane without it looking like a screen filter and have it influence the puddle?
    If any of you would be able to point me out to some other tutorials on the web, I would be very grateful for that.

    GenArts' Monsters GT has a Puddle 3D effect that is quite okay for that. Beyond that I don't see how we should advise specifically without a reference image. There's a million types of puddle from still and murky flat ones to deep asphalt holes to wavy large ones on fields and how "real" they look will ultimately depend on their context.
    Mylenium

  • MRP creating multiple delivery schedule lines in PR

    Hi,
    We have activated MRP (type PD) where Purchase requiesition is auto created by system for requirement quantity. We require to optimize delivery schedule in such a way that entire PR quantity is broken into various delivery schedule based on planned delivery time and requirement.  Scenario can be further explained with following example.
    Material Requirement for a month is say 1,25,000 units
    Closing Stock say 25,000 units
    PR Generated by system for 1,00,000 units. The entire quantity is schdulled with only one delivery schedule line as per planned delivery time. 
    The requirement is to generate multiple delivery schedule lines automatically in Purchase requisition based on planned delivery time so that Purchase orders can be placed with system generated delivery schedule lines.
    How can it be achieved ?
    Regards,
    Nirav Kinkhabwala

    Dear
    Are you dealing with Single vendor  where you want Multiple Schedule Line item through single PR  which should be generated through MRP run ??
    What you will have to do is to set up the Outline Agreement or Info Record for your vendor and material and then create the source record for this vendor- material relationship and make sure that this source record is set as MRP relevant. Once MRP is run, the vendor is automatically defaulted to your PRs. If in your material master, you have defined the same purchasing group for various material numbers, then with Transaction ME59, it is feasible that you can combine various PRs of the same purchasing group by flagging onto the 'Per Purchasing Group' indicator checkbox. Make a trial test and let me know how it goes.
    Or you can use Qouta arrabgement in that case for different vendor .Please refer : Multiple Requisition  line itme for Quota arrangement
    Just check and revert
    regards
    JH
    Edited by: Jiaul Haque on Dec 25, 2010 1:52 PM

  • Have multiple accounts, how can I move all products into one account?

    have multiple accounts, how can I move all products into one account?

    Backup Software Recommendations
    Carbon Copy Cloner
    Data Backup
    Deja Vu
    SuperDuper!
    Synk Pro
    Tri-Backup
    Others may be found at VersionTracker or MacUpdate.
    Visit The XLab FAQs and read the FAQ on backup and restore.  Also read How to Back Up and Restore Your Files.
    Or you can simply use the Restore option of Disk Utility to clone the drive to the backup:
    Clone using Restore Option of Disk Utility
    Open Disk Utility from the Utilities folder.
    Select the destination volume from the left side list.
    Click on the Restore tab in the DU main window.
    Check the box labeled Erase destination.
    Select the destination volume from the left side list and drag it to the Destination entry field.
    Select the source volume from the left side list and drag it to the Source entry field.
    Double-check you got it right, then click on the Restore button.
    Destination means the external backup drive. Source means the internal startup drive.

  • In COGI error text "Multiple assignment of line item"

    Hi Guru,
    In COGI error text "Multiple assignment of line item"
    Description:
    ultiple assignment of a line ID
       Message no. M7357
    iagnosis
       An item table, in which the line ID (LINE_ID)
       was transferred to the function module MB_CRE
    ystem Response
       Processing is terminated.
    rocedure
       Contact the system administration.
    rocedure for System Administration
       There is an error in the calling application.
    Please help me to resolved this issue.
    Thanks and regards
    PNU

    Hi,
    Thanks for reply,
    It is possible to remove material from COGI list. We need to stop creation of this error.
    Is there other solution to control creation of error  "Multiple assignment of line item"
    Thanx & regd.
    PNU

  • How do you  select multiple photos from photostream to move to a folder

    how do i select multiple photos from photostream to move to a folder in iphoto

    Hello Tiggertiffany,
    Thanks for using Apple Support Communities.
    If you need to select multiple items on iCloud.com then you can use the common procedure to select multiple items by either holding Command or Shift on your keyboard.
    To select multiple files or folders, hold down the Command (⌘) key, then click the items.
    To select multiple files or folders that are listed together, click the first item you want to select, hold down the Shift key, then click the last item.
    OS X Yosemite: select files or folders
    Have a great weekend,
    Alex H.

  • CKM3 - PPV analysis: split between exchange rate effect and price effect

    Dears,
    I need to verify how the purchase price variance (PPV) is calculated within the Material Ledger, specifically regarding the split between exchange rate effect and price effect.
    I found transaction CKM3 that display the exchange rate difference and the price difference (I think total price difference = exchange rate effect + price effect), but I still have some open points:
    - How CKM3 should works? I created some documents to test this transaction (goods receipt from purchase order and its invoice) creating a PPV with exchange rate effect and price effect (both) but in CKM3 the split is not shown, only the total PPV is shown at document level.
    - Is there same specific procedure to be followed? Is there other steps to be done before CKM3 is executed in order to split the PPV?
    and then
    - Is CKM3 the best solution to analyze the PPV within Material Ledger?
    Thanks and Regards,
    Jody

    Tnx Adi,
    this link is very helpful, now I've an idea about how the data should be shown in CKM3.
    But at the moment I replicated a similar case to the example mentioned in the link, and in CKM3 I see different values: all PPV amounts are only present in column "Price difference" without the part due to the exchange rate effect.
    Do you know if I need to execute a preliminary step before to execute CKM3? Or is there something to be set-up in custominzing in order to allow the correct population of the exchange rate price difference?
    Thanks & Regards,
    Jody

  • PCO 2.1 Error : there are multiple root elements Line 6, position 2

    HI all,
    I am getting an error while adding Destination for Notification.
    On the Destination Tab, I am able to create MII System as Destination. And expanding the newly created Destination, i can see a child node 'Destination'. While clicking on this child node, i am getting an error as "there are multiple root elements Line 6, position 2"
    Can anybody please help.
    Regards
    Muzammil

    Hi,
    While configuring MII Server details, instead of IP address of MII server, we gave domain name and it started working.
    Regards
    Muzammil

  • EFFECTS OF AFTER EFFECTS

    Adobes After effects is something which has been my favourite when it comes to creating motion graphics in the process of film making.
    Creativity is onething which gets stucked in my mind whenever i think of graphics.
    Based upon my knowledge and the craze of creating something out of my creative mind, I decided to make few videos out of after effects using some special effects.
    However in the process of creation, I faced 1 big problem and that is the rendering time. And few other times, the entire application got crashed all of a sudden again i had to restart the application. My search for the solution brought me upto this page. In the meantime I learnt 1 method of reducing the rendring time (atleast by 30%) and that is by the use of proxies inside after effects.
    Now comming to the possible effects you can create with after effects, theres no end to creativity, each one has varying degrees of creative ideas.
    Here below are the links to my creations:
    http://www.youtube.com/watch?v=MSVI0JmlVgA
    http://www.youtube.com/watch?v=CLgWexcsw-E
    http://www.youtube.com/watch?v=TaEXq1qpHok
    http://www.youtube.com/watch?v=NZ8H5tuRBvA
    http://www.youtube.com/watch?v=3X7Ffga0Rnk
    http://www.youtube.com/watch?v=K1D_Ykiw2ho
    http://www.youtube.com/watch?v=BZ7bhAov-jI
    I am in need of suggestions and some tips so that i can improve my creativity and come up with some of the best possible effects with after effects.

    No.
    Help us help you: FAQ: What information should I provide? I mean, at the very least we would need to know what the text of the errors says. It wouldn't hurt if we also knew the exact version number of Premiere, AE, and your OS.

  • Converting multiple points to line

    Hi All
    I have table consist of point data.. how to convert multiple points to line data.. if anyknows pls tell me ..
    Thak you

    user13340372,
    . . . .Are you trying to draw a line between 2 points or draw a line connecting N points?
    How to Create a Line From 2 Points_
    . . . .You could use the SDO_Geometry constructor. For example, if you have a table POINTS defined as (ID NUMBER, FromPt SDO_GEOMETRY, ToPt SDO_GEOMETRY), then you could:
    SELECT 
        SDO_GEOMETRY(
        'LINESTRING ('||
        -- concatenate coordinates from FromPt
        REPLACE(REPLACE(p.FromPt.Get_WKT(), 'POINT (', NULL), ')', NULL)||','||
        -- concatenate coordinates from ToPt
        REPLACE(REPLACE(p.ToPt.Get_WKT(), 'POINT (', NULL), ')', NULL)||')'
        ---  SRID
        , 4326)
    FROM
        POINTS p;              
    How to Create a Line From N Points_
    . . . .In a "connect-the-dots" puzzle, you draw lines from one numbered point to the next numbered point. There, the numbers define how points are related. If you dont have that information, then you need to decide how you want your points connected. Here are a few options - your requirements should indicate which (if any) is suitable:
    . . . .(a) Draw Arbitrary Linestring Through Points: user10278189 already posted that PL/SQL solution (above).
    . . . .(b) Connect Nearest Neigbors: set CURRENT_POINT to a point (e.g., bottom-left). Then identify its nearest-neighbor (hereinafter, "NextPoint") using SDO_NN. Flag NextPoint as "visited" and set CURRENT_POINT to NextPoint. Repeat until all points in the point-set are flagged as "visited." The result ( which depends on the starting point ) is a linestring connecting all points (a "line" is only between 2 points; a linestring is between 2 or more points). This requires PL/SQL.
    . . . .(c) Draw Along Shortest Distances: Create a table containing: FromPt_ID, toPt_ID and distances between each pair of points. (If you do this via a cross product, remove rows where FromPt_ID = ToPt_ID.) Begin connecting the points with the minimum distance from the last "visited" point (as before, flag the points that have been used as "visited"). The result of this operation is the shortest linestring connecting your point-set. This requires PL/SQL.
    . . . .(d) Outline Set of Points: You could also use the SDO_GEOM.Sdo_ConvexHull function to create polygon that encloses your point set, and then use SDO_UTIL.PolygonToLine to turn that area-geometry into a line-geometry. This can probably be done in a single statement.
    . . . .(e) Others (TSP, spanning tree, etc).
    Regards,
    Noel

  • Is it possible to create this type of  EFFECT in After Effect

    http://www.simonbronson.com/#326097/hmv-xmas-2009
    Is it possible to do This type of Graphic Effect in After Effect..?

    I assume that you're referring to the twisty 3D ribbons.
    Zaxwerks 3D Serpentine is good for that:
    http://zaxwerks.com/3dserpentine/index.shtml

Maybe you are looking for

  • Invoices not flowing to RMCA

    Hello Experts, i had a requirement, where profit center was missing for contract and invoices. I had written a program, now profit center is getting updated succcessfuly but when  in VF02  i am releasing any inovice to RMCA ... i am getting a standar

  • Urgent help need to compress 4 hrs of footage onto 1 dvd

    hi people any one know the settings i will need to compress 4 hours of footage onto a single layer dvd? the footage is of a seminar so not much action but will still need best quality possible have been using compressor 2 and got a complete head ache

  • How to get the whole attachment as a MimeMessage?

    I'm finding a way to deal with base64 encoded .eml attachment. I need to parse it to MimeMessage for further process    for (i=0; i<part.getCount(); i++) {         currentPart = (MimePart) part.getBodyPart(i);         if ( file extension is .eml ) {

  • When Charging my Iphone 5's volume and sound goes away

    Sometimes it will come back, but usually the option for volume changes go away.

  • Embed Playbar in SWF

    Hello, Thanks in advance for any and all assistance on this. In Captivate 1.0, the playbar for a SWF file was automatically embedded in the final SWF file. I'm now using Captivate 3, and while I generally enjoy having the separate skin SWF generated,