Edge Animate CC :: How To Use Cookies To Control Which Part Of The Timeline To Play From

Nov 4, 2013

I have created an animation with Adobe Edge. My site uses Concrete5 and I am pulling in the Edge content into an IFRAME on my home page. I want the animation to play from the start when someone first visits the site, but if during their browser session they navigate back to the home page, I want the animation to only play a shorter segment of frames near the end.
 
My question is, how do I use cookies to acheive this? I'm new to javascript/jquery.
 
I've included the following code on compositionReady, (found in another post on this forum) but don't have a clue how to continue...
  
// insert code to be run when the composition is fully loaded here yepnope(   {     nope:[       '/js/jquery.cookie.js'     ],   complete: init   } ); function init() { //create your cookie's initial values here } My temp site is here -[URL]
 
On revisting the homepage, I only want to play from when the green button drops in.

View 3 Replies


ADVERTISEMENT

Edge Animate CC :: How To Play A Symbol Timeline From Main Timeline

Jan 7, 2013

Ive created a box, turned it into a symbol called box,Inside box i have a left to right animation with auto play turned off.I then went back to the main stage, clicked the box, added action, on click to play, yet it does nothing.How do i Play the symbols timeline?

View 1 Replies View Related

Edge Animate CC :: Play Timeline From Inside Symbol

Oct 13, 2013

I saw a post on this issue but was not sure where to put the code I read there. how exactly to edit this code line to work
 
I am inside a symbol "oneAnimation". At the end of the animation "backBtn1" appears. Inside this button, I have added an event on click. I want the stage timeline to play from the label "startNumber" when this button inside the symbol is clicked.
 
So far it's not jumping back to the main time line.
 
sym.getComposition().getStage().play("startNumber");

View 5 Replies View Related

Edge Animate CC :: Get Button To Play Timeline For Specified Length Of Time

Feb 27, 2014

I have an animation in Edge, and I'm trying to make a button that can play the timeline for a specified amount of time and then stop, without the aid of labels. So, I figured if i set the button to sym.getSymbol("mysymbol").play(500);  it would make the timeline of that symbol play for 500 milliseconds each time the button is clicked, but it is not working, as this makes the whole thing simply start playing at 500ms. So I then tried adding a stop action after this: 

sym.getSymbol("mysymbol").play();
sym.getSymbol("mysymbol").stop(500);

But this didn't work, because I guess since these events are one after the other, it doesn't wait 500 seconds to stop, and it reads stop(500) immediately after the play instruction, so that didn't work either. I'm pretty new to javascript, but I've been really trying to learn it along with the Edge API for a couple weeks now and still can't seem to solve this problem.

View 14 Replies View Related

Edge Animate CC :: Using An Audio Clip To Control Timeline

Mar 13, 2014

I have a composition which has two pieces of VO. Each has an associated text block.I want to play the first VO when the first text is clicked. Then, when the VO ends, I want the first text block to fade out, the second to fade in and play the second VO when tapped.
 
I have the timeline set up with labels to play through the transitions at the end of the first VO. No issues there.I have the audio playing when I click on the text blocks. All good.However, I do not know how to make the timeline wait for the audio clip to end before playing.This is the code for the first text block:
 
sym.$("RUP01_Nar_1")[0].play();
sym.play('Nar2');
 
This plays the audio but also plays the timeline instantly (so the text blocks fade from one to the other as soon as the audio starts).
 
I figure I need some sort of code in between which says, essentially, 'wait until the audio finishes then [play timeline]'. But as much i have searched I cannot find anything to do that.

View 3 Replies View Related

Edge Animate CC :: Control Video Timeline In Adobe

Aug 30, 2013

if it's possible to control a html5 video in Edge ?For example, I added a html5 video with the video tag and I want the video to play and stop after 20 seconds. Then, plays some animation on my edge timeline. I suppose the video must be controlled with Javascript ?

