Quantcast
Channel: Adobe Community : All Content - Edge Animate
Viewing all 9897 articles
Browse latest View live

Help with nested If statements

$
0
0

Hello, I'm trying to get my piece of code working in Edage Animate however I have no idea what's wrong with it.

 

I have two variables in the stage under compositionready which are

op1stat = 0

op2stat = 0

 

I also have two multichoice buttons that set either op1stat/op2stat to a 1 which are working correctly. However I am having difficulty with the nested if statements when equal to 1, whatever string that was previously in "textbot" should be replaced with the string in the code.

 

else if (total==37)

{

    sym.$("multichoice").show();

    sym.getSymbol("multichoice").getSymbol("op1").$("op1text").html("Buy something");

    sym.getSymbol("multichoice").getSymbol("op2").$("op2text").html("Continue");

    if (op1stat==1)

    {

         sym.getSymbol("interfacebot").$("textbot").html("YOU BUY SOMETHING");

    }

     else if (op2stat==1)

    {

         sym.getSymbol("interfacebot").$("textbot").html("YOU CONTINUE");

    }

}


Outlines on shapes appearing on mobile devices only

$
0
0

I have just uploaded my edge animation, on the desktop all appears as it should, however on any mobile device I have tried, shapes I have created to use as masks appear with an outline, when there is no outline within the animation. Has anyone experienced this and know if its an issue and is there a way to resolve it?

 

Link to the website Merry Christmas from The Camping and Caravanning Club

 

Thanks in advance

Error Message, possibly related to recent upgrade

$
0
0

Keep getting this error message =>This file was created using a previous version of Edge Animate. This file will be automatically upgraded and saved with the suffix 'upgraded'.

- After clicking "ok"

This error message appears => An error occurred while upgrading the file

- After clicking "ok"

Project closes back to the edge animate start page


What if anything can i do to open my project?

Edge animate countdown

$
0
0

Hi,

 

I'm trying to create a 7 day count down in adobe edge animate. which should include days, hours and minutes like in the picture below.

I'm seriously struggling and I am a super noob at anything that involves coding.

Waiting in anticipation.

 

example.PNG

Any suggestions for best practice when creating assets for tablets?

$
0
0

General community question,

 

I'm about to start creating a tablet demo of a few assets that have already been created for web that need adapting for tablet (namely iOS on iPad). I was wondering if anyone could share some pointers about what to avoid doing or some top tips to ensure that they can be converted as quickly and easily as possible, particularly given the state of the current version of EA.

 

Any suggestions or links to relevant websites would be welcome!

 

Cheers,

 

D

how to create a new 'id and type rect' in _edge.js from your stage in javascript

$
0
0

how to create a new 'id and type rect' in _edge.js from your stage in javaScript

anyone else notice how adding a preloader stops the animation loading sometimes?

$
0
0

and  when building within the time line i get random occurrences of opacity applied to objects... also still can not get the replay / play from code to work correctly - when it goes back to the start everything is like it set on a low opacity - this was not prevalent in legacy versions running in osx 9 - anyone else having issues like this ??

Edge Animate 2014.1 won't open project because of js error

$
0
0

After upgrading to the latest version yesterday, one of my projects won't open in 2014.1 because of a js error ("Loading Failed, please check your page for JavaScript errors").

 

I redownloaded the previous version and can confirm it works in 2014. Prior discussions concerning this issue have been no help and I don't understand why the latest version has issues opening this project.


Error upgrading project from Animate 2014.0.1 to 2014.1

$
0
0

Good job of Animate team for to increase speed in design time, but I have two errors now in one project after upgrade and web does not work.

 

Now, in Firefox console show this errors:

 

TypeError: h is undefined | edge.5.0.0.min.js:152

