Edge Animate CC :: Setting JavaScript To Make Falling Snow?
May 24, 2013
I have managed to make a flake in Edge to flash randomly after following a tutorial on lynda.com
My javascript knowledge is fairly limited but I used the following code on a trigger inside the flake symbol I made:
var randomFrame = Math.floor(Math.random()*5000);
var maxWidth = $('#Stage').width();
var randomX = Math.floor(Math.random()*maxWidth);
var randomY = Math.floor(Math.random()*300);
sym.play(randomFrame);
var myName = sym.getSymbolElement();
$(myName).css({'position':'absolute','top':randomY+'px','left':randomX +'px'});
This all works as a randomly appearing flake which doesn't look like snowfall. How to make the symbol float down from the top of the stage and repeated lots of times to look like snowfall?
View 1 Replies
ADVERTISEMENT
Nov 4, 2013
I'd like to make an animation on which one can simply see snow falling down. I know this is easy to do with the CC Snow Effect. But what I didn't find an answer to is: I want to make the snow stay on the ground so that in the end the ground is covered by snow.
View 3 Replies
View Related
Oct 16, 2013
I'd like to animate snow falling. I assume Edge would be able to do this. Will it be possible to add it as a background? Or would it just be easier to add the effect to the top graphic portion of my page? I've used Edge back when it first came out. But havent' touched it in a while. I'm now working "in the Cloud". and I do use Dreamweaver.
View 5 Replies
View Related
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
Mar 11, 2013
i've been trying to get this going for a week now and I am still unable to access the Edge Animate instane through Javascript.
Here is the error I always get Uncaught TypeError: Object #has no method 'getComposition'
And my code
<!DOCTYPE html>
<html>
<head>
[Code]....
It's weird that the documentation recommends using the following which wouldnt run at all: Edge.getComposition( compId )
View 1 Replies
View Related
Dec 10, 2013
I just made my first edge animate project and made a progress loader animation. Works well.When i placed the code in the site the animation was always on, so i've hidden the item in css
#Stage { display:none; }
When my animation is needed i'm making is visible however the animation has already been started in the background so wont begin the right place. I'm wondering should i stop the stage autoplay in the config and then start the animation in JS? If so how can i go about starting the animation via JS.
I've been playing around with AdobeEdge.bootstrapCallback but cant seem to get it to play.
View 2 Replies
View Related
May 15, 2013
I think I've found a bug via Adobe Edge.
If you have a symbol that has some labels as such
then you add that symbol to stage and have the following code in document.compositionReady
var mySymbolObject = sym.getSymbol("HoverExample");
var targetElement = mySymbolObject.$("backing");
targetElement.css({"background-color":"#111111"});
where mySymbolObject is the symbol on the stage, backing is a rectangle div and the color is different than the original color in the symbol then you add the following code for hitbox (rectangle div that is alpha 0) under Hitbox.mouseover
sym.stop("over");
the end result is that the css from the project, in this case the red background color, gets reapplied on mouseover despite me changing the color on startup.
View 7 Replies
View Related
Feb 18, 2013
I have the following code and seem to have no success.
comp.getStage().$('LabelName').css('color', '#FFFFFF');
View 2 Replies
View Related
Jul 12, 2013
Is it possible to target adobe edge build from an external Javascript file? For instance, I click a button outside of the edge animate project and javascript tells Edge animate to "play()". What would that syntax be?
View 1 Replies
View Related
Mar 11, 2013
I'm trying to create all kinds of functions on an external .js file, so I can just call them in Edge multiple times with less coding. The thing is, after importing jQuery and my external Javascript file, some code works, but I get stuck at this part: changing the .css property of a symbol, more specifically, the "font-size" property. My current function is:
function setFont(textid,fontsize,originalWinWidth){ //textid: symbol's name; fontsize: current font size of this symbol; originalWinWidth: window size at the start of the animation
console.log("Set Font:");
//set the original font size
var originalFontSize = Math.round(originalWinWidth/fontsize);
console.log("Original Font Size: " + originalFontSize);
console.log("Text ID: " + textid);
//set the font size using jquery
sym.$(textid).css("font-size", originalFontSize); }
I get an error at the last line, all other parts of the code works.
View 2 Replies
View Related
Jul 13, 2013
How to publish/ include my Edge animation which has an audio element (included via the buzz javascript library) to Wordpress. Thus far Ive been uploading Edge animations as .OAM's using Edge Suite plugin for Wordpress. However, when I upload the file, there is no audio so Im at a loss on this one.
View 1 Replies
View Related
Nov 27, 2011
I can create basic animations and use layers to some degree. I'm using GIMP 2.6. I want to create falling snow on a small picture I've already created.
View 4 Replies
View Related
Dec 10, 2013
I'm having a hard time illustrating two things: (1) grass (2) falling snow.
View 7 Replies
View Related
Oct 5, 2011
Is it possible to get written instruction on moving falling snow for pse 9 / mac.
View 4 Replies
View Related
Sep 19, 2013
How to make a triangle?? is it like indesign of illustrator...while deleting a anchor or something...and how?
View 1 Replies
View Related
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
Nov 7, 2013
I'm having trouble making my project fit all screens.
This is my project link: [URL]
I've made this project 7000px wide - scrollable horizontal - with a fixed object (the shopping cart) to make it feel like you are pushing the cart along the street. I then set height to about 1200 px, to prevent the bottom of the screen to go white.
I want this project to look good on mobile, iPad, laptop and PC/Mac - both orientations.
I thought I was in the clear with theese settings, but checking it on a small screen (laptop), the bottom of the stage fell out of the screen. And we can't have that...
I tried setting the height to 100%, tried having a smaller height (800px) and setting the background color to green, tried hiding and showing the overflow, but I can't seem to hit the perfect settings for this to work.
My inspiration comes from this project:[URL] Now, this works - as far as I can see - on all screens, both orientations.
View 2 Replies
View Related
Sep 28, 2012
I am a graphic designer and I work on w7 64.I find the latest version of Edge Animate.I saw several tutorials, amongst those showing how to make a loop on an animation. I proceed as explained in the preview on my browser (Chrome), the animation runs, but no loops.In fact, I tried other interactions and other triggers : nothing of these works there!
View 5 Replies
View Related
Oct 24, 2012
I've found this awesome Tate's site today about the "lost art":
http[url].....
You can navigate it with pan&zoom, like the Moma Museum in its own app.Is it possibile to make the pan&zoom navigation with Adobe Edge and/or with Adobe Edge and external JS libraries?
View 4 Replies
View Related
Jul 31, 2013
Is it possible for text or an object to overlay another object that is interactive but not inturupt the interactivity of the object below? As if the the text interactivity was trasparent.
View 2 Replies
View Related
Sep 13, 2013
I want make slider something like this http:[url].... but i want make this slider with my own graphic style, is it possible ?
View 2 Replies
View Related
Aug 6, 2013
Drag & Drop with validation.What I need to do and would like to learn is:I have 4 buttons that I can drag and a box that I drag the right choice. If the option is correct stays, it is if it was incorrect is returned to its place of origin.
View 7 Replies
View Related
Aug 12, 2013
When I put the text into a dynamic
How to make the stage to increase height
View 6 Replies
View Related
May 30, 2013
I have a button on the main stage with a hit event inside of it. This hit area calls frame lables on other symbols (these "other symbols" are also on the main stage, not dynamic) . How do I make the click event of the hit area null if one of these symbols is/are visible? I added another button to set the visibility to false but then I also need the click event to reset itself to it's original state
View 10 Replies
View Related
Jan 6, 2014
is it possible to make an animation with a transparency background?
I looks so...but when i do it...the gradient shows color to black in stead of transparency...?
I when i import it in muse...i see also that edge design has a white background ( instead of the transparency that i like to want..)
View 2 Replies
View Related
Apr 4, 2014
I'm doing a full single page website in Edge, and don't know how to build a contact form with name, email and message with a send button and erace button, just like this.
View 3 Replies
View Related
Jan 28, 2014
I have added an animation (snow flakes falling down) in front of the whole home page of a full-Edge site. The problem is now that the snowShower symbol captures the click events.
How could I make it "transparent" to clicks, that is transmitting them to the buttons underneath?
View 9 Replies
View Related
Jul 16, 2013
Is there a way to make a menu in Edge Animate so that when you are on a certain page, that page is highlighted on the menu? I want to make it a server side include <!--#include virtual="/menu/included.html" -->
View 1 Replies
View Related
Nov 20, 2013
i have a school project, which is making website. i need a tutorial on how to make moving interactive pattern like this http:[url]....
View 1 Replies
View Related
Nov 8, 2013
How to make a scrubber/slider to control the Animate timeline.
View a live sample: [URL] .......
I just optimized some stuff and wrapped a blog post around it .
View 2 Replies
View Related
Feb 19, 2014
I'm looking into Adobe Edge as a potential new tool for creating web-banners for advertising. I'm more of a designer than a coder, but i have some experience coding in Action Script (flash).
The challenge for me is generating a project that complies with the strict advertising standards found here: [URL]
I have listed the points that worry me the most here:
The HTML-file should just be one file with all CSS required for the ad inline in the HTML. Animation prior to a user interaction must be written using CSS3 Transitions, Transforms and/or Animation [URL]
The first example is just the raw export of a project with a few simple (and quite ugly) animations. I'm assuming that this is incompatible with the demands listed above. [URL]
In the next example I've created a project where I've put a "stop" action on the first frame and an "onClick" > "sym.play("rotate");" action on the image. "rotate" is a refferance to a frame label later in the same timeline (Click the image to start the (even more ugly) animation created in the Edge timeline). Then i wrote some CSS-animations directly in the auto-generated HTML-file. Will this be enough to get me around the requirement of "no javascript animations prior to user interaction"? [URL]
The thing is that i would prefer a workflow where i can do as much as possible within Edge Animate, but if the second example above is in compliance with the requirements, then that's not so bad. Guess i can learn some CSS.
Some thoughts/questions: Is it possible that Edge outputs some CSS animations embedded in .js files, and would the people/systems where the advertising is hosted recognise the animations as one type or the other? If so: Can you restrict Edge Animate to use only css animations or is there a way to know what is "safe" (CSS) to use before user interaction and what is not (JavaScript)?
View 3 Replies
View Related