View 4 Replies View Related

Edge Animate CC :: How To Set And Read Cookies

Dec 31, 2012

writing and reading cookies using adobe edge.

View 4 Replies View Related

Edge Animate CC :: Play An Animation By Click And Then Play Reversed By Clicking Again?

Aug 15, 2013

...like a menu popping out and going back again.

View 7 Replies View Related

Edge Animate CC :: Symbol Timeline Versus Stage Timeline

Apr 3, 2014

If I have a symbol with its own timeline, I am familiar with targeting it with otehr elements and symbols and activating that timeline. But the symbol will also have a presence on the stage timeline - how does one play that?
 
I might be overcomplicating it, I thought it might just be play() on the main stage but that doesn't appear to work, neither does getStage.play() so I am doing something wrong somewhere

View 2 Replies View Related

Edge Animate CC :: Control Edge Symbols From External JavaScript?

Jan 9, 2013

I have come across about a dozen similar discussions, but most have presented solutions that worked in earlier versions of Edge and no longer work.
 
I am trying to use Edge to build animations that can then be integrated into larger non-Edge projects. I would like to then be able to control the Edge timeline or Edge symbols from elements OUTSIDE of Edge, such as another link or button in the page.
 
I cannot seem to figure out how to properly reference the Edge stage or symbols.
 
I have come across several proposed solutions for referencing Edge stage, such as:    
 
     var comp = AdobeEdge.getComposition("EDGE-966604542");
     var stage = comp.getStage(); 
     var comp = $.Edge.getComposition("EDGE-966604542");
     var stage = comp.getStage();      
     var comp = Edge.getComposition("EDGE-966604542");
     var stage = comp.getStage();
 
     and these either DO NOTHING or throw errors about either AdobeEdge or Edge or comp being undefined.

View 7 Replies View Related

Edge Animate CC :: Play One Symbol After Other

Nov 26, 2013

In my Composition there some cases I have to play one symbol. In a few cases it is necessary two play sequential e.g. symbol A an then symbol B. It have to look like one animation. Is there an easy way of calling?

View 19 Replies View Related

Edge Animate CC :: Won't Play On Older Browsers?

Jun 18, 2013

I've created an Edge animation (marquee) banner for a site I'm working on, but when I check it on older computers (for example XP running IE7), all I see is a large white rectangle where the marquee is supposed to be. A

View 5 Replies View Related

Edge Animate CC :: Play One Symbol And Hide All Others?

Feb 26, 2013

I'm building an animated menu in the latest version of Adobe Animate. There are 5 different animations that happen within the same box on the main stage. I have made each animation it's own symbol. I want to trigger the animations from text boxes to the left of the box where the main animation takes place. The text boxes are not apart of any of the symbols, but are just on the main stage.
 
When someone scrolls over any of the individual text boxes i need to play one symbol's timeline AND hide all of the other symbols from the stage.

View 3 Replies View Related

Edge Animate CC :: How To Play Reverse Between Label A And B

Sep 2, 2013

I have a symbol,some timaline and labels in it.so now I want to play reverse between the Label A and Lable B but the action syntax is like

test1_play.playReverse();
 
so how can I play reverse rom LableB to LableA? 
 
sym.playReverse ( position, executeTriggers )

position defaults to the current playhead position (which defaults to 0); If play is issued and the playhead is at the end of the timeline, play from the end.executeTriggers can be true, false, or null and indicates whether triggers at the starting position are fired:true - all triggers at the starting position are fired.false - no triggers are fired at the start point.null, undefined or omitted - triggers are fired at the starting position only if the timeline is being played for the first time, or if the starting position is different than the current playhead position as returned by getPosition().Description: Play the default timeline in reverse from the given position given in milliseconds (if position is a number) or as a label (if position is a string).

View 1 Replies View Related

Edge Animate CC :: Play Button With Audio And With Symbols

Apr 22, 2013