k.Event(d.methodName):k.Event(b);d&&(k.extend(e,d),d.variableValue&&(p=d.variableValue));h =Array.prototype.slice.call(arguments);h.splice(0,0,e,p);h.unshift(a);try{return c.apply(a,h)}catch(l){f(h)}}),h):null}function t(a,b){var d=b[0],e=v[d[0]],f;e&&(f=s(a,d[0],d[1],b.slice(1)))&&e.apply(a,[f].concat(d.slice(1)))}fu nction e(a,b){b=b||a.data[a.name].actions||{};k.extend(a,b)}function n(a,b,p,l,u,c){var h=f.getComposition(a).sym[b],g=r("binding");p=[[c,p,l],g];var m;h.actions=h.actions||{};h.actions[g]=

 

"Javascript error in event handler! Event Type = symbol" | edge.5.0.0.min.js:150

(function(f){function s(a,b,d,e){function f(c){if(2<=c.length&&"object"===typeof c[0]&&"object"===typeof c[1]&&"onError"!==c[1].type){var d;d=k.Event("onError");a&&(d.compId=a.getComposition().compId);d.originalEvent=c[1];docum ent.dispatchEvent(d)}window.console.log("Javascript error in event handler! Event Type = "+b)}var c=a[e[0]],h;return"function"===typeof c?("element"===b?h=function(){var b;b=Array.prototype.slice.call(arguments);b.unshift(a);if(2<=b.length&&"object"===typeof b[0]&&"object"===

 

TypeError: Argument 2 of EventTarget.removeEventListener is not an object. | edge.5.0.0.min.js:155

e.AnListeners||{};f[a]=f[a]||[];f[a].push(b)});return this},unbind:function(a,b){this.each(function(d,e){var f=k.Event.special[a];f&&f.teardown&&f.teardown.call(e,a,b);e.removeEventListener?e.remove EventListener(a,b):e.detachEvent&&e.detachEvent(a,b);var f=e.AnListeners=e.AnListeners||{},c,h;c=f[a]=f[a]||[];for(h=f.length-1;0<=h;h--)c[h]===b& &f.splice(h,1)});return this},trigger:function(a){var b=document;this[0]&&(b=this[0]);b.dispatchEvent(a);return this}});l={creationComplete:function(a,b){e(a);

 

In Chrome console:

 

Uncaught TypeError: Cannot read property 'actions' of undefined | edge.5.0.0.min.js:152

Javascript error in event handler! Event Type = symbol | edge.5.0.0.min.js:150

 

What is the problem?

 

Thank you very much.

Can't open my project, after Animate crashed

$
0
0

Hi!

After Animate crashed with error, I can't open my project. I have the following error message, when trying to open it:

"Loading Failed, please check your page for JavaScript errors".

 

I'm using Animate v.2014.1 under Win7.

 

Does anybody knows, how to deal with it, and restore my files?

Thanks!

on button click scroll to anchor in parent page

$
0
0

Hi Everyone,

 

I have an edge file embedded in my html page as a banner.

 

I have a button in the edge file that I would like to control the parent page with.

 

How can I get onClick in the edge file to scroll the parent page to an anchor position.

 

I would like to do this without reloading the page as well.

 

Any help is greatly appreciated.

 

Thanks

Percentage preloader

$
0
0

Hi,

is there a way to make a percentage preloader in Animate ? perhaps using jquery, but how to implement it ?

 

thanks

Edge Animate error message, possibly related to recent upgrade

$
0
0

Keep getting this error message =>This file was created using a previous version of Edge Animate. This file will be automatically upgraded and saved with the suffix 'upgraded'.

- After clicking "ok"

This error message appears => An error occurred while upgrading the file

- After clicking "ok"

Project closes back to the edge animate start page


What if anything can i do to open my project?

Bounding box is totally off in Edge Animate CC

$
0
0

I am using the latest version of Edge Animate CC 2014.1 and having great problems with the bounding box. This occurs with all items regardless if they are imported or created internally.

Everything comes onto the screen with the bounding box off by 10 pixels for the "x" coordinate. If I try to use my arrow keys to jump an item to the left or right (a keyboard shortcut I use all the time) it jumps in the opposite direction. If I try to manually enter the x value it adds an additional 10 pixels to the value (for example entering the value of 10 return the value of 20.

 

I have solved this somewhat by making the relative position top right, but things are still publishing improperly and I can't align things properly.

 

Very frustrating!

Animation failed to load

$
0
0

I have create a website with Edge animate in april 2014.

The website has been published and work properly.

Two things happened since:

  1. The site need updates and optimisation
  2. My computer crashed and I've lost all the local files.

 

So I went to my Hosting service provider and download all the files of my website back to my local computer.

Of course there is no "Animation.an" file on the remote server, but I wish I could reopened the Index.html page and do a kind of reverse engineering to rebuild it.

 

Edge animate can't even open the index.html page. I am getting and error message:

"Composition failed to load"

"Loading failed, please check your page for JavaScript errors."

 

Any clue? From what i can read, lot of people are can't open animation project made with the previous version of Edge animate.

What will be the most effective way to get the site to re-open in Edge animate?

 

Here is a link to the site:

www.unpointsixunhuit.ca

 

Thanks

David


Help, having trouble actioning symbol to play in edge animate?

$
0
0

Sorry this is probably a very basic question and even so I'm having trouble getting a symbol to play when I click on some text.  I have a 'Location Map' link which essentially acts as a button to open up a location map of the business.  The location map is a symbol as I want it to fade in when the button is pressed and fade out when I close it.  I have managed to get this type of function to work when I had the location map placed on the main timeline and used a label to do this, but now I would like to have the map as a symbol.

 

So on the 'location map' link/button the action reads:

 

sym.getSymbol("location").play("in");

 

The "in" refers to a label within the symbol timeline.  I have also tried to remove the label and simply have:

 

sym.getSymbol("location").play();

 

These are instructions I have followed from a number of tutorials, however I must be missing something because neither of these codes do anything when I click on the link.

 

Any help would be greatly appreciated!

 

Here is a link to the file:

 

Shared Files - Acrobat.com

How to create sticky nav

can't get my animation in edge animate to work

$
0
0

here's my code, I can't figure out what exactly is wrong. None of my animations for my content are working when clicking on the corresponding buttons within my webpage.

 

 

this is what i believed would work:


var mySymbolObject = sym.getSymbol("homeright2");

mySymbolObject.play("homeright3");

 

var mySymbolObject = sym.getSymbol("hometoptext2");

mySymbolObject.play("hometoptext3");

 

var mySymbolObject = sym.getSymbol("homeleft2");

mySymbolObject.play("homeleft3");

 

 

// Show an element

sym.$("homeleft2").show();

 

// Show an element

sym.$("hometoptext2").show();

 

// Show an element

sym.$("homeright2").show();

 

 

 

// Hide an element

sym.$("xboxone").hide();

 

// Hide an element

sym.$("macbookpro").hide();

 

// Hide an element

sym.$("bose").hide();

 

// Hide an element

sym.$("productstitle").hide();

 

// Hide an element

sym.$("applemic").hide();

 

// Hide an element

sym.$("geeksquadtext").hide();

 

// Hide an element

sym.$("geeksquadlogo").hide();

 

// Hide an element

sym.$("appletv").hide();

 

// Hide an element

sym.$("dealtitle").hide();

 

// Hide an element

sym.$("COD").hide();

 

// Hide an element

sym.$("nexus").hide();

 

// Hide an element

sym.$("toshiba").hide();

 

// Hide an element

sym.$("applestore").hide();

 

// Hide an element

sym.$("shopstitle").hide();

 

// Hide an element

sym.$("samsung").hide();

 

// Hide an element

sym.$("mag").hide();

 

// Hide an element

sym.$("microsoft").hide();

 

// Hide an element

sym.$("midtext").hide();

 

// Hide an element

sym.$("toptext").hide();

 

// Hide an element

sym.$("phone").hide();

 

// Hide an element

sym.$("contacttitle").hide();

embedding a youtube video problem

$
0
0

i'm making a website in Edge Animate for a class project and am trying to embed a youtube video within it.

here is my code:

var youtubevid = $("<iframe/>");

sym.$("video12").append(youtubevid);

 

youtubevid.attr('type','text/html');

youtubevid.attr('width','540');

youtubevid.attr('height','315');

youtubevid.attr('src','http://www.youtube.com/embed/_JY4ZV_fumU?rel=0');  // url/Video_Id

youtubevid.attr('frameborder','1');       // 1 | 0

youtubevid.attr('allowfullscreen','0');   // 1 | 0

 

it's located within my stage, composition ready.

my understanding was first i needed to create a rectangle symbol the size of the video and that's where the video is embedded. on my page I see the video but it appears the symbol is over top

of the video so i can't play it.

Any ideas?

Thanks!

Scroll Effects to OAM file

$
0
0

Hello everyone!

I am trying to add Scroll Effects to OAM file (in Muse project).

I did this:

Export the OAM file from Adobe Animate.

Launch Muse and double-click a page to open it in Design view. Ensure that the page is long enough to scroll by updating the minimum height settings in the Page Properties dialog box.

Choose File > Place and browse to select the OAM file from the site folder.

Open the Scroll Effects panel. Click the Adobe Edge Animate tab (fourth tab from the left) to review the settings for this section.

While the OAM file is selected, enable the Edge Animate checkbox.

Choose Autoplay 700px

Preview page in browser and my OAM animation starts playing immediately. What is wrong? I want animation to star playing after user scroll down (700px for example), but now as soon as I load the page my animation starts playing!

My Adobe Animate file has simple structure. Autoplay set to "yes". I have a stage and one element with animation (movement from one point to another in 2 seconds).

Viewing all 9897 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>