Is there a setting that makes the exported animation loop?
How do I duplicate layers or element layers? What do you call them anyway?
How do I lock or unlock, view or hide all of the layers other that the one I have selected like I can in Illustrator?
Here is a sample: http://www.idugsf.com/_e_dheyes/DavidEyes_Edge01.html
where I want to duplicate the eye but can't find the control
<script language="JavaScript">
$(window).ready(function() {
$.Edge.symbol.get($("#stage"))._getTimeline("Default Timeline").addObserver({ onComplete: function() {
$.Edge.symbol.get($("#stage")).play("Default Timeline");
}});
});
</script>
hope the next release have "ctrl+d"for duplicte layer![]()
Minor mod (bodge?) to the javascript loop function to give a set number of loops:
<script language="JavaScript">
max_loop=4;
count=0;
$(window).ready(function() {
$.Edge.symbol.get($("#stage"))._getTimeline("Default Timeline").addObserver(
{
onComplete: function() {
count++;
if(count< max_loop) {
$.Edge.symbol.get($("#stage")).play("Default Timeline");
}
}
}
);
});
</script>
Did you have an answer to the questions: Re: How do I loop an Edge animation? How do I Duplicate Layers? How do I loop an Edge animation? How do I Duplicate Layers in Edge?
Or is "?" the answer?
Hi....
OK....cause I really don't know code.....
per our attached code for looping, is this "Windows" relevant... will it work on a Mac and Windows?
And where ould I insert this code in my source code?
I am going to try to play this on a PC laptop....but since it is .html I assume it will work on either?
Thanks
@fvrw It goes in your html file just before the </head> tag, something like this:
<!DOCTYPE html>
<html>
<head>
<title>Untitled</title>
<!--Adobe Edge Runtime-->
<script type="text/javascript" src="edge_includes/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="edge_includes/jquery.easing.1.3.js"></script>
<script type="text/javascript" src="edge_includes/edge.0.1.1.min.js"></script>
<script type="text/javascript" src="edge_includes/edge.symbol.0.1.1.min.js"></script>
<script type="text/javascript" charset="utf-8" src="html5_test01_edge.js"></script>
<link rel="stylesheet" href="html5_test01_edge.css"/>
<!--Adobe Edge Runtime End-->
<!--Adobe Edge Loop script -->
<script language="JavaScript">
max_loop=4;
count=0;
$(window).ready(function() {
$.Edge.symbol.get($("#stage"))._getTimeline("Default Timeline").addObserver(
{
onComplete: function() {
count++;
if(count< max_loop) {
$.Edge.symbol.get($("#stage")).play("Default Timeline");
}
}
});
});
</script>
<!--Adobe Edge Loop script End -->
</head><body>
<div id="stage" class="symbol_stage">
</div>
</body>
</html>
Hope this helps.As we have said in a number of different messages, this is simply a first
preview. There are a ton of things that you would expect to be in the
product that are not there yet. Rest assured that we are working on
adding looping and a number of other critical features to future previews
of Edge.
Thanks for trying out Edge!
Mark
This has been a good forum for getting feedback. Looking forward to seeing how the final version of Edge will work. I like it so far, but still leaves a lot to be desired. For one- importing audio, and allowing for more than one track to be imported. Auto page turn affects and some other functions like shading gradients, and maybe even a little 3D effects thrown in for good measure. But I am sure you guys are on it.
Thanks for the responses.
I think this should work to loop your animation: (in Preview 3)
Create a trigger at the very end of your timeline, and add the following code to your custom function:
// When this trigger is hit, restart the timeline by // calling play with a time offset of zero. this.play( 0 );
More here:
http://blogs.adobe.com/adobeandjquery/2011/10/04/adobe-edge-preview-3- available/
FOUND THE ANSWER!!!!!!!
New to Preview 3 is the addition of code snippets. These are little pieces of JavaScript code that can be added to your movie for common tasks such as looping. In this exercise you are going to do just that. When the movie finishes you want to loop back to the 5-second point on the Timeline. Here's how:
Handling the "complete" event is the best way to to loop if you indeed want to loop once the timeline is done with the animation.
One step that is not necessary is step 1. You don't have to have the playhead anywhere in particular to handle a timeline event.
Mark
From: Adobe Forums <forums@adobe.com<mailto:forums@adobe.com>>
Reply-To: "jive-919121375-98qy-2-2ewcw@mail.forums.adobe.com<mailto:jive-919121375-98qy-2-2ewcw@mail.forums.adobe.com>" <jive-919121375-98qy-2-2ewcw@mail.forums.adobe.com<mailto:jive-919121375-98qy-2-2ewcw@mail.forums.adobe.com>>
Date: Wed, 30 Nov 2011 05:13:45 -0800
To: Mark Anders <anders@adobe.com<mailto:anders@adobe.com>>
Subject: Re: How do I loop an Edge animation? How do I Duplicate Layers? How do I loop an Edge animation? How do I Duplicate Layers?
Re: How do I loop an Edge animation? How do I Duplicate Layers?
created by ryganley<http://forums.adobe.com/people/ryganley> in Edge Preview - View the full discussion<http://forums.adobe.com/message/4054352#4054352
I tried your routine but instead of the window that has "complete" I saw
So seeing how I want the animation to start running I selected "loaded". I then clicked on, "Play" and entered, "
// play the timeline from the current position
this.play(5000);
When I clicked "command" + "return" I got:
Error 404: Not Found
File not found
I tried opening the .html and it only played part of the animation and stopped.
Hi David, I'm not sure what you're saying. You say "I saw" but I'm not sure what you saw.
Mark
From: Adobe Forums <forums@adobe.com<mailto:forums@adobe.com>>
Reply-To: "jive-150047975-98qy-2-2f4f5@mail.forums.adobe.com<mailto:jive-150047975-98qy-2-2f4f5@mail.forums.adobe.com>" <jive-150047975-98qy-2-2f4f5@mail.forums.adobe.com<mailto:jive-150047975-98qy-2-2f4f5@mail.forums.adobe.com>>
Date: Mon, 5 Dec 2011 11:36:54 -0800
To: Mark Anders <anders@adobe.com<mailto:anders@adobe.com>>
Subject: Re: How do I loop an Edge animation? How do I Duplicate Layers? How do I loop an Edge animation? How do I Duplicate Layers?
Re: How do I loop an Edge animation? How do I Duplicate Layers?
created by David Healy<http://forums.adobe.com/people/David+Healy> in Edge Preview - View the full discussion<http://forums.adobe.com/message/4064801#4064801
Not sure if this is what you're after or not, however, with the timeline placed at the end of the animation, I inserted a timeline action by clicking the "open timeline actions" button, then, inserted a "complete" function, with a "play" command, which is play the master timeline.
Hope that helps. Cool app.
s
North America
Europe, Middle East and Africa
Asia Pacific
Copyright © 2012 Adobe Systems Incorporated. All rights reserved.
Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy (updated 07-14-2009).