So my animation is a song and I'm doing like a video clip with interactivity (the interactivity is not inside at the moment).I need to have  a play button so we can see (heard) on iPhone, iPad...
 
My problem is that the animation begin immediately behind the play button and before I press it.So the song and the animation are not synchronize.I try many things to stop the animation but nothing is working.

View 2 Replies View Related

Edge Animate CC :: Play Function From External Link?

Dec 13, 2012

I have created an animation and I would like clicking on a button (javascript) that is within the outer body, start the animation.

View 1 Replies View Related

Edge Animate CC :: Play Reverse And Continue From A Point

Jan 15, 2014

I have and element and what I'm trying to do when I click on this element, it starts to play reverse the timeline for 1 sec and after that it continues to playing the timeline from an other point.

View 3 Replies View Related

Edge Animate CC :: Click And Play Action Is Not Working?

Apr 12, 2014

I am creating a slide show and I added a stop and click to play action so it is interactive so the user must click to go to the next slide.  The stop is working but the click an day is not when I preview in the browser?

View 4 Replies View Related

Edge Animate CC :: Clicking Twice On Pause / Play Button

Mar 16, 2014

I have made a pause and a play button to my slideshow.The pause button is just a boks with the click-action code:
 
sym.$('btn').click(function(){
          sym.stop();
});
 
The pause button is a boks with the click-action code:
 
sym.$('btnPlay').click(function(){
var timelinePos = sym.getPosition();
          sym.play(timelinePos);
});
 
It works but in the beginning, I have to click twice before the function works. It is only the first time. After that everything works fine.

View 2 Replies View Related

Edge Animate CC :: Text Animation Does Not Play In Firefox

Aug 6, 2013

I created an Edge Animate document and it has text animations where the text fades in and out. Now it works fine in IE and Chrome but not FireFox. All the text displays all at once in a jumbled mess.

View 2 Replies View Related

Edge Animate CC :: How To Hide Symbol On CreationComplete Within VID Play

Oct 16, 2013

All- I have a symbol on the main stage called "Con-main" that has a symbol inside of it called "VID-PLAY".  I have a symbol inside of "VID-PLAY" called "RC-VID"
 
I'm trying to hide this symbol on creationComplete within VID-Play
 
sym.getComposition().getSymbol("CON-MAIN").getSymbol("VID-PLAY").$("RC -VID").hide(); //DOESN'T WORK
 
sym.getComposition().getStage().getSymbol("CON-MAIN").getSymbol("VID-P LAY").$("RC-VID").hide();  //DOES NOT WORK
 
what am i missing?

View 4 Replies View Related

Edge Animate CC :: Flip Symbol Horizontally On Play-reverse

May 29, 2013

I'm doing an animation where I have a 2d side scrolling concept.
 
I have a side scrolling world with road, and the user controls a car driving left or right from one area to the other.  The user controls the direction of the car via keydown (arrow keys).
 
Now the problem is, if the user presses right, then it works fine and the car drives forward to where I want it to stop.  But if the user presses left to go back to a previously visited area...the car reverses to the previous area.
 
The way the keydown events control the timeline is simply if the user presses the right arrow key I simply call sym.play(); and when the user presses the left arrow key I call sym.playReverse();
 
how I can manage to either swap the car symbol with another symbol...or flip the car symbol 180 degrees.
 
The desired effect is, if I call the play action the car must face right > and when I can the playReverse action the car must face left <

View 4 Replies View Related

Edge Animate CC :: Insert An Audio While Play Back An Animation?

Dec 30, 2013

How do I insert an audio while you play back an animation?

View 2 Replies View Related

Edge Animate CC :: Audio Does Not Play On Mobile Phones And IPod?

Jan 28, 2014

I have uploaded an edge animate cc published html with sound. The html file opens perfectly on my mac pro safari browser perfectly with audio. But when I open the same file on my iphone5 the file opens but no the audio does not play.

View 4 Replies View Related

Edge Animate CC :: Adding A Play / Pause Button Into An Animation

May 15, 2013

I have an animation that runs for around 2 minutes. I want to add a button that the user can click to pause/play this animation if they want extra time to read the content on screen. I'm not sure how to tell a button to pause at the current frame and resume when clicked by the user. The button will also need to change states from a pause image to a play image when clicked and vice-versa.

View 8 Replies View Related

Edge Animate CC :: Play Random Symbols When Button Is Clicked

Oct 7, 2013

I have a dozen or so animated symbols on the stage and I'd like a randomly called one to play each time users click a button.

View 6 Replies View Related

Edge Animate CC :: The Sound Will Only Play On Firefox And Not Internet Explorer?

May 16, 2013

Ive made my entire web page its work great in Mozilla firefox broswer. Although when  I  view the page in Internet Explorer the sound and music dont play. heres a link to my page.
 
http:[url].....
 
heres the link to download the Edge files of my project.
 
https:[url].....

View 2 Replies View Related

Edge Animate CC :: Stop Timeline Via JS?

Feb 2, 2013

I´m using Edge for couple of days and start to work with and I love it. Now I´m trying to build a slide animation, so the content moves from right to left and vice versa.The controller goes with buttons.
 
I'm not very good with JS, but for now I got it to move the content from left to right. Now what I want is, to stop the timeline if a certain label is reached.
This is my code for the buttons if click:
 
var myLabelLocation = sym.getLabelPosition("");
if (sym.getPosition() < 2000) {
   sym.play(myLabelLocation);
}
if (sym.getPosition() > 2000) {
   sym.playReverse(myLabelLocation);
}
 
I like to say if the playhead reached 2000ms oder the label "team", than stop!

View 4 Replies View Related

Edge Animate CC :: How To Make Scrollbar Timeline

Mar 6, 2014

whats the best way to make scollbar timeline?
 
so when im scrolline to the right or left side , the timeline follows!
 
id tried some different way ,but i dont think its good.
 
1 way was. on my stage in scroll:
 
var animationWidth = 5000;
var stageWidth = sym.$("Stage").width();
var scrollPos = sym.$("Stage").scrollLeft();
var duration = sym.getDuration();
var percent = scrollPos / (animationWidth-stageWidth);
var time = duration * percent;
// Update timeline
sym.stop(time);
 
it works but is giving me double scroolbar and the second scrollbar is scrolling out of the "stage"!
 
2- way i tried was:
 
// insert code for scroll event here
var myCalc = e.currentTarget.scrollLeft/(e.currentTarget.scrollWidth-e.currentTarg et.clientWidth);
var pos = Math.round( myCalc * sym.getDuration() );
sym.stop(pos);
 
[Code]...
 
also working but same result as last.

View 1 Replies View Related

Edge Animate CC :: Reversing A Symbols Timeline?

Oct 22, 2013

I need to activate a timeline event on a symbol with a button press on another object, then when the button is pressed again, reverse the timeline event. This will have something sliding in and out of the stage.
 
If the animation is placed right at 0.00 and there's nothing else, then this code works OK:
 
if (sym.getPosition() == 0)
{
sym.play();
}
else
{
sym.playReverse();
}
 
However there is other animation that plays automatically on page load, then a trigger stops all animation. The animation I need to trigger is a couple of seconds later bracketed by labels 'start' and 'stop'. So I need to code the button A to get the symbol B and animate from 'start' to 'stop' and then wait. Then on a further press to animate from 'stop' to 'start'. But I'm damned if I can get anything to work.

View 4 Replies View Related

Edge Animate CC :: How To Cut The Timeline Back To The 9 Second Mark

May 22, 2013

I have made a 9-second animation but, somewhere along the line, the timeline has  acquired another 15 seconds of blank space.  Is there any way to cut the timeline back to the 9-second mark?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved